/* * Voyager Cyber - Consolidated Stylesheet
 * Restores original fonts, colors, and specific component layouts.
 */

:root {
    /* Brand colors */
    --primary: #6f94aa;
    --primary-dark: #5a7d91;
    --dark: #232323;
    --light: #f4f7f9;
    --white: #ffffff;
    --text-muted: #767676;
    --font-main: 'Golos Text', sans-serif;

    /* Bootstrap 5 overrides */
    --bs-primary: #6f94aa;
    --bs-primary-rgb: 111, 148, 170;
    --bs-primary-border-subtle: #b8cdd8;
    --bs-primary-bg-subtle: #eaf0f4;
    --bs-link-color: #6f94aa;
    --bs-link-color-rgb: 111, 148, 170;
    --bs-link-hover-color: #5a7d91;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

#book-training {
    scroll-margin-top: 0;
}


/* --- Scrolling Behavior --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* adjust to your navbar height */
}
/* this ensures that when pressing "Enroll Now" you can clearly see the options */


/* --- Typography --- */
    /* REPLACED with a hero-scoped rule: */
#hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
}
    /* Inner page hero — smaller: */
header#hero:not(.hero-full) h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}
h2, .display-2 { font-size: 3rem; font-weight: 700; line-height: 1.2; }
.display-5 { font-size: 1.5rem; font-weight: 600; }
.display-7 { font-size: 1.1rem; }

.footnote-text {
    font-size: 0.7rem;
    line-height: 1.4;
}

/* --- Navigation --- */
.navbar {
    padding: 1.2rem 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark) !important;
}

/* --- Hero Section --- */
#hero {
    position: relative;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../img/hero-bg.jpg') center/cover no-repeat; /* Ensure image exists in /img/ */
    color: var(--white);
    text-align: center;
}

/* Restores the exact 0.8 opacity blue overlay from the original */
#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(111, 148, 170, 0.8);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* --- Buttons --- */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:not(:disabled):hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(111, 148, 170, 0.3);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;

    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary:disabled:hover,
.btn-primary.disabled:hover {
    background-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* --- fix mobile horizontal scroll --- */

html, body {
    overflow-x: hidden;
}

video, iframe {
    max-width: 100%;
    height: auto;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* --- increase CTA button width --- */

@media (max-width: 768px) {
    .btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .d-flex.flex-wrap.gap-3 a.btn {
        width: 100%;
    }

        .stripe-btn {
        min-height: 52px;
        font-size: 1rem;
    }
}

/* --- index page comparison table --- */
    /* Comparison Table */
    .comparison-table {
        font-size: 0.92rem;
        border: 1px solid #d8dee4;
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }
    .comparison-table td.voyager {
    background: rgba(22, 163, 74, 0.04);
    border-left: 2px solid rgba(22, 163, 74, 0.25);
    }

    .comparison-table td.selfpaced {
    color: rgba(107, 114, 128, 0.7);
    background: rgba(107, 114, 128, 0.02);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 1rem;
        border: 1px solid #e5e7eb;
        vertical-align: middle;
    }

    /* Header */
    .comparison-table thead th {
        background: #f8fafc;
        font-weight: 700;
        border-bottom: 2px solid #cbd5e1;
    }

    /* Voyager Cyber header */
    .comparison-table .voyager-header {
        background: #eaf8ef;
        color: #111827;
    }

    /* Self-paced header */
    .comparison-table .selfpaced-header {
        background: #fdf2f2;
        color: #991b1b;
    }

    /* Alternate row shading */
    .comparison-table tbody tr:nth-child(even) {
        background: #f9fafb;
    }

    /* Voyager column */
    .comparison-table td.voyager {
        color: #111827;
        font-weight: 500;
    }

    /* Self-paced column */
    .comparison-table td.selfpaced {
        color: rgba(107, 114, 128, 0.8);
    }

    /* Checkmarks */
    .comparison-table .check {
        color: #16a34a;
        font-weight: 700;
        margin-right: 0.25rem;
    }

    /* X marks */
    .comparison-table .cross {
        color: #dc2626;
        opacity: 0.75;
        margin-right: 0.25rem;
    }

    /* Feature column */
    .comparison-table td:first-child {
        font-weight: 600;
        color: #374151;
        white-space: nowrap;
    }

    /* Hover effect */
    .comparison-table tbody tr:hover {
        background: #f3f4f6;
    }

/* --- Mobile comparison table --- */
@media (max-width: 767.98px) {
    .comparison-table thead {
        display: none;
    }
    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table td {
        display: block;
        width: 100% !important;
    }
    .comparison-table tr {
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        margin-bottom: 1rem;
        overflow: hidden;
        background: #fff;
    }
    .comparison-table td {
        padding: 0.6rem 1rem;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        white-space: normal !important;
    }
    .comparison-table td:last-child {
        border-bottom: none;
    }
    .comparison-table td:first-child {
        background: #f8fafc;
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--dark);
    }
    .comparison-table td.voyager {
        background: rgba(22, 163, 74, 0.06);
        border-left: none;
    }
    .comparison-table td.voyager::before {
        content: '✓ Voyager Cyber';
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        color: #16a34a;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.15rem;
    }
    .comparison-table td.selfpaced::before {
        content: '✕ Self-Paced';
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        color: #dc2626;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.15rem;
    }
}


/* --- countdown timer --- */


.countdown-container {
  text-align: center;
  margin: 2rem 0 0.5rem;
}

.countdown-label {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.countdown {
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626;
}

/* --- hamburger menu --- */


.navbar-collapse {
    padding: 1rem 0;
}

/* --- Pricing Cards --- */
#pricing .card {
    border: none;
    border-radius: 20px;
    padding: 2rem;
    background: var(--white);
    transition: all 0.3s ease;
}

#pricing .border-primary {
    transform: scale(1.03);
}

.card-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* --- FAQ Accordion --- */
#faq .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    background: var(--light);
}

#faq .accordion-button {
    font-weight: 700;
    padding: 1.5rem;
    background: var(--light);
    color: var(--dark);
}

#faq .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
    box-shadow: none;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

footer .text-muted {
    color: #888 !important;
}


/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #232323;
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  font-size: 0.875rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
#cookie-banner a { color: var(--primary); }
#cookie-banner button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
#cookie-banner button:hover { background: var(--primary-dark); }

/* --- Checkbox visibility & accessibility --- */
.agree-terms {
    width: 20px;
    height: 20px;
    transform: scale(1.12);
    margin-right: 0.6rem;
    accent-color: var(--bs-primary, var(--primary));
    cursor: pointer;
    vertical-align: middle;
    transform: scale(1.2);
}

.agree-terms + span {
    line-height: 1.4;
}

label.d-flex .agree-terms {
    margin-top: 0.15rem;
}

.agree-terms:focus-visible {
    outline: 3px solid rgba(111,148,170,0.22);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(111,148,170,0.06);
}

.agree-terms + .small,
.agree-terms ~ .small {
    cursor: pointer;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.2s ease;
    cursor: not-allowed;
}

.enabled-link {
    pointer-events: auto;
    opacity: 1;
    cursor: pointer;
}