/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.keyword {
    font-weight: 700;
    color: var(--accent-primary);
}

/* Utilities */
.bg-light-warm {
    background-color: #FAF3E0 !important;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-primary-hover, var(--accent-primary));
}

.btn-primary .icon-right {
    width: 2.1em;
    /* Adjusted for shorter tail */
    height: 0.6em;
    /* Keeps arrowhead proportionate */
    fill: none;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .icon-right {
    transform: translateX(4px);
}

.btn-primary .icon-left {
    width: 1em;
    height: 1em;
    fill: currentColor;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .icon-left {
    transform: scale(1.1) rotate(5deg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary .icon-right {
    width: 2.1em;
    height: 0.6em;
    fill: none;
    transition: transform var(--transition-fast);
}

.btn-secondary:hover .icon-right {
    transform: translateX(4px);
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 5%;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    flex: 2;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   Structural Layout & Grids
   ========================================= */
.container {
    width: 100%;
    padding: 0 1rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.card-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Timeline Components */
.timeline {
    position: relative;
    padding: 2rem 0;
}

/* =========================================
   Parallax Stacking Effect
   ========================================= */
.stack-section {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 15vh 5% 10vh;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.15);
    /* Cast shadow upward onto previous section */
}

/* Ensure z-indexes stack correctly */
.stack-section:nth-child(1) {
    z-index: 1;
}

.stack-section:nth-child(2) {
    z-index: 2;
}

.stack-section:nth-child(3) {
    z-index: 3;
}

.stack-section:nth-child(4) {
    z-index: 4;
}

.stack-section:nth-child(5) {
    z-index: 5;
}

.stack-section:nth-child(6) {
    z-index: 6;
}

.stack-section:nth-child(7) {
    z-index: 7;
}

.stack-section:nth-child(8) {
    z-index: 8;
}

.stack-section:nth-child(9) {
    z-index: 9;
}

.stack-section:nth-child(10) {
    z-index: 10;
}

.stack-section:nth-child(11) {
    z-index: 11;
}

.stack-section:nth-child(12) {
    z-index: 12;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
}

.timeline-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.timeline-content {
    padding: 2rem;
}

@media (max-width: 600px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-step {
        padding-left: 60px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: #04213F;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
    /* Restored larger gap */
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-cta {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-cta .btn-primary {
    background: var(--accent-primary);
    /* Brand Orange */
    color: #ffffff;
}

.nav-links a:not(.btn-primary) {
    color: #ffffff;
    /* White text on transparent/dark navbar */
    text-decoration: none;
    white-space: nowrap;
    /* Prevent wrapping into two lines */
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-primary);
    /* Brand Orange on hover */
}

/* Hero Section Layout */
.hero-section {
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    background-color: #04213F;
    /* Dark Theme Always */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-layout {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.hero-text-col {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2%;
    text-align: center;
}

.hero-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* =========================================
   Top Corner Logos
   ========================================= */
.top-corner-logo {
    position: absolute;
    top: 40px;
    width: 130px;
    z-index: 100;
}

.top-corner-logo.left {
    left: 40px;
}

.top-corner-logo.right {
    right: 40px;
}

.top-corner-logo img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .top-corner-logo {
        top: 20px;
        width: 90px;
    }

    .top-corner-logo.left {
        left: 20px;
    }

    .top-corner-logo.right {
        right: 20px;
    }
}

/* =========================================
   Initial Load Staggered Sequence
   ========================================= */
.initial-load .slide-founders h1,
.initial-load .slide-founders .text-lines,
.initial-load .cta-group {
    opacity: 0;
    transform: translateY(20px);
}

.initial-load .slide-founders .sub-heading {
    opacity: 0;
    transform: translate(-50%, 20px);
    animation: fadeUpStaggerSubHeading 0.6s ease forwards 1.5s;
}

.initial-load .slide-founders h1 {
    animation: fadeUpStagger 0.6s ease forwards 1.8s;
}

.initial-load .slide-founders .text-lines {
    animation: fadeUpStagger 0.6s ease forwards 2.1s;
}

.initial-load .cta-group {
    animation: fadeUpStagger 0.6s ease forwards 2.4s;
}

@keyframes fadeUpStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpStaggerSubHeading {
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.slides-wrapper {
    display: grid;
    width: 100%;
}

.text-slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center h1 and paragraphs vertically */
    align-items: center;
    /* Center horizontally */
    position: relative;
    padding-top: 2.5rem;
    /* Give space for the absolutely positioned sub-heading */
}

.text-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease-in 0.4s, visibility 0s 0.4s;
    z-index: 2;
}

.keyword {
    /* font-family: 'Caveat', cursive; */
    color: var(--accent-primary);
    font-weight: 700;
    font-style: italic;
}


.sub-heading {
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.text-slide .sub-heading {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    white-space: nowrap;
}

.hero-text-col h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.text-lines {
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.text-lines p {
    margin-bottom: var(--spacing-sm);
}

.cta-group {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.hero-quote {
    grid-column: 1;
    grid-row: 2;
    margin-top: calc(var(--spacing-xl) * 1.5);
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
}

.hero-quote span {
    font-weight: 600;
    font-style: normal;
    color: #ffffff;
    display: inline-block;
    margin-top: 0.5rem;
}


/* =========================================
   Dual-Themed Carousel Aesthetics
   ========================================= */

/* 1. Founder Journey (Calm, Subtle, Light) */
/* Background is #04213F */

.slide-founders h1,
.slide-founders .text-lines {
    color: #ffffff;
    /* Crisp white for Navy background */
}

.slide-founders .sub-heading,
.slide-founders .keyword {
    color: var(--accent-secondary);
    /* Brand Blue accents */
}

/* 2. Investor Journey */
.slide-investors h1,
.slide-investors .text-lines {
    color: #ffffff;
    /* Crisp white */
}

.slide-investors .sub-heading,
.slide-investors .keyword {
    color: var(--accent-primary);
    /* Brand Orange accents */
}

/* Button Theming classes used in both slides */
.btn-founder {
    background: transparent !important;
    border: 2px solid var(--accent-secondary) !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.btn-founder:hover {
    background: var(--accent-secondary) !important;
}

.btn-investor {
    background: transparent !important;
    border: 2px solid var(--accent-primary) !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.btn-investor:hover {
    background: var(--accent-primary) !important;
}

/* =========================================
   Dynamic Navbar Theming
   ========================================= */
/* Default (Dark Theme) */
.navbar.theme-dark .nav-links a:not(.btn-primary) {
    color: #ffffff;
}

.navbar.theme-dark .logo {
    color: #ffffff;
    /* If text logo */
}

/* Light Theme (For Founder Slide) */
.navbar.theme-light .nav-links a:not(.btn-primary) {
    color: #04213F;
}

.navbar.theme-light .logo {
    color: #04213F;
}

.navbar.theme-light .mobile-menu-btn span {
    background-color: #04213F;
}

/* Scrolled state overrides */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Added subtle shadow for separation */
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
    color: #04213F !important;
}

.navbar.scrolled .logo {
    color: #04213F !important;
}

/* =========================================
   Journey Selector (Parallax)
   ========================================= */
.parallax-section {
    position: relative;
    padding: 8rem 5%;
    /* Increased top/bottom spacing */
    background-color: var(--bg-primary);
    /* Base color fallback */
    background-image: radial-gradient(circle at 50% 50%, rgba(200, 84, 26, 0.05) 0%, rgba(4, 33, 63, 1) 100%);
    background-attachment: fixed;
    /* Parallax effect */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.selector-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.parallax-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.parallax-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

.parallax-section .section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.journey-card {
    background: #061220;
    /* Solid dark, not glassy */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Subtle radius */
    padding: 3rem 2.5rem;
    text-align: left;
    /* Professional left-aligned text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.founder-card {
    border-top: 4px solid var(--accent-secondary);
}

.investor-card {
    border-top: 4px solid var(--accent-primary);
}

.founder-card:hover,
.investor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 var(--spacing-lg) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    /* Subtle rounded box instead of circle */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.founder-card .card-icon svg {
    fill: var(--accent-secondary);
    width: 24px;
}

.investor-card .card-icon svg {
    fill: var(--accent-primary);
    width: 24px;
}

.journey-card h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.card-msg {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.journey-features {
    list-style: none;
    text-align: left;
    margin-top: auto;
}

.journey-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.icon-check {
    width: 16px;
    height: 16px;
    fill: #25D366;
    /* Green check */
}

.vertical-divider {
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    align-self: stretch;
}

/* Animations */
.scroll-animate {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translate(0, 0) scale(1) !important;
}

.fade-up {
    transform: translateY(50px);
}

.slide-left {
    transform: translateX(-50px);
}

.slide-right {
    transform: translateX(50px);
}

.grow {
    transform: scaleY(0);
    transform-origin: top;
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Dynamic Section */
.dynamic-section {
    padding: var(--spacing-xl) 5%;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--text-secondary);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.data-card {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-fast);
}

.data-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.loading-spinner {
    text-align: center;
    color: var(--text-secondary);
    grid-column: 1 / -1;
    padding: var(--spacing-xl);
}

/* Footer */
#main-footer {
    text-align: center;
    padding: var(--spacing-lg) 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* =========================================
   Floating Action Button (WhatsApp)
   ========================================= */
.fab-whatsapp {
    position: fixed;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    width: 45px;
    height: 45px;
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.fab-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: #128C7E;
}

.fab-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* =========================================
   Founder Cards & Hover Effects
   ========================================= */
.founder-card {
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    z-index: 10;
}

.founder-card:hover::before {
    width: 100%;
}

/* Hero List Items without Cards */
.hero-list-item {
    position: relative;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    text-align: left;
}

/* Bottom border and hover line only for the first row (first 2 items) */
.founder-cards-grid .hero-list-item:nth-child(1),
.founder-cards-grid .hero-list-item:nth-child(2) {
    border-bottom: 2px solid #04213F;
}

@media (max-width: 768px) {
    .founder-cards-grid .hero-list-item:nth-child(3) {
        border-bottom: 2px solid #04213F;
    }
}


/* =========================================
   Timeline / How it Works Style
   ========================================= */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent-primary), #6fb6ff);
    transition: height 0.1s ease-out;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    left: 0;
    padding-right: 4rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 4rem;
}

.timeline-dot {
    position: absolute;
    top: 2.2rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #04213F;
    border: 3.5px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(111, 182, 255, 0.4);
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -9px;
}

.timeline-item.right .timeline-dot {
    left: -9px;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 2.5rem 2rem !important;
    border-radius: 12px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
}

.timeline-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 2px;
}

.timeline-title {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 !important;
    font-weight: 600;
}

.timeline-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 !important;
}

/* Responsive timeline for mobile */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
        top: 10px;
        bottom: 10px;
    }
    
    .timeline-item {
        width: 100% !important;
        left: 0 !important;
        padding-left: 3.5rem !important;
        padding-right: 0 !important;
        margin-bottom: 4.5rem;
    }
    
    .timeline-dot {
        left: 11px !important;
        right: auto !important;
        top: 2.2rem;
    }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(10, 10, 11, 0.98);
        padding: var(--spacing-xl) 0;
        gap: var(--spacing-lg);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /* Hidden */
        transition: clip-path 0.4s ease;
        backdrop-filter: blur(10px);
    }

    .navbar.scrolled .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        /* Revealed */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-cta {
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-text-col h1 {
        font-size: 2.5rem;
        /* Scale down hero text on mobile */
    }

    .hero-text-col {
        padding: var(--spacing-md) 5%;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .vertical-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    }

    .vertical-divider.grow {
        transform: scaleX(0);
        transform-origin: center;
    }

    .vertical-divider.grow.in-view {
        transform: scaleX(1);
    }
}

/* Small Mobile Adjustments */
@media (max-width: 576px) {
    .hero-logo img {
        height: 40px;
    }

    .hero-text-col h1 {
        font-size: 2rem;
        /* Further scale down for small screens */
    }

    .text-lines {
        font-size: 1rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-group .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Disable sticky stacking parallax effect on mobile devices */
@media (max-width: 768px) {
    .stack-section {
        position: relative !important;
        top: auto !important;
        min-height: auto !important;
        height: auto !important;
        padding: 4rem 5% !important;
        box-shadow: none !important;
    }

    .stack-section:last-of-type {
        padding-bottom: 0 !important;
    }

    .founder-cards-grid, .founder-cards-grid-3, .partner-grid, .founder-grid-2, .founder-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .carousel-slide {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
}

/* =========================================
   Light Theme Navbar Overrides for Founders Page
   ========================================= */
.founder-theme .nav-links a:not(.btn-primary) {
    color: #111111 !important;
}

.founder-theme .nav-links a:not(.btn-primary):hover,
.founder-theme .nav-links a.active:not(.btn-primary) {
    color: #6fb6ff !important;
}

.founder-theme .mobile-menu-btn span {
    background-color: #111111 !important;
}

@media (max-width: 992px) {
    .founder-theme .nav-menu,
    .navbar.theme-light .nav-menu {
        background-color: #FAF3E0 !important;
    }
}

/* Timeline Light Theme Overrides */
.founder-theme .timeline-card {
    background: transparent !important;
    border: none !important;
    padding: 1.5rem 0 !important;
    box-shadow: none !important;
}

.founder-theme .timeline-title {
    color: #6fb6ff !important;
}

.founder-theme .timeline-desc {
    color: rgba(4, 33, 63, 0.7) !important;
}

.founder-theme .timeline-line {
    background: rgba(4, 33, 63, 0.08) !important;
}

.founder-theme .timeline-dot {
    background: #FAF3E0 !important;
}

/* Ensure Thinking Partner section fits perfectly inside 100vh on desktop devices */
@media (min-width: 1025px) {
    #thinking-partner-section {
        height: 100vh !important;
        min-height: 100vh !important;
        top: 0px !important;             /* Force section to stick at top: 0px always */
        padding-top: 90px !important;    /* Account for navbar header + spacing */
        padding-bottom: 25px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #thinking-partner-section .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #thinking-partner-section .partner-grid {
        gap: 3.5rem !important;
        margin-bottom: 1.2rem !important;
    }

    #thinking-partner-section h2 {
        font-size: 2.8rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.2 !important;
    }

    #thinking-partner-section .partner-grid div > div {
        font-size: 1.1rem !important;
        line-height: 1.65 !important;
    }

    #thinking-partner-section .partner-grid div > div p {
        margin-bottom: 0.6rem !important;
    }

    #thinking-partner-section img {
        max-width: 280px !important;
        border-radius: 12px !important;
    }

    #thinking-partner-section .founder-cards-grid-3 {
        gap: 2.5rem !important;
    }

    #thinking-partner-section .founder-cards-grid-3 > div {
        gap: 0.5rem !important;
    }

    #thinking-partner-section .founder-cards-grid-3 svg {
        width: 1.8rem !important;
        height: 1.8rem !important;
    }

    #thinking-partner-section .founder-cards-grid-3 h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem !important;
    }

    #thinking-partner-section .founder-cards-grid-3 p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}