/* * =========================================
 * 1. CORE VARIABLES & RESET
 * =========================================
 */
:root {
    /* Palette - Dark Mode Cinematic */
    --bg-body: #0E1525;
    /* Lighter "Midnight Blue" (was #050914) */
    --bg-card: #161D2F;
    /* Lighter Navy for cards (was #0D1221) */
    --bg-card-header: #8a161f;
    /* Muted Red for Card Headers */

    /* Typography Colors */
    --text-primary: #F0F2F5;
    /* Brightened Off-white */
    --text-secondary: #C5C9D1;
    /* Lighter Grey - WCAG AAA Compliant */
    --accent-color: #b60823;
    /* "Old Glory" Red - Adjusted for Dark Mode Contrast */

    /* Spacing & Layout */
    --container-width: 1400px;
    /* Wider container for the new hero */
    --section-padding: 60px;
    --border-radius: 4px;
    /* Sharp, industrial corners */

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-hero: clamp(4rem, 13vw, 11rem);
    /* MASSIVE increase */
    --font-size-h2: clamp(2rem, 4vw, 3.5rem);
    --font-size-h3: clamp(1.5rem, 3vw, 2.5rem);
    --font-size-body: 1.125rem;
}

/* Reduce section padding on mobile */
@media(max-width: 767px) {
    :root {
        --section-padding: 24px;
    }
}

/* Reduce section padding on tablet */
@media(min-width: 768px) and (max-width: 1023px) {
    :root {
        --section-padding: 48px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Content links should be underlined and match footer behavior (dim -> bright) */
p a,
li a:not(.footer-links a):not(.nav-links a),
span a,
.benefit-text a,
.question-block a {
    text-decoration: underline;
    color: var(--text-secondary);
}

p a:hover,
li a:not(.footer-links a):not(.nav-links a):hover,
span a:hover,
.benefit-text a:hover,
.question-block a:hover {
    color: var(--text-primary);
}

/* Overrides for light backgrounds to ensure readability */
.enroll-card a:not(.btn),
.cta-light-card a:not(.btn),
.benefit-item a:not(.btn),
.page-content a,
.founder-note a {
    color: #333;
    /* Darker default for light bg */
}

.enroll-card a:not(.btn):hover,
.cta-light-card a:not(.btn):hover,
.benefit-item a:not(.btn):hover,
.page-content a:hover,
.founder-note a:hover {
    color: #000;
    /* Distinct dark hover */
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

ul {
    list-style: none;
}

/* Bullet point style for content areas only (not nav/footer) */
main ul li,
article ul li,
section ul li {
    position: relative;
    padding-left: 20px;
}

main ul li::before,
article ul li::before,
section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

/* Reset for nav and footer lists */
nav ul li,
footer ul li {
    padding-left: 0;
}

nav ul li::before,
footer ul li::before {
    display: none;
}

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

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* WCAG 2.1 AA: Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Skip link for keyboard/screen reader users (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    z-index: 10000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid white;
    outline-offset: -2px;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* Reduce container padding on mobile */
@media(max-width: 767px) {
    .container {
        padding: 0 16px;
    }
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    /* Larger hit areas */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
    font-size: 0.9rem;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #91061c;
    border-color: #91061c;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(191, 10, 48, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* * =========================================
 * 2. HEADER & NAVIGATION
 * =========================================
 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 32px 0;
    /* Much more transparent gradient */
    background: linear-gradient(to bottom, rgba(5, 9, 20, 0.4) 0%, rgba(5, 9, 20, 0) 100%);
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    /* High transparency with strong blur for glass effect */
    background: rgba(5, 9, 20, 0.6);
    padding: 20px 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1002;
    text-decoration: none;
}

.logo-icon {
    height: 48px;
    width: auto;
}

.logo-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.4);
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.logo-text-stack span {
    display: block;
}

@media(max-width: 767px) {

    .logo-divider,
    .logo-text-stack {
        display: none;
    }

    .logo-icon {
        height: 32px;
        /* Much smaller on mobile */
    }
}

.nav-links {
    display: none;
    /* Mobile hidden by default */
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    /* Button reset styles */
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    transition: 0.3s;
}

.mobile-toggle span:first-child {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-toggle span:last-child {
    bottom: 0;
}

/* Mobile menu open state - hamburger to X animation */
.mobile-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Mobile Navigation Menu (hidden by default) */
.nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(14, 21, 37, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
}

.nav-links.active {
    display: flex;
}

.nav-links .nav-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

@media(min-width: 768px) {
    .mobile-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 50px;
        align-items: center;
    }

    .nav-links .nav-item {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .nav-item {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-primary);
        opacity: 0.9;
        position: relative;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .nav-item::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -6px;
        left: 0;
        background-color: var(--accent-color);
        transition: width 0.3s ease;
    }

    .nav-item:hover {
        opacity: 1;
    }

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

/* * =========================================
 * 3. HERO SECTION - REDESIGNED
 * =========================================
 */
.hero {
    height: 100vh;
    min-height: 700px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Pushes content to bottom */
    padding-bottom: clamp(40px, 8vh, 80px);
}

/* Mobile & Tablet: Ensure hero content doesn't overlap with fixed navbar */
@media(max-width: 1023px) {
    .hero {
        align-items: center;
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

@media(max-width: 767px) {
    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
}

@media(min-width: 768px) and (max-width: 1023px) {
    .hero h1 {
        font-size: clamp(4rem, 10vw, 6rem);
    }
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Slightly darker filter to make text pop */
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* More dramatic vignette */
    background: linear-gradient(180deg,
            rgba(5, 9, 20, 0.1) 0%,
            rgba(5, 9, 20, 0.3) 40%,
            rgba(5, 9, 20, 0.9) 80%,
            var(--bg-body) 100%);
}

/* NEW HERO GRID LAYOUT */
.hero-content-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
    align-items: end;
}

@media(min-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1.4fr 1fr;
        /* Asymmetric Split */
        gap: 60px;
    }
}

/* LEFT COLUMN: TITLE */
.hero-title-col {
    position: relative;
}

.hero h1 {
    font-size: var(--font-size-hero);
    line-height: 0.85;
    /* Extremely tight for block effect */
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 0;
    padding-right: 5px;
    color: var(--text-primary);
    /* Optional: Subtle gradient on text */
    background: linear-gradient(to bottom, #E5E5E5 60%, #C0C0C0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));

    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s 0.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* RIGHT COLUMN: DESCRIPTION & ACTIONS */
.hero-info-col {
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    /* Updated for readability */
    font-weight: 800;
    /* Made slightly bolder */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    line-height: 1.5;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    /* Stronger shadow for lift */

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);

    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.6s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
    /* Constrain width for clean look */

    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-actions .btn {
    width: 100%;
    /* Force buttons to fill container width */
}

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

/* HERO CENTERED OVERRIDE (For Course Page) */
.hero-centered {
    grid-template-columns: 1fr !important;
    text-align: center;
    justify-items: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 60px;
    /* Additional clearance for header */
}

/* HERO CONTENT (Course Page) */
.course-page .hero-centered {
    max-width: 900px;
    margin: 80px 0 40px 0;
    text-align: left;
    justify-items: flex-start;
}

@media (max-width: 768px) {
    .course-page .hero-centered {
        margin-top: 0;
    }
}

/* Academic Certification Overline */
.hero-certification {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.hero-certification svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    opacity: 0.8;
}

.hero-certification span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

.course-page .hero-title-col {
    margin-bottom: 30px;
    width: 100%;
    text-align: left;
}

.course-page .hero-info-col {
    align-items: flex-start;
    text-align: left;
    padding-bottom: 0;
    width: 100%;
    max-width: 700px;
    margin: 0;
}

.course-page .hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    padding-right: 0;
    text-align: left;
    margin: 0 0 20px 0;
}

.course-page .hero-subtitle {
    font-size: 1.2rem;
    margin: 0 0 24px 0;
    text-align: left;
    max-width: 600px;
}

.course-page .hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 32px 0;
    text-align: left;
    max-width: 580px;
    color: rgba(255, 255, 255, 0.7);
}

.course-page .hero-actions {
    align-items: center;
    justify-content: flex-start;
    margin-top: 0;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media(max-width: 768px) {
    .hero-card {
        padding: 40px 20px;
        margin: 20px auto;
    }
}

/* HERO DARK OVERRIDE (Scoped for Course Page) */
.hero-dark .hero-bg {
    filter: brightness(0.35) contrast(1.1);
}

/* Ensure course hero doesn't hide under fixed header */
.course-page .hero {
    align-items: center;
    padding-top: 140px;
    height: auto;
    min-height: 100vh;
}

.hero-dark .hero-overlay {
    background: linear-gradient(180deg,
            rgba(5, 9, 20, 0.2) 0%,
            rgba(5, 9, 20, 0.4) 40%,
            rgba(5, 9, 20, 0.95) 80%,
            var(--bg-body) 100%);
}

/* * =========================================
 * 4. SPLIT SECTION ("Not a Campaign")
 * =========================================
 */
.section-split {
    padding: var(--section-padding) 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}

@media(min-width: 900px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Video column with sticky positioning */
.video-col {
    position: relative;
}

@media(min-width: 1024px) {
    .video-col {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background: #1a1d24;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
}

.video-wrapper img,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover img,
.video-wrapper:hover video {
    opacity: 0.6;
}

/* Video Modal Overlay */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.video-modal-close:hover {
    transform: scale(1.2);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    /* Reset button styles */
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    outline: none;
}

.play-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.video-wrapper:hover .play-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.split-content h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.split-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.125rem;
    max-width: 500px;
}

.link-list {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.link-item {
    display: flex;
    align-items: flex-start;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    width: fit-content;
}

.link-item svg {
    margin-left: 10px;
    margin-top: 7px;
    transition: transform 0.3s ease;
}

.link-item:hover {
    color: #F62C4B;
}

.link-item:hover svg {
    transform: translateX(5px);
}

/* Quote/Highlight styling */
.quote-highlight {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

/* Statement Grid - Is/Is Not Cards */
.statement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .statement-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.statement {
    padding: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.statement-is {
    border-left: 3px solid rgba(100, 200, 150, 0.6);
}

.statement-not {
    border-left: 3px solid rgba(200, 100, 100, 0.6);
}

.statement-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.statement-is .statement-label {
    color: #7DD3A0;
}

.statement-not .statement-label {
    color: #F5A9A9;
}

.statement ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.statement ul li {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.statement-is ul li::before {
    background-color: #7DD3A0;
}

.statement-not ul li::before {
    background-color: #F5A9A9;
}

/* Section-split specific: brighter accent color for dark background */
.section-split .quote-highlight {
    border-left-color: #F62C4B;
}

.section-cards .card-body ul li::before {
    background-color: #F62C4B;
}

/* * =========================================
 * 5. CARDS SECTION ("What we're living through")
 * =========================================
 */
.section-cards {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--bg-body), #05070a);
    /* Lighter gradient end */
    position: relative;
}

/* Subtle grid background pattern */
.section-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.cards-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
    position: relative;
    z-index: 2;
}

.cards-header h2 {
    font-size: var(--font-size-h2);
    line-height: 1.3;
    letter-spacing: -0.03em;
}

/* Mobile/Tablet: Left-align cards header */
@media(max-width: 899px) {
    .cards-header {
        text-align: left;
    }
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    z-index: 2;
}

@media(min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FUTURISTIC CARD STYLES */
.card {
    background: #131929;
    /* Solid, dark background (was glassy) */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Slightly stronger border */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    /* Slightly softer corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Static depth */
}

/* Removed glowing top line to clean up the design */
.card::before {
    display: none;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    /* distinct dark header area */
    padding: 32px 32px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header::after {
    display: none;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: -0.01em;
}

.card-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    font-style: normal;
    margin-bottom: 0;
    opacity: 0.8;
    line-height: 1.5;
}

.card-body {
    padding: 32px;
    flex-grow: 1;
    background: transparent;
}

/* Mobile: Reduce card padding */
@media(max-width: 767px) {
    .card-header {
        padding: 20px 20px 16px 20px;
    }

    .card-body {
        padding: 20px;
    }
}

.card-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.card-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

.cards-footer {
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.cards-footer p {
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.cards-footer strong {
    display: inline-block;
    color: var(--text-primary);
    margin-top: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    text-decoration: none;
}

.cards-footer strong::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-color) 15%,
            var(--accent-color) 85%,
            transparent 100%);
    opacity: 0.8;
}

/* * =========================================
 * SECTION: INFRASTRUCTURE (Dark Theme)
 * =========================================
 */
.section-infrastructure {
    padding: var(--section-padding) 0;
    background-color: #F2F4F8;
    color: #0E1525;
}

.infrastructure-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-infrastructure h2 {
    font-size: var(--font-size-h2);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #0E1525;
    line-height: 1.3;
}

.infrastructure-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.infrastructure-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.infrastructure-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #2D3748;
}

.infrastructure-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.infrastructure-summary {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    max-width: 700px;
    margin: 0 auto;
}

/* Mobile adjustments */
@media(max-width: 767px) {
    .infrastructure-content {
        text-align: left;
    }
}

/* * =========================================
 * INFRASTRUCTURE CARDS - Subtle Patriotic
 * =========================================
 */
.infra-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.infra-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(20, 40, 80, 0.15) 0%, rgba(15, 22, 36, 0.8) 40%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
}

/* Subtle patriotic accent - red line at bottom */
.infra-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--accent-color) 0%,
            transparent 70%);
    opacity: 0.8;
}

.infra-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.infra-icon svg {
    width: 64px;
    height: 64px;
}

.infra-card p {
    margin: 0;
}

/* Tablet: single column */
@media(max-width: 1023px) {
    .infra-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mobile adjustments */
@media(max-width: 767px) {
    .infra-cards {
        margin-top: 40px;
    }

    .infra-card {
        padding: 28px 20px;
    }

    .infra-icon {
        width: 52px;
        height: 52px;
    }
}

/* * =========================================
 * SECTION: INFRASTRUCTURE CTA (Dark Theme)
 * =========================================
 */
.section-infrastructure-cta {
    padding: var(--section-padding) 0;
    padding-bottom: 120px;
    background-color: #05070a;
}

.infrastructure-cta-card {
    background: rgba(15, 22, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 48px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle accent line at top */
.infrastructure-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-color) 20%,
            var(--accent-color) 80%,
            transparent 100%);
}

.infrastructure-cta-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.infrastructure-cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cta-infrastructure-btn {
    margin-top: 24px;
}

.infrastructure-cta-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Mobile adjustments for CTA */
@media(max-width: 767px) {
    .infrastructure-cta-card {
        padding: 40px 24px;
        text-align: left;
    }

    .infrastructure-cta-headline {
        font-size: 1.4rem;
    }
}

/* * =========================================
 * NEW SECTION: PRACTICAL PLAN (Light Mode)
 * =========================================
 */
.section-plan {
    background-color: #F2F4F8;
    /* Light Off-White Background */
    color: var(--bg-body);
    /* Dark text for contrast */
    padding: 80px 0;
    margin-top: -40px;
    position: relative;
    border-radius: 60px 60px 0 0;
    z-index: 5;
}

/* Split padding/margin on tablet */
@media(max-width: 1023px) {
    .section-plan {
        padding: 40px 0;
        margin-top: 0px;
    }
}

/* Split padding/margin on mobile */
@media(max-width: 767px) {
    .section-plan {
        padding: 30px 0;
        margin-top: 0px;
        border-radius: 24px 24px 0 0;
    }
}

/* NEW LAYOUT: Left Header, Right Grid */
.plan-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media(min-width: 1024px) {
    .plan-layout {
        flex-direction: row;
        gap: 80px;
        align-items: flex-start;
    }
}

/* Plan Intro Section */
.plan-intro {
    margin-bottom: 60px;
}

.plan-intro h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--bg-body);
}

.plan-intro p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 16px;
}

.plan-intro ul {
    margin-top: 16px;
}

.plan-intro ul li {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 8px;
}

.plan-header {
    flex: auto;
    /* Full width on mobile/tablet */
    text-align: left;
}

/* Only make sticky and fixed width on desktop */
@media(min-width: 1024px) {
    .plan-header {
        flex: 0 0 350px;
        /* Fixed width sidebar */
        position: sticky;
        top: 120px;
    }
}

.plan-header h3 {
    font-size: var(--font-size-h3);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--bg-body);
    line-height: 1.3;
}

.plan-header p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 24px;
}

.plan-pillars {
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 400;
    color: #4A5568;
    margin-bottom: 32px;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
}



.plan-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    /* Force single column */
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-item {
    padding: 0 0 0 24px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    /* REMOVED HOVER EFFECTS */
}

.plan-number {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.plan-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--bg-body);
    letter-spacing: -0.02em;
}

.plan-item p {
    font-size: 1.1rem;
    color: #4A5568;
    line-height: 1.5;
}

.plan-cta {
    margin-top: 60px;
    text-align: left;
    /* Align with grid */
    padding-left: 24px;
    grid-column: 1 / -1;
    /* Span full width if inside grid */
}

@media(max-width: 767px) {
    .plan-cta {
        margin-top: 0;
    }
}

.link-arrow {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-body);
    /* Updated to match .link-item style with SVG */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.link-arrow svg {
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--accent-color);
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

/* * =========================================
 * NEW SECTION: ACCOUNTABILITY (Light Mode)
 * =========================================
 */
.section-accountability {
    padding: 0 0 var(--section-padding);
    background-color: #F2F4F8;
    /* MATCHES PREVIOUS SECTION (Seamless flow) */
    color: var(--bg-body);
    position: relative;
    z-index: 4;
}

.accountability-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.accountability-header h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 24px;
    color: var(--bg-body);
    /* Dark Text */
    font-weight: 700;
    line-height: 1.3;
}

.accountability-header .lead {
    font-size: 1.25rem;
    color: #4A5568;
    /* Slate-600 for readability */
    line-height: 1.6;
}

/* Mobile/Tablet: Left-align accountability header */
@media(max-width: 899px) {
    .accountability-header {
        text-align: left;
    }
}

.action-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media(min-width: 768px) {
    .action-list-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* CLEAN / PROFESSIONAL CARD STYLE */
.action-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    /* Standard light border */
    padding: 24px 32px;
    border-radius: 6px;
    /* consistent rounded corners */
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    /* subtle, non-intrusive shadow */
}

/* Removed Tech/Engineered pseudo-elements */
.action-item::after {
    display: none;
}

.action-item::before {
    display: none;
}

.action-icon {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    /* Slightly smaller for elegance */
    height: 32px;
    /* Return to clean circular design */
    background: rgba(217, 26, 61, 0.08);
    border: none;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.action-text {
    color: #2D3748;
    /* Darker grey, less stark than black */
    font-size: 1.1rem;
    font-weight: 500;
    /* Reduced weight slightly for better reading */
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.action-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.action-content strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0E1525;
    line-height: 1.3;
}

.action-content .action-text {
    font-size: 1rem;
    font-weight: 400;
    color: #4A5568;
}

/* SIMPLE TEXT FOOTER (No Card) */
.accountability-footer {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;

    max-width: 800px;
    margin: 50px auto 0 auto;
    padding: 0;

    text-align: center;
}

.accountability-footer p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3748;
    line-height: 1.6;
}

/* FADE SEPARATOR STYLE */
.fade-separator {
    height: 2px;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    border-radius: 2px;
}

/* * =========================================
 * SECTION: WHY THIS MATTERS NOW (Redesigned)
 * =========================================
 */
.section-matters {
    padding: 0 0 var(--section-padding);
    background-color: #F2F4F8;
    color: #0E1525;
}

.matters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

@media(min-width: 900px) {
    .matters-grid {
        grid-template-columns: 1fr 2fr;
        gap: 80px;
        align-items: flex-start;
    }

    .matters-title-col {
        position: sticky;
        top: 120px;
    }
}

.matters-title-col h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #0E1525;
    text-align: left;
}

.matters-text-col {
    position: relative;
    padding-left: 0;
    text-align: left;
}

@media(min-width: 900px) {
    .matters-text-col {
        padding-left: 60px;
        border-left: 2px solid rgba(14, 21, 37, 0.1);
    }
}

.matters-text-col p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #2D3748;
}

.matters-highlight {
    font-weight: 800;
    color: #0E1525 !important;
    font-size: 1.4rem !important;
    margin-top: 32px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 0 !important;
}

@media(max-width: 899px) {
    .matters-title-col h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .matters-text-col p {
        font-size: 1.1rem;
    }
}

/* * =========================================
 * SECTION: DISCIPLINED METHOD
 * =========================================
 */
.section-method {
    padding: var(--section-padding) 0;
    background-color: var(--bg-body);
    color: #fff;
}

.section-method h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #fff;
    text-align: center;
}

.method-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    line-height: 1.7;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.method-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 768px) {
    .method-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.method-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0.8;
}

.method-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.method-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* * =========================================
 * SECTION: TWO WAYS TO ENGAGE
 * =========================================
 */
.section-engage {
    padding: var(--section-padding) 0;
    transition: background-color 0.3s ease;
    background-color: #0E1525;
    /* Fallback */
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}

/* Gradient Background Overlay */
.section-engage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        /* Gradient Overlay: 
           - Angle: 15deg
           - Blue: Starts at 0%, stays solid until 25%
           - Red: Transitions over the remaining 75%
        */
        linear-gradient(15deg,
            rgba(14, 21, 37, 0.95) 0%,
            /* Dark Navy Start */
            rgba(14, 21, 37, 0.95) 25%,
            /* Dark Navy End (was 75%, now 25%) */
            rgba(74, 10, 21, 0.95) 100%
            /* Muted Red (100%) */
        ),
        /* Specific User Image */
        url('../images/cta-background.png') no-repeat center center;

    background-size: cover;
    background-position: center;
}

.section-engage .section-title {
    color: #fff;
    margin-bottom: 60px;
    font-size: var(--font-size-h2);
    font-weight: 800;
    text-align: center;
}

.engage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    /* Spacing handled by padding for borders */
    max-width: 1000px;
    margin: 0 auto;
}

@media(min-width: 768px) {
    .engage-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
}

.engage-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align items */
    text-align: left;
    /* Left align text */
    height: 100%;
    position: relative;
    padding: 0 20px;
}

/* Mobile Divider: Faded bottom border on first item */
.engage-card:first-child {
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.engage-card:first-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 100%);
}

/* Desktop Divider: Faded right border on first item */
@media(min-width: 768px) {
    .engage-card {
        padding: 0 50px;
    }

    .engage-card:first-child {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .engage-card:first-child::after {
        bottom: auto;
        left: auto;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: linear-gradient(180deg,
                transparent 0%,
                rgba(255, 255, 255, 0.5) 50%,
                transparent 100%);
    }
}

.engage-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.engage-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 12px;
}

.engage-card .emphasized {
    font-weight: 600;
    color: #fff;
}

.engage-action {
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
    /* Ensure action container allows button sizing */
}

.section-cta-light {
    padding: 40px 0 80px;
    background-color: var(--bg-body);
}

.cta-light-card {
    background: #fff;
    padding: 48px 60px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.3;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-light-card h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--bg-body);
    margin: 0 0 8px 0;
    letter-spacing: -0.03em;
    max-width: 580px;
}

.cta-light-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin: 0;
    max-width: 580px;
}

.cta-light-card .btn {
    margin-top: 8px;
}

/* Mobile: Left align and reduce padding */
@media(max-width: 767px) {
    .cta-light-card {
        padding: 32px 24px;
        align-items: flex-start;
        text-align: left;
    }

    .cta-light-card h2,
    .cta-light-card p {
        max-width: 100%;
    }
}

/* * =========================================
 * NEW SECTION: FOUNDER (Dark Theme)
 * =========================================
 */
.section-founder {
    padding: var(--section-padding) 0;
    background-color: var(--bg-body);
    color: #fff;
    position: relative;
    z-index: 4;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media(min-width: 900px) {
    .founder-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }

    /* Image slightly narrower */
}

/* Mobile-only title - hidden on desktop, shown on mobile */
.founder-title-mobile {
    display: none;
    font-size: var(--font-size-h2);
    line-height: 1.1;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media(max-width: 899px) {
    .founder-title-mobile {
        display: block;
    }

    .founder-content h2 {
        display: none;
    }
}

.founder-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4;
    /* Portrait ratio */
    background: #f0f0f0;
}

/* Limit photo width on mobile landscape */
@media(max-width: 899px) {
    .founder-grid {
        gap: 20px;
    }

    .founder-image-wrapper {
        max-width: 400px;
    }
}

.founder-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-content h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 24px;
    line-height: 1.3;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* FIXED: Added missing styles and closing bracket */
.founder-label {
    display: block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    font-weight: 700;
}

.founder-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.6;
}

.founder-bio-list h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 0.05em;
    border-left: 3px solid #F62C4B;
    padding-left: 12px;
}

.founder-bio-list ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 40px;
    display: block;
}

.founder-bio-list li {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}

.founder-bio-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #F62C4B;
    border-radius: 50%;
}

/* NEW STYLES FOR 2-LINE FOUNDER LINK */
.founder-link-group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    margin-top: 10px;
}

.founder-link-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.founder-link-large {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    line-height: 1;
}

.founder-link-group:hover .founder-link-small {
    color: #F62C4B;
}

.founder-link-group:hover .founder-link-large {
    color: #F62C4B;
    transform: translateX(5px);
}

/* Link arrow styling for founder section (dark theme) */
.section-founder .link-arrow {
    color: #fff;
}

.section-founder .link-arrow:hover {
    color: #F62C4B;
}

/* * =========================================
 * SECTION: SPONSORS (Light Theme)
 * =========================================
 */
.section-sponsors {
    padding: var(--section-padding) 0;
    background-color: #F2F4F8;
}

.sponsors-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.sponsors-content h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--bg-body);
}

.sponsors-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 16px;
}

.sponsors-content .sponsors-cta-text {
    margin-top: 32px;
    margin-bottom: 24px;
    color: var(--bg-body);
}

.sponsors-content .btn {
    margin-top: 8px;
}

/* Mobile: Left align paragraphs */
@media(max-width: 767px) {
    .sponsors-content p {
        text-align: left;
    }
}

/* * =========================================
 * NEW SECTION: SUPPORT CTA (Minimalist Light)
 * =========================================
 */
.section-support {
    padding: 30px 0 60px;
    background-color: #F2F4F8;
    /* Off-white matching previous section */
    border-top: none;
    /* Separator removed */
    position: relative;
    z-index: 4;
}

.support-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: #FFFFFF;
    /* White card to pop against off-white */
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Very clean, subtle lift */
}

.support-box h2 {
    font-size: var(--font-size-h2);
    color: var(--bg-body);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.support-box p {
    font-size: 1.15rem;
    color: #4A5568;
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile/Tablet: Left-align text and reduce padding */
@media(max-width: 899px) {
    .support-box {
        padding: 40px 24px;
        text-align: left;
    }

    .support-box p {
        margin-left: 0;
        margin-right: 0;
    }
}

/* * =========================================
 * 6. FOOTER
 * =========================================
 */
footer {
    border-top: none;
    /* Removed border as the section above is light */
    padding: 60px 0 40px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-body);
    /* Lighter navy blue footer background */
    position: relative;
    z-index: 1;
}

/* NEW FOOTER LAYOUT */
.footer-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

@media(min-width: 768px) {
    .footer-layout {
        display: grid;
        grid-template-columns: 60px 1fr;
        /* Logo | Content Area */
        gap: 80px;
    }
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media(min-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        /* Left Group | Right Group */
        gap: 60px;
    }
}

.footer-group {
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Space between the "rows" */
}

.footer-section h4 {
    color: #fff;
    /* Pure white for high contrast */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    /* Increased size (was 0.75rem) */
    font-weight: 800;
    /* Extra bold */
    opacity: 1;
    /* Removed transparency */
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* NEW FOOTER LAYOUT (3 Columns) */
.footer-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 40px;
}

@media(min-width: 768px) {
    .footer-layout {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* Equal width columns */
        gap: 60px;
        align-items: start;
    }
}

/* Mobile divider between footer columns */
@media(max-width: 767px) {
    .footer-layout {
        gap: 20px;
    }

    .footer-col:not(:first-child) {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 30px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Social Media Links */
.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Footer logo link - ensure consistent display for focus ring */
.footer-col:first-child {
    display: flex;
    justify-content: center;
}

.footer-col>a[aria-label="Home"] {
    display: inline-block;
}

/* Footer logo focus indicator */
.footer-col a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* * =========================================
 * 7. ANIMATION CLASSES (Scroll Reveal)
 * =========================================
 */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Staggered delays for child elements */
.delay-100 {
    transition-delay: 0.1s;
}

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

.delay-300 {
    transition-delay: 0.3s;
}

/* * =========================================
 * 12. MODAL / POPUP
 * =========================================
 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    padding: 48px 40px;
    position: relative;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid #E2E8F0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.modal-close:hover {
    background: #F7FAFC;
    border-color: #CBD5E0;
}

.modal-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 26, 61, 0.4);
    border-color: var(--accent-color);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #4A5568;
}

.modal-close:hover svg {
    stroke: #1a1a2e;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0E1525;
    margin-bottom: 8px;
    line-height: 1.3;
}

.modal-header p {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.5;
}

/* Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
}

.form-group label .required {
    color: var(--accent-color);
}

.form-group label .optional {
    color: #6B7280;
    font-weight: 400;
}



.modal-form .btn {
    margin-top: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
}

.modal-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success State */
.modal-success {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.modal-success.active {
    display: block;
}

.modal-success svg {
    width: 64px;
    height: 64px;
    stroke: #10B981;
    margin-bottom: 20px;
}

.modal-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0E1525;
    margin-bottom: 12px;
}

.modal-success p {
    font-size: 1rem;
    color: #4A5568;
    margin-bottom: 24px;
}

/* Hide form when success */
.modal-form.hidden {
    display: none;
}

/* Privacy note */
.privacy-note {
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.privacy-note a {
    color: var(--accent-color);
    text-decoration: underline;
}

.privacy-note a:hover {
    text-decoration: none;
}

/* Body scroll lock when modal open */
body.modal-open {
    overflow: hidden;
}

/* =========================================
 * COOKIE CONSENT BANNER
 * =========================================
 */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0E1525;
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.cookie-banner.visible {
    transform: translateY(0);
    visibility: visible;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media(min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-text a {
    color: white;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: var(--accent-color);
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-accept:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-essential {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn:focus,
.cookie-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

@media(max-width: 767px) {
    .cookie-banner {
        padding: 16px;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Content Page - List Item Adjustment */
.content-page ul:not(.nav-links):not(.footer-links) li {
    padding-left: 18px !important;
}

/* * =========================================
 * GLOBAL FORM STYLES
 * =========================================
 */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
}

.form-group label .required {
    color: var(--accent-color);
}

/* Checkbox styling */
input[type="checkbox"] {
    accent-color: var(--accent-color);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #94A3B8;
    border-radius: 4px;
    background: white;
    color: #1a1a2e;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:not([type="checkbox"]):not([type="radio"])::placeholder,
.form-group textarea::placeholder {
    color: #4A5568;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):hover,
.form-group textarea:hover {
    border-color: #64748B;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

/* Error state targeting based on parent class */
.form-group.has-error input:not([type="checkbox"]):not([type="radio"]),
.form-group.has-error textarea {
    border-color: var(--accent-color);
    background: #FFF5F5;
}

.form-group.has-error input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group.has-error textarea:focus {
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.form-error {
    font-size: 0.85rem;
    color: var(--accent-color);
    display: none;
    margin-top: 6px;
}

.form-group.has-error .form-error {
    display: block;
}