/* =========================================
   RDD Elite Tennis Academy - Stylesheet
   AS Performance-Inspired Design
   Light Theme with Blue Accents
   ========================================= */

/* -------------------------
   CSS Variables (Design Tokens)
   Based on AS Performance Tennis
   ------------------------- */
:root {
    /* Primary Colors - Premium Blue Palette */
    --color-primary: #0066cc;
    --color-primary-dark: #004d99;
    --color-primary-light: #4da6ff;
    --color-secondary: #3d4f5f;
    --color-accent: #00d4aa;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a3cc 100%);
    --gradient-accent: linear-gradient(135deg, #0066cc 0%, #00d4aa 100%);

    /* Background Colors */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f7f9fc;
    --color-bg-dark: #0f1624;
    --color-bg-card: #ffffff;
    --color-bg-elevated: #f0f4f8;

    /* Text Colors */
    --color-text-primary: #1a202c;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-text-light: #ffffff;
    --color-text-accent: #0066cc;

    /* Borders & Premium Shadows */
    --color-border: #e2e8f0;
    --color-border-light: #edf2f7;
    --shadow-sm: 0 1px 3px rgba(0, 102, 204, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 102, 204, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 102, 204, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 50px rgba(0, 102, 204, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.25);

    /* Typography */
    --font-primary:
        "Work Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    --font-display: "Work Sans", "Inter", sans-serif;

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

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
}

/* -------------------------
   Reset & Base Styles
   ------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* -------------------------
   Container
   ------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* -------------------------
   Typography
   ------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

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

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* -------------------------
   Buttons
   ------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-light);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004d99 0%, #0088cc 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--color-text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-text-light);
    transform: translateY(-3px);
}

/* -------------------------
   Navigation
   ------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: -0.02em;
}

.navbar.scrolled .logo-text {
    color: var(--color-text-primary);
}

.logo-text span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text-secondary);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

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

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--color-primary);
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-light);
    margin: 3px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--color-text-primary);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* -------------------------
   Hero Section - Modern Design
   ------------------------- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(1.2);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 20, 50, 0.7) 0%, rgba(0, 60, 120, 0.5) 50%, rgba(0, 30, 70, 0.65) 100%),
        radial-gradient(ellipse at 20% 50%, rgba(0, 150, 255, 0.1) 0%, transparent 50%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

/* Tagline */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00d4ff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.tagline-icon {
    width: 16px;
    height: 16px;
    color: #00d4ff;
}

/* Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #00ffaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0088ff 0%, #00c8ff 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 136, 255, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 136, 255, 0.6);
}

.btn-hero-primary i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary i {
    width: 16px;
    height: 16px;
}

/* Compact Stats Row */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-mini {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.stat-num {
    font-weight: 700;
    color: #00d4ff;
}

.stat-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
    z-index: 10;
}

.hero-scroll-indicator i {
    width: 24px;
    height: 24px;
}

/* Curved Bottom Edge */
.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: 140px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

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

    40% {
        transform: translateX(-50%) translateY(-8px);
    }

    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* -------------------------
   Section Styles
   ------------------------- */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--color-text-light);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* -------------------------
   Programs Section
   ------------------------- */
.programs {
    background: var(--color-bg-secondary);
    position: relative;
}

/* Slanted top edge - AS Performance style */
.programs::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--color-bg-secondary);
    transform: skewY(-3deg);
    z-index: -1;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.program-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.program-card img {
    height: 180px;
    object-fit: cover;
    object-position: center 30%;
    width: 100%;
    transition: transform var(--transition-slow);
}

/* After-School card: center the group (coach + kids) instead of cropping faces */
.program-card[data-program="after-school"] img {
    object-position: center 50%;
}

.program-card:hover img {
    transform: scale(1.05);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--color-primary);
    border-color: var(--color-primary);
}

.program-card-content {
    padding: var(--spacing-md);
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.program-icon-svg {
    width: 22px;
    height: 22px;
    color: white;
}

.program-card:hover .program-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.program-card:hover .program-icon-svg {
    color: white;
}

.program-number {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-md);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 212, 170, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.program-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.program-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.program-details-mini {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.program-card:hover .program-link svg {
    transform: translateX(5px);
}

/* -------------------------
   Features Section
   ------------------------- */
.features {
    background: var(--color-bg-primary);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-item .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-item .icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-item:hover .icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.feature-item:hover .icon svg {
    color: white;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

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

/* -------------------------
   Locations Section
   ------------------------- */
.locations {
    background: var(--color-bg-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    align-items: stretch;
}

.location-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.location-image {
    height: 200px;
    flex-shrink: 0;
}

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

.location-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.location-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.location-details {
    margin-bottom: var(--spacing-md);
    flex: 1;
    min-height: 0;
}

.location-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.location-detail svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.location-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: auto;
}

.location-actions .btn {
    flex: 1;
    min-width: 140px;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
}

/* -------------------------
   Testimonials Section
   ------------------------- */
.testimonials {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #16213e 100%);
    color: var(--color-text-light);
}

.testimonials .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.testimonials .section-title {
    color: var(--color-text-light);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: #ffc107;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* -------------------------
   Gallery Section - Trio Slideshow
   Large center panel, smaller side panels
   ------------------------- */
.gallery {
    background: var(--color-bg-secondary);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.gallery .section-header {
    margin-bottom: var(--spacing-md);
}

.gallery-slideshow {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Hidden data source for slide images */
.gallery-slides-data {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Trio: left (small) | center (large) | right (small) */
.gallery-trio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.gallery-trio-panel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
    background: var(--color-bg-card);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    flex-shrink: 0;
}

.gallery-trio-panel.trio-left,
.gallery-trio-panel.trio-right {
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.trio-left,
.trio-right {
    width: 18%;
    max-width: 180px;
    aspect-ratio: 4/3;
}

.trio-center {
    width: 58%;
    max-width: 560px;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}

.trio-left:hover,
.trio-right:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.gallery-trio-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    display: block;
}

/* Side panels are buttons for prev/next */
.trio-left,
.trio-right {
    border: none;
    background: none;
    text-align: left;
}

.gallery-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background var(--transition-base), transform var(--transition-base), color var(--transition-base);
}

.gallery-slide-btn:hover {
    background: var(--color-bg-card);
    color: var(--color-primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.gallery-slide-btn svg {
    width: 24px;
    height: 24px;
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: var(--spacing-sm) 0 0;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #94a3b8;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.gallery-dot:hover {
    background: var(--color-primary-light);
}

.gallery-dot.active {
    background: var(--color-primary);
    transform: scale(1.25);
}

/* -------------------------
   Instagram Section
   ------------------------- */
.instagram {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    border-top: 1px solid var(--color-border-light);
}

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

.instagram-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.instagram-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.instagram-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.instagram-card-inner {
    text-align: center;
}

.instagram-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.instagram-card-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.instagram-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.instagram-card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
}

.instagram-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.instagram-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4);
    color: white;
}

.instagram-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.instagram-post {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.instagram-post:hover {
    transform: scale(1.03);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* -------------------------
   Contact Section
   ------------------------- */
.contact {
    background: var(--color-bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.contact-info>p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.contact-method:hover {
    background: var(--color-bg-secondary);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: rgba(1, 112, 185, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.contact-method-text {
    min-width: 0;
    flex: 1;
}

.contact-method-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.contact-method-text span {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 600;
    word-break: break-word;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(1, 112, 185, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: var(--spacing-sm);
}

/* -------------------------
   Footer
   ------------------------- */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-text {
    color: var(--color-text-light);
}

.footer-brand>p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* -------------------------
   Modal Styles
   ------------------------- */
.program-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.program-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.program-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: var(--color-bg-secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-primary);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.modal-close:hover svg {
    color: white;
}

.modal-header {
    padding: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(1, 112, 185, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-icon img,
.modal-icon svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
    color: var(--color-primary);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.modal-body {
    padding: 0 var(--spacing-xl) var(--spacing-lg);
}

.modal-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
}

.modal-detail-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.detail-text strong {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.detail-text span {
    font-size: 0.95rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.modal-highlights h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.modal-highlights ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.modal-highlights li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.modal-footer {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.modal-footer .btn {
    flex: 1;
}

/* -------------------------
   Scroll Animations
   ------------------------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

[data-animate].animate {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------
   Enhanced Responsive Styles
   Device-Friendly Design
   ------------------------- */

/* Large Desktop (1400px+) - Ultra-wide screens */
@media (min-width: 1400px) {
    :root {
        --max-width: 1320px;
    }

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

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

    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Laptop / Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) {
    :root {
        --spacing-3xl: 5rem;
        --spacing-2xl: 3.5rem;
    }

    .hero .container {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--spacing-xl);
    }

    .hero-float-card.card-1 {
        left: -10%;
    }

    .hero-float-card.card-2 {
        right: -5%;
    }

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

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

/* Tablet Landscape / Small Laptop (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --nav-height: 70px;
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
        --spacing-xl: 2.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: var(--spacing-lg);
    }

    .hero-visual {
        display: none;
    }

    .features-list {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    .feature-item {
        padding: var(--spacing-lg);
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-info {
        text-align: left;
    }

    .contact-methods {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .contact-method {
        flex: 0 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) {
    :root {
        --nav-height: 65px;
        --spacing-3xl: 3.5rem;
        --spacing-2xl: 2.5rem;
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-xl);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active a {
        color: var(--color-text-primary) !important;
    }

    .nav-links a {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        padding: 8px;
        border-radius: var(--radius-md);
        transition: background var(--transition-fast);
    }

    .mobile-menu-btn:active {
        background: rgba(0, 0, 0, 0.05);
    }

    .mobile-menu-btn span {
        width: 26px;
        height: 3px;
    }

    /* Hero Section - Tablet */
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + var(--spacing-xl)) 0 var(--spacing-2xl);
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

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

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }

    .stat-item {
        text-align: center;
        flex: 0 0 calc(33.333% - 1rem);
    }

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

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

    /* Programs - Tablet */
    .programs::before {
        top: -40px;
        height: 80px;
    }

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

    .program-card-content {
        padding: var(--spacing-md);
    }

    .program-title {
        font-size: 1.2rem;
    }

    .program-number {
        font-size: 2.5rem;
    }

    /* Features - Tablet */
    .features-list {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .feature-item {
        padding: var(--spacing-md);
    }

    .feature-item .icon {
        width: 60px;
        height: 60px;
    }

    .feature-item .icon svg {
        width: 28px;
        height: 28px;
    }

    /* Gallery - Tablet */
    .gallery-slideshow {
        padding: 0 var(--spacing-md);
    }

    .trio-left,
    .trio-right {
        width: 18%;
        max-width: 140px;
    }

    .trio-center {
        width: 58%;
    }

    .instagram-layout {
        grid-template-columns: 1fr;
    }

    .instagram-posts {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Locations - Tablet */
    .locations-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Testimonials - Tablet */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Contact - Tablet */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-info {
        text-align: left;
    }

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

    /* Footer - Tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-links h4 {
        margin-top: var(--spacing-sm);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    /* Modal - Tablet */
    .modal-content {
        margin: var(--spacing-sm);
        max-height: calc(100vh - 2rem);
    }

    .modal-header {
        padding: var(--spacing-lg);
    }

    .modal-body {
        padding: 0 var(--spacing-lg) var(--spacing-md);
    }

    .modal-footer {
        padding: var(--spacing-md) var(--spacing-lg);
    }
}

/* Mobile / Large Phone (480px - 599px) */
@media (max-width: 599px) {
    :root {
        --nav-height: 60px;
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
        --spacing-xl: 1.75rem;
        --spacing-lg: 1.25rem;
        --spacing-md: 1rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Typography Mobile */
    h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

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

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    p {
        font-size: 1rem;
    }

    /* Buttons Mobile - Touch Friendly */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px;
        /* Touch target size */
        width: 100%;
        justify-content: center;
    }

    /* Hero Mobile */
    .hero {
        padding-bottom: 140px;
    }

    .hero-curve svg {
        height: 50px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .stat-item {
        flex: none;
        width: 100%;
        padding: var(--spacing-sm);
        background: rgba(1, 112, 185, 0.05);
        border-radius: var(--radius-md);
    }

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

    /* Section Headers Mobile */
    .section-header {
        margin-bottom: var(--spacing-xl);
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

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

    /* Programs Mobile */
    .programs::before {
        top: -25px;
        height: 50px;
    }

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

    .program-card-content {
        padding: var(--spacing-md);
    }

    .program-icon {
        width: 50px;
        height: 50px;
    }

    .program-icon-svg {
        width: 24px;
        height: 24px;
    }

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

    .program-title {
        font-size: 1.15rem;
    }

    .program-description {
        font-size: 0.9rem;
    }

    /* Gallery Mobile */
    .gallery-slideshow {
        padding: 0 var(--spacing-sm);
    }

    .gallery-trio {
        gap: var(--spacing-sm);
    }

    .trio-left,
    .trio-right {
        width: 16%;
        max-width: 80px;
    }

    .trio-center {
        width: 64%;
    }

    .gallery-slide-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-slide-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Instagram Mobile */
    .instagram-layout {
        gap: var(--spacing-lg);
    }

    .instagram-card {
        padding: var(--spacing-md);
    }

    .instagram-posts {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }

    .instagram-cta-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Features Mobile */
    .features-list {
        grid-template-columns: 1fr;
    }

    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-lg);
    }

    .feature-item .icon {
        width: 56px;
        height: 56px;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

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

    /* Location Mobile */
    .locations-grid {
        max-width: 100%;
    }

    .location-image {
        height: 160px;
    }

    .location-content {
        padding: var(--spacing-md);
    }

    .location-name {
        font-size: 1.2rem;
    }

    .location-detail {
        font-size: 0.9rem;
    }

    .location-actions {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .location-actions .btn {
        min-width: 100%;
    }

    /* Testimonials Mobile */
    .testimonials-grid {
        max-width: 100%;
    }

    .testimonial-card {
        padding: var(--spacing-md);
    }

    .testimonial-content {
        font-size: 0.95rem;
    }

    .testimonial-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    /* Contact Mobile */
    .contact-wrapper {
        min-width: 0;
        gap: var(--spacing-lg);
    }

    .contact-info {
        padding: 0;
        min-width: 0;
        text-align: left;
    }

    .contact-info h3 {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

    .contact-info > p {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }

    .contact-methods {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
    }

    .contact-method {
        flex-direction: row;
        align-items: center;
        padding: var(--spacing-sm);
        min-height: 56px;
    }

    .contact-method-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .contact-method-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-method-text span {
        font-size: 0.95rem;
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    .contact-form {
        gap: var(--spacing-sm);
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .form-group textarea {
        min-height: 120px;
    }

    /* Footer Mobile */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand>p {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .footer-links {
        padding: var(--spacing-sm) 0;
    }

    .footer-links h4 {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-sm);
    }

    .footer-links ul {
        gap: 0.5rem;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.25rem 0;
    }

    .footer-bottom {
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .footer-legal a {
        font-size: 0.8rem;
    }

    /* Modal Mobile */
    .program-modal {
        padding: 0;
    }

    .modal-content {
        margin: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 90vh;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .program-modal.active .modal-content {
        transform: translateY(0);
    }

    .modal-close {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .modal-header {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
    }

    .modal-icon {
        margin-bottom: var(--spacing-sm);
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 0 var(--spacing-md) var(--spacing-sm);
    }

    .modal-description {
        font-size: 0.95rem;
    }

    .modal-details {
        padding: var(--spacing-sm);
    }

    .modal-detail-item {
        gap: var(--spacing-xs);
    }

    .detail-icon {
        width: 36px;
        height: 36px;
    }

    .detail-text strong {
        font-size: 0.75rem;
    }

    .detail-text span {
        font-size: 0.9rem;
    }

    .modal-highlights h4 {
        font-size: 0.95rem;
    }

    .modal-highlights li {
        font-size: 0.9rem;
    }

    .modal-footer {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-xs);
    }
}

/* Small Phone (320px - 479px) */
@media (max-width: 479px) {
    :root {
        --spacing-3xl: 2.5rem;
        --spacing-2xl: 1.75rem;
        --spacing-xl: 1.5rem;
        --spacing-lg: 1rem;
        --spacing-md: 0.875rem;
    }

    .logo img {
        height: 35px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

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

    .stat-item {
        padding: var(--spacing-xs);
    }

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

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

    .program-card-content {
        padding: var(--spacing-sm);
    }

    .program-icon {
        width: 44px;
        height: 44px;
    }

    .program-icon-svg {
        width: 20px;
        height: 20px;
    }

    .program-number {
        font-size: 1.75rem;
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .program-title {
        font-size: 1.05rem;
    }

    .feature-item {
        padding: var(--spacing-md);
    }

    .feature-item .icon {
        width: 50px;
        height: 50px;
    }

    .feature-item .icon svg {
        width: 24px;
        height: 24px;
    }

    .testimonial-card {
        padding: var(--spacing-sm);
    }

    .contact-form-wrapper {
        padding: var(--spacing-sm);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Disable hover effects on touch devices */
    .program-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .program-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-lg);
    }

    .feature-item:hover {
        transform: none;
        box-shadow: none;
    }

    .feature-item:active {
        background: var(--color-bg-secondary);
    }

    .btn:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }

    .location-card:hover {
        transform: none;
    }

    .location-card:active {
        transform: scale(0.99);
    }

    .testimonial-card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Larger tap targets for touch */
    .nav-links a {
        padding: 1rem;
    }

    .footer-links a {
        padding: 0.5rem 0;
    }

    .social-link {
        min-width: 48px;
        min-height: 48px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-border: #333;
        --color-text-muted: #555;
    }

    .btn-primary {
        border: 2px solid #000;
    }

    .btn-secondary {
        border-width: 3px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-float-card {
        animation: none;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Dark mode support (optional - follows system preference) */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable automatic dark mode
    :root {
        --color-bg-primary: #0f0f1a;
        --color-bg-secondary: #1a1a2e;
        --color-bg-card: #16213e;
        --color-bg-elevated: #1f2937;
        --color-text-primary: #f8f9fa;
        --color-text-secondary: #cbd5e1;
        --color-text-muted: #94a3b8;
        --color-border: #374151;
        --color-border-light: #1f2937;
    }

    .navbar {
        background: rgba(15, 15, 26, 0.95);
    }

    .navbar.scrolled {
        background: rgba(15, 15, 26, 0.98);
    }

    .hero {
        background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    }
    */
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 1rem) 0 2rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .stat-item {
        flex: 0 0 auto;
        width: auto;
        padding: 0.5rem;
        background: transparent;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        padding: var(--nav-height) var(--spacing-md) var(--spacing-md);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .modal-content {
        max-height: 100vh;
        border-radius: var(--radius-lg);
        position: relative;
        bottom: auto;
        margin: 1rem;
    }
}

/* -------------------------
   Print Styles
   ------------------------- */
@media print {

    .navbar,
    .mobile-menu-btn,
    .hero-visual,
    .program-modal,
    .hero-float-card {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: white !important;
    }

    section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }

    .btn {
        border: 1px solid #333;
        background: white !important;
        color: #333 !important;
    }

    a {
        text-decoration: underline;
    }

    .programs::before {
        display: none;
    }
}