:root {
    /* Red-based vibrant color palette */
    --primary-color: #DC2626;
    --primary-hover: #B91C1C;
    --secondary-color: #14B8A6;
    --accent-purple: #B91C1C;
    --accent-pink: #EC4899;
    --accent-orange: #F97316;
    --accent-teal: #06B6D4;
    --accent-green: #22C55E;
    --accent-red: #EF4444;
    --dark-red: #450A0A;
    --dark-blue: #1E1B4B;
    --light-blue: #F0F9FF;
    --light-red: #FEF2F2;
    --light-purple: #FEE2E2;
    --light-pink: #FDF2F8;
    --light-teal: #F0FDFA;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gradient-primary: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    --gradient-secondary: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
    --gradient-hero: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #7F1D1D 100%);
    --gradient-warm: linear-gradient(135deg, #F97316 0%, #EF4444 100%);
    --gradient-cool: linear-gradient(135deg, #06B6D4 0%, #22C55E 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Index page full gradient background */
body.index-page {
    background: linear-gradient(
        180deg,
        #450A0A 0%,
        #7F1D1D 15%,
        #B91C1C 25%,
        var(--light-red) 40%,
        var(--white) 50%,
        var(--light-teal) 65%,
        var(--gray-50) 80%,
        #0F172A 100%
    );
}

/* Section backgrounds on index page */
body.index-page .about,
body.index-page .schedule {
    background: rgba(255, 255, 255, 0.92);
}

body.index-page .for-everyone,
body.index-page .gallery-section {
    background: rgba(248, 250, 252, 0.88);
}

body.index-page .getting-there {
    background: rgba(255, 255, 255, 0.95);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation - Modern Clean */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.875rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-logo {
    height: 96px;
    width: auto;
    display: block;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, #B91C1C 0%, #DC2626 50%, #EF4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.25px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

/* Hide mobile CTA on desktop */
.nav-menu .mobile-cta {
    display: none;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-purple);
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(98, 93, 245, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(98, 93, 245, 0.45);
}

.cta-button:hover::before {
    left: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hero Section - Loom-inspired modern design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #450A0A 0%, #7F1D1D 40%, #B91C1C 70%, #DC2626 100%);
    z-index: -1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.4) 0%, transparent 50%);
    animation: floatGlow 15s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, transparent 50%);
    animation: floatGlow 20s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}


@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
    color: var(--white);
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-left {
    animation: fadeInUp 0.8s ease;
}

.hero-right {
    animation: fadeInUp 0.8s ease 0.15s;
    animation-fill-mode: both;
}

/* Stacked Hero Layout */
.hero-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3.5rem;
}

.hero-stacked .hero-text-section {
    animation: fadeInUp 0.8s ease;
    max-width: 800px;
}

.hero-stacked .hero-text {
    max-width: 100%;
}

.hero-stacked .hero-buttons {
    justify-content: center;
}

.hero-stacked .hero-stats {
    justify-content: center;
}

.hero-stacked .hero-video-section {
    animation: fadeInUp 0.8s ease 0.15s;
    animation-fill-mode: both;
    width: 100%;
    max-width: 900px;
}

.hero-stacked .hero-video-card {
    transform: none;
}

.hero-stacked .hero-video-card:hover {
    transform: translateY(-4px);
}

.hero-text {
    max-width: 640px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.75rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 0.92;
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    margin-top: 4.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.6rem;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section - Modernized */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-main-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image .placeholder-image {
    background: linear-gradient(135deg, var(--light-blue) 0%, #C5E4F3 100%);
    border-radius: 20px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.85;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.feature {
    display: flex;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.feature:hover {
    background: var(--white);
    transform: translateX(6px);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 1.75rem;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature:nth-child(1) .feature-icon { background: var(--light-purple); }
.feature:nth-child(2) .feature-icon { background: var(--light-teal); }
.feature:nth-child(3) .feature-icon { background: var(--light-pink); }

.feature:hover .feature-icon {
    transform: scale(1.1);
}

.feature h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* For Everyone Section - Loom-style cards */
.for-everyone {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4.5rem;
    color: var(--text-dark);
    letter-spacing: -1px;
    line-height: 1.1;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Multi-color card accents */
.info-card:nth-child(1)::before { background: var(--gradient-primary); }
.info-card:nth-child(2)::before { background: var(--gradient-secondary); }
.info-card:nth-child(3)::before { background: var(--gradient-warm); }
.info-card:nth-child(4)::before { background: var(--gradient-cool); }

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.info-card:hover .card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.info-card:nth-child(1) .card-icon { background: var(--light-purple); }
.info-card:nth-child(2) .card-icon { background: var(--light-teal); }
.info-card:nth-child(3) .card-icon { background: var(--light-pink); }
.info-card:nth-child(4) .card-icon { background: var(--light-blue); }

.info-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.card-link {
    color: var(--accent-purple);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.info-card:hover .card-link {
    gap: 0.85rem;
    color: var(--primary-color);
}

/* Schedule Section - Modern Clean Design */
.schedule {
    padding: 8rem 0;
    background: var(--white);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.schedule-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Multi-color schedule cards */
.schedule-card:nth-child(1)::before { background: var(--accent-purple); }
.schedule-card:nth-child(2)::before { background: var(--accent-teal); }
.schedule-card:nth-child(3)::before { background: var(--accent-pink); }
.schedule-card:nth-child(4)::before { background: var(--accent-orange); }

.schedule-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.schedule-card .day {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.schedule-card .time {
    font-size: 1.15rem;
    margin-bottom: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.schedule-card .type {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: inline-block;
}

.schedule-card .type + .type {
    margin-top: 0.5rem;
}

.schedule-note {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 2rem;
    padding: 1.25rem 2rem;
    background: #FAFAFA;
    border-radius: 12px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Book Section - Modernized */
.book-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0F172A 0%, #450A0A 50%, #7F1D1D 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.book-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.book-content {
    max-width: 720px;
    margin: 0 auto;
}

.book-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.book-content > p {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    line-height: 1.7;
}

.book-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.book-form input,
.book-form select,
.book-form textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.book-form input::placeholder,
.book-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.book-form select option {
    background: var(--dark-blue);
    color: var(--white);
}

.book-form button {
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.book-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer - Modern Multi-Column */
/* ==========================================
   INDEX CONTACT SECTION
   ========================================== */
.index-contact-section {
    padding: 6rem 0 5rem;
    background: var(--white);
    text-align: center;
}

.index-contact-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .index-contact-cta h2 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }
}

.index-contact-section .form-row {
    grid-template-columns: 1fr;
}

.index-contact-section .book-form input,
.index-contact-section .book-form textarea {
    background: #fff;
    color: #1a1a1a;
    border: 2px solid #e53e3e;
}

.index-contact-section .book-form input::placeholder,
.index-contact-section .book-form textarea::placeholder {
    color: #888;
}

.index-contact-section .book-form input:focus,
.index-contact-section .book-form textarea:focus {
    background: #fff;
    border-color: #c53030;
}

.index-contact-cta p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.index-contact-form-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.5s ease;
    opacity: 0;
    max-width: 560px;
    margin: 0 auto;
}

.index-contact-form-wrap.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 2rem;
}

.index-contact-section .book-form button[type="submit"] {
    box-shadow: none;
    border: 1.5px solid #111;
}

/* ==========================================
   SPONSOR LOGOS MARQUEE SECTION
   ========================================== */
.sponsors-section {
    padding: 4rem 0;
    background: var(--gray-50);
    overflow: hidden;
}

.sponsors-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sponsors-marquee {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.sponsors-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll-sponsors 30s linear infinite;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-sponsors {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 150px;
    padding: 0 1rem;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.sponsor-logo:hover {
    transform: scale(1.15);
}

.sponsor-logo img {
    max-height: 100%;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

/* Index page specific styling */
body.index-page .sponsors-section {
    background: rgba(248, 250, 252, 0.95);
}

/* ===== Scroll Animations ===== */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-ready.animate-in {
    opacity: 1;
    transform: translateY(0);
}


/* Timeline item animations */
.timeline-item.animate-ready {
    transform: translateX(-30px);
}

.timeline-item.image-left.animate-ready {
    transform: translateX(30px);
}

.timeline-item.animate-in {
    transform: translateX(0);
}

/* Card animations with scale */
.pricing-card.animate-ready,
.special-card.animate-ready,
.sidebar-card.animate-ready {
    transform: translateY(40px) scale(0.95);
}

.pricing-card.animate-in,
.special-card.animate-in,
.sidebar-card.animate-in {
    transform: translateY(0) scale(1);
}

/* CTA section animation */
.cta-section h3.animate-ready,
.cta-section p.animate-ready {
    transform: translateY(20px);
}

.cta-section .btn.animate-ready {
    transform: translateY(20px) scale(0.9);
}

.cta-section .btn.animate-in {
    transform: translateY(0) scale(1);
}

/* Gallery item animations */
.gallery-item-new.animate-ready,
.inline-gallery-item.animate-ready {
    transform: scale(0.9);
}

.gallery-item-new.animate-in,
.inline-gallery-item.animate-in {
    transform: scale(1);
}

/* Content fade in from sides */
.alternating-content.animate-ready:nth-child(odd) {
    transform: translateX(-40px);
}

.alternating-content.animate-ready:nth-child(even) {
    transform: translateX(40px);
}

.alternating-content.animate-in {
    transform: translateX(0);
}

/* Mobile-specific animations - faster and subtler */
@media (max-width: 768px) {
    .animate-ready {
        transform: translateY(20px);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }

    .timeline-item.animate-ready,
    .timeline-item.image-left.animate-ready {
        transform: translateY(20px);
    }

    .pricing-card.animate-ready,
    .special-card.animate-ready,
    .sidebar-card.animate-ready {
        transform: translateY(25px) scale(0.98);
    }

    .alternating-content.animate-ready:nth-child(odd),
    .alternating-content.animate-ready:nth-child(even) {
        transform: translateY(20px);
    }

    /* Reduce stagger delay on mobile for snappier feel */
    .animate-ready {
        transition-delay: 0s !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .animate-ready.animate-in {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sponsors-section {
        padding: 3rem 0;
    }

    .sponsors-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .sponsors-track {
        gap: 3rem;
        animation-duration: 15s;
    }

    .sponsor-logo {
        height: 70px;
        min-width: 150px;
    }

    .sponsor-logo img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .sponsors-section {
        padding: 2.5rem 0;
    }

    .sponsors-title {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .sponsors-track {
        gap: 2.5rem;
        animation-duration: 12s;
    }

    .sponsor-logo {
        height: 60px;
        min-width: 130px;
    }

    .sponsor-logo img {
        max-width: 130px;
    }
}

.footer {
    background: linear-gradient(180deg, #0F172A 0%, #020617 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 5rem 0 2.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.5), rgba(20, 184, 166, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.85rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.footer a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.social-icon:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.social-icon svg {
    width: 36px;
    height: 36px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 8px;
    padding: 6px;
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #450A0A 0%, #7F1D1D 50%, #B91C1C 100%);
    color: var(--white);
    padding: 4rem 0 1.25rem;
    margin-top: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    position: relative;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    margin-top: 0;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.content-main h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--dark-blue);
}

.content-main h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--dark-blue);
}

.content-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.content-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.content-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: 700;
}

.simple-list {
    list-style: none;
    padding: 0;
}

.simple-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Sidebar */
.sidebar-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-card.highlight {
    background: linear-gradient(135deg, #7F1D1D 0%, #DC2626 100%);
    color: var(--white);
    border: none;
}

.sidebar-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sidebar-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.sidebar-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.session-item,
.event-item,
.stat-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.session-item:last-child,
.event-item:last-child,
.stat-item:last-child {
    border-bottom: none;
}

.session-date,
.event-item strong {
    font-weight: 600;
    color: var(--dark-blue);
    display: block;
}

.session-time,
.event-item p {
    color: var(--text-light);
    margin: 0;
}

/* FAQ */
.faq-item {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-purple);
}

.faq-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-light);
}

/* Community Profiles */
.community-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.profile-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.profile-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.profile-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-blue);
}

.profile-card p {
    margin: 0;
    font-size: 1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 10px;
}

.value-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* Testimonials */
.testimonial {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--gray-50) 100%);
    padding: 2rem 2.5rem;
    border-left: 4px solid var(--accent-purple);
    margin: 2rem 0;
    font-style: italic;
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--accent-purple);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.benefit-card:nth-child(1) .benefit-icon { background: var(--light-purple); }
.benefit-card:nth-child(2) .benefit-icon { background: var(--light-teal); }
.benefit-card:nth-child(3) .benefit-icon { background: var(--light-pink); }
.benefit-card:nth-child(4) .benefit-icon { background: var(--light-blue); }

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-5deg);
}

.benefit-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Package Cards */
.package-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin: 2rem 0;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.package-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.package-card h5 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.package-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-200);
    font-size: 0.95rem;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.achievement-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.achievement-year {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-card h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Timeline */
.timeline-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-purple) 100%);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin: 0;
    color: var(--text-light);
}

/* Timeline with Images */
.timeline-with-images {
    max-width: 1000px;
}

.timeline-with-images::before {
    left: 50%;
    transform: translateX(-50%);
}

.timeline-with-images .timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    padding-left: 0;
    align-items: center;
}

.timeline-with-images .timeline-marker {
    position: relative;
    left: auto;
    grid-column: 2;
    z-index: 2;
}

.timeline-with-images .timeline-content {
    text-align: right;
    grid-column: 1;
}

.timeline-with-images .timeline-item.image-right .timeline-content {
    text-align: right;
    grid-column: 1;
}

.timeline-with-images .timeline-item.image-right .timeline-image {
    grid-column: 3;
}

.timeline-with-images .timeline-item.image-left .timeline-content {
    text-align: left;
    grid-column: 3;
}

.timeline-with-images .timeline-item.image-left .timeline-image {
    grid-column: 1;
}

.timeline-with-images .timeline-item:not(.has-image) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-image {
    width: 100%;
    max-width: 350px;
}

.timeline-image .placeholder-image {
    height: 280px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.timeline-image .placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-image.fit-contain-wrapper {
    max-width: 450px;
}

.timeline-image .placeholder-image.fit-contain {
    height: auto;
}

.timeline-image .placeholder-image.fit-contain img {
    height: auto;
    display: block;
}

.timeline-image .placeholder-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.timeline-item.image-right .timeline-image {
    justify-self: start;
}

.timeline-item.image-left .timeline-image {
    justify-self: end;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: var(--white);
}

.pricing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pricing-intro h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.pricing-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.pricing-card.featured {
    box-shadow: var(--shadow-lg);
}

/* Pricing card color variants - Loom-style vibrant colors */
.pricing-card.card-blue {
    border-color: var(--accent-teal);
    background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%);
}

.pricing-card.card-blue:hover {
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.25);
}

.pricing-card.card-red {
    border-color: var(--accent-pink);
    background: linear-gradient(180deg, #FDF2F8 0%, #FFFFFF 100%);
}

.pricing-card.card-red:hover {
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.25);
}

.pricing-card.card-green {
    border-color: var(--accent-green);
    background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}

.pricing-card.card-green:hover {
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.25);
}

/* Sponsorship card color variants - Loom-style */
.pricing-card.card-platinum {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, var(--light-red) 0%, #ffffff 100%);
}

.pricing-card.card-platinum:hover {
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.25);
}

.pricing-card.card-gold {
    border-color: var(--accent-orange);
    background: linear-gradient(180deg, #FFF7ED 0%, #ffffff 100%);
}

.pricing-card.card-gold:hover {
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.25);
}

.pricing-card.card-silver {
    border-color: var(--text-muted);
    background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 100%);
}

.pricing-card.card-silver:hover {
    box-shadow: 0 20px 50px rgba(148, 163, 184, 0.3);
}

/* Sponsor benefits list */
.sponsor-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.sponsor-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.sponsor-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 600;
}

/* Sponsor badge - positioned at top of card */
.sponsor-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-orange) 100%);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Sponsorship cards alignment */
.pricing-section .pricing-card .btn {
    margin-top: auto;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.pricing-tag {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pricing-price {
    margin: 2rem 0;
    text-align: center;
}

.pricing-price .price {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-price .period {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--light-blue);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.pricing-card > p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.pricing-card .btn-secondary {
    background: transparent;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
}

.pricing-card .btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.pricing-card .btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

/* Special Pricing */
.special-pricing {
    margin: 4rem 0;
}

.special-pricing h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-blue);
}

.special-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.special-card {
    flex: 0 1 280px;
    max-width: 320px;
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.special-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.special-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-blue);
}

.special-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.special-card p:not(.special-price) {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.pricing-grid.carousel-track {
    display: flex;
    flex-wrap: nowrap;
}

.pricing-grid.carousel-track .pricing-card {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: calc(33.333% - 1.5rem);
}

.special-grid.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.special-grid.carousel-track .special-card {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: calc(33.333% - 1.5rem);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(98, 93, 245, 0.3);
}

.carousel-nav:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-pink) 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--text-light);
}

.carousel-nav:disabled:hover {
    transform: translateY(-50%);
    background: var(--text-light);
}

/* Included Section */
.included-section {
    margin: 4rem 0;
}

.included-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-blue);
}

.included-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.included-item {
    flex: 0 1 280px;
    max-width: 320px;
    text-align: center;
    padding: 1.5rem;
}

.included-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.included-item h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.included-item p {
    margin: 0;
    color: var(--text-light);
}

/* Pricing FAQ */
.pricing-faq {
    margin: 4rem 0;
}

.pricing-faq h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-blue);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* CTA Section - Modernized */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #450A0A 0%, #7F1D1D 60%, #B91C1C 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 30% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 70% 50%, rgba(20, 184, 166, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.cta-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 1.15rem 3rem;
    font-size: 1.1rem;
    position: relative;
}

/* Hero Video Card - Modern Loom-style */
.hero-video-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 9 / 14;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #0a0a0a;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-video-card .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.hero-video-card .placeholder-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Video Clip Placeholder */
.video-clip-placeholder {
    margin-top: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--light-blue) 0%, #C5E4F3 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-clip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-clip-placeholder .placeholder-label,
.gallery-item.video .placeholder-label {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 2px dashed var(--primary-color);
}

/* Gallery Section - Modernized */
.gallery-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item .placeholder-image {
    height: 100%;
    min-height: 200px;
    margin: 0;
    border-radius: 0;
}

.gallery-item.large .placeholder-image {
    min-height: 415px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.03);
}

.gallery-item .gallery-image {
    min-height: 200px;
}

.gallery-item.large .gallery-image {
    min-height: 415px;
}

.gallery-item.video {
    background: linear-gradient(135deg, var(--light-blue) 0%, #C5E4F3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.gallery-item.video .video-clip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Carousel - Auto-rotating Cards */
.gallery-carousel {
    position: relative;
    width: 100%;
    overflow: visible;
}

.gallery-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-carousel-card {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-carousel-card img,
.gallery-carousel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-carousel-card:hover img,
.gallery-carousel-card:hover video {
    transform: scale(1.03);
}

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-carousel-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-overlay span {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.gallery-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gallery-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.gallery-carousel-dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.gallery-carousel-dot.active {
    background: var(--accent-purple);
    transform: scale(1.2);
}

/* Progress bar animation for auto-rotate */
.gallery-carousel-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-purple);
    transform: translate(-50%, -50%);
    animation: dotProgress 5s linear infinite;
}

@keyframes dotProgress {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Responsive gallery carousel */
@media (max-width: 768px) {
    .gallery-carousel-card {
        aspect-ratio: 4 / 3;
    }

    .gallery-card-overlay {
        opacity: 1;
        padding: 1.5rem;
    }

    .gallery-card-overlay span {
        font-size: 1.1rem;
    }
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 2;
    opacity: 0.95;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item.video:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Corporate Inline Media */
.corporate-inline-media {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.corporate-inline-media .placeholder-image {
    margin: 0;
    border-radius: 15px;
    aspect-ratio: 12/18 ;
    overflow: hidden;
}

.corporate-inline-media .placeholder-image span {
    display: block;
    width: 100%;
    height: 100%;
}

.corporate-inline-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* First Timers Inline Image */
.ft-inline-image {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.ft-inline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* First Timers Medal Banner */
.ft-medal-banner {
    width: 100%;
    aspect-ratio: 4 / 1;
    overflow: hidden;
}

.ft-medal-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Package Card Media */
.package-media {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.package-media .placeholder-image {
    margin: 0;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.package-media .placeholder-image span {
    display: block;
    width: 100%;
    height: 100%;
}

.package-media .placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.package-media.video {
    background: linear-gradient(135deg, var(--light-blue) 0%, #C5E4F3 100%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* Handle images directly in package-media (without placeholder-image wrapper) */
.package-media > span {
    display: block;
    width: 100%;
    height: 100%;
}

.package-media > span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.package-media .video-clip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-media .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    z-index: 2;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.package-media.video:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Corporate Inline Gallery */
.corporate-inline-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.inline-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    aspect-ratio: 4 / 3;
}

.inline-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.inline-gallery-item .placeholder-image {
    margin: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.inline-gallery-item .placeholder-image span {
    display: block;
    width: 100%;
    height: 100%;
}

.inline-gallery-item .placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inline-gallery-item.video {
    background: linear-gradient(135deg, var(--light-blue) 0%, #C5E4F3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.inline-gallery-item .video-clip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inline-gallery-item .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
    z-index: 2;
}

.inline-gallery-item.video:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 600px) {
    .corporate-inline-gallery {
        grid-template-columns: 1fr;
    }
}

/* Getting There Section */
.getting-there {
    padding: 6rem 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.location-info .address {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--light-blue);
    border-radius: 10px;
    text-align: center;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.transport-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.transport-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.transport-item strong {
    display: block;
    color: var(--dark-blue);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.transport-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.location-image-placeholder .placeholder-image {
    height: 180px;
    border-radius: 10px;
}

.location-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.map-container {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue) 0%, #C5E4F3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.95rem;
    padding: 2rem;
    text-align: center;
    border: 3px dashed var(--primary-color);
    border-radius: 15px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show overlay when iframe fails to load */
.map-container:not(:has(iframe[src])) .map-placeholder-overlay,
.google-map:not([src]) + .map-placeholder-overlay {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Carousel on tablets - show 2 cards */
    .pricing-grid.carousel-track .pricing-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }

    .special-grid.carousel-track .special-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 968px) {
    /* Loom-style mobile nav - slides down below navbar */
    .nav-menu {
        position: fixed;
        top: 160px;
        left: 0;
        width: 100%;
        height: calc(100vh - 160px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        overflow-y: auto;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

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

    .nav-menu li {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
        width: 100%;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation delays */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.4s; }

    /* Show mobile CTA on mobile */
    .nav-menu .mobile-cta {
        display: block;
    }

    .nav-menu li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--text-dark);
        text-align: left;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        margin: 0;
        border-radius: 0;
    }

    /* Arrow pointing right - positioned on the right side */
    .nav-menu li a::after {
        content: '→';
        position: static;
        width: auto;
        height: auto;
        background: none;
        font-size: 1.2rem;
        color: var(--primary-color);
        transition: transform 0.3s ease;
        margin-left: auto;
        flex-shrink: 0;
    }

    .nav-menu li a:hover::after {
        transform: translateX(5px);
    }

    .nav-menu li a.active {
        color: var(--primary-color);
        background: rgba(220, 38, 38, 0.05);
    }

    /* Hide arrow on active/current page */
    .nav-menu li a.active::after {
        content: none;
    }

    /* Hamburger to X animation */
    .hamburger {
        display: flex;
        z-index: 999;
        width: 28px;
        height: 20px;
        position: relative;
    }

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    /* X animation when active */
    .hamburger.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger.active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    /* Hide navbar CTA on mobile */
    .cta-button {
        display: none;
    }

    .nav-logo {
        height: 96px;
    }

    body.inner-page .nav-logo {
        height: 48px;
    }

    .page-header {
        margin-top: 160px;
    }

    /* Floating sticky CTA button - bottom right */
    .floating-cta {
        display: flex;
        align-items: center;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 998;
        gap: 8px;
    }

    .floating-cta .cta-link {
        display: flex;
        align-items: center;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
        font-weight: 600;
        border-radius: 50px;
        white-space: nowrap;
        background: var(--gradient-primary);
        color: white;
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(98, 93, 245, 0.4);
        transition: all 0.3s ease;
    }

    .floating-cta .cta-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(98, 93, 245, 0.5);
    }

    .floating-cta .cta-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: var(--bg-dark);
        border: none;
        border-radius: 50%;
        font-size: 1rem;
        color: var(--text-dark);
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        transition: all 0.2s ease;
    }

    .floating-cta .cta-close:hover {
        background: var(--text-dark);
        color: white;
    }

    .floating-cta.dismissed {
        display: none !important;
    }

    /* Mobile CTA in nav menu */
    .nav-menu .mobile-cta {
        margin-top: 1.5rem;
        padding: 0 2rem;
    }

    .nav-menu .mobile-cta a {
        display: block !important;
        justify-content: center !important;
        padding: 1rem 2.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 600;
        background: var(--gradient-primary);
        color: white !important;
        border: none !important;
        border-bottom: none !important;
        margin: 0 !important;
        border-radius: 50px;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-menu .mobile-cta a::after {
        display: none !important;
    }

    .nav-menu .mobile-cta a:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
        background: var(--gradient-primary) !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-right {
        order: -1;
    }

    .hero-video-card {
        max-width: 500px;
        margin: 0 auto;
        transform: none;
    }

    .hero-video-card:hover {
        transform: none;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 0.75rem 1rem;
        margin-top: 160px;
    }

    .page-header h2 {
        font-size: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Carousel responsive styles */
    .pricing-grid.carousel-track .pricing-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .special-grid.carousel-track .special-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: 0;
    }

    .timeline-item {
        padding-left: 50px;
    }

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

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.large .placeholder-image {
        min-height: 250px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }

    /* Timeline with images - tablet */
    .timeline-with-images::before {
        left: 30px;
        transform: none;
    }

    .timeline-with-images .timeline-item {
        display: flex;
        flex-direction: column;
        padding-left: 80px;
    }

    .timeline-with-images .timeline-item.image-left .timeline-image {
        order: 2;
    }

    .timeline-with-images .timeline-item.image-left .timeline-content {
        order: 1;
    }

    .timeline-with-images .timeline-marker {
        position: absolute;
        left: 20px;
    }

    .timeline-with-images .timeline-content,
    .timeline-with-images .timeline-item.image-right .timeline-content,
    .timeline-with-images .timeline-item.image-left .timeline-content,
    .timeline-with-images .timeline-item:not(.has-image) .timeline-content {
        text-align: left;
    }

    .timeline-image {
        margin-top: 1.5rem;
        max-width: 100%;
    }

    .timeline-item.image-right .timeline-image,
    .timeline-item.image-left .timeline-image {
        justify-self: start;
    }

    /* Container & layout padding - tablet */
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding: 3rem 1.5rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    /* Font size reductions - tablet */
    .section-title {
        font-size: 2.2rem;
    }

    .pricing-price .price {
        font-size: 2.8rem;
    }

    .about-text h3,
    .content-main h3,
    .pricing-intro h3 {
        font-size: 2rem;
    }

    /* Card padding - tablet */
    .info-card {
        padding: 2rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    /* Special pricing grid - tablet */
    .special-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Included items grid - tablet */
    .included-grid {
        gap: 1.5rem;
    }

    .included-item {
        flex: 1 1 calc(50% - 1rem);
    }

    /* Alternating sections - tablet */
    .alternating-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .alternating-row.reverse {
        direction: ltr;
    }

    .alternating-image img,
    .alternating-image video {
        max-height: 350px;
        object-fit: cover;
        border-radius: var(--radius-lg);
    }

    /* Three column gallery - tablet */
    .three-col-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Values grid - tablet */
    .values-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Community sidebar section - tablet */
    .community-sidebar-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Book form - larger touch targets */
    .book-form input,
    .book-form select,
    .book-form textarea {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    /* Remove red gradient background on mobile */
    body.index-page {
        background: #0F172A;
    }

    /* Hero video as full background on mobile */
    .hero {
        position: relative;
        overflow: hidden;
        background: transparent;
        margin-top: 0;
    }

    .hero-background {
        display: none;
    }

    .hero-video-section {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .hero-video-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        aspect-ratio: unset;
        transform: none;
        box-shadow: none;
    }

    .hero-video-card::before {
        display: none;
    }

    .hero-video-card .hero-video {
        object-fit: cover;
    }

    /* Dark overlay for text readability */
    .hero-video-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.7) 100%
        );
        z-index: 1;
    }

    .hero-text-section {
        position: relative;
        z-index: 2;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-item .placeholder-image,
    .gallery-item.large .placeholder-image {
        min-height: 200px;
    }

    .map-container {
        height: 300px;
    }

    /* Container & layout padding - mobile */
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    /* Image heights - mobile */
    .about-main-image {
        height: 300px;
    }

    /* Reorder about section: text first, image second on mobile */
    .about-text {
        order: 1;
    }

    .about-image {
        order: 2;
    }

    /* Font sizes - mobile */
    .pricing-price .price {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 0.75rem 1rem;
        margin-top: 160px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
    }

    .page-header .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .page-header h2 {
        font-size: 2.5rem;
        text-align: center;
        margin: 0 auto 0.5rem;
    }

    .page-header p {
        text-align: center;
        margin: 0;
    }

    .about-text h3 {
        font-size: 1.8rem;
        color: var(--primary-color);
        text-align: center;
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.5), 0 0 40px rgba(220, 38, 38, 0.3);
    }

    .content-main h3,
    .pricing-intro h3 {
        font-size: 1.8rem;
    }

    /* Force single-column grids - mobile */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col:first-child {
        text-align: center;
    }

    .footer-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .included-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Card padding - mobile */
    .info-card {
        padding: 1.5rem;
    }

    .schedule-card {
        padding: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .faq-item {
        padding: 1rem;
    }

    /* Gap reductions - mobile */
    .cards-grid {
        gap: 1rem;
    }

    .about-features {
        gap: 1rem;
    }

    /* Navigation - mobile improvements */
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .nav-menu li a {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    /* Hero section - mobile */
    .hero {
        min-height: auto;
        padding-top: 160px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .stat {
        text-align: center;
        width: 100%;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
    }

    /* Hero video - mobile */
    .hero-video-card {
        border-radius: var(--radius-md);
    }

    .hero-video {
        border-radius: var(--radius-md);
    }

    /* Buttons - larger touch targets */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
    }

    /* Form inputs - larger touch targets */
    .book-form input,
    .book-form select,
    .book-form textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }

    .book-form select {
        min-height: 48px;
    }

    .book-form button {
        padding: 1rem;
        min-height: 52px;
        font-size: 1rem;
    }

    /* Section padding - mobile */
    .about,
    .for-everyone,
    .schedule,
    .book-section,
    .getting-there {
        padding: 3rem 0;
    }

    .gallery-section {
        padding: 3rem 0;
    }

    /* Pricing cards - mobile */
    .pricing-header h4 {
        font-size: 1.3rem;
    }

    .pricing-card p {
        font-size: 0.95rem;
    }

    /* Special cards - mobile */
    .special-card {
        padding: 1.5rem;
    }

    .special-price {
        font-size: 1.5rem;
    }

    /* Info cards - mobile */
    .info-card .card-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }

    .info-card h4 {
        font-size: 1.2rem;
    }

    .info-card p {
        font-size: 0.95rem;
    }

    /* Schedule cards - mobile */
    .schedule-card .day {
        font-size: 1.1rem;
    }

    .schedule-card .time {
        font-size: 1rem;
    }

    /* Included items - mobile */
    .included-grid {
        gap: 1rem;
    }

    .included-item {
        padding: 1rem;
    }

    .included-icon {
        font-size: 1.8rem;
    }

    .included-item h5 {
        font-size: 1rem;
    }

    .included-item p {
        font-size: 0.9rem;
    }

    /* Community intro - mobile */
    .community-intro {
        padding: 2.5rem 1rem;
    }

    .community-intro h3 {
        font-size: 1.8rem;
    }

    .community-intro p {
        font-size: 1rem;
    }

    /* Alternating sections - mobile */
    .alternating-section {
        padding: 2.5rem 0;
    }

    .alternating-row {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .alternating-content h4 {
        font-size: 1.5rem;
    }

    .alternating-content p {
        font-size: 1rem;
    }

    .alternating-content ul li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }

    .alternating-image img,
    .alternating-image video {
        min-height: 250px;
        max-height: 300px;
    }

    /* Values cards - mobile */
    .values-grid-new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-emoji {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    /* CTA section - mobile */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-section h3 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Book section - mobile */
    .book-content h3 {
        font-size: 1.8rem;
    }

    /* Testimonials - mobile */
    .testimonial {
        font-size: 1rem;
        padding: 1.5rem;
    }

    /* Gallery carousel - mobile */
    .gallery-carousel-card {
        border-radius: var(--radius-md);
    }

    .gallery-card-overlay span {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Location section - mobile */
    .location-info h4 {
        font-size: 1.3rem;
    }

    .transport-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0.5rem;
    }

    .transport-icon {
        font-size: 2rem;
        display: flex;
        justify-content: center;
    }

    /* Footer - mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-col h4 {
        font-size: 1.3rem;
    }

    .footer-col h5 {
        font-size: 1.1rem;
    }

    .footer-col p,
    .footer-col li a {
        font-size: 0.95rem;
    }

    /* Sidebar cards - mobile */
    .sidebar-card {
        padding: 1.5rem;
    }

    .sidebar-card h4 {
        font-size: 1.1rem;
    }

    /* Page header - mobile */
    .page-header {
        padding: 0.75rem 1rem;
        margin-top: 160px;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 0rem;
    }

    /* Corporate page - mobile */
    .corporate-inline-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefits-grid {
        gap: 1rem;
    }

    .benefit-card .benefit-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    /* Package cards - mobile */
    .package-card h5 {
        font-size: 1.2rem;
    }

    .package-info {
        font-size: 0.9rem;
    }

    /* Timeline - mobile */
    .timeline-item {
        padding-left: 40px;
    }

    .timeline-content h4 {
        font-size: 1.3rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }
}

/* ==========================================
   COMMUNITY PAGE - MODERN LAYOUT
   ========================================== */

/* Full-width hero banner */
.community-hero-banner {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.community-hero-banner .placeholder-image {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-hero-banner img,
.community-hero-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-hero-banner .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0, 52, 89, 0.8));
    color: white;
    text-align: center;
}

.community-hero-banner .hero-overlay h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.community-hero-banner .hero-overlay p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Centered intro section */
.community-intro {
    padding: 5rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-intro h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.community-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Alternating sections */
.alternating-section {
    padding: 5rem 0;
}

.alternating-section:nth-child(even) {
    background: var(--light-blue);
}

.alternating-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.alternating-row.reverse {
    direction: rtl;
}

.alternating-row.reverse > * {
    direction: ltr;
}

.alternating-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.alternating-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.alternating-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.alternating-content ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 168, 232, 0.1);
}

.alternating-content ul li:last-child {
    border-bottom: none;
}

.alternating-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
}

.alternating-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
}

.alternating-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.alternating-image .placeholder-image {
    min-height: 350px;
    margin: 0;
    border-radius: 0;
}

.alternating-image img,
.alternating-image video {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    display: block;
}

.alternating-video {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.alternating-video video {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    display: block;
}

/* Full-width image break */
.full-width-image-break {
    width: 100%;
    height: 50vh;
    min-height: 300px;
    max-height: 500px;
    position: relative;
    overflow: hidden;
}

.full-width-image-break .placeholder-image {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
}

.full-width-image-break img,
.full-width-image-break video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-width-image-break .image-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Community profiles grid */
.profiles-section {
    padding: 5rem 0;
    background: var(--white);
}

.profiles-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.profiles-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.profiles-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.profile-card-new {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.profile-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.profile-card-new .profile-image {
    height: 200px;
    overflow: hidden;
}

.profile-card-new .profile-image .placeholder-image {
    height: 100%;
    margin: 0;
    border-radius: 0;
}

.profile-card-new .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card-new .profile-content {
    padding: 1.5rem;
    text-align: center;
}

.profile-card-new .profile-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-card-new h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.profile-card-new p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Community values - centered grid */
.values-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-purple) 50%, var(--light-teal) 100%);
}

.values-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.values-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 3rem;
}

.values-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:nth-child(1)::before { background: var(--accent-purple); }
.value-card:nth-child(2)::before { background: var(--accent-teal); }
.value-card:nth-child(3)::before { background: var(--accent-pink); }
.value-card:nth-child(4)::before { background: var(--accent-orange); }

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card .value-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.value-card:nth-child(1) .value-emoji { background: var(--light-purple); }
.value-card:nth-child(2) .value-emoji { background: var(--light-teal); }
.value-card:nth-child(3) .value-emoji { background: var(--light-pink); }
.value-card:nth-child(4) .value-emoji { background: #FFF7ED; }

.value-card:hover .value-emoji {
    transform: scale(1.1) rotate(-5deg);
}

.value-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Member stories section */
.stories-section {
    padding: 5rem 0;
    background: var(--white);
}

.stories-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stories-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 3rem;
}

.story-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--light-blue);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.story-card:nth-child(even) {
    direction: rtl;
}

.story-card:nth-child(even) > * {
    direction: ltr;
}

.story-card:nth-child(even) .story-content {
    text-align: right;
}

.story-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.story-image .placeholder-image {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 50%;
}

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

.story-content blockquote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.story-content cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* Sidebar section for community */
.community-sidebar-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-blue) 100%);
}

.community-sidebar-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.community-main-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.community-main-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.community-main-content ul {
    list-style: none;
    padding: 0;
}

.community-main-content ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-light);
}

.community-main-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* Three column image gallery */
.three-col-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.three-col-gallery .gallery-item-new {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.three-col-gallery .gallery-item-new:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.three-col-gallery .gallery-item-new .placeholder-image {
    width: 100%;
    height: 100%;
    min-height: unset;
    margin: 0;
    border-radius: 0;
}

.three-col-gallery .gallery-item-new {
    aspect-ratio: 4 / 3;
}

.three-col-gallery .gallery-item-new img,
.three-col-gallery .gallery-item-new video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Upcoming events section */
.upcoming-events-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-blue) 100%);
    text-align: center;
}

.upcoming-events-section .section-title {
    margin-bottom: 2rem;
}

/* Events video container - large portrait video */
.events-video-container {
    width: 100%;
    max-width: 400px;
    margin: 1.5rem 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.events-video-container.centered {
    margin: 0 auto;
}

.events-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    background: var(--bg-dark);
}

/* Responsive for community page */
@media (max-width: 968px) {
    .community-hero-banner {
        height: 50vh;
        min-height: 300px;
    }

    .community-hero-banner .hero-overlay h2 {
        font-size: 2rem;
    }

    .alternating-row {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .alternating-row.reverse {
        direction: ltr;
        flex-direction: column-reverse;
    }

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

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

    .story-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-card:nth-child(even) {
        direction: ltr;
    }

    .story-card:nth-child(even) .story-content {
        text-align: center;
    }

    .story-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .story-content blockquote {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--primary-color);
        padding-top: 1rem;
    }

    .community-sidebar-grid {
        grid-template-columns: 1fr;
    }

    .three-col-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .community-intro h3 {
        font-size: 2rem;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
    }

    .values-grid-new {
        grid-template-columns: 1fr;
    }

    .three-col-gallery {
        grid-template-columns: 1fr;
    }

    .full-width-image-break {
        height: 40vh;
        min-height: 250px;
    }

    /* Community hero - mobile */
    .community-hero-banner .hero-overlay h2 {
        font-size: 1.6rem;
    }

    .community-hero-banner .hero-overlay p {
        font-size: 1rem;
    }

    .community-hero-banner .hero-overlay {
        padding: 2rem 1rem;
    }

    /* Alternating image/video - mobile */
    .alternating-image {
        aspect-ratio: 16 / 9;
    }

    .alternating-image .placeholder-image,
    .alternating-image img,
    .alternating-image video,
    .alternating-video video {
        width: 100%;
        height: 100%;
        min-height: unset;
        object-fit: cover;
    }

    .alternating-image video.video-teamstart {
        object-position: center 70%;
    }

    /* Alternating row padding - mobile */
    .alternating-row {
        padding: 0 1rem;
    }

    .community-intro {
        padding: 3rem 1rem;
    }

    /* Events video - mobile */
    .events-video-container {
        max-width: 100%;
    }
}

/* ==========================================
   VERY SMALL PHONES (480px and below)
   ========================================== */
@media (max-width: 480px) {
    .container,
    .profiles-section .container,
    .values-section .container,
    .stories-section .container,
    .alternating-row {
        padding: 0 0.75rem;
    }

    /* Navigation - very small phones */
    .logo h1 {
        font-size: 0.95rem;
    }

    .nav-container {
        padding: 0.5rem 0.75rem;
    }

    /* Hero - very small phones */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-content {
        padding: 1.5rem 0.75rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

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

    /* Buttons - very small phones */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }

    /* Page header - very small phones */
    .page-header {
        padding: 0.75rem 1rem;
        margin-top: 60px;
        min-height: auto;
    }

    .page-header h2 {
        font-size: 2rem;
        margin: 0 auto 0.5rem;
    }

    .page-header p {
        font-size: 1rem;
        margin: 0;
    }

    /* About section - very small phones */
    .about {
        padding: 2.5rem 0;
    }

    .about-main-image {
        height: 200px;
        border-radius: 12px;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    /* Heading reductions - very small phones */
    .content-main h3,
    .pricing-intro h3 {
        font-size: 1.4rem;
    }

    .content-main h4 {
        font-size: 1.2rem;
    }

    /* Pricing - very small phones */
    .pricing-price .price {
        font-size: 1.8rem;
    }

    .pricing-price .period {
        font-size: 0.85rem;
    }

    .pricing-header h4 {
        font-size: 1.2rem;
    }

    .pricing-card p {
        font-size: 0.9rem;
    }

    /* Card padding - very small phones */
    .info-card,
    .benefit-card,
    .package-card,
    .schedule-card,
    .pricing-card {
        padding: 1rem;
    }

    /* Info cards - very small phones */
    .info-card .card-icon {
        font-size: 1.75rem;
        width: 50px;
        height: 50px;
    }

    .info-card h4 {
        font-size: 1.1rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }

    /* Schedule cards - very small phones */
    .schedule-card .day {
        font-size: 1rem;
    }

    .schedule-card .time {
        font-size: 0.9rem;
    }

    .schedule-card .type {
        font-size: 0.8rem;
    }

    /* Special cards - very small phones */
    .special-card {
        padding: 1.25rem;
    }

    .special-icon {
        font-size: 2rem;
    }

    .special-card h5 {
        font-size: 1.1rem;
    }

    .special-price {
        font-size: 1.3rem;
    }

    /* Included items - very small phones */
    .included-icon {
        font-size: 1.5rem;
    }

    .included-item h5 {
        font-size: 0.95rem;
    }

    .included-item p {
        font-size: 0.85rem;
    }

    /* FAQ - very small phones */
    .faq-item {
        padding: 0.875rem;
    }

    .faq-item strong {
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* Community - very small phones */
    .community-hero-banner {
        min-height: 220px;
    }

    .community-hero-banner .hero-overlay {
        padding: 1.5rem 1rem;
    }

    .community-hero-banner .hero-overlay h2 {
        font-size: 1.2rem;
    }

    .community-hero-banner .hero-overlay p {
        font-size: 0.9rem;
    }

    .community-intro {
        padding: 2rem 0.75rem;
    }

    .community-intro h3 {
        font-size: 1.5rem;
    }

    .community-intro p {
        font-size: 0.95rem;
    }

    /* Alternating sections - very small phones */
    .alternating-section {
        padding: 2rem 0;
    }

    .alternating-content h4 {
        font-size: 1.3rem;
    }

    .alternating-content p {
        font-size: 0.95rem;
    }

    .alternating-image {
        aspect-ratio: 4 / 3;
    }

    .alternating-image img,
    .alternating-image video {
        width: 100%;
        height: 100%;
        min-height: unset;
        max-height: unset;
        object-fit: cover;
    }

    /* Values - very small phones */
    .value-card {
        padding: 1.25rem;
    }

    .value-emoji {
        font-size: 1.75rem;
        width: 45px;
        height: 45px;
    }

    .value-card h5 {
        font-size: 1rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    /* CTA - very small phones */
    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* Book section - very small phones */
    .book-section {
        padding: 2.5rem 0;
    }

    .book-content h3 {
        font-size: 1.5rem;
    }

    .book-content p {
        font-size: 0.95rem;
    }

    .book-form input,
    .book-form select,
    .book-form textarea {
        font-size: 16px;
        padding: 0.875rem;
    }

    /* Gallery carousel - very small phones */
    .gallery-carousel-card {
        aspect-ratio: 4 / 3;
    }

    .gallery-carousel-card img,
    .gallery-carousel-card video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-card-overlay span {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    /* Location - very small phones */
    .getting-there {
        padding: 2.5rem 0;
    }

    .location-info h4 {
        font-size: 1.2rem;
    }

    .location-info p {
        font-size: 0.9rem;
    }

    .map-container {
        height: 250px;
    }

    /* Testimonials - very small phones */
    .testimonial {
        font-size: 0.95rem;
        padding: 1.25rem;
    }

    .testimonial cite {
        font-size: 0.85rem;
    }

    /* Sidebar - very small phones */
    .sidebar-card {
        padding: 1.25rem;
    }

    .sidebar-card h4 {
        font-size: 1rem;
    }

    .sidebar-card p {
        font-size: 0.9rem;
    }

    /* Benefit cards - very small phones */
    .benefit-card .benefit-icon {
        font-size: 1.75rem;
        width: 45px;
        height: 45px;
    }

    .benefit-card h5 {
        font-size: 1rem;
    }

    .benefit-card p {
        font-size: 0.9rem;
    }

    /* Package cards - very small phones */
    .package-card h5 {
        font-size: 1.1rem;
    }

    .package-card p {
        font-size: 0.9rem;
    }

    .package-info {
        font-size: 0.85rem;
    }

    /* Timeline - very small phones */
    .timeline-marker {
        width: 14px;
        height: 14px;
    }

    .timeline-content h4 {
        font-size: 1.15rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Footer - very small phones */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-col h4 {
        font-size: 1.15rem;
    }

    .footer-col h5 {
        font-size: 1rem;
    }

    .footer-col p,
    .footer-col li a {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Sponsor badge - very small phones */
    .sponsor-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }

    /* Three column gallery - very small phones */
    .three-col-gallery .gallery-item-new {
        aspect-ratio: 16 / 9;
    }

    .three-col-gallery .gallery-item-new img,
    .three-col-gallery .gallery-item-new video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ==========================================
   SMALLEST PHONES (320px and below)
   ========================================== */
@media (max-width: 320px) {
    .container,
    .alternating-row {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .page-header {
        padding: 0.75rem 1rem;
        min-height: auto;
    }

    .page-header h2 {
        font-size: 1.75rem;
        margin: 0 auto 0.5rem;
    }

    .about-text h3,
    .content-main h3,
    .pricing-intro h3,
    .book-content h3,
    .cta-section h3 {
        font-size: 1.25rem;
    }

    .pricing-price .price {
        font-size: 1.6rem;
    }

    .info-card,
    .benefit-card,
    .package-card,
    .schedule-card,
    .pricing-card,
    .special-card,
    .value-card {
        padding: 0.875rem;
    }

    .info-card .card-icon,
    .benefit-card .benefit-icon,
    .value-emoji {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .nav-container {
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 0.85rem;
    }

    .hamburger span {
        width: 22px;
    }

    .gallery-carousel-card img,
    .gallery-carousel-card video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .map-container {
        height: 220px;
    }

    .about-main-image {
        height: 180px;
    }

    .alternating-image {
        aspect-ratio: 4 / 3;
    }

    .alternating-image img,
    .alternating-image video {
        width: 100%;
        height: 100%;
        min-height: unset;
        max-height: unset;
        object-fit: cover;
    }
}

/* =============================================
   LEGACY PAGE
   ============================================= */

body.legacy-page {
    background: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Hero */
.legacy-hero {
    position: relative;
    height: 88vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.legacy-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/legacy_team.png');
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.legacy-hero-bg.loaded {
    transform: scale(1);
}

.legacy-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10,10,10,0.3) 0%,
        rgba(10,10,10,0.15) 40%,
        rgba(10,10,10,0.6) 80%,
        rgba(10,10,10,0.85) 100%
    );
}

.legacy-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #EF4444;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.legacy-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.legacy-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

.legacy-hero-intro {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: rgba(255,255,255,0.85);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    font-family: 'Outfit', sans-serif;
}

.scroll-arrow {
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    transform: rotate(45deg);
    animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.3; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 0.8; }
}

/* Story wrapper */
.legacy-story {
    position: relative;
    background: #ffffff;
}

/* Decorative path SVG */
.story-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: multiply;
    overflow: visible;
}

#story-line {
    fill: none;
    stroke: #CBD5E1;
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 1;
}

#story-circle {
    fill: #FF1A1A;
    animation: circleGlow 1.6s ease-in-out infinite;
}

@keyframes circleGlow {
    0%, 100% {
        filter:
            drop-shadow(0 0 3px #FF1A1A)
            drop-shadow(0 0 8px rgba(220, 38, 38, 0.5));
    }
    50% {
        filter:
            drop-shadow(0 0 7px #FF1A1A)
            drop-shadow(0 0 18px #FF1A1A)
            drop-shadow(0 0 32px rgba(220, 38, 38, 0.7));
    }
}

/* Story sections */
.story-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.story-section:nth-child(even) {
    background: #F8FAFC;
}

.story-section:nth-child(odd) {
    background: #ffffff;
}

.story-inner {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.story-section.img-left .story-inner {
    flex-direction: row;
}

.story-section.img-right .story-inner {
    flex-direction: row-reverse;
}

.story-image-panel {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.story-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 1.4s ease;
}

.story-section.img-left .story-image-panel img {
    transform: scale(1.06) translateX(-28px);
}

.story-section.img-right .story-image-panel img {
    transform: scale(1.06) translateX(28px);
}

.story-section.in-view .story-image-panel img {
    transform: scale(1) translateX(0);
}

.story-image-secondary {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    width: 200px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}

.story-section.img-right .story-image-secondary {
    right: auto;
    left: -1rem;
    transform: translateX(-20px);
}

.story-section.in-view .story-image-secondary {
    transform: translateX(0);
    opacity: 1;
}

.story-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
}

.story-text-panel {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    padding: 5rem 4.5rem 5rem 5rem;
    position: relative;
}

.story-section.img-right .story-text-panel {
    padding: 5rem 5rem 5rem 4.5rem;
}

.story-text-inner {
    max-width: 420px;
    position: relative;
    z-index: 11;
}

.story-section-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.6s ease 0.1s;
}

.story-section.in-view .story-section-tag {
    opacity: 1;
    transform: translateY(0);
}

.story-accent {
    width: 36px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.6s ease 0.15s;
}

.story-section.in-view .story-accent {
    opacity: 1;
    transform: scaleX(1);
}

.story-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(22px);
    transition: all 0.7s ease 0.2s;
}

.story-section.in-view .story-headline {
    opacity: 1;
    transform: translateY(0);
}

.story-body {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(22px);
    transition: all 0.7s ease 0.35s;
}

.story-section.in-view .story-body {
    opacity: 1;
    transform: translateY(0);
}

.story-body p {
    margin-bottom: 0.9rem;
}

.story-body p:last-child {
    margin-bottom: 0;
}

.story-body em {
    color: var(--text-muted);
    font-style: italic;
}

.story-number {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(220,38,38,0.05);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    opacity: 0;
    transform: scale(1.5) translateY(-12px);
    transition: opacity 1.1s ease 0.7s, transform 1.1s ease 0.7s;
}

.story-section.in-view .story-number {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.story-section.img-right .story-number {
    right: auto;
    left: 2.5rem;
}

/* Leadership section */
.leadership-section {
    background: var(--gray-50);
    padding: 7rem 2rem;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.leadership-eyebrow {
    font-size: 0.68rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.leadership-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.leadership-section.in-view .leadership-title {
    opacity: 1;
    transform: translateY(0);
}

.leadership-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto 4rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.leadership-section.in-view .leadership-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.leadership-cards {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 920px;
    margin: 0 auto;
}

.leader-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.7s ease;
}

.leader-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.leader-card:last-child {
    transition-delay: 0.18s;
}

.leader-portrait {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
}

.leader-portrait-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 1.25rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transform: scale(0.7);
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
}

.leader-card.in-view .leader-portrait-img {
    transform: scale(1);
}

.leader-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.leader-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.leader-bio {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.leader-quote {
    border-left: none;
    border-top: 3px solid var(--primary-color);
    padding-left: 0;
    padding-top: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* Final section */
.legacy-final {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.legacy-final-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.legacy-final-bg picture,
.legacy-final-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.legacy-final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10,10,10,0.75) 0%,
        rgba(10,10,10,0.55) 50%,
        rgba(10,10,10,0.82) 100%
    );
}

.legacy-final-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 640px;
}

.final-eyebrow {
    font-size: 0.68rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #EF4444;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.7s ease;
}

.final-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(22px);
    transition: all 0.7s ease 0.12s;
}

.final-body {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2.25rem;
    opacity: 0;
    transform: translateY(22px);
    transition: all 0.7s ease 0.24s;
}

.legacy-final.in-view .final-eyebrow,
.legacy-final.in-view .final-title,
.legacy-final.in-view .final-body {
    opacity: 1;
    transform: translateY(0);
}

.btn-legacy {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 2.25rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease,
                opacity 0.7s ease 0.36s, transform 0.7s ease 0.36s;
    opacity: 0;
    transform: translateY(16px);
}

.btn-legacy:hover {
    background: transparent;
    border-color: #EF4444;
    color: #EF4444;
}

.legacy-final.in-view .btn-legacy {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Legacy responsive */
@media (max-width: 900px) {
    .story-path-svg {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .legacy-hero-content {
        margin-bottom: 20vh;
    }

    .story-section {
        min-height: auto;
    }

    .story-inner {
        flex-direction: column !important;
    }

    .story-image-panel {
        flex: none;
        height: 60vw;
        min-height: 240px;
        width: 100%;
    }

    .story-text-panel {
        flex: none;
        width: 100%;
        padding: 3rem 1.75rem;
    }

    .story-section.img-right .story-text-panel {
        padding: 3rem 1.75rem;
    }

    .story-text-inner {
        max-width: 100%;
    }

    .story-number {
        display: none;
    }

    .story-image-secondary {
        display: none;
    }

    .legacy-final-bg img {
        object-position:top;
    }

    /* Slow all legacy transitions by 0.5s on mobile */
    .legacy-hero-bg {
        transition: transform 8.5s ease;
    }

    .hero-eyebrow {
        animation-duration: 1.3s;
    }

    .legacy-hero-title {
        animation-duration: 1.3s;
    }

    .legacy-hero-subtitle {
        animation-duration: 1.3s;
    }

    .legacy-hero-intro {
        animation-duration: 1.3s;
    }

    .story-image-panel img {
        transition: transform 1.9s ease;
    }

    .story-section-tag {
        transition: all 1.1s ease 0.1s;
    }

    .story-accent {
        transition: all 1.1s ease 0.15s;
    }

    .story-headline {
        transition: all 1.2s ease 0.2s;
    }

    .story-body {
        transition: all 1.2s ease 0.35s;
    }

    .leadership-title {
        transition: opacity 1.2s ease, transform 1.2s ease;
    }

    .leadership-subtitle {
        transition: opacity 1.2s ease 0.15s, transform 1.2s ease 0.15s;
    }

    .leader-card {
        transition: all 1.2s ease;
    }

    .leader-portrait-img {
        transition: transform 1.05s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
    }

    .final-eyebrow {
        transition: all 1.2s ease;
    }

    .final-title {
        transition: all 1.2s ease 0.12s;
    }

    .final-body {
        transition: all 1.2s ease 0.24s;
    }

    .btn-legacy {
        transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease,
                    opacity 1.2s ease 0.36s, transform 1.2s ease 0.36s;
    }
    
}

