/* Globals & Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #040914;
    /* Deep premium navy/black */
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #00f0ff, #7000ff);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Particles */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.8) 0%, rgba(0, 240, 255, 0) 70%);
    opacity: 0.4;
    animation: floatParticle 8s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    z-index: 2;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.brand-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/*
 * NS Mentors is a square mark standing next to two wordmarks. Given the same
 * height it reads as noticeably smaller than they are: a wordmark spends most
 * of its height on cap-height, a square spends all of it, so equal pixels are
 * not equal presence. The extra height puts the three on the same optical
 * footing rather than the same measurement.
 */
.brand-logo--mark {
    height: 44px;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 450px;
    height: 550px;
    border-radius: 30px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.tilt-effect {
    transition: transform 0.1s ease;
}

.glowing-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 35px;
    background: conic-gradient(from 0deg, transparent, #00f0ff, #7000ff, transparent);
    animation: rotateGlow 10s linear infinite;
    z-index: -1;
    opacity: 0.6;
    filter: blur(20px);
}

@keyframes rotateGlow {
    100% {
        transform: rotate(360deg);
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-wrapper:hover .profile-img {
    transform: scale(1.05) translateZ(20px);
    box-shadow: 0 40px 80px rgba(0, 240, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse-icon {
    width: 20px;
    height: 30px;
    border: 2px solid #64748b;
    border-radius: 10px;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #64748b;
    border-radius: 50%;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* About Section */
#about {
    padding: 120px 0;
    background: #020617;
    position: relative;
    z-index: 2;
}

.about-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.sticky-container {
    flex: 1;
    position: sticky;
    top: 120px;
    height: 500px;
}

.secondary-profile-img {
    height: 100%;
    border-radius: 20px;
}

.glass-border {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.about-content {
    flex: 1;
    min-height: 800px;
    padding-top: 50px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #fff;
}

.content-block {
    margin-bottom: 40px;
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #00f0ff;
    line-height: 1.6;
    border-left: 4px solid #00f0ff;
    padding-left: 20px;
}

.bio-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.bio-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.5;
}

.bio-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00f0ff;
    font-weight: bold;
}

.inline-link {
    color: #00f0ff;
    text-decoration: underline;
    text-underline-offset: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.inline-link:hover {
    color: #fff;
    border-color: #00f0ff;
}

.action-links {
    margin-top: 50px;
}

.action-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #fff;
}

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.premium-btn .btn-icon {
    width: 20px;
    height: 20px;
}

.linkedin-btn {
    background: #0077b5;
    color: #fff;
    border: 1px solid transparent;
}

.linkedin-btn:hover {
    background: #005582;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.4);
}

.credly-btn {
    background: #f15a24;
    color: #fff;
    border: 1px solid transparent;
}

.credly-btn:hover {
    background: #d64a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(241, 90, 36, 0.4);
}

.website-btn {
    background: transparent;
    color: #00f0ff;
    border: 1px solid #00f0ff;
}

.website-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.search-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 10px;
}

/* Credentials Section */
.credentials-section {
    padding: 100px 0;
    background: #020617;
    position: relative;
    z-index: 2;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.block-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 240, 255, 0.3);
    padding-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.cred-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, border-color 0.3s;
}

.cred-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
}

.cred-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 15px;
}

.cred-header h4 {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.3;
}

.cred-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* Same optical correction as .brand-logo--mark, inside the experience cards. */
.cred-logo--mark {
    height: 42px;
}

/* The only experience card that links out. Sits under the skills line. */
.cred-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.95rem;
    word-break: break-word;
}

.mb-10 {
    margin-bottom: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-40 {
    margin-top: 40px;
}

.cred-duration {
    font-size: 0.85rem;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.cred-role {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 15px;
}

.cred-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cred-skills,
.cred-id {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.edu-card {
    padding: 20px 30px;
    margin-bottom: 20px;
}

.edu-card .cred-role {
    margin-bottom: 0;
    margin-top: 5px;
}

.edu-card .cred-header {
    margin-bottom: 0;
    align-items: center;
}

/* Timeline Divider */
.section-divider {
    height: 400px;
    position: relative;
    overflow: hidden;
    clip-path: inset(-1px 0);
    margin-bottom: -1px;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    filter: blur(4px) brightness(0.6);
}

.overlay.dark-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #020617, transparent 20%, transparent 80%, #020617);
    z-index: 1;
}

/* Timeline Section */
.timeline-section {
    padding: 150px 0;
    position: relative;
    z-index: 2;
    background: transparent;
}

.timeline-parallax-bg {
    position: absolute;
    inset: -30px;
    z-index: -2;
    /* expanded inset prevents blur bleeding */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(8px) brightness(0.3);
}

.gradient-blur-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, #020617 100%);
    backdrop-filter: blur(10px);
}

.gradient-blur-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, transparent, #020617);
    pointer-events: none;
}

.gradient-blur-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #020617);
    pointer-events: none;
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
}

.text-glow {
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

.timeline-subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 80px;
}

.timeline {
    position: relative;
    border-left: 2px solid rgba(0, 240, 255, 0.3);
    padding-left: 40px;
    margin-left: 100px;
}

.timeline-card {
    position: relative;
    margin-bottom: 60px;
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #00f0ff;
    border-radius: 50%;
    border: 4px solid #020617;
    box-shadow: 0 0 10px #00f0ff;
    transition: all 0.3s ease;
}

.timeline-card:hover::before {
    background: #fff;
    box-shadow: 0 0 20px #fff;
    transform: scale(1.5);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    top: 0;
    left: -140px;
    z-index: 1;
    background: rgba(4, 9, 20, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.timeline-content {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 240, 255, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #cbd5e1;
    font-size: 1.05rem;
}

.highlight-card {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.highlight-card h3 {
    color: #f59e0b;
}

.highlight-card:hover {
    border-color: rgba(245, 158, 11, 0.8);
}

/* Cinematic Vision Section */
.cinematic-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    padding: 100px 0;
}

.vision-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.vision-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.1s ease-out;
}

.vision-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #020617, rgba(2, 6, 23, 0.7) 50%, #020617);
    z-index: 0;
}

.vision-content-wrapper {
    position: relative;
    z-index: 1;
}

.vision-quote {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    line-height: 1.4;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.quote-text {
    display: inline-block;
    margin-bottom: 10px;
}

.cinematic-reveal .quote-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-reveal.active .quote-text {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   STICKY NAVIGATION
════════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(4, 9, 20, 0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.site-nav.scrolled {
    background: rgba(4, 9, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 20px;
}

/* Nav logo: hidden at top, fades in on scroll */
.nav-logo-link {
    position: relative;
    z-index: 1001;
}

.nav-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.3s;
    pointer-events: none;
}

.site-nav.scrolled .nav-logo {
    opacity: 0.9;
    transform: translateX(0);
    pointer-events: auto;
}

.nav-logo-link:hover .nav-logo {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

/* Hamburger button — hidden on desktop */
.mobile-nav-toggle {
    display: none;
    position: relative;
    z-index: 1002;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 36px;
    height: 28px;
    flex-shrink: 0;
    padding: 4px 0;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: top 0.3s ease 0.1s, bottom 0.3s ease 0.1s, transform 0.3s ease;
}

.hamburger::before {
    top: -9px;
}

.hamburger::after {
    bottom: -9px;
}

/* X state */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    transition: top 0.3s ease, transform 0.3s ease 0.1s;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
    transition: bottom 0.3s ease, transform 0.3s ease 0.1s;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f0ff, #7000ff);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.4);
    padding: 8px 18px !important;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.05);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: rgba(0, 240, 255, 0.15) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    border-color: #00f0ff !important;
}

.nav-cta::after {
    display: none !important;
}

/*
 * Seven items sit in the bar now that NS Mentors and The Pride School are
 * linked from it. Between the 900px mobile breakpoint and roughly a laptop
 * width the row is wider than the 90% container, and a flex row that does not
 * fit does not wrap by default - it runs into the logo. Tighten it through
 * that band instead.
 */
@media (min-width: 901px) and (max-width: 1150px) {
    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 0.82rem;
        letter-spacing: 0.2px;
    }

    .nav-cta {
        padding: 8px 14px !important;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .headline {
        font-size: 2.2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-logos {
        justify-content: center;
        gap: 15px;
    }

    .brand-logo {
        height: 28px;
    }

    .brand-logo--mark {
        height: 34px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    #hero {
        padding-bottom: 120px; /* Gives scroll indicator breathing room */
    }

    .about-container {
        flex-direction: column-reverse; /* Shows text before the secondary profile image */
        gap: 60px;
    }

    .sticky-container {
        position: relative;
        top: 0;
        height: 400px;
        margin: 0 auto;
    }

    .image-wrapper {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 4/5;
        margin: 0 auto;
    }

    .action-links {
        text-align: left;
    }

    .button-group {
        flex-direction: column;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .cred-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline {
        margin-left: 15px;
        padding-left: 20px;
    }

    .timeline-card::before {
        left: -27px;
    }

    .timeline-year {
        position: relative;
        left: 0;
        top: 0;
        display: inline-block;
        margin-bottom: 20px;
        background: rgba(15, 23, 42, 0.9);
        font-size: 1.1rem;
        padding: 4px 12px;
    }

    .timeline-content {
        padding: 25px;
    }

    .timeline-parallax-bg {
        background-attachment: scroll;
        filter: blur(5px) brightness(0.2);
    }

    .vision-quote {
        font-size: 1.8rem;
    }

    /* ── Mobile Navigation ── */
    /*
     * The bar now behaves the way the desktop one does: transparent over the
     * hero, solid once the script sets .scrolled. It used to be forced solid
     * with !important and the logo forced permanently visible, which is why
     * mobile looked nothing like desktop - and why the hero could only ever
     * show two of the three brand logos, since the Unisoft mark had to be
     * hidden there to stop it appearing twice on the same screen.
     *
     * Hero shows all three; scroll past them and Unisoft alone sticks.
     */
    .site-nav.scrolled {
        background: rgba(4, 9, 20, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /*
     * .site-nav .nav-inner, not .nav-inner. That element also carries
     * .container, and the 480px block near the bottom of this file sets
     * `padding: 0 4vw` on .container. Identical specificity, later in the
     * source - so on any phone narrower than 480px it won, and quietly
     * stripped the 14px of vertical padding that gives the header its height.
     * That is what collapsed the bar onto the logo.
     */
    .site-nav .nav-inner {
        padding: 14px 5vw;
    }

    .mobile-nav-toggle {
        display: block !important;
        position: absolute;
        right: 5vw;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    /*
     * The button paints at 36x28, which is under the 44x44 minimum tap target.
     * Growing the button would widen the three bars with it, so the hit area
     * is expanded with a transparent ::after instead and the hamburger is left
     * exactly as drawn. (getBoundingClientRect on the button will still report
     * 36x28 - it does not count absolutely-positioned pseudo-elements.)
     */
    .mobile-nav-toggle::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 44px;
        height: 44px;
        transform: translate(-50%, -50%);
    }

    /* Mobile menu - full overlay, no bleeding */
    .nav-links {
        position: fixed !important;     /* changed from absolute */
        top: 0 !important;             /* start from very top */
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;          /* full height coverage */
        /*
         * Belt and braces, and deliberately so. top:0 + bottom:0 on a fixed
         * box should already resolve to the viewport height without any height
         * at all - and on a plain test div here it does - but this particular
         * element measured 88px that way, exactly its own padding-top, i.e. it
         * did not stretch. Rather than ship a full-screen menu that depends on
         * that resolving correctly, state the height too.
         *
         * dvh second so it wins where supported: 100vh measures against the
         * TALLEST viewport, so on a phone showing its toolbar the last link
         * sits below the fold. Browsers without dvh fall back to 100vh.
         */
        height: 100vh !important;
        height: 100dvh !important;
        background: #040914 !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 88px;             /* space below nav bar */
        gap: 18px;                     /* seven items now, not five */
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;              /* safe scrolling if needed */
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        max-width: 320px;              /* prevents super wide text */
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 12px 0;
        display: block;
        color: #e2e8f0;
        min-height: 44px;              /* tap target */
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: inline-block !important;
        font-size: 1.1rem !important;
        padding: 12px 28px !important;
        margin-top: 15px;
    }

    /*
     * Prevent body scroll when the menu is open.
     *
     * position:fixed is what actually stops iOS scrolling the page behind the
     * overlay, but it also detaches the document from its scroll offset - so
     * the script stashes the offset in `top` before adding this class and puts
     * the reader back where they were on close. Without that, opening the menu
     * teleported you to the top of the page and closing it left you there.
     */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
    }


}



/* ═══════════════════════════════════════════════
   LOGO HOVER GLOW (hero + credentials)
════════════════════════════════════════════════ */
.hero-logos a {
    border-radius: 4px;
    transition: filter 0.3s ease;
}

.hero-logos a:hover {
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

.hero-logos a:hover .brand-logo {
    opacity: 1;
}

.brand-logo {
    transition: opacity 0.3s ease;
}

/* ═══════════════════════════════════════════════
   FAQ SECTION
════════════════════════════════════════════════ */
.faq-section {
    padding: 120px 0;
    background: #020617;
    position: relative;
    z-index: 2;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item.open {
    border-color: rgba(0, 240, 255, 0.35);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    line-height: 1.4;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #00f0ff;
}

.faq-question[aria-expanded="true"] {
    color: #00f0ff;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #00f0ff;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 28px 24px;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.8;
    animation: faqOpen 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faqOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════
   SITE FOOTER
════════════════════════════════════════════════ */
.site-footer {
    background: #020614;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent) 1;
    padding: 60px 0 0;
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand img {
    opacity: 0.85;
    transition: opacity 0.3s;
    height: auto;
}

.footer-brand img:hover {
    opacity: 1;
}

.footer-tagline {
    color: #475569;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.footer-nap {
    color: #64748b;
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.9;
}

.footer-nap strong {
    color: #94a3b8;
    font-weight: 600;
}

.footer-nap a {
    color: #00f0ff;
    transition: color 0.3s;
}

.footer-nap a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 16px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00f0ff;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::before {
    transform: translateX(4px);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: #334155;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

/* Ensure no horizontal overflow anywhere on mobile */
html, body {
    overflow-x: clip;
}

@media (max-width: 900px) {
    /* FAQ mobile */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* ── Mobile Footer — fully centered ── */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
        padding-bottom: 36px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-brand img {
        width: 130px;
        height: auto;
        margin: 0 auto;
    }

    .footer-nap {
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .footer-links a {
        color: #64748b;
        font-size: 0.9rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        gap: 6px;
    }

    .footer-links a::before {
        position: static;
        left: auto;
        margin-right: 0;
    }
}

/* Safer container on very small screens */
@media (max-width: 480px) {
    .container {
        width: 92%;
        padding: 0 4vw;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
}
/* For Parents (7 Oct 2026): one card linking to the Student Performance & Education Strategy page */
.parents-section .timeline-subtitle {
    margin-bottom: 40px;
}

.parents-card {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.parents-card .lead-text {
    margin-bottom: 16px;
}

.parents-buttons {
    margin-top: 28px;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .parents-buttons .premium-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
