﻿*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================
   FIXED TOP NAVBAR
   ===================== */
.pitch-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 52px;
    background: rgba(20, 30, 22, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Montserrat', sans-serif;
}

.navbar-left {
    flex: 0 0 auto;
}

.navbar-logo {
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.navbar-logo strong {
    color: #ffffff;
    font-weight: 700;
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.navbar-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    cursor: pointer;
    padding: 0.35rem 0;
    position: relative;
    transition: color 0.25s ease;
    letter-spacing: 0.3px;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #7ecf8a;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.navbar-link:hover {
    color: #ffffff;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-link.active {
    color: #7ecf8a;
}

.navbar-link.active::after {
    width: 100%;
}

/* Offset body content so it doesn't hide behind the fixed navbar */
body {
    padding-top: 52px;
}

.nav-elephant-logo {
    height: 26px;
    width: auto;
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

@media (max-width: 850px) {
    .navbar-center {
        display: none;
        /* Hide center title to prevent overlap with links on small screens */
    }
}

@media (max-width: 768px) {
    .pitch-navbar {
        padding: 0 1rem;
        height: 52px;
    }

    .navbar-right {
        gap: 0.8rem;
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .navbar-right::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .navbar-link {
        font-size: 0.75rem;
    }

    body {
        padding-top: 52px;
    }

    .nav-elephant-logo {
        height: 22px;
        margin-right: 6px;
    }
}

html {
    overflow-y: hidden;
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
}

/* =====================
   PAGE LAYOUT
   ===================== */
.scroll-wrapper {
    position: relative;
}

.page {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    position: relative;
    box-shadow: 0px -15px 30px rgba(0, 0, 0, 0.15);
}

/* =====================
   HORIZONTAL SCROLL SECTION
   ===================== */
.horizontal-scroll-section {
    width: 100%;
    /* No shadow here, handled internally */
    box-shadow: none;
}

.horizontal-pages-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbars */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.horizontal-pages-wrapper::-webkit-scrollbar {
    display: none;
}

.h-page {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    /* Reset from main .page styles that might interfere */
    box-shadow: none;
}

.container {
    display: flex;
    width: 100%;
    padding: 0 5%;
    align-items: center;
    gap: 3rem;
}

/* =====================
   PAGE 1 - HERO
   ===================== */
.page-1 {
    background-color: #f8f8f8;
    z-index: 1;
    box-shadow: none;
    /* No top shadow for first page */
}

.content {
    flex: 1;
}

.content h1 {
    font-size: 3.5rem;
    color: #214d2a;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
}

.content p {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img,
.hero-image video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =====================
   PAGE 2 - STAGNATION
   ===================== */
.page-2 {
    background-color: #ffffff;
    z-index: 2;
}

.page2-image {
    flex: 0 0 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page2-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
}

.page2-content {
    flex: 1;
}

.page2-content h2 {
    font-size: 2.8rem;
    color: #214d2a;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.page2-intro {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.7;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.card {
    background-color: #f4f4f4;
    border-radius: 8px;
    padding: 1rem 1.2rem;
}

.card.card-wide {
    grid-column: 1 / -1;
}

.card h3 {
    font-size: 0.9rem;
    color: #214d2a;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.card p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
}

/* =====================
   PAGE 1 ANIMATIONS (on load)
   ===================== */
.slide-in {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =====================
   PAGE 2 SCROLL ANIMATIONS
   ===================== */
.scroll-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.delay-scroll-1 {
    transition-delay: 0.15s;
}

.delay-scroll-2 {
    transition-delay: 0.3s;
}

.delay-scroll-3 {
    transition-delay: 0.45s;
}

.delay-scroll-4 {
    transition-delay: 0.6s;
}

/* When JS adds .visible class */
.scroll-slide-left.visible,
.scroll-fade.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* =====================
   ZOOM PARALLAX FEATURE (Vanilla Adapter)
   ===================== */
.zoom-parallax-container {
    height: 300vh;
    position: relative;
    background-color: #f7f9fa;
    /* Sleek neutral transition background */
    z-index: 2;
}

.zoom-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.zoom-el {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.zoom-img-wrapper {
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #ccc;
    border-radius: 8px;
    /* Optional slight rounding for premium feel */
    overflow: hidden;
}

.zoom-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}



/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 4rem 5%;
        text-align: center;
    }

    .content h1 {
        font-size: 2.4rem;
    }

    .hero-image {
        justify-content: center;
    }

    .page2-image {
        flex: none;
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card.card-wide {
        grid-column: 1;
    }
}

/* =====================
   PAGE 3 - MARKET PROBLEM
   ===================== */
.page-3 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    z-index: 3;
}

.page3-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page3-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page3-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Title box */
.page3-title {
    background: #ffffff;
    color: #214d2a;
    font-size: 2.4rem;
    font-weight: 700;
    padding: 0.7rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #111111;
    box-shadow: -8px 8px 0px 0px #214d2a, -8px 8px 0px 3px #111111;
    /* Scroll animation: start hidden */
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.page3-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cards row */
.page3-cards {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
    margin-top: 1rem;
}

.page3-card {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 20px;
    padding: 1.5rem 1.8rem;
    flex: 1;
    max-width: 300px;
    box-shadow: -8px 8px 0px 0px #214d2a, -8px 8px 0px 3px #111111;
    position: relative;
    /* Scroll animation: start hidden */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Card 1: Tail pointing bottom-right */
.page3-cards .page3-card:nth-child(1)::before {
    content: '';
    position: absolute;
    bottom: -23px;
    right: 40px;
    border-width: 23px 0 0 23px;
    border-style: solid;
    border-color: #111111 transparent transparent transparent;
}

.page3-cards .page3-card:nth-child(1)::after {
    content: '';
    position: absolute;
    bottom: -18px;
    right: 43px;
    border-width: 19px 0 0 17px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

/* Card 2: Tail pointing top-left */
.page3-cards .page3-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: -23px;
    left: 40px;
    border-width: 0 0 23px 23px;
    border-style: solid;
    border-color: transparent transparent #111111 transparent;
}

.page3-cards .page3-card:nth-child(2)::after {
    content: '';
    position: absolute;
    top: -18px;
    left: 43px;
    border-width: 0 0 19px 17px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

/* Card 3: Tail pointing left */
.page3-cards .page3-card:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -23px;
    border-width: 15px 23px 15px 0;
    border-style: solid;
    border-color: transparent #111111 transparent transparent;
}

.page3-cards .page3-card:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 53px;
    left: -18px;
    border-width: 12px 19px 12px 0;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

.page3-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Center card pushed down to match design */
.page3-card-center {
    margin-top: 120px;
    text-align: center;
}

/* Staggered delays for cards */
.page3-cards .page3-card:nth-child(1) {
    transition-delay: 0s;
}

.page3-cards .page3-card:nth-child(2) {
    transition-delay: 0.2s;
}

.page3-cards .page3-card:nth-child(3) {
    transition-delay: 0.4s;
}


.page3-card h3 {
    font-size: 0.9rem;
    color: #214d2a;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.page3-card p {
    font-size: 0.8rem;
    color: #444;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .page3-cards {
        flex-direction: column;
        align-items: center;
    }

    .page3-card {
        max-width: 100%;
        width: 100%;
    }

    .page3-card-center {
        margin-top: 0;
    }

    .page3-title {
        font-size: 1.8rem;
        padding: 0.6rem 1.5rem;
    }
}

/* =====================
   PAGE 4 - SOLUTION BENEFITS
   ===================== */
.page-4 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 4;
}

.page4-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page4-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    display: block;
}

.page4-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 60px 5%;
}

.page4-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 42%;
}

/* Title */
.page4-title {
    background: rgba(255, 255, 255, 0.96);
    color: #214d2a;
    font-size: 2rem;
    font-weight: 700;
    padding: 0.7rem 2rem;
    border-radius: 14px;
    text-align: center;
    border: 2.5px solid #1a1a2e;
    box-shadow: 4px 4px 0px 0px rgba(26, 26, 46, 0.7);
    margin-bottom: 0.5rem;
}

/* Cards */
.page4-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 0.9rem 1.4rem;
    border: 2px solid #1a1a2e;
    box-shadow: 4px 4px 0px 0px rgba(26, 26, 46, 0.55);
}

.page4-card h3 {
    font-size: 0.95rem;
    color: #214d2a;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-align: center;
}

.page4-card p {
    font-size: 0.82rem;
    color: #444;
    line-height: 1.45;
    text-align: center;
}

.page4-card strong {
    color: #111;
}

/* Scroll animation Ã¢â‚¬â€ start hidden */
.p4-anim {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.p4-anim.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
.p4-delay-1 {
    transition-delay: 0.1s;
}

.p4-delay-2 {
    transition-delay: 0.25s;
}

.p4-delay-3 {
    transition-delay: 0.4s;
}

.p4-delay-4 {
    transition-delay: 0.55s;
}

@media (max-width: 900px) {
    .page4-right {
        width: 100%;
    }

    .page4-overlay {
        justify-content: center;
    }
}

/* =====================
   PAGE 5 - THE SOLUTION
   ===================== */
.page-5 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 5;
}

.page5-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page5-bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    display: block;
}

.page5-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    /* Create a gradient overlay so text is readable over the background image on the left */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
}

.page5-header {
    margin-bottom: 3.5rem;
    max-width: 850px;
    margin-top: 2rem;
}

.page5-topbar {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.a4logo {
    font-size: 1.6rem;
    color: #000;
    letter-spacing: -0.5px;
}

.a4logo strong {
    font-weight: 800;
}

.page5-title {
    font-size: 2.2rem;
    color: #214d2a;
    font-weight: 700;
}

.page5-subtitle {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    max-width: 700px;
    font-weight: 600;
}

/* Timeline/Chevrons */
.timeline-container {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 1100px;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chevron-box {
    display: flex;
    align-items: stretch;
    height: 65px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.chevron-arrows {
    display: flex;
    gap: 4px;
    z-index: 2;
}

.arr {
    width: 22px;
    background-color: #c5e1a5;
    clip-path: polygon(0% 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 0% 100%, 10px 50%);
}

.chevron-main {
    flex-grow: 1;
    background-color: #214d2a;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1.5rem;
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%, 20px 50%);
    margin-left: 4px;
    /* Space between last arrow and main box */
}

.step-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Scroll animation Ã¢â‚¬â€ start hidden */
.p5-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p5-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.p5-delay-1 {
    transition-delay: 0.1s;
}

.p5-delay-2 {
    transition-delay: 0.3s;
}

.p5-delay-3 {
    transition-delay: 0.5s;
}

@media (max-width: 900px) {
    .page5-overlay {
        background: rgba(255, 255, 255, 0.85);
        /* More solid on smaller screens */
    }

    .page5-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline-container {
        flex-direction: column;
        gap: 2rem;
    }

    .chevron-box {
        max-width: 400px;
    }
}

/* =====================
   PAGE 6 - 4 PILLARS
   ===================== */
.page-6 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 6;
}

.page6-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page6-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.page6-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 4%;
}

.page6-header {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.page6-title {
    background: #ffffff;
    color: #214d2a;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0.8rem 3.5rem;
    border-radius: 16px;
    border: 3px solid #111111;
    box-shadow: 6px 6px 0px 0px #111111;
    text-align: center;
}

.page6-cards-container {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 28rem;
}

.page6-card {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 12px;
    padding: 1.2rem 0.8rem;
    flex: 1;
    box-shadow: 4px 4px 0px 0px #111111;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page6-card h3 {
    color: #214d2a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page6-card p {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 220px;
}

/* Animations */
.p6-anim-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p6-anim-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p6-anim-title.visible,
.p6-anim-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.p6-delay-1 {
    transition-delay: 0.1s;
}

.p6-delay-2 {
    transition-delay: 0.25s;
}

.p6-delay-3 {
    transition-delay: 0.4s;
}

.p6-delay-4 {
    transition-delay: 0.55s;
}

@media (max-width: 1000px) {
    .page6-cards-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page6-card {
        min-width: 220px;
        flex: 0 0 45%;
    }
}

@media (max-width: 600px) {
    .page6-card {
        flex: 0 0 100%;
    }
}

/* =====================
   PAGE 7 - MARKET OPPORTUNITY
   ===================== */
.page-7 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 7;
}

.page7-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page7-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.page7-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 5%;
}

.page7-header {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    z-index: 2;
}

.page7-title {
    background: #ffffff;
    color: #214d2a;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0.8rem 3.5rem;
    border-radius: 16px;
    border: 3px solid #111111;
    box-shadow: 6px 6px 0px 0px #111111;
    text-align: center;
}

.page7-content {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Card Styles */
.page7-card {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 4px 4px 0px 0px #111111;
    text-align: center;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page7-card h3 {
    color: #214d2a;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.page7-card p {
    color: #000000;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Specific Card Placements based on reference */
.card-45b {
    top: 15%;
    right: 5%;
    width: 300px;
}

.card-1-2b {
    top: 38%;
    right: 17%;
    width: 320px;
}

.card-14-5 {
    top: 61%;
    right: 28%;
    width: 310px;
}

.card-174m {
    bottom: 5%;
    right: 39%;
    width: 300px;
}

/* Scroll Animation */
.p7-anim {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p7-anim.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.p7-delay-1 {
    transition-delay: 0.2s;
}

.p7-delay-2 {
    transition-delay: 0.4s;
}

.p7-delay-3 {
    transition-delay: 0.6s;
}

@media (max-width: 900px) {
    .page7-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-top: 3rem;
    }

    .page7-card {
        position: relative;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 400px;
    }

    .p7-anim.visible {
        transform: none !important;
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 80%;
        height: 2px;
    }
}

/* =====================
   PAGE 8 - TRACTION & POC
   ===================== */
.page-8 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 8;
}

.page8-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page8-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page8-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 5%;
}

.page8-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    position: relative;
    gap: 2rem;
}

.page8-title {
    color: #214d2a;
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1px;
}

.page8-header-logo {
    position: absolute;
    right: 0;
    top: -10px;
}

.p8-cards {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.p8-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 2px solid #111111;
    border-radius: 14px;
    padding: 1.8rem 2rem;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.12);
    text-align: center;
    position: absolute;
    width: 400px;
    z-index: 3;
    line-height: 1.2;
}

.p8-card h3 {
    color: #111111;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.1rem;
    line-height: 1.25;
}

.p8-card p {
    color: #444;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Symmetric card grid Ã¢â‚¬â€ phone as central axis */
.card-product {
    top: 12%;
    left: 16%;
}

.card-ecosystem {
    top: 37%;
    left: 10%;
}

.card-security {
    top: 68%;
    right: 15%;
    width: 300px;
}

/* SVG arrow overlay Ã¢â‚¬â€ fills background container */
.p8-arrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}



/* Animations */
.p8-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p8-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.p8-anim-arrow {
    opacity: 0;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: opacity 0.5s ease-out, stroke-dashoffset 1.5s ease-out;
}

.p8-anim-arrow.visible {
    opacity: 0.7;
    stroke-dashoffset: 0;
}

.delay-p8-1 {
    transition-delay: 0.2s;
}

.delay-p8-2 {
    transition-delay: 0.4s;
}

.delay-p8-3 {
    transition-delay: 0.6s;
}

.delay-p8-arrow-1 {
    transition-delay: 0.8s;
}

.delay-p8-arrow-2 {
    transition-delay: 1s;
}

@media (max-width: 1200px) {
    .page8-title {
        font-size: 2.2rem;
    }

    .page8-header {
        flex-direction: column;
        gap: 0.5em;
    }

    .page8-header-logo {
        position: static;
    }

    .p8-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .p8-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 400px;
    }

    .p8-arrows {
        display: none;
    }
}

/* =====================
   PAGE 9 - APP OVERVIEW
   ===================== */
.page-9 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 9;
}

.page9-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page9-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page9-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 5%;
}

.page9-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    position: relative;
    gap: 2rem;
}

.page9-title {
    color: #214d2a;
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1px;
}

.page9-header-logo {
    position: absolute;
    right: 0;
    top: -10px;
}

.p9-cards {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.p9-card {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 4px 4px 0px 0px #111111;
    position: absolute;
    width: 300px;
    z-index: 3;
}

.p9-card h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.p9-card p {
    color: #000000;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Card Placements */
.card-finder {
    top: 30%;
    left: 5%;
    width: 360px;
}

.card-booking {
    top: 68%;
    left: 10%;
    width: 360px;
}

.card-onboarding {
    top: 1%;
    right: 10%;
    width: 360px;
}

.card-toolkit {
    top: 40%;
    right: 5%;
    width: 360px;
}

/* Animations */
.p9-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p9-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-p9-1 {
    transition-delay: 0.2s;
}

.delay-p9-2 {
    transition-delay: 0.4s;
}

.delay-p9-3 {
    transition-delay: 0.6s;
}

.delay-p9-4 {
    transition-delay: 0.8s;
}

@media (max-width: 1200px) {
    .page9-title {
        font-size: 2.2rem;
    }

    .page9-header {
        flex-direction: column;
        gap: 0.5em;
    }

    .page9-header-logo {
        position: static;
    }

    .p9-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .p9-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 400px;
    }
}

/* =====================
   PAGE 10 - COACH FLOW
   ===================== */
.page-10 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    z-index: 10;
    padding: 4rem 1rem;
}

.page10-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.page10-title {
    color: #174b29;
    /* Dark green matching text */
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
}

.carousel-arrow {
    background: transparent;
    border: none;
    color: #444;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.carousel-arrow:hover {
    transform: scale(1.15);
    color: #174b29;
}

.iphone-mockup {
    position: relative;
    width: 330px;
    height: 680px;
    background-color: #fff;
    border: 12px solid #222;
    border-radius: 44px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), inset 0 0 0 2px #000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.iphone-mockup .notch {
    position: absolute;
    top: -2px;
    width: 150px;
    height: 28px;
    background-color: #222;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.iphone-mockup .screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.iphone-mockup .screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: opacity 0.3s ease-in-out;
}

.fade-out {
    opacity: 0 !important;
}

@media (max-width: 768px) {
    .carousel-container {
        gap: 1.5rem;
    }

    .iphone-mockup {
        width: 280px;
        height: 580px;
    }

    .carousel-arrow svg {
        width: 32px;
        height: 32px;
    }

    .page10-title {
        font-size: 2.2rem;
    }
}

/* =====================
   PAGE 11 - COACHEE FLOW
   ===================== */
.page-11 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    /* Matching Page 10 for consistency */
    z-index: 11;
    padding: 4rem 1rem;
}

.page11-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.page11-title {
    color: #174b29;
    /* Dark green matching text */
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .page11-title {
        font-size: 2.2rem;
    }

    .page-11 .carousel-container {
        gap: 1.5rem;
    }

    .page-11 .iphone-mockup {
        width: 280px;
        height: 580px;
    }

    .page-11 .carousel-arrow svg {
        width: 32px;
        height: 32px;
    }
}

/* =====================
   PAGE 12 - BUSINESS MODEL
   ===================== */
.page-12 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 12;
}

.page12-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page12-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page12-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 5%;
}

.page12-header {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 50px;
    padding: 1rem 3rem;
    box-shadow: 6px 6px 0px 0px #111111;
    margin-bottom: 4rem;
    display: inline-block;
}

.page12-title {
    color: #174b29;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

.p12-cards-container {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 800px;
}


.p12-card {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 16px;
    padding: 1rem 1rem;
    box-shadow: 4px 4px 0px 0px #111111;
    position: absolute;
    width: 240px;
    z-index: 3;
}

.p12-card h3 {
    color: #174b29;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.p12-card p {
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Card Placements */
.card-left-1 {
    top: %;
    left: 12%;
    width: 240px;
}

.card-left-2 {
    top: 30%;
    left: 12%;
    width: 240px;
}

.card-left-3 {
    top: 60%;
    left: 12%;
    width: 240px;
}

.card-right-1 {
    top: 1%;
    right: 12%;
    width: 260px;
}

.card-right-2 {
    top: 35%;
    right: 10%;
    width: 260px;
}

/* Animations */
.p12-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p12-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-p12-1 {
    transition-delay: 0.2s;
}

.delay-p12-2 {
    transition-delay: 0.4s;
}

.delay-p12-3 {
    transition-delay: 0.6s;
}

.delay-p12-4 {
    transition-delay: 0.8s;
}

.delay-p12-5 {
    transition-delay: 1.0s;
}

@media (max-width: 1200px) {
    .page12-title {
        font-size: 1.8rem;
    }

    .page12-header {
        padding: 0.8rem 2rem;
        margin-bottom: 2rem;
    }

    .p12-lines {
        display: none;
    }

    .p12-cards-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        min-height: auto;
    }

    .p12-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 400px;
        margin: 0;
    }
}

/* =====================
   PAGE 13 - CURRENT POSITION & TIMELINE
   ===================== */
.page-13 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f0eee5;
    /* Soft beige */
    z-index: 13;
}

.page13-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem 5%;
    width: 100%;
}

.p13-card {
    position: relative;
    z-index: 10;
}

.p13-card img {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    /* Slight rounding on image bounds */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* Soft drop shadow */
    animation: float-3d 6s ease-in-out infinite;
}

/* 3D Floating Animation */
@keyframes float-3d {
    0% {
        transform: perspective(1000px) translateY(0) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: perspective(1000px) translateY(-15px) rotateX(-2deg) rotateY(2deg);
    }

    100% {
        transform: perspective(1000px) translateY(0) rotateX(2deg) rotateY(-2deg);
    }
}

/* Base Fade In */
.p13-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p13-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.p13-delay-1 {
    transition-delay: 0.2s;
}

.p13-delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 1024px) {
    .page13-container {
        gap: 2rem;
    }

    .p13-card img {
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .page13-container {
        flex-direction: column;
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 3rem;
    }

    .p13-card img {
        max-height: 70vh;
        /* Allow it to be taller when stacked */
    }
}

/* =====================
   PAGE 14 - PRODUCT ROADMAP
   ===================== */
.page-14 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 14;
}

.page14-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page14-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    display: block;
}

.page14-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 3rem 5% 5rem 5%;
}

.page14-header {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 50px;
    padding: 1rem 5rem;
    box-shadow: 6px 6px 0px 0px #111111;
    margin-bottom: 2rem;
    display: inline-block;
    z-index: 10;
}

.page14-title {
    color: #174b29;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: left;
    letter-spacing: -0.5px;
}

.p14-content-area {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Floating Cards */
.p14-card {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 6px 6px 0px 0px #111111;
    width: 320px;
    text-align: center;
    z-index: 10;
}

.p14-card h3 {
    color: #111;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.p14-card p {
    color: #444;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
}

.card-left {
    margin-top: -10px;
}

.card-right {
    margin-top: 5px;
}

/* Center Signpost */
.signpost-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    padding-top: 50px;
    z-index: 5;
}

/* Base Wooden Post */
.wooden-post {
    width: 3px;
    height: 380px;
    background: #5d3a1f;
    /* Darker brown wood base */
    position: absolute;
    bottom: -80px;
    border: 2px solid #3d2415;
    border-radius: 4px;
    z-index: 1;
}

/* Wooden Signs */
.wooden-sign {
    background: #8e6241;
    color: #ffffff;
    border: 3px solid #4a301f;
    width: 280px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.wooden-sign span {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.4);
}

/* Left pointing arrow (B2B) */
.sign-b2b {
    /* Clip path draws a classic arrow body pointing left */

    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
    padding-right: 20px;
    margin-right: -60px;
}

/* Right pointing arrow (B2C) */
.sign-b2c {
    /* Clip path draws a classic arrow body pointing right */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%);
    padding-left: px;
    margin-left: -60px;
}

/* Animations */
.p14-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p14-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-p14-1 {
    transition-delay: 0.2s;
}

.delay-p14-2 {
    transition-delay: 0.4s;
}

.delay-p14-3 {
    transition-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .p14-content-area {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 3rem;
        margin-top: 2rem;
    }

    .card-left,
    .card-right {
        margin-top: 0;
    }

    .signpost-container {
        min-height: auto;
        padding-top: 0;
        margin-bottom: 2rem;
    }

    .wooden-post {
        height: 250px;
        bottom: 0;
    }
}

@media (max-width: 600px) {
    .page14-title {
        font-size: 1.8rem;
    }

    .page14-header {
        padding: 0.8rem 2rem;
    }
}

/* =====================
   PAGE 15 - MISSION STATEMENT
   ===================== */
.page-15 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 15;
}

.page15-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page15-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page15-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38rem 1%;
}

.page15-header {
    background: #ffffff;
    border: 2px solid #111111;
    border-radius: 50px;
    padding: 1.2rem 30rem;
    box-shadow: 6px 6px 0px 0px #111111;
    margin-bottom: 2rem;
    display: inline-block;
    z-index: 10;
}

.page15-title {
    color: #174b29;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Animations */
.p15-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p15-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page15-title {
        font-size: 1.6rem;
    }

    .page15-header {
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .page15-title {
        font-size: 1.2rem;
    }

    .page15-header {
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
    }
}

/* =====================
   PAGE 16 - WHY SIDEKICKK WINS
   ===================== */
.page-16 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 16;
}

.page16-container {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
}

/* LEFT PANE - TEXT CONTENT */
.page16-left {
    flex: 0 0 32%;
    /* About 1/3 of the screen */
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    z-index: 5;
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.05);
}

.p16-text-block {
    margin-bottom: 2.5rem;
}

.p16-text-block h3 {
    color: #1a5c2d;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.p16-text-block p {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* RIGHT PANE - IMAGE & HEADER */
.page16-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Push header to top */
    padding-top: 5%;
}

.page16-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.page16-header-wrapper {
    position: relative;
    z-index: 10;
}

.page16-header {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 50px;
    padding: 1rem 3.5rem;
    box-shadow: 6px 6px 0px 0px #111111;
    display: inline-block;
}

.page16-title {
    color: #174b29;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Animations */
.p16-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p16-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-p16-1 {
    transition-delay: 0.2s;
}

.delay-p16-2 {
    transition-delay: 0.4s;
}

.delay-p16-3 {
    transition-delay: 0.6s;
}


/* Responsive Splitting */
@media (max-width: 1024px) {
    .page16-container {
        flex-direction: column-reverse;
        /* Put image on top of text on scroll view */
    }

    .page16-left {
        flex: none;
        width: 100%;
        padding: 4rem 2rem;
        box-shadow: none;
    }

    .page16-right {
        flex: none;
        width: 100%;
        min-height: 50vh;
        /* Give image space */
    }

    .page16-header {
        margin-top: 2rem;
    }

    .page16-bg-img {
        position: absolute;
        /* Keep it bound to .page16-right */
    }
}

@media (max-width: 600px) {
    .page16-title {
        font-size: 1.8rem;
    }

    .page16-header {
        padding: 0.8rem 2rem;
    }

    .p16-text-block h3 {
        font-size: 1.2rem;
    }

    .p16-text-block p {
        font-size: 0.95rem;
    }
}

/* =====================
   PAGE 17 - TARGET AUDIENCES
   ===================== */
.page-17 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 17;
    padding: 4rem 5%;
}

.page17-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.page17-header {
    text-align: center;
}

.page17-title {
    color: #174b29;
    /* Dark green */
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.page17-subtitle {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.page17-columns {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    justify-content: space-between;
}

.p17-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.p17-col img {
    width: 100%;
    max-width: 400px;
    /* Keep illustrations from getting too huge */
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.p17-col p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    font-weight: 500;
}

/* Animations */
.p17-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p17-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.p17-delay-1 {
    transition-delay: 0.2s;
}

.p17-delay-2 {
    transition-delay: 0.4s;
}

.p17-delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 1024px) {
    .page17-columns {
        gap: 1.5rem;
    }

    .page17-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page17-columns {
        flex-direction: column;
        gap: 3rem;
    }

    .p17-col img {
        max-width: 100%;
    }
}

/* =====================
   PAGE 18 - OUR TEAM
   ===================== */
.page-18 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 18;
}

.page18-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page18-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.9;
    /* Slightly dim the background so the cards pop */
}

.page18-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Container for absolute positioned cards on desktop */
.p18-roles-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    /* Take up vertical space above header */
}

.p18-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #111111;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 4px 4px 0px 0px #111111;
    text-align: center;
    width: 240px;
}

.p18-profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #111111;
    margin-bottom: 0.5rem;
}

.p18-card h3 {
    color: #174b29;
    /* Dark green */
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.p18-card p {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Positioning the 4 cards hovering over people */
.card-ceo {
    top: 15%;
    left: 8%;
}

.card-cto {
    top: 15%;
    left: 28%;
}

.card-cmo {
    top: 15%;
    left: 48%;
}

.card-cfo {
    top: 15%;
    left: 68%;
}

/* Bottom Header */
.page18-header {
    text-align: center;
    padding-bottom: 3rem;
}

.page18-title {
    color: #174b29;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff;
    /* White outline to separate from bg */
}

/* Animations */
.p18-anim {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p18-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.p18-delay-1 {
    transition-delay: 0.2s;
}

.p18-delay-2 {
    transition-delay: 0.4s;
}

.p18-delay-3 {
    transition-delay: 0.6s;
}

.p18-delay-4 {
    transition-delay: 0.8s;
}

.page18-header.p18-anim {
    transform: translateY(30px);
    transition-delay: 1s;
    /* Header appears last */
}

.page18-header.p18-anim.visible {
    transform: translateY(0);
}


/* Responsive mapping */
@media (max-width: 1200px) {
    .p18-card {
        width: 200px;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 900px) {

    /* Switch to flex grid for tablets and phones */
    .p18-roles-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding-top: 4rem;
    }

    .p18-card {
        position: relative;
        /* Break absolute positioning */
        top: auto !important;
        left: auto !important;
        width: 40%;
        /* 2x2 grid */
    }

    .page18-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .p18-roles-container {
        flex-direction: column;
        padding-top: 2rem;
    }

    .p18-card {
        width: 80%;
        /* 1x4 stack */
    }
}

/* =====================
   PAGE 19 - THE ASK
   ===================== */
.page-19 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 19;
}

.page19-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page19-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.page19-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 6rem 5% 4rem;
}

.page19-top {
    margin-bottom: 4rem;
}

.page19-title {
    color: #111;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.page19-subtitle {
    color: #111;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page19-desc {
    color: #555;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Charts Container */
.page19-charts-container {
    display: flex;
    gap: 4rem;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-top: 2rem;
}

.p19-chart-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

/* Donut Chart SVG Styling */
.donut-chart {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 2rem;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle-fg {
    fill: none;
    stroke: #1da34e;
    /* Sidekickk Green */
    stroke-width: 3.8;
    stroke-linecap: square;
    transition: stroke-dasharray 1.5s ease-out;
}

/* Number in center */
.chart-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
}

/* Labels below chart */
.chart-label h4 {
    color: #111;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.chart-label p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Animations */
.p19-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p19-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.p19-delay-1 {
    transition-delay: 0.2s;
}

.p19-delay-2 {
    transition-delay: 0.4s;
}

.p19-delay-3 {
    transition-delay: 0.6s;
}


/* Responsive */
@media (max-width: 1024px) {
    .page19-charts-container {
        gap: 2rem;
    }

    .page19-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .page19-overlay {
        padding: 4rem 5% 2rem;
    }

    .page19-charts-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .page19-title {
        font-size: 2.5rem;
    }

    .p19-chart-wrap {
        width: 100%;
        max-width: 250px;
    }
}

/* =====================
   PAGE 20 - QUOTE & CONTACT
   ===================== */
.page-20 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 20;
}

.page20-split {
    display: flex;
    width: 100%;
    height: 100%;
}

.page20-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8% 0 10%;
    position: relative;
}

.page20-right {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page20-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quote Box */
.p20-quote-box {
    background: #ffffff;
    border: 3px solid #111111;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 4px 4px 0px 0px #111111;
    margin-bottom: 4rem;
}

.p20-quote-box p {
    color: #174b29;
    /* green */
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

/* Contact Info */
.p20-contact-info h3 {
    color: #111111;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.p20-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p20-contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 1rem;
}

.p20-contact-info li svg {
    color: #555;
    flex-shrink: 0;
}

/* Footer string at bottom left */
.p20-footer {
    position: absolute;
    bottom: 2%;
    left: 10%;
    font-size: 0.9rem;
    color: #174b29;
    /* green */
    font-weight: 500;
}

.p20-footer strong {
    font-weight: 800;
}

/* Animations */
.p20-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.p20-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-p20-1 {
    transition-delay: 0.2s;
}

.delay-p20-2 {
    transition-delay: 0.4s;
}

.delay-p20-3 {
    transition-delay: 0.6s;
}


/* Responsive */
@media (max-width: 1200px) {
    .p20-quote-box p {
        font-size: 1.5rem;
    }
}

@media (max-width: 900px) {
    .page20-split {
        flex-direction: column;
    }

    .page20-left {
        padding: 5% 5% 2rem;
        flex: none;
        /* Disable equal flex stretching */
    }

    .page20-right {
        flex: 1;
        /* Take up remaining height */
    }

    .p20-quote-box {
        margin-bottom: 2rem;
    }

    .p20-footer {
        position: relative;
        /* Break absolute position on mobile */
        bottom: auto;
        left: auto;
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .p20-quote-box {
        padding: 1.5rem;
    }

    .p20-quote-box p {
        font-size: 1.2rem;
    }

    .p20-contact-info h3 {
        font-size: 1.3rem;
    }
}

/* =====================
   GLOBAL PAGE NAVIGATION ARROWS
   ===================== */
.global-page-nav {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2%;
    z-index: 999;
    pointer-events: none;
    /* Let clicks pass through the container itself */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.global-page-nav.show {
    opacity: 1;
    visibility: visible;
}

.global-nav-btn {
    pointer-events: auto;
    /* Enable clicks on the buttons */
    background-color: rgba(23, 75, 41, 0.85);
    /* Dark green */
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.global-nav-btn:hover {
    transform: scale(1.1);
    background-color: rgba(23, 75, 41, 1);
}

.global-nav-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .global-page-nav {
        padding: 0 10px;
    }

    .global-nav-btn {
        width: 40px;
        height: 40px;
    }

    .global-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================
   MOBILE-FIRST RESPONSIVE OVERRIDES
   Applied after all page-specific CSS so cascade wins cleanly.
   Breakpoints: Ã¢â€°Â¤480px (phone), 481Ã¢â‚¬â€œ768px (tablet), Ã¢â€°Â¥1024px (desktop)
   ========================================================== */

/* Ã¢â€â‚¬Ã¢â€â‚¬ GLOBAL SAFETY Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
img,
video {
    max-width: 100%;
    display: block;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ TOUCH TARGETS (min 44Ãƒâ€”44px per WCAG) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.carousel-arrow {
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ FLUID TYPOGRAPHY via clamp() Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
/* Page 1 */
.content h1 {
    font-size: clamp(1.6rem, 4vw, 3.5rem);
}

.content p {
    font-size: clamp(0.88rem, 1.4vw, 1.1rem);
}

/* Page 2 */
.page2-content h2 {
    font-size: clamp(1.4rem, 3vw, 2.8rem);
}

.page2-intro {
    font-size: clamp(0.82rem, 1.2vw, 1rem);
}

/* Page 3 */
.page3-title {
    font-size: clamp(1.1rem, 2.2vw, 2.4rem);
}

/* Page 4 */
.page4-title {
    font-size: clamp(1.1rem, 2vw, 2rem);
}

/* Page 5 */
.page5-title {
    font-size: clamp(1.2rem, 2.2vw, 2.2rem);
}

.page5-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1.05rem);
}

/* Page 6 */
.page6-title {
    font-size: clamp(1.1rem, 2vw, 2.2rem);
}

/* Page 7 */
.page7-title {
    font-size: clamp(1.1rem, 2vw, 2.2rem);
}

.page7-card h3 {
    font-size: clamp(1.2rem, 2vw, 2rem);
}

/* Pages 8 & 9 */
.page8-title {
    font-size: clamp(1.4rem, 3vw, 3.5rem);
}

.page9-title {
    font-size: clamp(1.4rem, 3vw, 3.5rem);
}

/* Pages 10 & 11 */
.page10-title,
.page11-title {
    font-size: clamp(1.4rem, 2.5vw, 2.8rem);
}

/* Page 12 */
.page12-title {
    font-size: clamp(1.1rem, 2vw, 2.2rem);
}

/* Pages 14 & 15 */
.page14-title {
    font-size: clamp(1.1rem, 2vw, 2.2rem);
}

.page15-title {
    font-size: clamp(1rem, 1.8vw, 2.2rem);
}

/* Page 16 */
.page16-title {
    font-size: clamp(1.3rem, 2.2vw, 2.5rem);
}

/* Page 17 */
.page17-title {
    font-size: clamp(1.4rem, 2.5vw, 2.8rem);
}

.page17-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

/* Page 18 */
.page18-title {
    font-size: clamp(1.8rem, 3vw, 3.5rem);
}

/* Page 19 */
.page19-title {
    font-size: clamp(1.8rem, 3.5vw, 4rem);
}

.page19-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.8rem);
}

/* Page 20 */
.p20-quote-box p {
    font-size: clamp(1.1rem, 1.8vw, 1.8rem);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ MOBILE  Ã¢â€°Â¤480px Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 480px) {

    /* Pages 1 & 2 Ã¢â‚¬â€ two-column hero becomes stacked */
    .page-1 .container,
    .page-2 .container {
        flex-direction: column;
        padding: 2rem 5%;
        gap: 1.5rem;
        text-align: center;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .hero-image {
        justify-content: center;
        max-height: 35vh;
        overflow: hidden;
    }

    .hero-image img {
        max-height: 35vh;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .page2-image {
        flex: none;
        width: 100%;
        max-height: 32vh;
        overflow: hidden;
    }

    .page2-image img {
        max-height: 32vh;
        width: 100%;
        object-fit: cover;
    }

    /* Page 5 Ã¢â‚¬â€ chevron timeline stacks vertically */
    .timeline-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Page 6 Ã¢â‚¬â€ fix massive bottom margin causing card overflow */
    .page6-cards-container {
        margin-bottom: clamp(1rem, 6vw, 3rem);
        flex-direction: column;
        align-items: center;
    }

    .page6-card {
        flex: none;
        width: 100%;
        max-width: 340px;
    }

    /* Pages 7, 8, 9, 12 Ã¢â‚¬â€ absolute cards Ã¢â€ â€™ flow layout */
    .page7-card,
    .p8-card,
    .p9-card,
    .p12-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 360px;
    }

    .page7-content,
    .p8-cards,
    .p9-cards,
    .p12-cards-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding-top: 1.5rem;
        min-height: auto !important;
    }

    .p8-arrows {
        display: none;
    }

    /* Pages 10 & 11 Ã¢â‚¬â€ phone mockup fits in viewport */
    .iphone-mockup {
        width: min(240px, 60vw);
        height: min(480px, calc(100vh - 200px));
    }

    .carousel-container {
        gap: 0.6rem;
    }

    /* Page 13 Ã¢â‚¬â€ two preview images stack */
    .page13-container {
        flex-direction: column;
        padding: 2rem 5%;
        gap: 2rem;
    }

    .p13-card img {
        max-height: 42vh;
    }

    /* Page 14 Ã¢â‚¬â€ roadmap cards stack */
    .p14-content-area {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 1rem;
    }

    .p14-card,
    .card-left,
    .card-right {
        width: 100%;
        max-width: 320px;
        margin-top: 0;
    }

    /* Page 16 Ã¢â‚¬â€ two-pane to one column */
    .page16-container {
        flex-direction: column;
    }

    .page16-left {
        flex: none;
        width: 100%;
        padding: 2rem 5%;
        box-shadow: none;
    }

    .page16-right {
        flex: none;
        width: 100%;
        min-height: 35vh;
    }

    /* Page 17 Ã¢â‚¬â€ 3 cols to 1 col */
    .page17-columns {
        flex-direction: column;
        gap: 2rem;
    }

    /* Page 18 Ã¢â‚¬â€ absolute team cards Ã¢â€ â€™ wrapped grid */
    .p18-roles-container {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 2rem 5%;
    }

    .p18-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: calc(50% - 0.5rem) !important;
    }

    /* Page 19 Ã¢â‚¬â€ donut charts stack */
    .page19-charts-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .page19-overlay {
        padding: 3rem 5% 2rem;
    }

    /* Page 20 Ã¢â‚¬â€ split Ã¢â€ â€™ column */
    .page20-split {
        flex-direction: column;
    }

    .page20-left {
        flex: none;
        padding: 2rem 5% 1rem;
        overflow-y: auto;
    }

    .page20-right {
        flex: 1;
        min-height: 28vh;
    }

    .p20-footer {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ TABLET  481px Ã¢â‚¬â€œ 768px Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (min-width: 481px) and (max-width: 768px) {

    /* Pages 1 & 2 */
    .page-1 .container,
    .page-2 .container {
        flex-direction: column;
        padding: 3rem 6%;
        gap: 2rem;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .hero-image {
        justify-content: center;
    }

    .page2-image {
        flex: none;
        width: 100%;
    }

    /* Page 5 */
    .timeline-container {
        flex-direction: column;
        gap: 2rem;
    }

    /* Page 6 */
    .page6-cards-container {
        margin-bottom: clamp(2rem, 6vw, 6rem);
        flex-wrap: wrap;
        justify-content: center;
    }

    .page6-card {
        flex: 0 0 45%;
    }

    /* Pages 7, 8, 9, 12 */
    .page7-card,
    .p8-card,
    .p9-card,
    .p12-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 400px;
    }

    .page7-content,
    .p8-cards,
    .p9-cards,
    .p12-cards-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-top: 2rem;
        min-height: auto !important;
    }

    .p8-arrows {
        display: none;
    }

    /* Pages 10 & 11 */
    .iphone-mockup {
        width: min(290px, 65vw);
        height: min(580px, calc(100vh - 190px));
    }

    /* Page 13 */
    .page13-container {
        flex-direction: column;
        padding: 2rem 5%;
        gap: 2.5rem;
    }

    .p13-card img {
        max-height: 50vh;
    }

    /* Page 16 */
    .page16-container {
        flex-direction: column;
    }

    .page16-left {
        flex: none;
        width: 100%;
        padding: 3rem 5%;
        box-shadow: none;
    }

    .page16-right {
        flex: none;
        width: 100%;
        min-height: 40vh;
    }

    /* Page 17 */
    .page17-columns {
        flex-direction: column;
        gap: 2.5rem;
    }

    /* Page 20 */
    .page20-split {
        flex-direction: column;
    }

    .page20-left {
        flex: none;
        padding: 3rem 5% 2rem;
        overflow-y: auto;
    }

    .page20-right {
        flex: 1;
        min-height: 32vh;
    }

    .p20-footer {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1.5rem;
    }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ DESKTOP Ã¢â€°Â¥1024px Ã¢â‚¬â€ guard original large-screen values Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (min-width: 1024px) {

    /* Restore page-6 intended decorative bottom gap */
    .page6-cards-container {
        margin-bottom: clamp(20rem, 24vw, 30rem);
    }

    /* Restore absolute card layout for pages 7, 8, 9, 12, 18 */
    .page7-card {
        position: absolute !important;
    }

    .p8-card {
        position: absolute !important;
    }

    .p9-card {
        position: absolute !important;
    }

    .p12-card {
        position: absolute !important;
    }

    .p18-card {
        position: absolute !important;
    }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ PAGE 7: close the 769Ã¢â‚¬â€œ1023px absolute-card overlap gap Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (min-width: 769px) and (max-width: 1023px) {

    .page7-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 440px;
    }

    .page7-content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 5%;
        min-height: auto !important;
        overflow-y: auto;
    }


    /* =====================
   MOBILE-FIRST CONTENT OVERRIDES
   ===================== */
    @media (max-width: 768px) {

        /* 1. Convert Horizontal Slider to Native Vertical Scroll */
        html,
        body {
            overflow-y: auto !important;
            overflow-x: hidden !important;
            height: auto !important;
        }

        .horizontal-scroll-section,
        .horizontal-pages-wrapper {
            display: block !important;
            height: auto !important;
            overflow: visible !important;
            scroll-snap-type: none !important;
        }

        .h-page,
        .page {
            height: auto !important;
            min-height: 100vh;
            width: 100vw !important;
            flex: none !important;
            overflow: visible !important;
            scroll-snap-align: none !important;
            padding: 80px 15px 40px !important;
            /* Space for navbar + padding */
        }

        /* 2. Prioritize Content Layouts */
        .container,
        .page2-content,
        .page3-overlay,
        .page4-overlay,
        .page5-overlay,
        .page6-overlay,
        .page7-overlay,
        .page8-overlay,
        .page9-overlay,
        .page12-overlay,
        .page14-overlay,
        .page15-overlay,
        .page16-container,
        .page17-container,
        .page18-overlay,
        .page19-overlay,
        .page20-split {
            flex-direction: column !important;
            display: flex !important;
            width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
            height: auto !important;
            justify-content: flex-start !important;
        }

        /* 3. Reduce Text Sizes to Prevent Overlaps */
        h1 {
            font-size: 2.2rem !important;
        }

        h2 {
            font-size: 1.8rem !important;
            line-height: 1.2 !important;
        }

        h3 {
            font-size: 1.3rem !important;
        }

        p {
            font-size: 1rem !important;
            line-height: 1.5 !important;
        }

        /* 4. Fix Grids & Cards */
        .cards-grid,
        .page3-cards,
        .p8-cards,
        .p9-cards,
        .p12-cards-container,
        .page6-cards-container,
        .page7-content,
        .page17-columns,
        .p18-roles-container,
        .page19-charts-container {
            display: flex !important;
            flex-direction: column !important;
            gap: 15px !important;
            width: 100% !important;
            align-items: center !important;
        }

        .card,
        .page3-card,
        .page4-card,
        .timeline-step,
        .page6-card,
        .page7-card,
        .p8-card,
        .p9-card,
        .p12-card,
        .p14-card,
        .p16-text-block,
        .p17-col,
        .p18-card,
        .p19-chart-wrap {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 15px 0 !important;
            position: relative !important;
            transform: none !important;
            /* Cancel complex transforms on mobile */
            top: auto !important;
            left: auto !important;
            right: auto !important;
            bottom: auto !important;
        }

        /* Remove absolute positioning for backgrounds to not overlap dynamic height content */
        .page12-bg,
        .page14-bg,
        .page15-bg,
        .page18-bg,
        .page19-bg,
        .page20-bg {
            position: fixed !important;
            /* Keep background behind all content */
            z-index: -1 !important;
            opacity: 0.3;
            /* Wash out image to prioritize reading */
        }

        /* 5. Fix Page 4 Layout */
        .page4-right {
            width: 100% !important;
        }

        /* Pages with video backgrounds - make them less intrusive and fix position */
        video.page3-bg-img,
        video.page4-bg-img,
        video.page5-bg-img,
        video.page6-bg-img,
        video.page7-bg-img,
        video.page8-bg-img,
        video.page9-bg-img,
        video.page16-bg-img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.2;
            /* Tone down videos to make text super readable */
            z-index: -1;
        }

        /* Overlays need solid backgrounds or blurred to ensure text readability */
        .page3-overlay,
        .page4-overlay,
        .page5-overlay,
        .page6-overlay,
        .page7-overlay,
        .page8-overlay,
        .page9-overlay {
            background: rgba(255, 255, 255, 0.85) !important;
            border-radius: 10px;
            padding: 20px !important;
            margin: 20px 0 !important;
        }

        /* Specific adjustments */
        .content,
        .page2-content {
            text-align: left !important;
        }

        .page16-right,
        .page16-left,
        .page20-left,
        .page20-right {
            width: 100% !important;
        }

        /* Make Carousel stack or fit correctly */
        .carousel-container {
            transform: scale(0.8);
            width: 100% !important;
            margin-top: 20px;
        }

        /* Specific fixes for mobile: Page 13 Menu Cards */
        .page13-container {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            /* Force items into a single row */
            overflow-x: auto !important;
            overflow-y: hidden !important;
            scroll-snap-type: x mandatory !important;
            -webkit-overflow-scrolling: touch !important;
            width: 100vw !important;
            padding-left: 15px !important;
            padding-right: 30px !important;
            /* Extra padding for last item visibility */
            gap: 20px !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            /* Pull full width to bypass page padding */
            margin-left: -15px !important;
            margin-right: -15px !important;
        }

        .p13-card {
            flex: 0 0 92vw !important;
            /* Take up 92% of screen width */
            width: 92vw !important;
            max-width: none !important;
            scroll-snap-align: center !important;
            margin: 0 !important;
        }

        .p13-card img {
            width: 100% !important;
            height: auto !important;
            object-fit: contain !important;
            max-height: none !important;
        }
    }