/* Bushra Matriculation School - Enhanced UI/UX Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette (60-30-10 Rule) */
    --primary-green: #1F7A63;
    /* Primary Brand */
    --dark-green: #0F3D3E;
    /* Secondary Supporting */
    --accent-yellow: #F59E0B;
    /* Accent / Highlights */
    --bg-light: #F8FAFC;
    /* Neutral Background */
    --bg-gray: #F1F5F9;
    --text-primary: #1E293B;
    /* Main Text */
    --text-secondary: #475569;
    --white: #FFFFFF;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #1F7A63 0%, #0F3D3E 100%);
    --grad-secondary: linear-gradient(135deg, #0A1128 0%, #172a5a 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* Typography System */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Typography Scale */
    --text-hero: 48px;
    /* Reduced from 56px to prevent massive titles */
    --text-section: 32px;
    /* Reduced from 36px */
    --text-sub: 20px;
    /* Reduced from 24px */
    --text-card: 18px;
    --text-body: 16px;
    --text-small: 14px;

    /* Line Heights */
    --line-height-heading: 1.3;
    --line-height-base: 1.7;
    /* Increased from 1.6 for better readability */

    /* 8-Point Spacing System Optimized for Density */
    --space-1: 8px;
    --space-2: 12px;  /* Reduced from 16px */
    --space-3: 20px;  /* Reduced from 24px */
    --space-4: 24px;  /* Reduced from 32px */
    --space-5: 40px;  /* Reduced from 48px */
    --space-6: 56px;  /* Reduced from 64px */
    --space-7: 80px;  /* Reduced from 96px */

    --section-padding-y: 64px; /* Optimized from 80px */
    --container-max: 1200px;  /* Slightly wider for balance */

    /* Cards & Components */
    --radius-btn: 8px;
    --radius-card: 16px;
    --radius-img: 16px;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 25px rgba(31, 122, 99, 0.4);
    --shadow-yellow-glow: 0 0 25px rgba(245, 158, 11, 0.4);

    /* Animations */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

p {
    margin-bottom: var(--space-2);
    max-width: 85ch;
    /* Clamp line width for readability */
}

ul:not([class]),
ol:not([class]) {
    padding-left: 20px;
    margin-bottom: var(--space-2);
}

ul:not([class]) li,
ol:not([class]) li {
    margin-bottom: 10px;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: var(--line-height-heading);
    margin-bottom: var(--space-2);
}

.hero-heading {
    font-size: var(--text-hero);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-btns-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-3);
    position: relative;
    z-index: 10;
}

@media (max-width: 576px) {
    .hero-btns-container {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    .hero-btns-container .btn {
        width: 100%;
        max-width: 320px;
    }
}
.section-heading {
    font-size: var(--text-section);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    margin-bottom: 0px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 4px;
    transition: width var(--transition-smooth), background-color var(--transition-smooth);
}

.section-header:hover .section-heading::after {
    width: 100px;
    background-color: var(--primary-green);
}

.subheading {
    font-size: var(--text-sub);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.card-heading {
    font-size: var(--text-card);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.text-small {
    font-size: var(--text-small);
}

.text-secondary {
    color: var(--text-secondary);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-3);
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--section-padding-y) 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-gray {
    background-color: var(--bg-gray);
}

/* Branded Section Header Components */
.section-header {
    margin-bottom: var(--space-5);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.section-header.text-center {
    align-items: center;
    text-align: center;
}

.section-header.text-center .section-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-green);
}

.badge i {
    font-size: 16px;
    color: var(--accent-yellow);
}

.badge:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-green);
}

.hero-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.icon-box-accent {
    width: 64px;
    height: 64px;
    background: rgba(31, 122, 99, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: var(--space-3);
    transition: all var(--transition-smooth);
}

.tile:hover .icon-box-accent {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.level-badge-premium {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: var(--white);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.image-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.badge-solid {
    background: var(--primary-green);
    color: var(--white);
    border: none;
}

.badge-solid i {
    color: var(--accent-yellow);
}

/* 12-Column Responsive Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-4);
    width: 100%;
}

.col-1 {
    grid-column: span 1;
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-5 {
    grid-column: span 5;
}

.col-6 {
    grid-column: span 6;
}

.col-7 {
    grid-column: span 7;
}

.col-8 {
    grid-column: span 8;
}

.col-9 {
    grid-column: span 9;
}

.col-10 {
    grid-column: span 10;
}

.col-12 {
    grid-column: span 12;
}

.card,
.tile {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card:hover,
.tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(31, 122, 99, 0.15);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-4);
    display: grid;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list i {
    color: var(--primary-green);
    margin-top: 4px;
    background: rgba(31, 122, 99, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.feature-list li:hover i {
    transform: scale(1.15) rotate(5deg);
}

.action-block {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-green);
    padding: var(--space-3) var(--space-4);
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    margin-top: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.action-block-text {
    flex: 1;
    min-width: 200px;
}

.action-block-text h4 {
    margin-bottom: 4px;
    font-size: 18px;
}

.action-block-text p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 992px) {
    .grid {
        gap: var(--space-3);
    }

    .col-lg-6 {
        grid-column: span 6;
    }

    .col-lg-12 {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12 {
        grid-column: span 1;
    }
}

/* Modern Buttons (Glow, Lift, Layers) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-heading);
    font-size: var(--text-body);
    font-weight: 600;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    gap: var(--space-1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(31, 122, 99, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0F3D3E 0%, #0c3333 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Premium Button Variants */
.btn-glow {
    position: relative;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(31, 122, 99, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(31, 122, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(31, 122, 99, 0); }
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--bg-gray);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-green);
    border-color: rgba(31, 122, 99, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1240px;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, rgba(31, 122, 99, 0.65) 0%, rgba(15, 61, 62, 0.5) 100%);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.header.sticky {
    top: 10px;
    padding: 6px 0;
    background: linear-gradient(135deg, rgba(31, 122, 99, 0.8) 0%, rgba(15, 61, 62, 0.7) 100%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    max-width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-container img {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
}

.header.sticky .logo-container img {
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-text .text-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500 !important;
}

.header:not(.bg-white) .logo-text {
    color: var(--white);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 14.5px;
    font-family: var(--font-heading);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 0;
    margin: 0 12px;
    display: inline-block;
    position: relative;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
    border-radius: 2px;
    display: block !important;
}

.nav-link:hover {
    color: var(--white);
    background: transparent;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--white);
    background: transparent;
}

.nav-link.active::after {
    width: 100%;
}

.header.sticky .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.header:not(.bg-white) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

/* Handled by active/hover styles above */

.header .btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: var(--white);
    border: none;
    padding: 10px 26px !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header .btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #F59E0B 100%);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
    margin-left: 16px;
}

.header:not(.bg-white) .mobile-menu-btn {
    color: var(--white);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    clip-path: circle(0px at 100% 0%);
    transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 100px var(--space-4) var(--space-5);
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    clip-path: circle(150% at 100% 0%);
}

.mobile-nav-overlay .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-bottom: var(--space-4);
}

.mobile-nav-overlay .nav-link {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    display: block;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active .nav-link {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered Delay for Mobile Nav Links */
.mobile-nav-overlay.active li:nth-child(1) .nav-link { transition-delay: 0.1s; }
.mobile-nav-overlay.active li:nth-child(2) .nav-link { transition-delay: 0.15s; }
.mobile-nav-overlay.active li:nth-child(3) .nav-link { transition-delay: 0.2s; }
.mobile-nav-overlay.active li:nth-child(4) .nav-link { transition-delay: 0.25s; }
.mobile-nav-overlay.active li:nth-child(5) .nav-link { transition-delay: 0.3s; }
.mobile-nav-overlay.active li:nth-child(6) .nav-link { transition-delay: 0.35s; }
.mobile-nav-overlay.active li:nth-child(7) .nav-link { transition-delay: 0.4s; }

.mobile-nav-overlay .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.mobile-nav-overlay.active .btn-primary {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay .nav-menu li {
    width: 100%;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.fade-up {
    transform: translateY(50px);
}

.fade-down {
    transform: translateY(-50px);
}

.fade-left {
    transform: translateX(50px);
}

.fade-right {
    transform: translateX(-50px);
}

.scale-in {
    transform: scale(0.9);
}

.zoom-in {
    transform: scale(0.95);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Parallax, Floats, Patterns */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-pattern {
    background-image: radial-gradient(var(--bg-gray) 2px, transparent 2px);
    background-size: 32px 32px;
}

.floating-shape {
    animation: float 6s ease-in-out infinite;
}

.floating-shape-2 {
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Hero Gradient & Layers */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 61, 62, 0.4) 100%);
    z-index: -1;
}

.layered-stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-smooth);
    cursor: default;
}

.layered-stat-card:hover {
    transform: translateY(-4px);
}

/* Advanced Cards */
.card {
    background-color: var(--white);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

/* Icons & Tiles for Modern Grids */
.tile {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.tile:hover::before {
    opacity: 0.03;
}

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

.icon-container {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-3) auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    transition: transform var(--transition-smooth);
}

.icon-gradient-1 {
    background: rgba(31, 122, 99, 0.1);
    color: var(--primary-green);
}

.icon-gradient-2 {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-yellow);
}

.icon-gradient-3 {
    background: rgba(15, 61, 62, 0.1);
    color: var(--dark-green);
}

/* Features List & Highlights */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: 12px;
}

.feature-list i {
    color: var(--primary-green);
    margin-top: 4px;
    font-size: 18px;
}

/* Program Cards (Overlay Design) */
.program-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.program-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.program-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.program-label {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    z-index: 2;
}

.program-content {
    padding: var(--space-4);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    z-index: 10;
    transform: translateY(-40px);
    margin: 0 var(--space-3);
    border-radius: var(--radius-card);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

/* Images & Media */
.img-rounded {
    border-radius: var(--radius-img);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    width: 100%;
}

.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

.aspect-1-1 {
    aspect-ratio: 1 / 1;
}

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

.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--radius-img);
    position: relative;
    display: block;
    box-shadow: var(--shadow-soft);
}

.img-hover-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.img-hover-zoom:hover img {
    transform: scale(1.03);
}

iframe {
    border-radius: var(--radius-img);
    box-shadow: var(--shadow-soft);
    border: none;
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: var(--text-small);
    font-weight: 600;
    border-radius: 50px;
    gap: var(--space-1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-solid {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(31, 122, 99, 0.2);
}

/* Glass Testimonials Review Carousel */
.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-card);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    box-shadow: var(--shadow-hover);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stars {
    color: var(--accent-yellow);
    font-size: 20px;
    margin-bottom: var(--space-3);
    letter-spacing: 2px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-soft);
    margin: 0 auto var(--space-3) auto;
}

.review-quote {
    font-size: var(--text-sub);
    font-weight: 500;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

/* Waves SVG */
.wave-svg {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.wave-top {
    top: -1px;
    transform: rotate(180deg);
}

.wave-bottom {
    bottom: -1px;
}

/* Custom Form Styles - Floating Labels */
.form-group {
    position: relative;
    margin-bottom: var(--space-3);
}

.form-input {
    width: 100%;
    padding: var(--space-3) 20px 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-btn);
    background: var(--bg-gray);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.form-label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: var(--text-body);
    color: var(--text-secondary);
    pointer-events: none;
    transition: all var(--transition-fast);
    transform-origin: left top;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    transform: translateY(-10px) scale(0.75);
    color: var(--primary-green);
    font-weight: 600;
}

/* Footer Section */
:root {
    --grad-footer: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.footer {
    background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
    color: var(--white);
    padding: var(--space-5) 0 var(--space-3) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}



.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.footer-top {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
}

.footer-top h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: var(--space-4);
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
}

.footer-top h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.footer-col p {
    color: #94A3B8;
    margin-bottom: var(--space-2);
    line-height: 1.6;
    font-size: var(--text-small);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--primary-green);
    opacity: 0;
    transition: all 0.3s ease;
    width: 0;
}

.footer-links a:hover {
    color: var(--white);
    gap: 8px;
}

.footer-links a:hover::before {
    opacity: 1;
    width: 10px;
}



.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(31, 122, 99, 0.1);
    color: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(31, 122, 99, 0.2);
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-text span {
    display: block;
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-text a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-contact-text a:hover {
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icons a.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transform: translateY(-5px);
}

.social-icons a.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-5px);
}

.social-icons a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.4);
    transform: translateY(-5px);
}

/* Handled by modern hover classes */

@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        gap: var(--space-3);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-top: 40px;
    color: #64748B;
    font-size: 14px;
}

.footer-credit a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-credit a:hover {
    color: var(--accent-yellow);
}

/* Timeline Styling */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 40px;
}

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

.timeline-item {
    position: relative;
    margin-bottom: var(--space-5);
    padding-left: var(--space-3);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--primary-green);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(31, 122, 99, 0.1);
    transition: var(--transition-fast);
}

.timeline-item:hover::before {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(31, 122, 99, 0.2);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: var(--text-sub);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--space-1);
    display: inline-block;
}

.timeline-content {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Stat Cards */
.stat-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.stat-card:hover::before {
    opacity: 0.03;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin: var(--space-2) 0;
}

/* Feature Chips */
.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: var(--text-small);
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    cursor: default;
}

.feature-chip i {
    font-size: 16px;
    padding: 6px;
    border-radius: 50%;
    background: rgba(31, 122, 99, 0.1);
    color: var(--primary-green);
    transition: var(--transition-fast);
}

.feature-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: rgba(31, 122, 99, 0.2);
}

.feature-chip:hover i {
    background: var(--primary-green);
    color: var(--white);
}

/* Structured Program Cards (.activity-card) */
.activity-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.activity-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.activity-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.activity-card-content {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.activity-card h4 {
    font-size: 20px;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.activity-card:hover h4 {
    color: var(--primary-green);
}

.activity-card p {
    color: var(--text-secondary);
    font-size: var(--text-small);
    line-height: var(--line-height-base);
    margin-bottom: var(--space-3);
    flex: 1;
}

.activity-card-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: var(--space-3);
    margin-top: auto;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: var(--text-small);
    transition: color 0.3s ease, transform 0.3s ease;
}

.activity-card:hover .read-more-btn {
    color: var(--dark-green);
}

.activity-card:hover .read-more-btn i {
    transform: translateX(4px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

/* --- Premium Gallery Design System --- */

/* Section 1: Events Showcase - Cinematic Asymmetrical Layout */
.events-showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
    margin-top: var(--space-4);
}

.event-main {
    grid-row: span 2;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.event-side {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.event-img-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.event-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 61, 62, 0.85) 0%, rgba(15, 61, 62, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: var(--white);
    transition: all 0.4s ease;
}

.event-main:hover img, .event-side:hover img {
    transform: scale(1.1);
}

.event-main:hover .event-card-overlay, .event-side:hover .event-card-overlay {
    background: linear-gradient(to top, rgba(31, 122, 99, 0.9) 0%, rgba(31, 122, 99, 0.3) 60%, transparent 100%);
}

.event-category-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.event-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white);
    line-height: 1.2;
}

.event-desc {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 400;
    max-width: 400px;
    margin-bottom: 0;
}

.event-horizontal-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 30px;
    margin-top: 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.event-horizontal-gallery::-webkit-scrollbar {
    display: none;
}

.event-scroll-item {
    min-width: 340px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.event-scroll-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.event-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.event-scroll-item:hover img {
    transform: scale(1.1);
}

/* Section 2: Achievements - Premium Horizontal Slider */
.achievements-grid {
    display: flex;
    gap: 40px;
    margin-top: var(--space-5);
    padding: 40px 10px 80px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.achievements-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.achievement-premium-card {
    flex: 0 0 420px; /* Fixed width for horizontal scrolling */
    position: relative;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
    scroll-snap-align: start;
}

.achievement-premium-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(31, 122, 99, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    z-index: 2;
}

.achievement-img-box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.achievement-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
    filter: contrast(1.05) saturate(1.05);
}

.achievement-premium-card:hover .achievement-img-box img {
    transform: scale(1.12);
}

/* Luxury Interaction Overlays */
.achievement-premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(15, 61, 62, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 3;
}

.achievement-premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: all 0.6s ease;
    z-index: 4;
    pointer-events: none;
}

.achievement-premium-card:hover::before {
    opacity: 1;
}

.achievement-premium-card:hover::after {
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: inset 0 0 40px rgba(245, 158, 11, 0.05);
}

/* Hide legacy content */
.achievement-content {
    display: none !important;
}

.achievement-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Section 3: Memories - Pinterest Masonry Layout */
.memories-masonry {
    columns: 4 280px;
    column-gap: 24px;
    margin-top: var(--space-4);
}

.memory-polaroid {
    break-inside: avoid;
    margin-bottom: 30px;
    background: var(--white);
    padding: 14px 14px 48px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.02);
}

.memory-polaroid::before {
    content: '';
    position: absolute;
    inset: 14px 14px 48px;
    background: rgba(245, 158, 11, 0.05);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.memory-polaroid:hover {
    transform: rotate(-3deg) translateY(-10px) scale(1.04);
    z-index: 10;
    box-shadow: 0 25px 55px rgba(0,0,0,0.15);
}

.memory-polaroid:nth-child(even):hover {
    transform: rotate(3deg) translateY(-10px) scale(1.04);
}

.memory-polaroid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    filter: sepia(0.05) contrast(1.05); /* Soft vintage/warm feel */
}

.memory-caption {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .memories-masonry {
        columns: 3 280px;
    }
}

@media (max-width: 992px) {
    .events-showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .event-main {
        height: 400px;
    }
    .event-side {
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .achievement-premium-card {
        flex: 0 0 360px;
    }
}

@media (max-width: 768px) {
    .achievements-grid {
        gap: 20px;
        padding: 20px 10px 40px;
    }
    .achievement-premium-card {
        flex: 0 0 300px;
        aspect-ratio: 4 / 3;
    }
    .memories-masonry {
        columns: 2 240px;
    }
    .event-main {
        height: 350px;
    }
    .event-side {
        height: 250px;
    }
    .event-horizontal-gallery {
        gap: 15px;
    }
    .event-scroll-item {
        min-width: 280px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .memories-masonry {
        columns: 1;
    }
    .event-card-overlay {
        padding: 20px;
    }
    .event-title {
        font-size: 22px;
    }
}


/* Filter Navigation */
.filter-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.filter-btn {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.filter-btn:hover {
    border-color: rgba(31, 122, 99, 0.2);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 8px 20px rgba(31, 122, 99, 0.3);
    transform: translateY(-2px);
}

/* Remove old Grid Systems */
/*.row, .col, .grid-2, .grid-3, .grid-4 { ... logic moved to 12-column above ... }*/

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

@media (min-width: 768px) {
    .timeline {
        padding-left: 0;
    }

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

    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: var(--space-5);
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: var(--space-5);
    }

    .timeline-item::before {
        left: auto;
        right: -42px;
    }

    .timeline-item:nth-child(even)::before {
        left: -10px;
        right: auto;
    }
}

@media (max-width: 1024px) {

    .nav-menu.desktop-only,
    .header-cta.desktop-only {
        display: none;
    }

    .header {
        top: 16px;
        width: calc(100% - 32px);
        padding: 10px 0;
        border-radius: 16px;
    }

    .header-container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .grid-2 {
        gap: var(--space-5);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding-y: 64px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
    }

    .header-cta.desktop-only {
        display: none;
    }

    .hero-parallax {
        background-attachment: scroll;
    }

    .layered-stat-card {
        position: relative;
        transform: none;
        animation: none;
        margin-bottom: 24px;
        width: 100%;
        left: auto !important;
        bottom: auto !important;
        right: auto !important;
        top: auto !important;
    }

    .program-content {
        transform: translateY(0);
        margin: 0;
        border-radius: 0 0 var(--radius-card) var(--radius-card);
        padding: 24px;
    }

    .testimonial-carousel {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding-y: 48px;
    }
}

/* --- Global Utilities Added for Detail Pages Update --- */

/* Image Lift Hover effect */
.img-lift-shadow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-lift-shadow:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Button Lift Hover effect */
.btn-hover-lift {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease, color 0.3s ease !important;
}

.btn-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Advanced Gallery Layout */

/* Old gallery systems removed - migrated to Premium Gallery System */

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-5);
    margin-top: var(--space-5);
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
}

.contact-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.contact-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(31, 122, 99, 0.1);
    color: var(--primary-green);
    font-size: 26px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: rotate(-10deg);
}

.contact-card-content {
    flex: 1;
}

.contact-card-action {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.contact-action-link:hover {
    gap: 12px;
}

/* Quick Action Cards in Hero */
.contact-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.quick-action-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quick-action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(31, 122, 99, 0.1);
}

.quick-action-icon {
    width: 60px;
    height: 60px;
    background: rgba(31, 122, 99, 0.08);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quick-action-card:hover .quick-action-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
}

.quick-action-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.quick-action-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-form-box {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hover);
}

.form-switch {
    display: flex;
    background: var(--bg-gray);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: var(--space-4);
}

.switch-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.3s ease;
}

.switch-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.switch-btn.active {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(30, 142, 90, 0.2);
}

@keyframes contactFormFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.contact-form {
    display: none;
}

.contact-form.active {
    display: block;
    animation: contactFormFade 0.4s ease forwards;
}

.input-wrapper {
    position: relative;
    margin-bottom: var(--space-3);
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrapper textarea~i {
    top: 24px;
}

.form-control {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    font-size: var(--text-base);
    font-family: var(--font-body);
    color: var(--text-primary);
    background: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-control:hover {
    border-color: #CBD5E1;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(31, 122, 99, 0.1);
}

.form-control:focus + i,
.input-wrapper:focus-within i {
    color: var(--primary-green);
}

/* Trust Building Section */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.trust-item {
    background: var(--white);
    padding: 32px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.trust-icon {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 16px;
    display: block;
}

.trust-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.trust-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Two-column Map Section */
.map-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.map-info-panel {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
    border-left: 6px solid var(--primary-green);
}

.visit-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(31, 122, 99, 0.1);
    color: var(--primary-green);
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.hours-list li:last-child {
    border-bottom: none;
}

@media (max-width: 992px) {
    .contact-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-quick-actions {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
}
.input-wrapper:focus-within i {
    color: var(--primary-green);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.map-card {
    border-radius: 24px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: var(--space-5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: var(--bg-gray); /* Placeholder background */
}

.map-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.map-card iframe {
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.4s ease;
    display: block; /* Fix for potential visibility bugs */
}

.map-card:hover iframe {
    filter: grayscale(0) contrast(1);
}

@media (max-width: 768px) {
    .map-card {
        height: 350px;
        border-radius: 16px;
    }
}

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

@media(max-width: 576px) {
    .contact-form .grid {
        grid-template-columns: 1fr !important;
    }
}

/* Activities Page Specific Enhancements */
.section-wave-separator {
    position: relative;
    height: 60px;
    width: 100%;
    overflow: hidden;
    margin: -1px 0;
}

.activity-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.activity-benefit {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.activity-benefit i {
    font-size: 12px;
}

.hero-highlight-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: var(--space-4);
}

.indicator-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.indicator-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.growth-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.growth-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(31, 122, 99, 0.1);
}

.growth-icon-circle {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.growth-card:hover .growth-icon-circle {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
}

.event-category-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-yellow);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.highlight-keyword {
    color: var(--primary-green);
    font-weight: 700;
}

/* Micro-interactions */
.img-container-hover:hover .flow-image {
    transform: scale(1.1) !important;
}

.interactive-card:hover .card-arrow i {
    animation: arrowSideMove 0.6s infinite alternate;
}

@keyframes arrowSideMove {
    from { transform: translateX(0); }
    to { transform: translateX(5px); }
}

/* Section Transitions */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Activity Overlay Card Style */
.activity-overlay-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 440px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--white);
    background: #0f3d3e; /* Branding dark Green */
}

.activity-overlay-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.activity-overlay-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.85;
}

.activity-overlay-card:hover .card-bg {
    transform: scale(1.15);
    opacity: 1;
}

.activity-overlay-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(15, 61, 62, 0.98) 0%, 
        rgba(15, 61, 62, 0.5) 45%, 
        transparent 80%
    );
    z-index: 2;
    transition: all 0.4s ease;
}

.activity-overlay-card:hover .card-overlay {
    background: linear-gradient(to top, 
        rgba(15, 61, 62, 1) 0%, 
        rgba(15, 61, 62, 0.8) 50%, 
        rgba(15, 61, 62, 0.3) 100%
    );
}

.activity-overlay-card .card-content {
    position: relative;
    z-index: 3;
    padding: 32px;
    text-align: center;
    width: 100%;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.activity-overlay-card:hover .card-content {
    transform: translateY(0);
}

.activity-overlay-card .card-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.activity-overlay-card .card-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    line-height: 1.5;
    font-weight: 400;
}

.activity-overlay-card .card-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.activity-overlay-card .card-tag {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-overlay-card .card-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent-yellow);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-overlay-card:hover .card-btn {
    background: var(--white);
    color: var(--primary-green);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .activity-overlay-card {
        height: 400px;
    }
    .activity-overlay-card .card-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   About Page Design System (Premium Upgrade)
   ========================================================================== */

.about-hero {
    position: relative;
    padding: 180px 0 120px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(15, 61, 62, 0.8) 0%, 
        rgba(15, 61, 62, 0.5) 50%, 
        rgba(31, 122, 99, 0.3) 100%
    );
    z-index: 1;
}

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

/* Editorial Story Section */
.editorial-story {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--space-6) var(--space-5);
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.editorial-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-yellow));
}

/* Split Message Section */
.message-split-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.message-image-wrapper {
    position: relative;
    padding: 20px;
}

.message-image-frame {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.15);
    aspect-ratio: 4/5;
}

.message-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.message-image-wrapper:hover .message-image-frame img {
    transform: scale(1.05);
}

.message-decoration {
    position: absolute;
    inset: 0;
    border: 2px solid var(--bg-gray);
    border-radius: 40px;
    z-index: 1;
    transform: translate(-20px, -20px);
}

.message-quote-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--accent-yellow);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 40px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

/* Vision & Mission Cards */
.modern-vm-card {
    background: var(--white);
    border-radius: 32px;
    padding: 56px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.modern-vm-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
    border-color: rgba(31, 122, 99, 0.2);
}

.modern-vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-green);
    opacity: 1;
}

.modern-vm-card.mission::before {
    background: var(--accent-yellow);
}

.vm-icon-box {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.modern-vm-card:hover .vm-icon-box {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.modern-vm-card.mission:hover .vm-icon-box {
    background: var(--accent-yellow);
}

/* Leadership Profile Cards */
.gov-profile-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.gov-profile-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.profile-image-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    border: 6px solid var(--bg-gray);
    transition: all 0.4s ease;
}

.gov-profile-card:hover .profile-image-circle {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

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

.role-badge-premium {
    padding: 6px 16px;
    background: rgba(31, 122, 99, 0.08);
    color: var(--primary-green);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

/* Trustee List Cards */
.trustee-list-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.trustee-list-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.trustee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.trustee-item:last-child {
    border-bottom: none;
}

.trustee-item:hover {
    padding-left: 10px;
    color: var(--primary-green);
}

.trustee-item i {
    width: 36px;
    height: 36px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.trustee-item:hover i {
    background: var(--primary-green);
    color: var(--white);
}

/* Premium Timeline */
.premium-timeline {
    position: relative;
    max-width: 1100px;
    margin: 60px auto;
}

.premium-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--bg-gray) 10%, 
        var(--bg-gray) 90%, 
        transparent
    );
    transform: translateX(-50%);
}

.timeline-milestone {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 80px;
    width: 100%;
}

.timeline-milestone:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.milestone-dot {
    position: absolute;
    top: 40px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-green);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 0 8px rgba(31, 122, 99, 0.05);
}

.timeline-milestone:nth-child(even) .milestone-dot {
    left: -10px;
    right: auto;
}

.milestone-card {
    width: calc(100% - 60px);
    margin-right: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.timeline-milestone:nth-child(even) .milestone-card {
    margin-right: 0;
    margin-left: 60px;
}

.milestone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
    border-color: rgba(31, 122, 99, 0.1);
}

.milestone-year {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 12px;
    display: block;
    line-height: 1;
    letter-spacing: -1px;
}

/* Statistics Grid Enhancement */
.stat-glow-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px 32px;
    border-radius: 24px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-glow-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    border-color: var(--accent-yellow);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* Features/Why Choose Us */
.choose-feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px 40px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.choose-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    border-color: rgba(31, 122, 99, 0.1);
}

@media (max-width: 992px) {
    .message-split-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .message-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .premium-timeline::before {
        left: 30px;
    }
    
    .timeline-milestone {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 60px;
    }
    
    .timeline-milestone:nth-child(even) {
        padding-left: 60px;
    }
    
    .milestone-dot, .timeline-milestone:nth-child(even) .milestone-dot {
        left: 20px;
        right: auto;
    }
    
    .milestone-card, .timeline-milestone:nth-child(even) .milestone-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 30px;
    }
    
    .milestone-year {
        font-size: 28px;
    }
    
    .about-hero {
        padding: 140px 0 80px;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
    
    .timeline-milestone {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 60px;
    }
    
    .timeline-milestone:nth-child(even) {
        padding-left: 60px;
    }
    
    .milestone-dot, .timeline-milestone:nth-child(even) .milestone-dot {
        left: 22px;
        right: auto;
    }
    
    .milestone-card, .timeline-milestone:nth-child(even) .milestone-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }


/* Scroll Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
}

.animate-on-scroll.fade-up.is-visible {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.fade-down.is-visible {
    animation: fadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.fade-left.is-visible {
    animation: fadeLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.fade-right.is-visible {
    animation: fadeRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 0.1s !important; transition-delay: 0.1s !important; }
.delay-200 { animation-delay: 0.2s !important; transition-delay: 0.2s !important; }
.delay-300 { animation-delay: 0.3s !important; transition-delay: 0.3s !important; }
.delay-400 { animation-delay: 0.4s !important; transition-delay: 0.4s !important; }
.delay-500 { animation-delay: 0.5s !important; transition-delay: 0.5s !important; }

/* ==========================================================================
   Premium Activities Redesign Components
   ========================================================================== */

/* Cinematic Hero Activity Style */
.hero-luxury {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-luxury .container {
    position: relative;
    z-index: 10;
}

.heading-massive {
    font-size: clamp(60px, 12vw, 120px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -4px;
    margin-bottom: 32px;
}

/* Luxury Activity Showcase Panel */
.activity-showcase-panel {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    aspect-ratio: 16/9;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
    text-decoration: none;
    color: var(--white);
}

.activity-showcase-panel .panel-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.activity-showcase-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-showcase-panel .panel-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    transition: opacity 0.4s ease;
}

.activity-showcase-panel .panel-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.activity-showcase-panel:hover .panel-bg {
    transform: scale(1.05);
}

.activity-showcase-panel:hover .panel-content {
    transform: translateY(0);
}

.activity-showcase-panel .panel-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.activity-showcase-panel .panel-desc {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Luxury Feature Card */
.luxury-feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 32px;
    transition: all 0.5s ease;
}

.luxury-feature-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-10px);
}

/* Staggered Grid Item */
.stagger-item-up {
    margin-top: -60px;
}

@media (max-width: 992px) {
    .stagger-item-up {
        margin-top: 0;
    }
    .activity-showcase-panel {
        aspect-ratio: auto;
        min-height: 400px;
        padding: 30px;
    }
}

/* Glass Floating Element */
.glass-float {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
}

/* Immersive Background Wrappers */
.immersive-section-dark {
    background: #0a1111;
    color: var(--white);
}

.mesh-gradient-1 {
    background-color: #0a1111;
    background-image: 
        radial-gradient(at 0% 0%, hsla(164,61%,20%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(164,61%,15%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(164,61%,10%,1) 0, transparent 50%);
}

.mesh-gradient-creative {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 100% 100%, hsla(28,100%,95%,1) 0, transparent 50%), 
        radial-gradient(at 0% 0%, hsla(180,100%,95%,1) 0, transparent 50%);
}

.mesh-gradient-intellectual {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 100% 0%, hsla(210,100%,90%,1) 0, transparent 50%), 
        radial-gradient(at 0% 100%, hsla(210,100%,95%,1) 0, transparent 50%);
}

/* Luxury Split Layout */
.luxury-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

@media (max-width: 992px) {
    .luxury-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Scroll Indicator */
.scroll-indicator-luxury {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translate(-50%, 0);}
    40% {transform: translate(-50%, -10px);}
    60% {transform: translate(-50%, -5px);}
}