/* ==========================================================================
   SIPS GLOBAL STYLES
   ========================================================================== */
:root {
  --sky: #6bc8ff; --sky-light: #a8deff; --sky-deep: #3aadee; --sky-pale: #e8f7ff;
  --white: #ffffff; --dark: #0d2233; --mid: #2a4a63; --muted: #6b8fa8; --border: #d0eeff;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 90px; padding: 0 6vw;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); box-shadow: 0 2px 24px rgba(107,200,255,0.10);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-circle {
  width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(107,200,255,0.4); flex-shrink: 0;
}
.nav-logo-circle img { width: 32px; height: 32px; object-fit: contain; }
.nav-name { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; color: var(--sky-deep); line-height: 1.2; }
.nav-name span { color: var(--dark); font-size: 14px; display: block; font-family: 'DM Sans', sans-serif; font-weight: 600;}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--mid); text-decoration: none; letter-spacing: 0.4px; position: relative; padding-bottom: 4px; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--sky-deep); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--sky-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.menu-toggle { display: none; font-size: 28px; background: none; border: none; cursor: pointer; color: var(--sky-deep); }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--sky-deep), var(--sky)); color: white; border: none; border-radius: 50px;
  padding: 14px 36px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 24px rgba(107,200,255,0.4); transition: transform 0.2s, box-shadow 0.2s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(107,200,255,0.5); }
.btn-outline {
  background: transparent; border: 2px solid var(--border); color: var(--mid); border-radius: 50px;
  padding: 13px 32px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--sky-deep); color: var(--sky-deep); }

/* ── HERO & SUB-PAGES ── */
.hero { min-height: 100vh; background: linear-gradient(160deg, #f0faff 0%, #e0f4ff 40%, #ffffff 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 6vw 80px; position: relative; overflow: hidden; }
.page-hero { padding: 140px 6vw 80px; background: linear-gradient(160deg, #f0faff, #e0f4ff 50%, #fff); position: relative; overflow: hidden; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--sky-pale); border: 1px solid var(--border); border-radius: 100px; padding: 6px 18px; font-size: 12px; font-weight: 600; color: var(--sky-deep); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }
.hero h1, .page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 76px); font-weight: 900; line-height: 1.08; color: var(--dark); max-width: 820px; margin: 0 auto; }
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--sky-deep); }
.hero-sub, .page-hero p { font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); font-weight: 400; margin-top: 20px; max-width: 540px; line-height: 1.7; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--sky-deep); text-decoration: none; font-weight: 500; }
/* ── HOME PAGE SPECIFICS (Stats & Banner) ── */
.hero-banner { 
  width: 100%; 
  overflow: hidden; 
  margin-top: 90px; /* <--- ADD THIS LINE */
}

/* ── HERO STATS (Added from missing code) ── */
.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; justify-content: center; width: 100%;}
.stat { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--sky-deep); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }

/* ── ADMISSION BANNER ── */
.admission-banner { background: linear-gradient(135deg, var(--sky-deep) 0%, #2196e8 100%); padding: 28px 6vw; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; text-align: center; }
.admission-banner .adm-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white; }
.admission-banner .adm-contact { font-size: 15px; color: rgba(255,255,255,0.85); font-weight: 500; }
.admission-banner .adm-contact strong { color: white; font-size: 25px; }

/* ── SECTIONS & TYPOGRAPHY ── */
section { padding: 100px 6vw; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 46px); font-weight: 700; color: var(--dark); line-height: 1.2; }
.section-desc { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 580px; margin-top: 14px; }

/* ── HOME ABOUT SECTION ── */
.about-inner, .trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-bg { width: 100%; padding-bottom: 90%; background: linear-gradient(135deg, var(--sky-pale), var(--border)); border-radius: 24px; position: relative; overflow: hidden; }
.about-img-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.feature-chip { display: flex; align-items: center; gap: 10px; background: var(--sky-pale); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--mid); }

/* ── TEACHERS GRID ── */
.teachers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 56px; }
.teacher-card { background: white; border-radius: 20px; padding: 32px 24px 28px; text-align: center; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(107,200,255,0.08); transition: transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.teacher-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--sky), var(--sky-deep)); }
.teacher-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(107,200,255,0.2); }
.teacher-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg, var(--sky-pale), var(--sky)); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--sky-deep); border: 3px solid var(--border); }
.teacher-role { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 8px; }
.teacher-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.teacher-qual { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 400; }

/* ── GALLERY GRID (HOME PREVIEW) ── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; margin-top: 56px; min-height: 440px; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--sky-pale), var(--border)); }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,34,51,0.5) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 16px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag { background: var(--sky); color: white; border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600; }

/* ── MASONRY GALLERY (FULL PAGE) ── */
.masonry-grid { columns: 4 240px; column-gap: 16px; margin-top: 40px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; background: var(--sky-pale); transition: transform 0.3s, box-shadow 0.3s; }
.masonry-item:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 40px rgba(107,200,255,0.25); }
.masonry-item img { width: 100%; display: block; transition: transform 0.4s; min-height: 120px; object-fit: cover; }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,34,51,0.6) 0%, transparent 55%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 14px; }
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-tag { background: rgba(107,200,255,0.9); backdrop-filter: blur(4px); color: white; border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 40px 6vw 0; }
.filter-btn { padding: 9px 22px; border-radius: 50px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: white; color: var(--mid); cursor: pointer; transition: all 0.2s; letter-spacing: 0.3px; }
.filter-btn:hover, .filter-btn.active { background: linear-gradient(135deg, var(--sky-deep), var(--sky)); color: white; border-color: transparent; box-shadow: 0 6px 18px rgba(107,200,255,0.35); }

/* ── LIGHTBOX (GALLERY) ── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(13,34,51,0.95); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 85vh; border-radius: 16px; box-shadow: 0 32px 80px rgba(0,0,0,0.6); display: block; object-fit: contain; }
.lb-close { position: absolute; top: -48px; right: 0; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: background 0.2s; }
.lb-close:hover { background: rgba(107,200,255,0.3); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; transition: background 0.2s; user-select: none; }
.lb-prev { left: -60px; } .lb-next { right: -60px; }
.lb-prev:hover, .lb-next:hover { background: rgba(107,200,255,0.35); }
.lb-counter { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ── ANNOUNCEMENTS STRIP ── */
.ann-strip { background: var(--sky-pale); padding: 60px 6vw; }
.ann-strip-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.ann-list { display: flex; flex-direction: column; gap: 14px; }
.ann-item { background: white; border-radius: 16px; border: 1px solid var(--border); padding: 18px 22px; display: flex; align-items: flex-start; gap: 14px; box-shadow: 0 2px 12px rgba(107,200,255,0.06); }
.ann-icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ann-body-title { font-size: 15px; font-weight: 700; color: var(--dark); }
.ann-body-text { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.ann-date { font-size: 11px; color: var(--muted); margin-top: 5px; }

/* ── CONTACT FORM SECTION ── */
.contact-section { background: linear-gradient(160deg, var(--dark) 0%, var(--mid) 100%); position: relative; overflow: hidden; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.contact-section .section-label, .contact-item-title { color: var(--sky-light); }
.contact-section .section-title, .contact-item-val { color: white; }
.contact-section .section-desc { color: rgba(255,255,255,0.6); }
.contact-items { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(107,200,255,0.15); border: 1px solid rgba(107,200,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; flex-shrink: 0; }
.contact-form-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(107,200,255,0.2); border-radius: 24px; padding: 40px; }
.form-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--sky-light); letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select { background: rgba(255,255,255,0.08); border: 1px solid rgba(107,200,255,0.2); border-radius: 10px; padding: 12px 16px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: white; outline: none; transition: border-color 0.2s; resize: none; -webkit-appearance: none;}
.form-group select option { background: #0d2233; color: white; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--sky); }
.form-submit { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--sky-deep), var(--sky)); border: none; border-radius: 10px; font-size: 15px; font-weight: 600; color: white; cursor: pointer; box-shadow: 0 8px 24px rgba(107,200,255,0.35); transition: opacity 0.2s; }
.form-submit:hover { opacity: 0.9; }

/* ── FOOTER & SOCIAL ── */
footer { background: var(--dark); padding: 28px 6vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(107,200,255,0.1); }
footer p { font-size: 13px; color: var(--muted); }
footer p strong { color: var(--sky); }
.social-links { display: flex; gap: 12px; align-items: center; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; color: white; text-decoration: none; transition: transform 0.2s, opacity 0.2s; background: rgba(107,200,255,0.1); border: 1px solid rgba(107,200,255,0.2); }
.social-btn:hover { background: rgba(107,200,255,0.2); transform: translateY(-3px); }
.social-btn.youtube { background: #FF0000; border-color: #FF0000; }
.social-btn.facebook { background: #1877F2; border-color: #1877F2; }
.social-btn.whatsapp { background: #25D366; border-color: #25D366; }
.social-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border:none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-inner, .trust-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; right: 0; width: 100%; background: white; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .nav-links.show { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 10px 0; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .masonry-grid { columns: 2 140px; }
}
@media (max-width: 640px) {
  section { padding: 70px 5vw; }
  .hero-stats { gap: 32px; margin-top: 40px; }
  .stat-num { font-size: 28px; }
}
