/* ================================================
   SUNRISE ACADEMY – Main Stylesheet
   Fonts: Playfair Display + DM Sans + Caveat
   Theme: Warm Amber/Orange with deep navy
   ================================================ */

:root {
    --primary: #f7931e;
    --primary-dark: #e8810e;
    --secondary: #1a1a2e;
    --accent: #ff6b6b;
    --teal: #2ec4b6;
    --purple: #6c63ff;
    --green: #20bf6b;
    --white: #ffffff;
    --light-bg: #f8f9ff;
    --text-main: #2d2d2d;
    --text-muted: #6b7280;
    --card-shadow: 0 8px 40px rgba(0,0,0,0.10);
    --card-radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    background: #fff;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,.12);
    padding: 10px 0;
    backdrop-filter: blur(10px);
}
.nav-inner {
    max-width: 1300px; margin: 0 auto;
    padding: 0 30px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(247,147,30,.4);
}
.logo-text { display: flex; flex-direction: column; }
.school-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--secondary); line-height:1; }
.school-tagline { font-size: 0.7rem; color: var(--primary); font-weight: 500; letter-spacing: 0.5px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-links a {
    text-decoration: none; color: var(--secondary);
    font-size: 0.88rem; font-weight: 500; padding: 8px 14px;
    border-radius: 8px; transition: all 0.3s;
}
.nav-links a:hover { background: rgba(247,147,30,.1); color: var(--primary); }
.nav-cta {
    background: linear-gradient(135deg, var(--primary), #ff6b6b) !important;
    color: white !important; padding: 10px 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(247,147,30,.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(247,147,30,.4) !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--secondary); border-radius: 3px; transition: 0.3s; }

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #fffbf5 0%, #fff8ef 50%, #f0f8ff 100%);
    padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.35; animation: blobFloat 8s ease-in-out infinite;
}
.blob1 { width: 600px; height: 600px; background: radial-gradient(circle, #f7931e44, transparent); top: -200px; left: -100px; animation-delay: 0s; }
.blob2 { width: 500px; height: 500px; background: radial-gradient(circle, #6c63ff44, transparent); bottom: -100px; right: -100px; animation-delay: 2s; }
.blob3 { width: 400px; height: 400px; background: radial-gradient(circle, #2ec4b644, transparent); top: 50%; left: 40%; animation-delay: 4s; }
@keyframes blobFloat { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(20px,-30px) scale(1.05);} 66%{transform:translate(-15px,20px) scale(0.95);} }

.dots-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(247,147,30,.15) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-inner {
    max-width: 1300px; width: 100%; margin: 0 auto;
    padding: 60px 30px 40px;
    display: grid; grid-template-columns: 1fr 480px;
    gap: 60px; align-items: center;
    flex: 1; position: relative; z-index: 1;
}

/* LEFT SLIDER */
.slider-wrapper { position: relative; min-height: 480px; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}
.slide.active { opacity: 1; transform: translateX(0); pointer-events: all; }
.slide.exit { opacity: 0; transform: translateX(40px); }

.slide-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(247,147,30,.15), rgba(255,107,107,.1));
    border: 1.5px solid rgba(247,147,30,.3);
    color: var(--primary-dark);
    padding: 8px 18px; border-radius: 30px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 25px;
    animation: fadeInDown 0.5s ease forwards;
}
.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900; line-height: 1.2;
    color: var(--secondary); margin-bottom: 20px;
}
.slide-title .highlight {
    color: var(--primary);
    position: relative;
}
.slide-title .highlight::after {
    content: '';
    position: absolute; bottom: 2px; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff6b6b);
    border-radius: 2px; opacity: 0.5;
}
.slide-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; max-width: 550px; }

.slide-stats { display: flex; gap: 30px; margin-bottom: 20px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

.slide-icons { display: flex; gap: 16px; margin-bottom: 20px; }
.icon-box {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    background: white; border-radius: 16px; padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    font-size: 1.5rem; transition: all 0.3s;
}
.icon-box span { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.icon-box:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }

.slide-features { list-style: none; }
.slide-features li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 0.95rem; color: var(--text-main); border-bottom: 1px solid rgba(0,0,0,.05); }
.slide-features li i { color: var(--green); font-size: 1rem; }

.teacher-mini { display: flex; gap: 16px; margin-bottom: 20px; }
.tm-card { background: white; border-radius: 14px; padding: 16px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.08); }
.tm-avatar { font-size: 2rem; margin-bottom: 6px; }
.tm-card span { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }

.slide-controls {
    position: absolute; bottom: 0; left: 0;
    display: flex; align-items: center; gap: 16px;
}
.slide-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: white; border: 2px solid rgba(247,147,30,.3);
    color: var(--primary); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}
.slide-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.slide-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,147,30,.3); cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* RIGHT FORM CARD */
.hero-right { position: relative; }
.enquiry-form-card {
    background: white;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    border: 1.5px solid rgba(247,147,30,.15);
    position: relative; overflow: hidden;
}
.enquiry-form-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--primary), #ff6b6b, var(--purple));
}
.form-header { text-align: center; margin-bottom: 25px; }
.form-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    margin: 0 auto 15px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
    box-shadow: 0 8px 20px rgba(247,147,30,.4);
}
.form-header h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--secondary); }
.form-header h2 span { color: var(--primary); }
.form-header p { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.alert-success { background: #e8f8f0; color: #1a7a45; border-left: 4px solid var(--green); }
.alert-error { background: #ffe8e8; color: #c0392b; border-left: 4px solid var(--accent); }

.enq-form { display: flex; flex-direction: column; gap: 14px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: var(--secondary); margin-bottom: 6px;
    display: flex; align-items: center; gap: 6px;
}
.form-group label i { color: var(--primary); font-size: 0.75rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 11px 14px;
    border: 2px solid #e8eaf0; border-radius: 10px;
    font-size: 0.88rem; font-family: 'DM Sans', sans-serif;
    color: var(--text-main); transition: all 0.3s;
    background: #fafbff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--primary);
    background: white; box-shadow: 0 0 0 4px rgba(247,147,30,.1);
}
.form-group textarea { resize: none; }
.submit-btn {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: white; border: none; border-radius: 12px;
    font-size: 1rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s; box-shadow: 0 6px 20px rgba(247,147,30,.4);
    font-family: 'DM Sans', sans-serif;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(247,147,30,.5); }
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.78rem; }
.scroll-mouse { width: 28px; height: 42px; border: 2px solid rgba(247,147,30,.4); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 4px; height: 8px; background: var(--primary); border-radius: 2px; animation: scrollAnim 1.5s ease-in-out infinite; }
@keyframes scrollAnim { 0%{transform:translateY(0);opacity:1} 100%{transform:translateY(12px);opacity:0} }

/* ===================== TICKER ===================== */
.ticker-bar {
    background: linear-gradient(135deg, var(--secondary), #0f3460);
    color: white; display: flex; align-items: center; overflow: hidden;
    height: 46px; position: relative; z-index: 10;
}
.ticker-label {
    background: var(--primary); padding: 0 20px; height: 100%;
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 0.85rem; white-space: nowrap; flex-shrink: 0;
}
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-move { display: inline-block; white-space: nowrap; animation: ticker 30s linear infinite; font-size: 0.85rem; opacity: 0.9; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===================== CONTAINER ===================== */
.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* ===================== SECTIONS COMMON ===================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header.light h2, .section-header.light p { color: white; }
.section-header.light .section-label { background: rgba(255,255,255,.15); color: white; border-color: rgba(255,255,255,.3); }
.section-label {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: rgba(247,147,30,.1); border: 1.5px solid rgba(247,147,30,.3);
    color: var(--primary); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--secondary); line-height: 1.3; }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--text-muted); max-width: 550px; margin: 14px auto 0; line-height: 1.7; }

/* ===================== ABOUT ===================== */
.about-section { padding: 100px 0; background: var(--light-bg); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-side { position: relative; }
.about-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.aig {
    border-radius: 20px; overflow: hidden;
    aspect-ratio: 1; box-shadow: var(--card-shadow);
    position: relative;
}
.aig img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.5s ease;
}
.aig:hover img { transform: scale(1.06); }
.aig1 { background: #fff8f0; }
.aig2 { background: #f0f8ff; margin-top: 30px; }
.aig3 { background: #f0fff4; }
.aig4 { background: #fdf2f8; margin-top: 30px; }
.about-badge-float {
    position: absolute; bottom: 10px; right: -20px;
    background: white; border-radius: 16px; padding: 16px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    border-left: 4px solid var(--primary);
}
.about-badge-float i { font-size: 1.5rem; color: var(--primary); }
.about-badge-float strong { display: block; font-size: 0.9rem; color: var(--secondary); }
.about-badge-float span { font-size: 0.78rem; color: var(--text-muted); }

.about-content .section-label { margin-bottom: 12px; }
.about-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 2.5vw, 2.5rem); color: var(--secondary); margin-bottom: 20px; }
.about-content h2 span { color: var(--primary); }
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.pillar { background: white; border-radius: 16px; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,.07); transition: all 0.3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.pillar-icon { font-size: 1.8rem; margin-bottom: 10px; }
.pillar h4 { font-size: 0.95rem; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.pillar p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: white; padding: 14px 28px; border-radius: 12px;
    text-decoration: none; font-weight: 600; font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(247,147,30,.4); transition: all 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(247,147,30,.5); }

/* ===================== CLASSES ===================== */
.classes-section { padding: 100px 0; background: white; }
.classes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.class-card {
    border-radius: var(--card-radius); border: 2px solid rgba(0,0,0,.06);
    padding: 28px; transition: all 0.4s; background: white;
    position: relative; overflow: hidden;
}
.class-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--accent);
}
.class-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.12); border-color: var(--accent); }
.class-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.class-emoji { font-size: 2.5rem; }
.class-info h3 { font-size: 1.15rem; font-weight: 700; color: var(--secondary); }
.class-age { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.class-num-badge {
    margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 900; font-family: 'Playfair Display', serif;
    opacity: 0.15;
}
.class-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.class-subjects h4 { font-size: 0.8rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.subjects-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.subject-tag {
    padding: 4px 10px; border-radius: 6px;
    background: rgba(0,0,0,.04); color: var(--text-muted);
    font-size: 0.75rem; font-weight: 500;
}
.class-enq-btn {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); font-size: 0.85rem; font-weight: 700;
    text-decoration: none; transition: gap 0.3s;
}
.class-enq-btn:hover { gap: 12px; }

/* ===================== ACTIVITIES ===================== */
.activities-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #0f3460 100%);
    position: relative; overflow: hidden;
}
.activities-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.activities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; position: relative; }
.activity-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px; padding: 28px;
    transition: all 0.4s; backdrop-filter: blur(10px);
}
.activity-card:hover { background: rgba(255,255,255,.13); transform: translateY(-6px); border-color: rgba(255,255,255,.25); }
.activity-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; }
.activity-card h3 { color: white; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.activity-card p { color: rgba(255,255,255,.65); font-size: 0.85rem; line-height: 1.6; }

/* ===================== STATS ===================== */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; color: white; }
.stat-icon { font-size: 2rem; margin-bottom: 12px; opacity: 0.8; }
.stat-count { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; line-height: 1; }
.stat-plus { font-size: 2rem; font-weight: 900; line-height: 1; margin-top: -5px; }
.stat-item .stat-label { font-size: 0.88rem; margin-top: 8px; opacity: 0.85; font-weight: 500; }

/* ===================== FACULTY ===================== */
.faculty-section { padding: 100px 0; background: var(--light-bg); }
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.faculty-card {
    background: white; border-radius: var(--card-radius); padding: 30px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all 0.3s;
    border: 2px solid transparent;
}
.faculty-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.faculty-avatar {
    width: 70px; height: 70px; border-radius: 20px;
    background: linear-gradient(135deg, #fff8f0, #ffe9cc);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(247,147,30,.2);
}
.faculty-info h3 { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.faculty-role { display: block; font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.faculty-class { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.faculty-meta { display: flex; flex-direction: column; gap: 4px; }
.faculty-meta span { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.faculty-meta i { color: var(--primary); width: 12px; }

/* ===================== GALLERY ===================== */
.gallery-section { padding: 100px 0; background: white; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 16px;
}
.gal-item {
    border-radius: 16px; overflow: hidden;
    cursor: pointer; position: relative;
    transition: all 0.4s; background: var(--light-bg);
}
.gal-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.5s ease;
}
.gal-item:hover img { transform: scale(1.07); }
.gal-item span {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.72));
    color: white; font-size: 0.85rem; font-weight: 600;
    padding: 30px 14px 12px; opacity: 0; transition: opacity 0.35s;
}
.gal-item:hover span { opacity: 1; }
.gal-item:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.gal-item.big  { grid-column: span 2; }
.gal-item.big2 { grid-column: span 2; }
.gal-item.tall { grid-row: span 2; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px; padding: 30px;
    position: relative; transition: all 0.3s;
}
.testimonial-card:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.quote-icon {
    font-family: 'Playfair Display', serif; font-size: 4rem;
    color: var(--primary); line-height: 1; opacity: 0.6; margin-bottom: 10px;
}
.testimonial-card p { color: rgba(255,255,255,.8); font-size: 0.92rem; line-height: 1.8; margin-bottom: 24px; }
.testimonial-footer { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { font-size: 1.8rem; }
.testimonial-footer strong { display: block; color: white; font-size: 0.9rem; }
.testimonial-footer span { color: rgba(255,255,255,.5); font-size: 0.78rem; }
.stars { margin-left: auto; font-size: 0.8rem; }

/* ===================== CONTACT ===================== */
.contact-section { padding: 100px 0; background: var(--light-bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-info .section-label { margin-bottom: 12px; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--secondary); margin-bottom: 35px; }
.contact-info h2 span { color: var(--primary); }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.ci { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; box-shadow: 0 4px 15px rgba(247,147,30,.3);
}
.ci strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.ci span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 42px; height: 42px; border-radius: 12px;
    background: white; border: 2px solid rgba(247,147,30,.2);
    color: var(--primary); display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}
.social-links a:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.map-placeholder {
    background: linear-gradient(135deg, #fff8f0, #ffe9cc);
    border-radius: 24px; height: 400px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; border: 2px dashed rgba(247,147,30,.3);
}
.map-content i { font-size: 3rem; color: var(--primary); margin-bottom: 16px; display: block; }
.map-content h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--secondary); margin-bottom: 8px; }
.map-content p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--primary); color: var(--primary);
    padding: 10px 20px; border-radius: 10px; text-decoration: none;
    font-weight: 600; font-size: 0.88rem; transition: all 0.3s;
}
.btn-outline:hover { background: var(--primary); color: white; }

/* ===================== FOOTER ===================== */
.footer {
    background: linear-gradient(135deg, var(--secondary), #0a0a1a);
    color: rgba(255,255,255,.7); padding-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 60px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo .school-name { color: white; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-cert { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-cert span { padding: 5px 12px; background: rgba(255,255,255,.08); border-radius: 6px; font-size: 0.75rem; }
.footer-links h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links ul a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 0.88rem; transition: 0.3s; }
.footer-links ul a:hover { color: var(--primary); padding-left: 6px; }
.footer-newsletter h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.footer-newsletter p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.newsletter-form { display: flex; background: rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 12px 16px; color: white; font-size: 0.85rem; font-family: 'DM Sans', sans-serif; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { background: var(--primary); border: none; padding: 12px 16px; color: white; cursor: pointer; transition: 0.3s; }
.newsletter-form button:hover { background: var(--primary-dark); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.3s; font-size: 0.85rem; }
.footer-social a:hover { background: var(--primary); color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-links-inline { display: flex; gap: 20px; }
.footer-links-inline a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 0.82rem; transition: 0.3s; }
.footer-links-inline a:hover { color: var(--primary); }

/* ===================== SCROLL TOP ===================== */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: white; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; box-shadow: 0 6px 20px rgba(247,147,30,.4);
    opacity: 0; transform: translateY(20px); transition: all 0.4s; z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { max-width: 520px; margin: 0 auto; }
    .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
        flex-direction: column; padding: 30px; gap: 8px;
        transform: translateX(100%); transition: transform 0.4s;
        overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.2);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1rem; padding: 14px; border-radius: 12px; }
    .hero-inner { padding: 30px 20px; }
    .slider-wrapper { min-height: 520px; }
    .slide-stats { flex-direction: column; gap: 15px; }
    .slide-icons { flex-wrap: wrap; }
    .form-row.two-col { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
    .gal-item.big, .gal-item.big2, .gal-item.tall { grid-column: span 1; grid-row: span 1; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .teacher-mini { flex-direction: column; }
    .about-badge-float { right: 0; bottom: -20px; }
}
@media (max-width: 480px) {
    .classes-grid { grid-template-columns: 1fr; }
    .activities-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .faculty-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .slide-title { font-size: 1.7rem; }
    .enquiry-form-card { padding: 24px 20px; }
}
