:root {
    /* Color Palette - ACTUAL Brochure Colors */
    --color-bg: #FFFFFF;
    /* Clean white */
    --color-text: #2d3748;
    --color-primary: #5B7BE9;
    /* Royal Blue */
    --color-primary-dark: #4A63C7;
    /* Darker Blue */
    --color-secondary: #7ED957;
    /* Bright Lime Green */
    --color-accent: #E856D8;
    /* Hot Pink/Magenta */
    --color-purple: #C8A2F0;
    /* Light Purple */
    --color-light-bg: #F8F9FA;
    /* Very light gray for cards */
    --color-dark: #1a202c;
    --color-light: #ffffff;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    /* cleaner reading */
    overflow-x: hidden;
    max-width: 100%;
    /* Prevent any element from exceeding viewport width */
    /* Default Left Alignment */
    text-align: left;
}

/* Footprint Container */
#footprint-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* We'll set height via JS or min-height 100% */
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Background layer */
    overflow: hidden;
}

/* Individual Footprint Pair */
.footprint-pair {
    position: absolute;
    width: 80px;
    /* Smaller size (was 150) */
    height: 80px;
    /* Smaller size (was 150) */
    transform-origin: center center;
    pointer-events: none;
    will-change: opacity, transform;
    transition: opacity 0.3s ease-out;
    /* Smooth fade toggle */
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem var(--spacing-md);
    /* Reduced vertical padding */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Sections Global */
.content-section {
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    z-index: 1;
    /* Above footprints */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Force center alignment of children */
}

.container {
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: var(--spacing-md);
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    text-align: center;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

/* Hero Section - Scroll Track */
.hero-scroll-track {
    position: relative;
    height: 200vh;
    /* Reduced height for smoother experience with less white space */
    width: 100%;
}

.hero-sticky-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 10;
}

#hero-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    /* Fallback for resizing logic */
    z-index: 1;
}

.hero-content {
    background: rgba(255, 255, 255, 0.4);
    padding: var(--spacing-lg);
    border-radius: 2rem;
    /* Soften roundness */
    backdrop-filter: blur(5px);
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /* Center align */
    min-width: 60%;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    /* Lighter weight for Garamond looks elegant */
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
    letter-spacing: -0.02em;
    line-height: 1;
    text-align: center;
}

.summer-camp-text {
    font-size: 2.5rem;
    color: #000000;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
    text-align: center;
    letter-spacing: 0.05em;
}

.tagline {
    font-size: 3.8rem;
    color: var(--color-primary-dark);
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

.tagline-subtitle {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-style: italic;
}

.hero-cta-container {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.cta-button-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

.scroll-indicator {
    animation: bounce 2s infinite;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: var(--spacing-lg);
}

@keyframes bounce {

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

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

    60% {
        transform: translateY(-5px);
    }
}

/* Full Width Cards (WHAT, DETAILS) */
.full-width-card {
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

/* Compact section for fitting cards on one page */
.compact-section {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.compact-section .detail-card {
    padding: var(--spacing-sm) var(--spacing-md);
}

.compact-section .detail-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.compact-section .detail-card p {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.compact-section .clean-list li {
    font-size: 1.2rem !important;
    padding: 0.2rem 0;
}

/* 4 Column Grid */
.four-column-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-md);
}

/* 2 Column Grid for WHY/DETAILS row */
.two-column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* WHAT Card Color - Orange */
.what-card {
    border-color: #F59E0B;
}

.what-card h3 {
    color: #F59E0B;
}

/* WHY Card Color - Cyan */
.why-card {
    border-color: #06B6D4;
}

.why-card h3 {
    color: #06B6D4;
}

/* HOW Card Color - Purple */
.how-card {
    border-color: var(--color-purple);
}

.how-card h3 {
    color: var(--color-purple);
}

/* Program Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: 0;
}

/* CTA Button in Nav */
.nav-cta {
    background: #5c7be9;
    /* Exact color from image */
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #5c7be9;
    white-space: nowrap;
}

.nav-cta:hover {
    background: transparent;
    color: #5c7be9 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 123, 233, 0.4);
}

.mobile-cta {
    display: none !important;
}

/* Vibrant color-coded cards */
.detail-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -4px 4px 12px rgba(34, 139, 34, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-top: 4px solid transparent;
    /* Base for color coding */
}

.detail-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: -8px 8px 20px rgba(34, 139, 34, 0.25);
}

.detail-card:nth-child(1) {
    border-color: var(--color-primary);
    /* Royal Blue for WHEN */
}

.detail-card:nth-child(1) h3 {
    color: var(--color-primary);
}

.detail-card:nth-child(2) {
    border-color: var(--color-secondary);
    /* Lime Green for WHERE */
}

.detail-card:nth-child(2) h3 {
    color: var(--color-secondary);
}

.detail-card:nth-child(3) {
    border-color: var(--color-accent);
    /* Hot Pink for WHO */
}

.detail-card:nth-child(3) h3 {
    color: var(--color-accent);
}

.detail-card:nth-child(4) {
    border-color: var(--color-purple);
    /* Purple for DETAILS */
}

.detail-card:nth-child(4) h3 {
    color: var(--color-purple);
}

.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Increased from 1.5rem */
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.detail-card .highlight-text {
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.clean-list li {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    text-align: center;
    white-space: nowrap;
}

.detail-card p {
    text-align: center;
    font-size: 1.35rem;
}

.what-card p,
.compact-section .what-card p {
    font-size: 1.2rem;
}

/* DETAILS Card - vertically centered subtext */
.details-card {
    display: flex;
    flex-direction: column;
}

.details-card h3 {
    flex-shrink: 0;
}

.details-subtext {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details-card p,
.details-subtext p {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem;
}

.details-subtext p:last-child {
    margin-bottom: 0;
}

/* WHY Card - smaller text to match DETAILS */
.compact-section .why-card p,
.why-card p {
    font-size: 1.15rem !important;
}

.small {
    font-size: 0.9rem;
    opacity: 0.75;
}

.highlight {
    color: var(--color-primary);
    font-weight: 600;
}

/* Experience Cards */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* Experience Timeline */
.experience-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
    height: 180px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-dark);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    padding: 0 2rem;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid var(--color-dark);
    border-radius: 50%;
    z-index: 2;
}

.timeline-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}

.timeline-item.above .timeline-label {
    bottom: calc(50% + 20px);
}

.timeline-item.below .timeline-label {
    top: calc(50% + 20px);
}


/* Experience Scroll Track Section */
.experience-scroll-track {
    position: relative;
    height: 150vh;
    /* Reduced height for smoother experience with less white space */
    width: 100%;
}

.sticky-canvas-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

#experience-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Content overlays the sticky canvas as you scroll */
.scroll-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cover the whole track */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content in the track? or spread it out */
    align-items: center;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through to canvas if needed, but cards need pointer events */
}

/* Ensure interactive elements in overlay work */
.scroll-content-overlay .container {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.65);
    /* Slightly more visible glass */
    padding: var(--spacing-lg);
    border-radius: 2rem;
    backdrop-filter: blur(20px);
    /* Strong blur for liquid look */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Glass border */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    /* Deep shadow */
}

/* Specific override for centering cards in this section */
.scroll-content-overlay .grid-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.scroll-content-overlay .card {
    flex: 0 1 250px;
    /* Allow shrinking/growing base */
    min-width: 200px;
}

.teaser-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.teaser-header h2 {
    font-size: 3rem;
    color: var(--color-primary);
}

.lead {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.teaser-header .cta-button {
    margin-top: var(--spacing-sm);
    display: inline-block;
    /* Ensure margin applies */
    position: relative;
    z-index: 5;
    /* Ensure it stays on top */
}

.card {
    background: var(--color-light);
    padding: var(--spacing-md);
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    border: 2px solid rgba(91, 123, 233, 0.3);
    /* Light royal blue border */
}

.card h3.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    /* alignment */
    align-items: center;
}

.logo img {
    height: 80px;
    /* Increased from 50px */
    /* Adjust height as needed */
    width: auto;
    display: block;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    /* Royal blue headings */
}

/* Stats / Who */
.alt-bg {
    background-color: var(--color-light-bg);
    /* Very light gray */
}

.who-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}

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

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.stat-divider {
    width: 2px;
    height: 80px;
    background-color: var(--color-primary);
    opacity: 0.3;
}

/* Dates */
.subtitle {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.date-card {
    background: var(--color-primary);
    /* Royal Blue */
    color: var(--color-light);
    padding: var(--spacing-md);
    border-radius: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(91, 123, 233, 0.3);
    aspect-ratio: 4/5;
    justify-content: center;
    align-items: center;
}

.date-card .month {
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.date-card .days {
    font-size: 2.5rem;
    font-weight: 800;
}



/* Details Section - Clean and Modern */
.dark-bg {
    background-color: var(--color-light-bg);
    /* Light gray background */
    color: var(--color-dark);
}

.dark-bg h2 {
    color: var(--color-primary);
    /* Royal Blue */
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-value {
    font-size: 3.5rem;
    /* Increased size */
    font-weight: 700;
    color: var(--color-accent);
    /* Hot Pink */
}

.detail-label {
    margin-top: var(--spacing-xs);
    font-size: 1.5rem;
    /* Increased size */
    color: var(--color-dark);
    opacity: 0.85;
}

.detail-note {
    font-size: 0.85rem;
    opacity: 0.65;
    margin-top: 0.2rem;
    color: var(--color-text);
}

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

.cta-button {
    background-color: var(--color-primary);
    /* Royal Blue */
    color: white;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    font-family: var(--font-heading);
    box-shadow: 0 4px 16px rgba(91, 123, 233, 0.4);
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(91, 123, 233, 0.5);
}

/* About Page & Team Styles */
.page-hero {
    padding-top: 8vh;
    padding-bottom: var(--spacing-sm);
    background-color: var(--color-light-bg);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
}

.page-hero .tagline {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: -20px;
}

.team-group {
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Larger screens: Side-by-side layout for Org Grid and Descriptions if possible, 
   but based on the image, the text is on the side. */
@media (min-width: 900px) {
    .team-group {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--spacing-lg);
    }

    .team-group.id8-group {
        flex-direction: row-reverse;
        justify-content: space-evenly;
        align-items: center;
    }

    .id8-group .org-description {
        transform: translateX(-40px);
    }

    .director-group {
        align-items: center;
        justify-content: space-evenly;
    }

    .director-group .org-description {
        padding-top: 0;
        max-width: 450px;
        text-align: center;
        transform: translateX(60px);
    }

    .org-description {
        flex: 1;
        max-width: 350px;
        /* Give text a bit more width too */
        padding-top: var(--spacing-lg);
        text-align: center;
    }

    .team-grid {
        flex: 2;
        width: 100%;
        /* Force full width in flex container */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Explicitly force 2 columns */
        gap: var(--spacing-md);
        justify-items: center;
        align-items: start;
    }
}

.org-description h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid currentColor;
    display: inline-block;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.org-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.team-grid {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.team-card {
    background: transparent;
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    max-width: 450px;
    z-index: 1;
    /* Reset previous card styles */
    box-shadow: none;
    border: none;
    border-radius: 0;
    transition: transform 0.3s ease;
}

/* Create the organic blob background using a pseudo-element behind the content */
.team-card::before {
    content: '';
    position: absolute;
    top: 60px;
    /* Start lower so headshot pops out top */
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: -1;
    transition: all 0.5s ease;
}

/* ID8 Style: Green */
.id8-group .team-card::before {
    background-color: #A3E689;
    /* Light Lime Green from image */
}

/* F8 Style: Teal/Cyan */
.f8-group .team-card::before {
    background-color: #7BE0D8;
    /* Light Cyan/Aqua from image */
}

/* Organic Shapes - Refined */
.id8-group .team-card.blob-shape-1::before {
    background-color: transparent;
    background-image: url('Assets/Innovation_Grove_webDesign_Assets/About Us Page/green_blob_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    transform: scale(1.4) translate(5px, 50px);
}

.blob-shape-1::before {
    border-radius: 46% 54% 39% 61% / 55% 36% 64% 45%;
}

.id8-group .team-card.blob-shape-2::before {
    background-color: transparent;
    background-image: url('Assets/Innovation_Grove_webDesign_Assets/About Us Page/green_blob_2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    transform: scale(1.6) translate(0px, 15px);
}

.id8-group .team-card.blob-shape-2 {
    text-align: center;
}

/* Director Style: Teal/Cyan */
.director-group .team-card::before {
    background-color: #7BE0D8;
    /* Light Cyan/Aqua from image */
}

.director-group .team-card.blob-shape-3::before {
    background-color: transparent;
    background-image: url('Assets/Innovation_Grove_webDesign_Assets/About Us Page/blue_blob_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    transform: scale(1.6) translate(0, 50px);
}

.blob-shape-3::before {
    border-radius: 65% 35% 36% 64% / 53% 38% 62% 47%;
}

.f8-group .team-card.blob-shape-4::before {
    background-color: transparent;
    background-image: url('Assets/Innovation_Grove_webDesign_Assets/About Us Page/blue_blob_2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    transform: scale(1.3) translate(0, 0);
}

.blob-shape-4::before {
    border-radius: 39% 61% 70% 30% / 61% 33% 67% 39%;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card:hover::before {
    transform: scale(1.02) rotate(1deg);
}

.member-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--spacing-sm);
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    /* White border to separate from background */
    box-shadow: var(--shadow-md);
    background: white;
    /* Ensure no transparency issues */
    position: relative;
    z-index: 2;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.member-bio {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #1a202c;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.team-group-divider {
    width: 100%;
    height: 1px;
    background: transparent;
    margin: var(--spacing-lg) 0;
}

.partnership-section {
    text-align: center;
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.partnership-section h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: var(--spacing-md);
    transition: all 0.2s ease;
    font-family: var(--font-heading);
}

.btn-secondary:hover {
    background-color: var(--color-light-bg);
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 2rem var(--spacing-md);
    text-align: center;
    background-color: var(--color-primary);
    /* Royal Blue */
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

footer .container {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    max-width: 100%;
}

footer .container {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    max-width: 100%;
}

/* Hide mobile menu wrapper by default (desktop) */
.mobile-menu-wrapper {
    display: none;
}

/* Responsive */
/* Narrow Desktop/Tablet - Very tight spacing before mobile breakpoint */
@media (max-width: 900px) and (min-width: 769px) {

    /* Aggressive navigation adjustments for narrow screens */
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .nav-cta {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 45px;
    }
}

/* Tablet/Medium Screens - Adaptive scaling for resized desktop windows */
@media (max-width: 1200px) and (min-width: 769px) {

    /* Navigation adjustments for smaller desktop screens */
    .nav-links {
        gap: clamp(0.8rem, 1.5vw, 2rem);
    }

    .nav-links a {
        font-size: clamp(0.85rem, 1.2vw, 1rem);
    }

    .nav-cta {
        padding: 0.4rem 1rem;
        font-size: clamp(0.85rem, 1.2vw, 1rem);
    }

    .logo {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }

    /* Scale detail cards responsively */
    .detail-card {
        padding: clamp(1rem, 2vw, 2rem);
    }

    .detail-card h3 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .detail-card .highlight-text {
        font-size: clamp(1.2rem, 2vw, 1.6rem);
    }

    .detail-card p {
        font-size: 1.2rem !important;
    }

    /* Match WHAT card text size to WHEN block for consistency */
    .detail-card.what-card p {
        font-size: 1.2rem !important;
    }

    .clean-list li {
        font-size: 1.2rem !important;
    }

    /* WHY card smaller text - higher specificity to override .detail-card p */
    .detail-card.why-card p {
        font-size: 1.1rem !important;
    }

    .detail-card .highlight-text {
        font-size: 1.2rem !important;
    }

    /* 2-column grid for medium screens */
    .four-column-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Scale general text elements */
    h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    p {
        font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    }

    /* Adjust grid gaps */
    .detail-grid {
        gap: clamp(1rem, 2vw, 2rem);
    }

    /* Hero content adjustments for medium screens */
    .hero-content {
        padding: 2.5rem 2rem;
        min-width: 70%;
    }

    .tagline {
        font-size: 2.8rem;
    }

    .summer-camp-text {
        font-size: 1.8rem;
    }

    .scroll-indicator {
        margin-top: 2rem;
        font-size: 0.85rem;
    }
}

/* Responsive */
@media (max-width: 768px) {

    /* Solid header background on mobile to prevent overlap with hero */
    .main-header {
        background: rgba(255, 255, 255, 0.98);
        padding: 0.3rem var(--spacing-md);
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
        /* Show hamburger on mobile */
    }

    .nav-links {
        position: fixed;
        top: 70px;
        /* Below header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        /* Hidden by default */
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        /* Slide down when active */
    }

    /* Mobile CTA Button (Separate from nav-links) */
    .mobile-cta {
        display: block !important;
        position: fixed;
        top: 20px;
        right: 60px;
        z-index: 1001;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        text-decoration: none !important;
        font-weight: 600;
        background: #5c7be9;
        color: white !important;
        border-radius: 2rem;
    }

    /* Hide the duplicate Pre-Register in the dropdown menu */
    .nav-links .nav-cta {
        display: none;
    }

    /* Mobile Menu Wrapper and Dropdown */
    .mobile-menu-wrapper {
        display: block;
        position: relative;
    }

    .mobile-menu-btn {
        background: var(--color-primary);
        color: white;
        border: none;
        padding: 0.6rem 1.2rem;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 600;
        font-family: var(--font-heading);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        box-shadow: 0 2px 8px rgba(91, 123, 233, 0.3);
        transition: all 0.2s ease;
    }

    .mobile-menu-btn:hover {
        background: var(--color-primary-dark);
        transform: scale(1.02);
    }

    .menu-arrow {
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.active .menu-arrow {
        transform: rotate(180deg);
    }

    .mobile-dropdown {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        min-width: 180px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        overflow: hidden;
    }

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

    .mobile-dropdown a {
        display: block;
        padding: 0.9rem 1.2rem;
        color: var(--color-dark);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-dropdown a:last-child {
        border-bottom: none;
    }

    .mobile-dropdown a:hover {
        background: var(--color-primary);
        color: white;
    }

    /* Show mobile menu wrapper on mobile */
    .mobile-menu-wrapper {
        display: block;
    }

    /* Hero & Typography Scale */
    /* Push hero content down to avoid header overlap */
    .hero-content {
        top: 55%;
        padding: 2rem 1.5rem;
        min-width: 85%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .summer-camp-text {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 2.6rem;
    }

    .tagline-subtitle {
        font-size: 1rem;
    }

    .scroll-indicator {
        margin-top: 1.5rem;
    }

    h1,
    h2,
    .teaser-header h2 {
        font-size: 2rem !important;
        /* Force resize headers */
    }

    /* Stacking Layouts */
    .who-details,
    .dates-grid,
    .location-layout {
        flex-direction: column;
    }

    .four-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column-grid {
        grid-template-columns: 1fr;
    }

    /* Consistent text sizing for all detail cards on mobile */
    .detail-card p,
    .compact-section .detail-card p {
        font-size: 1.2rem !important;
    }

    /* WHAT card smaller text - higher specificity to override .detail-card p */
    .detail-card.what-card p {
        font-size: 0.85rem !important;
    }

    .clean-list {
        text-align: center !important;
        padding: 0 !important;
        padding-left: 0 !important;
        margin: 0 auto !important;
        margin-left: 0 !important;
        list-style-position: inside !important;
    }

    .clean-list li {
        font-size: 1.2rem !important;
        text-align: center !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .detail-card .highlight-text {
        font-size: 1.2rem !important;
    }

    /* WHY card smaller text - higher specificity to override .detail-card p */
    .detail-card.why-card p {
        font-size: 0.95rem !important;
    }

    /* Timeline mobile */
    .experience-timeline {
        padding: 3rem 0;
    }

    .timeline-label {
        font-size: 0.75rem;
    }

    .timeline-item.above .timeline-label {
        bottom: calc(50% + 15px);
    }

    .timeline-item.below .timeline-label {
        top: calc(50% + 15px);
    }

    .timeline-dot {
        width: 12px;
        height: 12px;
    }

    .experience-timeline {
        height: 140px;
    }

    .stat-divider {
        width: 80px;
        height: 2px;
        margin: var(--spacing-sm) auto;
    }

    /* Experience Card Adjustments */
    .experience-scroll-track {
        height: auto;
        /* Allow natural height or keep generic scroll */
        min-height: 100vh;
    }

    .sticky-canvas-container {
        height: 50vh;
        /* Shorter canvas area on phone */
        position: relative;
        /* Unstick if scrubbing is too weird, or keep sticky */
    }

    .scroll-content-overlay {
        position: relative;
        /* Flow naturally on mobile to allow reading */
        height: auto;
        padding-top: 0;
    }

    .scroll-content-overlay .container {
        background: rgba(255, 255, 255, 0.9);
        /* More solid background for reading */
        overflow-y: visible;
        margin-top: -50px;
        /* Overlap canvas slightly */
    }

    /* Team Grid Stacking */
    .team-grid {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        /* Reset grid just in case */
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .team-group {
        flex-direction: column;
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .org-description {
        width: 100%;
        max-width: 100%;
        margin-bottom: var(--spacing-md);
        padding-left: 0;
        border-left: none;
        border-top: 4px solid var(--color-primary);
        padding-top: var(--spacing-sm);
    }

    /* Schedule Section Title and Text - Mobile */
    .schedule-section .section-pill {
        font-size: 1rem !important;
        padding: 0.5rem 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .schedule-section p {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
        margin-top: 0 !important;
        line-height: 1.4 !important;
    }

    .schedule-section .schedule-intro-headline {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        margin-top: 1rem !important;
    }

    .schedule-section .schedule-intro-text {
        margin-bottom: 1.5rem !important;
    }

    .schedule-section p:last-of-type {
        margin-bottom: 1.5rem !important;
    }

    /* Make section pills consistent size on mobile */
    .schedule-section .section-pill,
    .program-breakdown .section-pill {
        font-size: 1.2rem !important;
        padding: 0.6rem 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Schedule Section Mobile - Horizontal Scrolling */
    .schedule-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .schedule-grid {
        grid-template-columns: 60px repeat(5, minmax(100px, 1fr)) !important;
        gap: 6px !important;
        min-width: 600px;
    }

    .schedule-header {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.2rem !important;
        white-space: nowrap;
    }

    .sched-card {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.15rem !important;
        min-height: 35px !important;
    }

    .time-slot {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.1rem !important;
        position: sticky;
        left: 0;
        background: white;
        z-index: 2;
    }

    .sched-title {
        font-size: 0.7rem !important;
        margin-bottom: 0.05rem;
        line-height: 1.1;
    }

    .sched-desc {
        font-size: 0.6rem !important;
        line-height: 1.1;
    }

    /* Ensure Tech Hour blocks stay purple on mobile */
    .bg-purple {
        background-color: #d0a8ff !important;
    }


    /* Program Breakdown Mobile - Reduced sizes */
    .feature-block {
        padding: 1.2rem !important;
        gap: 0.8rem;
    }

    .feature-header-bg h2 {
        font-size: 1.4rem !important;
        padding: 0.8rem !important;
    }

    .sub-title {
        font-size: 0.9rem !important;
        margin-top: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }

    .feature-text {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.6rem !important;
    }

    .feature-img {
        max-width: 120px !important;
        margin: 0.5rem auto !important;
    }

    .feature-img.img-circle {
        width: 80px !important;
        height: 80px !important;
    }

    .brochure-col {
        gap: 1.2rem !important;
    }

    /* Page Hero Mobile */
    .page-hero {
        padding-top: 2vh !important;
        padding-bottom: 1rem !important;
    }

    .page-hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .page-hero .tagline {
        font-size: 1rem !important;
        margin-top: 20px !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-bio-container {
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0.5rem auto 0 !important;
    }

    .subtitle {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
    }

    /* Section Pills Mobile */
    .section-pill {
        font-size: 1.3rem !important;
        padding: 0.75rem 2rem !important;
    }

    /* Program Breakdown Section Title - Mobile */
    .feature-section .section-pill {
        font-size: 1rem !important;
        padding: 0.5rem 1.5rem !important;
        margin-top: 80px !important;
        margin-bottom: 0 !important;
    }

    /* Detail Cards Mobile - Stack them */
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
        gap: 0.75rem !important;
    }

    .detail-card {
        min-height: auto;
        padding: 1rem !important;
    }

    /* Meet the Team Page - Mobile Optimization */
    .team-group {
        margin-bottom: 2rem !important;
    }

    .org-description {
        margin-bottom: 0.3rem !important;
    }

    .org-description h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .org-description p {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }

    .team-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
        overflow: visible !important;
        max-width: 100% !important;
    }

    .text-content-box {
        background: rgba(255, 255, 255, 0.5) !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .member-image-container {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 0.8rem !important;
    }

    .member-image {
        width: 120px !important;
        height: 120px !important;
    }

    .team-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        padding: 0 !important;
    }

    .member-bio {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
        padding: 0 0.5rem !important;
    }



    /* Adjust Philbert Chen's blob for mobile - reduce scale to fit viewport */
    .id8-group .team-card.blob-shape-1::before {
        transform: scale(1.2) translate(0px, 40px) !important;
    }

    /* Adjust Mike Yao's blob for mobile - reduce scale to fit viewport */
    .id8-group .team-card.blob-shape-2::before {
        transform: scale(1.2) translate(0px, 10px) rotate(15deg) !important;
    }

    /* Adjust Loretta Sutkus's blob for mobile - reduce scale to fit viewport */
    .director-group .team-card.blob-shape-3::before {
        transform: scale(1.2) translate(0, 30px) rotate(15deg) !important;
    }

    .team-group-divider {
        margin: 4rem 0 !important;
    }

    .detail-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .detail-card .highlight-text {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
    }

    #details .detail-card p {
        font-size: 0.85rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.15 !important;
    }

    .detail-card ul {
        margin: 0.2rem 0 !important;
        padding-left: 1rem !important;
    }

    .detail-card li {
        font-size: 0.85rem !important;
        margin-bottom: 0.15rem !important;
        line-height: 1.2 !important;
    }

    .detail-card .small {
        font-size: 0.75rem !important;
    }

    .detail-card hr {
        margin: 0.2rem 0 !important;
    }

    /* Feature Blocks Mobile */
    .feature-block {
        padding: 1.5rem;
    }

    .feature-header-bg h2 {
        font-size: 1.5rem;
    }

    .sub-title {
        font-size: 1.3rem !important;
    }

    .feature-text {
        font-size: 0.95rem;
    }

    .feature-img {
        max-width: 85%;
    }

    .img-circle {
        width: 100px;
    }

    /* Partnership Section Mobile - Stack columns vertically */
    .partnership-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Remove extra padding from partnership section on mobile */
    .partnership-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .partnership-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    .partnership-section h2 {
        font-size: 1.8rem !important;
    }

    .partnership-section p {
        font-size: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Mission Section Mobile - Reduce text size */
    #mission p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .mission-text p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    /* Experience Section Mobile - Reduce text size */
    .teaser-header .lead {
        font-size: 1rem !important;
    }

    #experience p {
        font-size: 0.95rem !important;
    }

    /* Experience Section Cards - 2 Column Layout */
    .grid-features {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
        padding: 0 1rem !important;
        /* Add horizontal padding to prevent edge cutoff */
    }

    .grid-features .card {
        padding: 0.75rem !important;
    }

    .grid-features .card h3 {
        font-size: 0.9rem !important;
        margin: 0 !important;
    }

    /* Experience Section CTA Button - Compact */
    .cta-container {
        margin-top: 1.5rem !important;
    }

    .cta-button {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* Reduce spacing between sections on mobile */
    #details {
        padding-bottom: 2rem !important;
    }

    #experience {
        padding-top: 2rem !important;
    }

    .content-section {
        padding: 1.5rem 0 !important;
    }

    /* Program Overview Mobile - Compact 4-card layout */
    #details .details-grid {
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }

    .detail-item {
        padding: 0.5rem !important;
    }

    .detail-value {
        font-size: 1.8rem !important;
        margin-bottom: 0.2rem !important;
    }

    .detail-label {
        font-size: 1rem !important;
        margin-top: 0.2rem !important;
    }

    .detail-note {
        font-size: 0.85rem !important;
        margin-top: 0.1rem !important;
    }

    /* Program Overview warning text - increased for visibility */
    #details p {
        font-size: 1rem !important;
        margin: 1rem auto 1rem !important;
        line-height: 1.4 !important;
        padding: 0 1rem !important;
    }

    /* Pre-Register button - larger and more prominent */
    #details .cta-button {
        padding: 0.9rem 2.5rem !important;
        font-size: 1.1rem !important;
        margin-top: 0.5rem !important;
    }

    /* Partnership Section Mobile - Reduce spacing between text and buttons */
    .partnership-section p {
        margin-bottom: 0.75rem !important;
    }

    .partnership-grid>div>div:first-child p {
        margin-bottom: 0.75rem !important;
    }

    /* Partnership Grid Mobile - Add spacing between Meet the Team and Contact Us */
    .partnership-grid {
        gap: 3rem !important;
        justify-items: center !important;
        /* Center the grid items */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .partnership-grid>div {
        text-align: center !important;
        /* Ensure text is centered */
        width: 100% !important;
        /* Full width for proper centering */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .partnership-grid>div:nth-child(2) {
        margin-top: 2rem !important;
    }

    /* Ensure buttons in partnership section are centered */
    .partnership-section .btn-secondary {
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-block !important;
    }

    /* Hide footprints on mobile to prevent centering issues */
    #footprint-container {
        display: none !important;
    }
}

/* --- Brochure Revamp Styles --- */

.program-breakdown {
    padding: var(--spacing-xxl) 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.section-pill {
    background-color: #5c7be9;
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xl);
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(92, 123, 233, 0.3);
}

.brochure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

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

.brochure-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Feature Blocks */
.feature-block {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #ddd;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.2);
}

/* Section-specific border colors */
.brochure-col:nth-child(1) .feature-block {
    border-color: #f7bfe5;
    /* Innovation - Pink */
    box-shadow: 4px 4px 0px 0px rgba(247, 191, 229, 0.5);
}

.brochure-col:nth-child(1) .feature-block:hover {
    box-shadow: 6px 6px 0px 0px rgba(247, 191, 229, 0.7);
}

.brochure-col:nth-child(2) .feature-block {
    border-color: #fce1ed;
    /* Engineering - Light Pink */
    box-shadow: 4px 4px 0px 0px rgba(252, 225, 237, 0.5);
}

.brochure-col:nth-child(2) .feature-block:hover {
    box-shadow: 6px 6px 0px 0px rgba(252, 225, 237, 0.7);
}

.brochure-col:nth-child(3) .feature-block {
    border-color: #e3bbf4;
    /* Programming - Lavender */
    box-shadow: 4px 4px 0px 0px rgba(227, 187, 244, 0.5);
}

.brochure-col:nth-child(3) .feature-block:hover {
    box-shadow: 6px 6px 0px 0px rgba(227, 187, 244, 0.7);
}

.brochure-col:nth-child(4) .feature-block {
    border-color: #e3bbf4;
    /* Science - Lavender */
    box-shadow: 4px 4px 0px 0px rgba(227, 187, 244, 0.5);
}

.brochure-col:nth-child(4) .feature-block:hover {
    box-shadow: 6px 6px 0px 0px rgba(227, 187, 244, 0.7);
}

.feature-header-bg {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transform: rotate(-2deg);
}

.feature-header-bg h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.05em;
}

/* Specific Section Colors */
.innovation-header {
    background-color: #f7bfe5;
}

/* Light Pink */
.engineering-header {
    background-color: #fce1ed;
}

/* Very Light Pink */
.programming-header {
    background-color: #e3bbf4;
}

/* Lavender */
.science-header {
    background-color: #e3bbf4;
}

/* Lavender pattern */

/* Content Typography */
.sub-title {
    font-family: 'Handlee', var(--font-heading);
    /* Fallback to heading font */
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

/* Text Colors */
.text-purple {
    color: #8e44ad;
}

.text-blue {
    color: #2980b9;
}

.text-green {
    color: #27ae60;
}

.text-teal {
    color: #16a085;
}

.feature-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.feature-text strong {
    color: #000;
    font-weight: 700;
}

/* Images */
.feature-img {
    max-width: 70%;
    height: auto;
    margin: 1rem auto;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    display: block;
}

.feature-img:hover {
    transform: scale(1.02);
}

.img-circle {
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    width: 140px;
    margin: 0 auto;
    display: block;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Decorative Blobs (Simple CSS circles for now) */
.blob {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.blob-blue {
    background-color: #004aad;
    width: 150px;
    height: 150px;
}

.blob-green {
    background-color: #7ed957;
    width: 100px;
    height: 100px;
}

/* --- Schedule Section Styles --- */
.schedule-section {
    padding: var(--spacing-xxl) 0;
    background: #f9f9f9;
    /* Light contrast bg */
    position: relative;
    overflow-x: auto;
    /* Allow scroll on very small screens */
}

.schedule-container {
    min-width: 900px;
    /* Ensure table doesn't squish too much */
    margin: 0 auto;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 80px repeat(5, 1fr);
    gap: 10px;
}

/* Headers */
.schedule-header {
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 1rem;
    background: #333;
    color: white;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.time-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #555;
    font-size: 0.9rem;
}

/* Schedule Cells */
.sched-card {
    padding: 1rem;
    border-radius: 16px;
    color: #000;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.sched-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.sched-title {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.sched-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    font-family: 'Handlee', sans-serif;
}

/* Colors based on screenshot */
.bg-blue-light {
    background-color: #aae0fa;
}

/* Free Range / Lunch */
.bg-yellow {
    background-color: #ffe066;
}

/* World of Day */
.bg-purple {
    background-color: #d0a8ff;
}

/* Tech Hour */
.bg-orange {
    background-color: #ffcc99;
}

/* Let's Launch It */
.bg-red {
    background-color: #ff9999;
}

/* Human Body */
.bg-green {
    background-color: #b3e6b3;
}

/* Green Hour */
.bg-pink {
    background-color: #fa9de3;
}

/* Game Time */

/* Weekly Overview Theme Colors */
.bg-green-theme {
    background-color: #90EE90;
    /* Light green for Technology & Engineering */
}

.bg-purple-theme {
    background-color: #DDA0DD;
    /* Light purple for Science Week */
}

/* Weekly Overview Grid Adjustments */
.weekly-overview {
    grid-template-rows: auto;
    /* Auto-size rows for the weekly view */
}

.weekly-overview .sched-card {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

.weekly-overview .sched-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    white-space: normal;
    /* Allow text to wrap */
    word-wrap: break-word;
}

.week-date {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

.week-date .date-month {
    font-size: 1rem;
    font-weight: 700;
}

.week-date .date-range {
    font-size: 1.2rem;
    font-weight: 800;
}

/* Responsive Day Name Display */
/* By default: show full day names, hide short and shortest */
.day-full {
    display: inline;
}

.day-short,
.day-shortest {
    display: none;
}

/* Medium screens (tablets, smaller windows): show short names (Mon, Tue, etc.) */
@media (max-width: 900px) {
    .day-full {
        display: none;
    }

    .day-short {
        display: inline;
    }

    .day-shortest {
        display: none;
    }

    .weekly-overview .sched-title {
        font-size: 1.1rem;
    }

    .schedule-header {
        padding: 0.5rem 0.25rem;
        font-size: 0.9rem;
    }

    /* Weekly overview specific adjustments for medium screens */
    .weekly-overview {
        grid-template-columns: 70px repeat(5, 1fr);
        gap: 6px;
    }

    .weekly-schedule-container {
        min-width: unset;
        width: 100%;
    }
}

/* Small screens (mobile): show shortest names (M, T, W, Th, F) */
@media (max-width: 600px) {

    .day-full,
    .day-short {
        display: none;
    }

    .day-shortest {
        display: inline;
    }

    /* Weekly overview: convert to simple vertical stacked layout on mobile */
    .weekly-overview {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .weekly-overview .schedule-header {
        display: none !important;
    }

    .weekly-overview .time-slot:first-child {
        display: none !important;
        /* Hide empty corner cell */
    }

    .weekly-overview .week-date {
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        padding: 0.6rem 1rem;
        background: #333;
        color: white;
        border-radius: 10px;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .weekly-overview .week-date .date-month {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .weekly-overview .week-date .date-range {
        font-size: 1.1rem;
        font-weight: 800;
    }

    .weekly-overview .sched-card {
        width: 100%;
        min-height: 55px;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        margin-bottom: 0;
    }

    .weekly-overview .sched-title {
        font-size: 1rem;
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }

    .weekly-schedule-container {
        min-width: unset;
        width: 100%;
    }

    /* Remove scroll overflow for weekly overview on mobile */
    .weekly-scroll-container {
        overflow-x: visible !important;
    }

    .schedule-header {
        padding: 0.3rem 0.1rem;
        font-size: 0.7rem;
        min-width: 20px;
        border-radius: 6px;
    }
}


/* Animations */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.sched-card {
    animation: popIn 0.5s ease-out backwards;
}

/* Stagger animations (simple nth-child approach) */
.sched-card:nth-child(2n) {
    animation-delay: 0.1s;
}

.sched-card:nth-child(3n) {
    animation-delay: 0.2s;
}

.sched-card:nth-child(4n) {
    animation-delay: 0.3s;
}

/* Skeleton Decoration */
.skeleton-decoration {
    position: absolute;
    right: -50px;
    bottom: -50px;
    height: 80%;
    /* Large enough to be seen but not overwhelming */
    max-height: 600px;
    width: auto;
    opacity: 0.8;
    transform: rotate(-5deg);
    pointer-events: none;
    /* Ensure clicks pass through */
    z-index: -1;
    /* Behind the text content but inside the glass */
    mix-blend-mode: multiply;
    /* Blends nicely with the glass/bg */
    transition: all 0.5s ease;
}

/* Hide on smaller screens to avoid clutter */
@media (max-width: 1100px) {
    .skeleton-decoration {
        display: none;
    }
}

.scroll-content-overlay .container {
    /* Ensure relative positioning for the absolute child */
    position: relative;
    overflow: hidden;
    /* Clip the skeleton if it goes out of bounds */
}

/* --- Dev Site Protection Overlay --- */
#dev-protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    /* Above everything */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.auth-box {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: popIn 0.5s ease-out backwards;
}

.auth-box h2 {
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.auth-box input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 2px solid #eee;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.auth-box button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
}

.auth-box button:hover {
    background: #4a66cc;
}

.auth-error {
    color: red;
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

/* ========================================
   FAQ PAGE STYLES
   ======================================== */

.faq-item {
    margin-bottom: 2rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    background: white;
    border-radius: 0 0 12px 12px;
    border: 3px solid;
    border-top: none;
    margin-top: -12px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0;
    margin-top: 0;
}

.faq-content {
    padding: 2rem;
}

.faq-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 0;
}

.faq-content p+p {
    margin-top: 1rem;
}

.faq-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.faq-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }

    .faq-content {
        padding: 1.5rem;
    }

    .faq-content p,
    .faq-content li {
        font-size: 1rem;
    }

    /* About Us page - Company blocks stack on mobile */
    .company-blocks-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Director profile stacks vertically on mobile */
    .director-profile {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .director-info {
        text-align: center !important;
    }

    .director-info h3 {
        display: block !important;
    }

    .camp-director-section {
        text-align: center;
    }

    /* Experience Timeline - responsive for smaller screens */
    .experience-timeline-wrapper {
        padding: 1rem 0 3rem 0 !important;
        overflow-x: auto;
    }

    .timeline-desktop {
        min-width: 600px;
    }
}

/* Experience timeline mobile specific adjustments - vertical layout */
@media (max-width: 768px) {
    .experience-timeline-wrapper {
        padding: 1rem 0 2rem 0 !important;
        overflow-x: visible;
    }

    .timeline-desktop {
        display: none !important;
    }

    .timeline-mobile {
        display: block !important;
    }
}

/* Program Details page - responsive text sizing */
@media (max-width: 992px) {
    .highlights-intro {
        font-size: 1.2rem !important;
        margin-top: 1rem !important;
    }

    .schedule-intro-headline {
        font-size: 1.2rem !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 768px) {
    .highlights-intro {
        font-size: 1.15rem !important;
        margin-top: 1rem !important;
    }

    .schedule-intro-headline {
        font-size: 1.15rem !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 480px) {
    .highlights-intro {
        font-size: 1.1rem !important;
        margin-top: 0.75rem !important;
    }

    .schedule-intro-headline {
        font-size: 1.1rem !important;
        margin-top: 0.75rem !important;
    }

    .section-pill {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.25rem !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .schedule-section .section-pill {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.25rem !important;
    }

    .program-breakdown .section-pill {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.25rem !important;
    }

    /* Program Highlights description text - match schedule intro text */
    .highlights-tech-desc,
    .highlights-science-desc {
        font-size: 0.95rem !important;
    }

    .highlights-tech-desc span,
    .highlights-science-desc span {
        font-size: 1rem !important;
    }

    .schedule-intro-text {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .section-pill {
        font-size: 1rem !important;
        padding: 0.7rem 1.5rem !important;
        max-width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .weekly-scroll-container {
        overflow-x: visible !important;
    }

    .schedule-container.weekly-schedule-container {
        min-width: unset !important;
        width: 100% !important;
    }

    .schedule-grid.weekly-overview {
        min-width: unset !important;
        width: 100% !important;
    }

    /* Program Highlights description text - match schedule intro text */
    .highlights-tech-desc,
    .highlights-science-desc {
        font-size: 1rem !important;
    }

    .highlights-tech-desc span,
    .highlights-science-desc span {
        font-size: 1.05rem !important;
    }

    .schedule-intro-text {
        font-size: 1rem !important;
    }
}