/* ===== CSS RESET & VARIABLES ===== */
:root {
    /* Color Palette */
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #FBBF24;
    --secondary-dark: #F59E0B;
    --accent1: #10B981;
    --accent2: #F87171;
    --accent3: #8B5CF6;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light: #F8FAFC;
    --gray: #94A3B8;
    --dark: #1F2937;
    --black: #0F172A;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-accent: 'Comic Neue', cursive;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 44px;
    min-width: 44px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--black);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Sections */
.section {
    padding: var(--section-padding);
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent1), var(--accent3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

.section-description {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--gray);
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent3));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
    flex-shrink: 0;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.2;
}

/* Desktop Navigation */
.desktop-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    position: relative;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
}

.nav-menu > li > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-menu > li > a:hover:after,
.nav-menu > li > a.active:after {
    width: 80%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark);
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.phone-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 9999;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--dark);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu li a:hover,
.mobile-menu li a.active {
    background: var(--light);
    color: var(--primary);
}

.mobile-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown .dropdown-toggle .fa-chevron-down {
    transition: transform var(--transition-fast);
}

.mobile-dropdown .dropdown-toggle .fa-chevron-down.rotate-180 {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    display: none;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 9998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(139, 92, 246, 0.85));
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.shape-5 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 30%;
    animation-delay: 3s;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
    width: 100%;
}

.tagline-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
}

.title-line {
    display: block;
}

.highlight {
    background: linear-gradient(135deg, var(--secondary), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

.feature i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    margin: 0.5rem auto 0;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: var(--radius-full);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-normal);
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    z-index: 1;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.stat:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--light), var(--white));
}

.stat i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.stat h4 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    background: linear-gradient(135deg, var(--light) 0%, #f0f9ff 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.program-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.program-card:hover .program-card-inner {
    transform: rotateY(180deg);
}

.program-card-front,
.program-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.program-card-front {
    background: var(--white);
    color: var(--black);
}

.program-card-back {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: rotateY(180deg);
    justify-content: flex-start;
    overflow-y: auto;
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}

.program-card h3 {
    margin-bottom: 0.5rem;
}

.program-age {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    text-align: left;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.program-features li i {
    color: var(--accent1);
    font-size: 0.9rem;
}

.program-card-back h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.program-card-back p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.program-card-back ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.program-card-back ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.program-card-back ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.program-flip-btn {
    margin-top: auto;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--dark);
    font-size: 0.95rem;
}

/* ===== VIRTUAL TOUR ===== */
.virtual-tour {
    background: linear-gradient(135deg, #f0f9ff 0%, var(--light) 100%);
}

.tour-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.tour-viewer {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.tour-placeholder {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.tour-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.tour-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.tour-hotspots {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hotspot {
    background: rgba(59, 130, 246, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    text-align: left;
}

.hotspot:hover {
    background: var(--primary);
    transform: translateX(5px);
}

.tour-description {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.facility-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.facility {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.facility i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.facility h4 {
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.facility p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-fast);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.gallery-content h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.gallery-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: linear-gradient(135deg, var(--light) 0%, #f0f9ff 100%);
}

.rating-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.stars {
    color: var(--secondary);
    font-size: 1.2rem;
}

.rating-text {
    font-weight: 600;
    color: var(--primary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.parent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.testimonial-header h4 {
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.testimonial-header p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.review-stars {
    color: var(--secondary);
    margin-left: auto;
    font-size: 1rem;
}

.testimonial-body p {
    font-style: italic;
    color: var(--dark);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-body p:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light);
    font-size: 0.9rem;
    color: var(--gray);
}

.testimonial-platforms {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.platform {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.platform h4 {
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.platform p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== CONTACT & MAP ===== */
.contact-map {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-item p {
    margin: 0;
    color: var(--dark);
    font-size: 0.95rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-container {
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
}

.location-marker {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.location-info h5 {
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.location-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.footer-logo .logo-icon img {
    width: 30px;
    height: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.footer-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    transition: all var(--transition-fast);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links li a i {
    font-size: 0.8rem;
    color: var(--primary);
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-footer p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-info-footer i {
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.newsletter h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: var(--gray);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    font-size: 0.95rem;
    min-width: 44px;
    min-height: 44px;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
}

.footer-links-bottom a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-links-bottom a:hover {
    color: var(--primary);
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-fast);
    text-decoration: none;
    min-width: 44px;
    min-height: 44px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 5rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
    box-shadow: var(--shadow-md);
    min-width: 44px;
    min-height: 44px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--white);
}

.school-bus {
    width: 200px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    animation: drive 3s ease-in-out infinite;
}

.bus-body {
    width: 180px;
    height: 60px;
    background: var(--secondary);
    border-radius: 20px 20px 0 0;
    position: relative;
}

.bus-windows {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
}

.window {
    width: 40px;
    height: 30px;
    background: var(--primary);
    border-radius: 5px;
}

.bus-wheel {
    position: absolute;
    bottom: -15px;
    width: 30px;
    height: 30px;
    background: var(--dark);
    border-radius: 50%;
    border: 5px solid #333;
}

.bus-wheel:nth-child(2) {
    left: 30px;
}

.bus-wheel:nth-child(3) {
    right: 30px;
}

.preloader p {
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

@keyframes drive {
    0%, 100% {
        transform: translateX(-50px);
    }
    50% {
        transform: translateX(50px);
    }
}

/* ===== MOBILE RESPONSIVE FIXES ===== */

/* Mobile menu chevron rotation */
.rotate-180 {
    transform: rotate(180deg);
}

/* Ensure mobile menu displays correctly */
.mobile-submenu {
    display: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.mobile-submenu.active {
    display: block;
}

/* Emergency Mobile Fix */
@media (max-width: 768px) {
    /* Force hide desktop nav */
    .desktop-nav {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Force show mobile toggle */
    .mobile-toggle {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative;
        z-index: 99999;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
        position: relative;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    
    /* Fix mobile menu */
    .mobile-nav {
        display: block !important;
    }
    
    /* Fix header height */
    .header {
        height: 70px;
    }
    
    .header-content {
        padding: 0.5rem 0 !important;
    }
    
    /* Fix logo size */
    .logo-text h1 {
        font-size: 1.1rem !important;
    }
    
    .logo-text p {
        font-size: 0.7rem !important;
    }
    
    .logo-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo-icon img {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* Fix hero section */
    .hero {
        margin-top: 70px !important;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .feature {
        flex: 1 0 calc(50% - 0.5rem);
        min-width: 140px;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* About section fixes */
    .about-content {
        display: flex !important;
        flex-direction: column;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    /* Programs section fixes */
    .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .program-card {
        height: 350px;
    }
    
    /* Features grid fixes */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Tour fixes */
    .tour-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .tour-placeholder {
        height: 300px;
    }
    
    /* Gallery fixes */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    /* Contact fixes */
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .map-container {
        height: 350px !important;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    /* Testimonials fixes */
    .testimonials-slider {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Footer fixes */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    /* Floating buttons fixes */
    .whatsapp-float {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
    .back-to-top {
        bottom: 1rem !important;
        right: 4rem !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Hide floating shapes on mobile */
    .shape {
        display: none;
    }
}

/* Extra small mobile fixes */
@media (max-width: 480px) {
    h1 { 
        font-size: 2rem !important; 
    }
    
    h2 { 
        font-size: 1.75rem !important; 
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .mobile-nav {
        width: 85% !important;
    }
    
    .map-overlay {
        flex-direction: column;
        text-align: center;
        max-width: 180px;
        padding: 0.5rem;
    }
}

/* Fix for iOS Safari viewport height */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-background,
    .floating-shapes,
    .scroll-indicator,
    .whatsapp-float,
    .back-to-top,
    .footer,
    .mobile-nav,
    .mobile-toggle,
    .preloader {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .btn {
        display: none !important;
    }
    
    .hero {
        margin-top: 0 !important;
        color: black !important;
    }
    
    .hero-content {
        color: black !important;
        text-align: left !important;
    }
    
    .hero-title,
    .section-title {
        color: black !important;
    }
    
    .highlight {
        color: black !important;
        background: none !important;
    }
}

/* Add to your style.css file */

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* Error states */
.error {
    border-color: var(--accent2) !important;
}

.error-message {
    color: var(--accent2);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Success states */
.success {
    border-color: var(--accent1) !important;
}

.success-message {
    color: var(--accent1);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Touch device optimizations */
.touch-device .btn {
    min-height: 44px;
    min-width: 44px;
}

.touch-device .mobile-menu li a {
    padding: 1rem;
}

/* Smooth transitions for loaded content */
body.loaded * {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Spinner animation */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Testimonial slider */
.testimonial-card {
    transition: all 0.3s ease;
}

/* Form focus states */
input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles for forms */
@media print {
    form * {
        display: none !important;
    }
}