 /* Global fixes for this page */
    body {
        font-family: 'Noto Sans', sans-serif;
        color: #1b2620;
        overflow-x: hidden;
        line-height: 1.6; /* Improved typography line-height */
    }
    
    /* Accessibility: Focus states */
    a:focus, button:focus, input:focus, textarea:focus, select:focus {
        outline: 3px solid #1b5e20;
        outline-offset: 2px;
    }
    
    /* Utility */
    .text-red { color: #951714; }
    .text-blue { color: #1b5e20; }
    .bg-red { background-color: #951714; }
    
    /* Interactive Elements Base */
    a, button {
        cursor: pointer;
    }

    .section-title {
        font-size: 3rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 2rem;
        color: #1b5e20;
        position: relative;
        padding-bottom: 10px;
    }
    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: #951714;
        margin: 10px auto 0;
    }

    /* 1. HERO SECTION */
    .hero-section {
        position: relative;
        height: 100vh;
        min-height: 100vh;
        width: 100%;
        background-image: url('/assets/images/chunnafinal1.jpg');
        background-size: cover;
        background-position: right center; /* Position image to the right */
        display: flex;
        align-items: center;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    /* Background decoration image behind hero */
    .hero-section::before {
        content: '';
        position: absolute;
        top: 30%; /* Positioned slightly down from top */
        left: 0;
        width: 100%;
        height: 70%; /* Cover bottom portion */
        background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/1b/Nepalese_Election_Symbol_Tree_Green.svg');
        background-size: 300px;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.08;
        z-index: 0;
        pointer-events: none;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Adjusted gradient for better text contrast and readability */
        background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(30,0,0,0.5) 50%, rgba(0,0,0,0.05) 100%);
        z-index: 1;
    }

    .hero-silhouette {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/assets/images/flag_overlay.png');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        opacity: 0.12;
        mix-blend-mode: multiply;
        z-index: 1;
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        color: white;
        max-width: 1200px;
        margin: 80px auto 0 auto;
        padding: 0 20px;
        width: 100%;
    }

    .hero-flag {
        width: 60px;
        margin-bottom: 20px;
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
        font-weight: 800;
        line-height: 1.1;
        color: #f2f7f4;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 6px;
        opacity: 0.7;
    }

    .hero-nepali {
        font-family: 'Noto Serif Devanagari', serif;
        font-size: 1.2rem;
        color: #e0e0e0;
        margin-bottom: 25px;
    }

    /* Main Slogan - Party Tagline */
    .main-slogan {
        font-family: 'ARAP 009', 'Noto Sans Devanagari', 'Noto Sans', sans-serif;
        font-size: clamp(2rem, 6vw, 4.5rem);
        font-weight: 900;
        line-height: 1.1;
        text-transform: uppercase;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1.2s ease-out;
        color: #FFFFFF; /* Base color: White */
        margin-top: 0px;
    }

    .main-slogan .line-red {
        color: #f2f7f4;
        display: block; /* line 1 on its own line */
    }

    .main-slogan .line-green {
        color: #1b5e20; /* Nepali Congress Green */
        display: inline-block; /* allow indent + underline just under this line */
        margin-top: 6px;
        /* Indent line 2 like the reference image (responsive so it matches desktop + mobile) */
        /* margin-left: clamp(18px, 4vw, 48px); */
        /* Underline effect similar to the screenshot */
        border-bottom: 2px solid currentColor;
    }

    /* Optional exclamation emphasis */
    .main-slogan span.exclaim {
        color: #FFD700;
        font-size: 1.15em;
    }

    /* Sub-slogan / Secondary tagline */
    .hero-slogan {
        font-family: 'Noto Serif Devanagari', serif;
        font-size: clamp(1rem, 3vw, 1.6rem);
        font-weight: 400;
        padding: 12px 24px;
        width: fit-content;
        background: rgba(255,255,255,0.1);
        border-left: 5px solid #951714;
        display: inline-block;
        opacity: 0.95;
        /* animation: fadeInUp 1.5s ease-out, float 4s ease-in-out infinite 1.5s; */
    }

    /* Mobile top-slogan helper: hidden by default (enabled only on phones) */
    .main-slogan--top {
        display: none;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0px); }
    }

/* 3. DETAILED BIOGRAPHY SECTION */
.bio-section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

.bio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bio-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: clamp(3rem, 6vw, 6rem);
}

.bio-image-wrapper {
    position: relative;
    border-radius: var(--radius-round-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.bio-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.bio-info-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bio-title-large {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.1;
}

.bio-lead-text {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
}

.bio-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    /* margin-bottom not needed if it's the last element, but leaving a smaller one just in case */
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.bio-detail-card {
    background: var(--nc-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-round);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(27, 94, 32, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bio-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.bio-detail-card i {
    font-size: 2rem;
    color: var(--nc-red);
    margin-bottom: 1.5rem;
    width: 40px; /* Fixed width for icon alignment */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.bio-detail-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--nc-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.bio-detail-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.bio-quote-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(3rem, 6vw, 6rem) auto;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--text-dark);
    color: var(--nc-white);
    border-radius: var(--radius-round-lg);
    position: relative;
}

.bio-quote-section blockquote {
    font-family: var(--font-secondary);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.bio-quote-section p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--nc-red);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

@media (max-width: 900px) {
    .bio-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 5. PHILOSOPHY SECTION ("The Manifesto") */
.philosophy-section {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
    background-color: var(--text-dark); /* Deep Charcoal */
    color: var(--nc-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Parallax Background Texture */
.philosophy-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('https://images.unsplash.com/photo-1542281286-9e0a16bb7366?auto=format&fit=crop&q=80&w=2000'); /* Heritage architecture/dark nature vibe */
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.philosophy-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.philosophy-contrast {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.philosophy-common {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light); /* #526659 but dimmed in this context */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.philosophy-differentiated {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--nc-white);
    line-height: 1.5;
    font-weight: 700;
}

.philosophy-differentiated span.accent-keyword {
    color: var(--nc-red);
    font-family: var(--font-custom); /* ARAP 009 or similar high contrast */
}

/* We'll use SplitText logic in GSAP for the reveal, so wrap words in spans if manually doing it */
.split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

/* 4. FEATURES SECTION ("Interactive Functional Artifacts") */
.features-section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--bg-light);
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.feature-card {
    background: var(--nc-white);
    border: 1px solid rgba(27, 94, 32, 0.1);
    border-radius: var(--radius-round);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    height: 480px;
}

.feature-header {
    margin-bottom: 2rem;
    z-index: 2;
}

.feature-header h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--nc-green);
    margin: 0 0 0.5rem 0;
    font-weight: 800;
}

.feature-header p {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Common Interactive Area Space */
.feature-interactive-area {
    flex-grow: 1;
    position: relative;
    border-radius: calc(var(--radius-round) - 1rem);
    background: #f8f9fa; /* Slight contrast for UI elements */
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Card 1: Diagnostic Shuffler */
.shuffler-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.shuffle-card {
    position: absolute;
    width: 80%;
    background: var(--nc-white);
    border: 1px solid rgba(27, 94, 32, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shuffle-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--nc-green);
    font-weight: 700;
}

.shuffle-card-value {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.shuffle-card.pos-0 { transform: translateY(0) scale(1); z-index: 3; opacity: 1; }
.shuffle-card.pos-1 { transform: translateY(-20px) scale(0.95); z-index: 2; opacity: 0.7; }
.shuffle-card.pos-2 { transform: translateY(-40px) scale(0.9); z-index: 1; opacity: 0.4; }

/* Card 2: Campaign Update Feed (ex-Typewriter) */
.typewriter-container {
    width: 100%;
    height: 100%;
    background: #fcfcfc; /* Clean modern feel */
    padding: 1.5rem;
    font-family: var(--font-primary); /* Remove monospace */
    font-size: 0.95rem;
    color: var(--text-dark); /* Dark text for readability */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: calc(var(--radius-round) - 1rem);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light); /* Clean grey text */
    border-bottom: 1px solid rgba(0,0,0,0.1); /* Subtle divider */
    padding-bottom: 0.5rem;
}

.terminal-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--nc-red);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(220, 53, 69, 0.4);
    animation: terminal-blink 1.5s infinite;
}

.terminal-line {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-weight: 500;
}

.terminal-prompt {
    color: var(--nc-green); /* Campaign green */
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.terminal-cursor {
    display: inline-block;
    width: 2px; /* Line cursor instead of block cursor */
    height: 1.1em;
    background-color: var(--text-dark);
    vertical-align: middle;
    animation: terminal-blink 1s step-end infinite;
}

@keyframes terminal-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Card 3: Cursor Protocol Scheduler */
.scheduler-container {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.scheduler-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1.5rem;
}

.day-header {
    text-align: center;
    font-family: 'JetBrains Mono', 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.day-cell {
    aspect-ratio: 1;
    background: var(--nc-white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    transition: all 0.2s;
}

.day-cell.active {
    background: var(--nc-green);
    border-color: var(--nc-green);
    transform: scale(0.95);
}

.scheduler-btn {
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-family: var(--font-primary);
    font-weight: 700;
    align-self: flex-end;
    transition: transform 0.2s;
}

.scheduler-btn.active {
    transform: scale(0.95);
    background: var(--nc-red);
}

/* The Animated SVG Cursor */
.protocol-cursor {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 10;
    pointer-events: none;
    /* Starting position out of bounds */
    transform: translate(-50px, -50px);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        height: auto;
        min-height: 400px;
    }
}

/* 6. PROTOCOL SECTION ("Sticky Stacking Archive") */
.protocol-section {
    position: relative;
    background: #fdfcf9; /* Very warm, light cream background */
    padding: 0; 
}

.protocol-container {
    height: 400vh; /* Smooth scrolling room */
    position: relative;
}

.protocol-cards-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.protocol-card {
    position: absolute;
    width: 90%;
    max-width: 1100px;
    height: 70vh;
    top: 15vh; /* Center without translate */
    background: #ffffff;
    border-radius: var(--radius-round-lg);
    /* High-end soft shadow and inner ring for premium feel */
    box-shadow: 0 40px 100px rgba(27, 94, 32, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    will-change: transform, filter, opacity;
    border: 1px solid rgba(27, 94, 32, 0.08); /* Subtle green tint border */
    color: var(--text-dark);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Subtle organic grain overlay for texture */
.protocol-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.02;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.protocol-step {
    font-family: 'JetBrains Mono', 'Space Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nc-red);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
}

.protocol-step::before {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: var(--nc-red);
}

.protocol-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--nc-green); /* Deep heritage green */
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.protocol-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 550px;
    font-weight: 400;
}

/* Base styles for the SVG abstract backgrounds per card */
.protocol-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.08; /* Very subtle in light mode */
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
    /* Soft gradient bleed from the right */
    mask-image: linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
}

.protocol-card-bg svg {
    width: 100%;
    height: 100%;
    max-height: 80%;
}

.protocol-card-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

@media (max-width: 768px) {
    .protocol-card {
        padding: 2.5rem;
        height: 60vh;
        top: 20vh;
    }
    .protocol-card-bg {
        opacity: 0.05;
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }
    .protocol-card-content {
        max-width: 100%;
    }
}

    /* 6. NEWS SECTION */
    .news-section {
        padding: clamp(4rem, 8vw, 8rem) 0;
        background: #f2f7f4;
    }

    .news-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
        margin: clamp(2rem, 5vw, 4rem) auto 0;
        padding: 0 20px;
    }

    .news-card {
        background: white;
        border: 1px solid #d1d9d4;
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        cursor: pointer;
    }

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-color: #f2f7f4;
    }

    .news-img {
        height: 200px;
        width: 100%;
        overflow: hidden;
    }

    .news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .news-card:hover .news-img img {
        transform: scale(1.1);
    }

    .news-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .news-date {
        font-size: 0.85rem;
        color: #951714;
        font-weight: 600;
        margin-bottom: 10px;
        display: block;
    }

    .news-card h4 {
        font-size: 1.15rem;
        color: #1b5e20;
        margin-bottom: 15px;
        line-height: 1.4;
        font-weight: 700;
    }

    .news-link {
        color: #951714;
        font-weight: bold;
        font-size: 0.9rem;
        text-decoration: none;
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: gap 0.3s;
    }
    
    .news-link:hover {
        gap: 10px;
    }

/* 7. CTA SECTION ("Get Started / Join") */
.cta-section {
    padding: clamp(6rem, 10vw, 8rem) 0 4rem;
    text-align: center;
    background: #951714; /* Distinct Red background, separates from footer */
    color: var(--nc-white);
    position: relative;
    overflow: hidden;
    z-index: 20;
}

/* Subtle organic grain overlay for texture */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Underlay image for the CTA/Footer area */
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('/assets/images/nc/nepali-congress-flag.png') no-repeat center/contain;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;   /* ← changed from multiply to screen */
    filter: grayscale(100%) brightness(1.5); /* brighten so screen blend has something to work with */
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-section h2 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--nc-white);
    line-height: 1.1;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(253, 253, 253, 0.7);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-section .btn-accent {
    opacity: 1 !important;
    transform: none !important;
    background: #ffffff !important;
    color: #951714 !important;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-decoration: none;
}

.cta-section .btn-accent:hover {
    background: #1b5e20; /* Green hover instead of red */
    color: var(--nc-white);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 15px 40px rgba(27, 94, 32, 0.4);
}

/* Footer styles moved to assets/css/layout/footer.css */

    .btn-primary-campaign:hover {
        background: #b71c1c;
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(149, 23, 20, 0.4);
    }

    .support-contact-footer {
        padding-top: 30px;
        border-top: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .contact-item label {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.5);
    }

    .contact-links {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .contact-links a {
        color: rgba(255,255,255,0.9);
        text-decoration: none;
        font-weight: 600;
        font-size: 1.05rem;
        transition: color 0.2s;
    }

    .contact-links a:hover {
        color: #66bb6a;
    }

    .contact-links .dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(255,255,255,0.3);
    }

    /* Mobile Responsive - Hero */
    @media (max-width: 900px) {
        .hero-section {
            height: 100vh;
            min-height: 100vh;
            padding: 0;
            background-attachment: scroll;
            background-image: url('/assets/images/chunnaheromob.jpg');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .hero-buttons {
            justify-content: center;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .hero-title {
            font-size: 1.8rem;
            margin-bottom: 8px;
        }
        
        .hero-subtitle {
            font-size: 1rem;
            margin-bottom: 12px;
            opacity: 0.8;
        }
        
        .hero-slogan {
            font-size: 1rem;
            padding: 10px 16px;
            margin-bottom: 20px;
        }
        
        .btn-red {
            font-size: 0.9rem;
            padding: 12px 24px;
            position: relative;
            margin-top: -10px;
            margin-bottom: 20px;
            min-height: 44px; /* Touch target minimum for mobile */
            min-width: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .btn-primary, .btn-secondary {
            padding: 15px 30px;
            font-size: 1rem;
        }
        
        .section-title {
            font-size: 2.2rem;
            margin-bottom: 40px;
        }
        .bio-intro-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        .bio-details-grid {
            grid-template-columns: 1fr;
        }
        .bio-quote-section blockquote {
            font-size: 1.4rem;
        }
        .bio-quote-section {
            padding: 40px 20px;
        }
        .bio-text h2 {
            font-size: 2.2rem;
        }
        .vlog-grid {
            grid-template-columns: 1fr;
        }
        /* Mobile responsive override defaults */
        .vlog-section {
            padding: 4rem 0;
        }
        .news-grid {
            grid-template-columns: 1fr;
        }
        .news-section {
            padding: 4rem 0;
        }
        .cta-section h2 {
            font-size: 2.2rem;
        }
        .cta-section p {
            font-size: 1.1rem;
        }
        .cta-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }
        .btn-premium, .btn-outline-white {
            width: 100%;
            max-width: 300px;
        }
    }

    /* Mobile-only (phones): keep face visible by pushing all hero text to bottom */
    @media (max-width: 600px) {
        .hero-section {
            /* Use modern viewport units where supported to reduce mobile browser chrome issues */
            min-height: 100svh;
            height: 100svh;
            align-items: flex-end;
            justify-content: center;
            background-position: center 12%;
        }

        /* Mobile-only decorative overlay image (behind text, above photo) */
        .hero-section::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/hero_mobile_overlay.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.12;
            z-index: 0; /* below .hero-overlay/.hero-silhouette (z=1) and content (z=2) */
            pointer-events: none;
        }

        /* Remove/soften decorative overlays on mobile to keep the photo crisp */
        .hero-section::before {
            opacity: 0.02;
            background-size: 220px;
        }

        /* Put ONLY the main slogan at the top on phones */
        .main-slogan--top {
            display: block;
            position: absolute;
            top: 18px;
            left: 16px;
            right: 16px;
            width: auto;
            text-align: left;
            padding: 0;
            z-index: 3;
            margin: 0;
            pointer-events: none;
            animation: fadeInUp 1.2s ease-out;
        }

        /* Hide the in-content slogan on mobile to avoid duplicate */
        .main-slogan--in-content {
            display: none;
        }

        .hero-overlay {
            /* Bottom-weighted gradient so text is readable without darkening the face */
            background: linear-gradient(
                to top,
                rgba(0,0,0,0.78) 0%,
                rgba(20,0,0,0.42) 40%,
                rgba(0,0,0,0.08) 72%,
                rgba(0,0,0,0.00) 100%
            );
        }

        /* Reduce extra dark tint on mobile so hero image looks clearer */
        .hero-silhouette {
            opacity: 0.04;
        }

        .btn-red {
            font-size: 0.95rem;
            padding: 10px 18px;
            min-height: 44px; /* Touch target minimum for mobile */
            min-width: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
    }
