/* ===== Variables ===== */
:root {
    --primary: #C4787A;
    --primary-dark: #A85D5F;
    --primary-light: #E8A5A7;
    --primary-pale: #F5D5D6;
    --secondary: #7B8F4E;
    --secondary-light: #A4B87A;
    --accent: #D4A574;
    --dark: #2C2C2C;
    --dark-light: #3D3D3D;
    --text: #3A3A3A;
    --text-light: #6B6B6B;
    --text-muted: #999;
    --bg: #FFFFFF;
    --bg-light: #FAF7F5;
    --bg-warm: #FFF5F5;
    --bg-cream: #FDF8F4;
    --shadow: 0 4px 20px rgba(196,120,122,0.1);
    --shadow-lg: 0 10px 40px rgba(196,120,122,0.15);
    --shadow-color: 0 4px 20px rgba(196,120,122,0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 50px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Playfair Display', serif;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-ar); color: var(--text); background: var(--bg); overflow-x: hidden; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; border: none; outline: none; }

/* ===== Preloader ===== */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: linear-gradient(135deg, #FFF5F5, #FDF0F0);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { text-align: center; }
.loader-tower { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-bottom: 20px; }
.tower-block {
    background: linear-gradient(135deg, var(--primary-pale), var(--primary-light));
    border-radius: 3px;
    animation: towerPulse 1.5s ease-in-out infinite;
}
.tower-block:nth-child(1) { animation-delay: 0s; }
.tower-block:nth-child(2) { animation-delay: 0.1s; }
.tower-block:nth-child(3) { animation-delay: 0.2s; }
.tower-block:nth-child(4) { animation-delay: 0.3s; }
.tower-block:nth-child(5) { animation-delay: 0.4s; }
@keyframes towerPulse {
    0%, 100% { opacity: 0.5; transform: scaleY(0.9); }
    50% { opacity: 1; transform: scaleY(1); }
}
.loader-text { color: var(--dark); font-size: 1.4rem; font-weight: 700; font-family: var(--font-en); letter-spacing: 1px; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: var(--radius-full);
    font-size: 1rem; font-weight: 600;
    transition: var(--transition); cursor: pointer;
}
.btn i { font-size: 1em; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; box-shadow: var(--shadow-color);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(196,120,122,0.35); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 2px solid var(--primary-light); }
.btn-outline:hover { background: var(--primary); color: white; border-color: var(--primary); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 2px solid rgba(0,0,0,0.2); }
.btn-outline-dark:hover { background: var(--dark); color: white; border-color: var(--dark); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Navigation ===== */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: var(--transition);
}
#navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 8px 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: white; padding: 2px; }
.logo-text { display: flex; flex-direction: column; }
.logo-en { font-family: var(--font-en); font-weight: 700; font-size: 1.1rem; color: var(--dark); line-height: 1.2; }
.logo-ar { font-size: 0.7rem; color: var(--text-light); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 8px 14px; color: var(--text-light);
    font-size: 0.9rem; font-weight: 500;
    border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary-dark); background: var(--bg-warm); }

.nav-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.9rem; transition: var(--transition);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-color); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; position: relative; overflow: hidden;
    background: linear-gradient(160deg, #FFFFFF 0%, #FFF8F6 30%, #FFF0ED 60%, #FDE8E4 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-shape {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, var(--primary-pale) 0%, transparent 70%);
    opacity: 0.5;
}
.shape-1 { width: 600px; height: 600px; top: -200px; left: -200px; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; right: -100px; background: radial-gradient(circle, rgba(123,143,78,0.1) 0%, transparent 70%); }
.shape-3 { width: 200px; height: 200px; top: 30%; right: 40%; background: radial-gradient(circle, rgba(212,165,116,0.15) 0%, transparent 70%); }
.hero-leaves {
    position: absolute; inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C4787A' opacity='0.06'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66L7 19h2l3-3h2l2-2 2 .5V8z'/%3E%3C/svg%3E");
    background-size: 60px; opacity: 0.03;
}

.hero-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; min-height: 100vh;
    max-width: 1200px; margin: 0 auto; padding: 120px 24px 60px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; background: var(--bg-warm);
    border: 1px solid var(--primary-pale);
    border-radius: var(--radius-full);
    font-size: 0.85rem; color: var(--primary-dark); font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}
.hero-badge i { color: var(--secondary); }
.hero-title {
    font-size: 3rem; font-weight: 900; line-height: 1.4;
    color: var(--dark); margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-title .highlight {
    color: var(--primary);
    position: relative;
}
.hero-subtitle {
    font-size: 1.05rem; line-height: 1.9; color: var(--text-light);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.5s both;
}
.badge-item {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px; background: white;
    border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 500;
    color: var(--text-light); box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.badge-item i { color: var(--primary); font-size: 0.9rem; }
.hero-actions {
    display: flex; gap: 14px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-img-wrapper {
    position: relative; border-radius: 24px; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-img-wrapper img { width: 100%; height: 500px; object-fit: cover; }
.hero-img-decoration {
    position: absolute; inset: 0;
    border: 3px solid rgba(196,120,122,0.2); border-radius: 24px;
    transform: translate(12px, 12px); z-index: -1;
}
.hero-quote {
    position: absolute; bottom: -20px; right: -20px;
    background: white; padding: 20px 24px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); max-width: 300px;
    border-right: 3px solid var(--primary);
}
.quote-mark { font-size: 2.5rem; color: var(--primary-pale); font-family: var(--font-en); line-height: 0.5; display: block; }
.hero-quote p { font-size: 0.85rem; color: var(--text-light); font-style: italic; line-height: 1.6; margin: 8px 0; }
.hero-quote cite { font-size: 0.8rem; color: var(--primary); font-weight: 600; font-style: normal; }

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

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; padding: 6px 20px;
    background: var(--bg-warm); color: var(--primary);
    border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 14px;
}
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.section-desc { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ===== About ===== */
.about { background: var(--bg-cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-img-secondary {
    position: absolute; bottom: -30px; left: -20px;
    width: 180px; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 4px solid white;
}
.about-img-secondary img { width: 100%; height: 130px; object-fit: cover; }
.about-stamp {
    position: absolute; top: -15px; right: -15px;
    width: 80px; height: 80px; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow); background: white; padding: 6px;
}
.about-stamp img { width: 100%; height: 100%; object-fit: contain; }

.about-tagline { font-size: 1.15rem; color: var(--primary); font-weight: 600; margin-bottom: 16px; }
.about-content > p { color: var(--text-light); margin-bottom: 28px; line-height: 1.9; }
.about-highlights { display: flex; flex-direction: column; gap: 20px; }
.highlight-item { display: flex; gap: 16px; align-items: flex-start; }
.highlight-icon {
    width: 48px; height: 48px; min-width: 48px;
    background: var(--bg-warm); color: var(--primary);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.highlight-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.highlight-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ===== Hero Tagline ===== */
.hero-subtitle-tagline {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--bg-warm), var(--primary-pale));
    border-radius: var(--radius-full);
    display: inline-block;
    border: 1px solid var(--primary-light);
}

/* ===== Why Montessori ===== */
.why-montessori { background: linear-gradient(180deg, var(--bg-cream), var(--bg-warm)); }
.montessori-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.montessori-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(196,120,122,0.08);
    position: relative;
    overflow: hidden;
}
.montessori-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: var(--radius) var(--radius) 0 0;
}
.montessori-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.montessori-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-warm), var(--primary-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--primary);
}
.montessori-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.montessori-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}
.montessori-quote {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid var(--primary-pale);
}
.montessori-quote .quote-icon {
    display: block;
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}
.montessori-quote blockquote {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 2;
    font-style: italic;
    margin-bottom: 12px;
}
.montessori-quote cite {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    font-style: normal;
}

/* ===== Vision ===== */
.vision { background: var(--bg); }
.vision-grid {
    display: flex; align-items: stretch; justify-content: center; gap: 30px;
    margin-bottom: 50px;
}
.vision-card {
    flex: 1; max-width: 380px; padding: 36px;
    border-radius: var(--radius); text-align: center;
    transition: var(--transition);
}
.vision-card.montessori { background: linear-gradient(160deg, #F0F7E8, #E8F0DC); border: 1px solid rgba(123,143,78,0.15); }
.vision-card.japanese { background: linear-gradient(160deg, #FFF0ED, #FDE8E4); border: 1px solid rgba(196,120,122,0.15); }
.vision-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vision-icon { font-size: 2rem; margin-bottom: 16px; }
.vision-card.montessori .vision-icon { color: var(--secondary); }
.vision-card.japanese .vision-icon { color: var(--primary); }
.vision-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.vision-card ul { display: flex; flex-direction: column; gap: 12px; }
.vision-card li {
    display: flex; align-items: center; gap: 10px; justify-content: center;
    font-size: 0.95rem; color: var(--text-light);
}
.vision-card.montessori li i { color: var(--secondary); }
.vision-card.japanese li i { color: var(--primary); }

.vision-plus {
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700; color: var(--primary-light);
}

.vision-mission {
    text-align: center; padding: 30px; margin-bottom: 40px;
    background: linear-gradient(135deg, var(--bg-warm), var(--bg-cream));
    border-radius: var(--radius); border: 1px solid var(--primary-pale);
}
.mission-text { font-size: 1.15rem; font-weight: 600; color: var(--dark); line-height: 1.8; }

.vision-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.value-item {
    text-align: center; padding: 24px 16px;
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition);
}
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon {
    width: 56px; height: 56px; margin: 0 auto 14px;
    background: var(--bg-warm); color: var(--primary);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.value-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.5; }

.vision-teachers {
    background: white; padding: 30px; border-radius: var(--radius);
    box-shadow: var(--shadow); border-right: 4px solid var(--primary);
    margin-bottom: 30px;
}
.teachers-content { display: flex; align-items: center; gap: 20px; }
.teachers-icon {
    width: 60px; height: 60px; min-width: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.teachers-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.teachers-content p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

.vision-tagline {
    text-align: center; padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-full);
}
.vision-tagline p { color: white; font-size: 1.1rem; font-weight: 700; }

/* ===== Programs ===== */
.programs { background: var(--bg-light); }
.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.program-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
    border: 1px solid rgba(196,120,122,0.08);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 0;
}
.program-age-badge {
    padding: 6px 16px; background: var(--primary-pale);
    color: var(--primary-dark); border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 600;
}
.program-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.program-img { padding: 16px 24px; }
.program-img img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); }
.program-content { padding: 0 24px 28px; }
.program-content h3 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.program-content > p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 18px; line-height: 1.8; }
.program-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.program-details li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.88rem; color: var(--text-light); line-height: 1.5;
}
.program-details i { color: var(--secondary); margin-top: 3px; font-size: 0.85rem; }

/* ===== Video ===== */
.video-section { padding: 60px 0; background: var(--bg-cream); }
.video-wrapper {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lg); max-width: 800px; margin: 0 auto;
    aspect-ratio: 16/9;
}
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; z-index: 2;
    box-shadow: 0 0 0 16px rgba(196,120,122,0.2);
    transition: var(--transition);
}
.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-play-btn.playing { opacity: 0; pointer-events: none; }
.video-overlay-text {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 24px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white; z-index: 1;
}
.video-overlay-text h2 { font-size: 1.3rem; margin-bottom: 6px; }
.video-overlay-text p { font-size: 0.9rem; opacity: 0.85; }

/* ===== Gallery ===== */
.gallery { background: var(--bg); }
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery-item {
    border-radius: var(--radius-sm); overflow: hidden;
    position: relative; cursor: pointer;
    aspect-ratio: 16/11;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(196,120,122,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
    color: white; font-size: 1.3rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #FFF5F5 0%, #FDE8E4 50%, #F5D5D6 100%);
    text-align: center;
}
.cta-content h2 { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.cta-content > p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 8px; }
.cta-sub { font-size: 0.95rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; }

/* ===== Contact ===== */
.contact { background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
    display: flex; align-items: center; gap: 14px;
    padding: 18px; background: white; border-radius: var(--radius-sm);
    transition: var(--transition);
}
.contact-card:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.contact-icon {
    width: 46px; height: 46px; min-width: 46px;
    background: var(--bg-warm); color: var(--primary);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.contact-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.contact-card p { font-size: 0.85rem; color: var(--text-light); }
.contact-socials { display: flex; gap: 10px; margin-top: 10px; }
.social-link {
    width: 42px; height: 42px;
    background: var(--primary); color: white;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: var(--transition);
}
.social-link:hover { transform: translateY(-3px); background: var(--primary-dark); }

.contact-form-wrapper {
    background: white; padding: 32px; border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--dark);
    display: flex; align-items: center; gap: 10px;
}
.contact-form h3 i { color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px;
    background: var(--bg-light); border: 2px solid transparent;
    border-radius: var(--radius-sm); font-size: 0.92rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-light); background: white;
}
.form-group textarea { resize: vertical; }

/* ===== Footer ===== */
.footer {
    background: var(--dark); color: rgba(255,255,255,0.75);
    padding: 80px 0 0; position: relative;
}
.footer-wave { position: absolute; top: -2px; left: 0; right: 0; color: var(--bg-light); line-height: 0; }
.footer-wave svg { width: 100%; height: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 12px; background: white; padding: 4px; }
.footer-brand h3 { color: white; font-family: var(--font-en); font-size: 1.2rem; margin-bottom: 4px; }
.footer-tagline { font-size: 0.8rem; color: var(--primary-light); margin-bottom: 10px; font-family: var(--font-en); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { color: white; font-size: 1rem; margin-bottom: 14px; }
.footer-links a { display: block; padding: 5px 0; font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); padding-right: 6px; }
.footer-contact p { font-size: 0.85rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; text-align: center; font-size: 0.82rem; }

/* ===== WhatsApp ===== */
.whatsapp-float {
    position: fixed; bottom: 28px; left: 28px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.3); }
    50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; color: white; font-size: 1.3rem;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { left: 20px; top: 50%; transform: translateY(-50%); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
    .hero-image { max-width: 500px; margin: 0 auto; }
    .montessori-grid { grid-template-columns: repeat(2, 1fr); }
    .vision-values { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh;
        background: white; flex-direction: column; padding: 80px 24px 24px;
        box-shadow: var(--shadow-lg); transition: var(--transition);
        align-items: stretch; gap: 4px;
    }
    .nav-links.open { right: 0; }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-content { min-height: auto; padding-top: 100px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; }
    .hero-img-wrapper img { height: 350px; }
    .hero-quote { position: relative; bottom: auto; right: auto; margin-top: 16px; }

    .section { padding: 60px 0; }
    .section-title { font-size: 1.7rem; }

    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-img-secondary { bottom: -20px; left: -10px; width: 140px; }
    .about-stamp { top: -10px; right: -10px; width: 60px; height: 60px; }

    .vision-grid { flex-direction: column; align-items: center; }
    .vision-plus { transform: rotate(90deg); }
    .vision-values { grid-template-columns: 1fr 1fr; }
    .teachers-content { flex-direction: column; text-align: center; }

    .montessori-grid { grid-template-columns: 1fr; }
    .programs-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .cta-content h2 { font-size: 1.7rem; }
    .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-badges { gap: 8px; }
    .badge-item { font-size: 0.75rem; padding: 6px 12px; }
    .vision-values { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
