/* ===== FUNSHINE KIDDIES VILLE - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Using old variable names mapped to new colors to avoid breaking other elements */
  --blue: #6A4C9C; /* Purple */
  --pink: #FF7B54; /* Orange */
  --yellow: #FFD523; /* Bright Yellow */
  --cream: #FFFDF9; /* Very light cream/white */
  --dark: #2D3142;
  --text: #4F5D75;
  --text-light: #8D99AE;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(106, 76, 156, 0.08);
  --shadow-card: 0 8px 20px rgba(45, 49, 66, 0.05);
  --radius: 24px;
  --radius-sm: 16px;
  --blob-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  font-size: 16px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  color: var(--dark);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-cream { background: var(--cream); }
.center-btn { text-align: center; margin-top: 40px; }
.empty-msg { color: var(--text-light); font-style: italic; text-align: center; padding: 40px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 50px; font-weight: 800;
  font-family: 'Nunito', sans-serif; font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--pink); color: white; box-shadow: 0 6px 16px rgba(255, 123, 84, 0.25); }
.btn-primary:hover { background: #E66A45; transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 24px rgba(255, 123, 84, 0.35); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: white; transform: translateY(-3px); }
.btn-outline-dark { border-color: var(--dark); color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: white; transform: translateY(-3px); }
.btn-ghost { background: rgba(106,76,156,0.1); color: var(--blue); border-color: transparent; }
.btn-ghost:hover { background: rgba(106,76,156,0.2); transform: translateY(-3px); }
.btn-white { background: white; color: var(--pink); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); }
.btn-white:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); }
.btn-sm { padding: 8px 20px; font-size: 0.88rem; }
.btn-danger { background: #e53e3e; color: white; }
.btn-danger:hover { background: #c53030; }
.btn-success { background: #38a169; color: white; }
.btn-success:hover { background: #276749; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(26,141,193,0.10);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 52px; display: block; }
.nav-logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.5px;
  transition: color 0.3s;
}
.nav-logo:hover .nav-logo-text {
  color: var(--pink);
}
.nav-links {
  display: flex; align-items: center; gap: 14px; list-style: none;
}
.nav-links a {
  padding: 4px 6px; border-radius: 6px; font-size: 0.84rem;
  font-weight: 600; color: var(--text); transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: rgba(26,141,193,0.08); }
.nav-cta {
  background: var(--pink) !important; color: white !important;
  border-radius: 50px !important; padding: 9px 20px !important;
}
.nav-cta:hover { background: #c9206f !important; box-shadow: 0 4px 16px rgba(224,48,138,0.3) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; height: 3px; width: 26px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding-top: 90px;
  background: var(--cream);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: rgba(255,123,84,0.12); /* light orange */
  border-radius: var(--blob-radius); animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: rgba(106,76,156,0.12); /* light purple */
  border-radius: var(--blob-radius); animation: float 10s ease-in-out infinite reverse;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }
.hero-content {
  max-width: 1140px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  position: relative; z-index: 1; width: 100%;
}
.hero-badge {
  display: inline-block; background: rgba(255,213,35,0.25); color: #d4a000;
  border-radius: 50px;
  padding: 8px 20px; font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.5px; margin-bottom: 24px; font-family: 'Nunito', sans-serif;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 900;
  color: var(--dark); line-height: 1.1; margin-bottom: 24px;
}
.hero-highlight {
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: var(--text); font-size: 1.15rem; line-height: 1.7; margin-bottom: 16px; }
.hero-motto { color: var(--blue); font-style: italic; font-size: 1rem; margin-bottom: 36px; font-family: 'Nunito', sans-serif; font-weight: 800; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-stacking-images {
  position: relative;
  width: 500px;
  height: 550px;
}
.stack-img {
  position: absolute;
  width: 300px;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid white;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s ease-in-out;
}
.stack-img.img1 {
  top: 0; left: 0; z-index: 3;
  animation: floatImg1 5s ease-in-out infinite;
}
.stack-img.img2 {
  top: 60px; left: 90px; z-index: 2;
  animation: floatImg2 6s ease-in-out infinite;
}
.stack-img.img3 {
  top: 120px; left: 180px; z-index: 1;
  animation: floatImg3 5.5s ease-in-out infinite;
}
@keyframes floatImg1 { 0%, 100% { transform: translateY(0) translateX(0) rotate(-5deg); } 50% { transform: translateY(-15px) translateX(10px) rotate(-2deg); } }
@keyframes floatImg2 { 0%, 100% { transform: translateY(0) translateX(0) rotate(5deg); } 50% { transform: translateY(-20px) translateX(-10px) rotate(8deg); } }
@keyframes floatImg3 { 0%, 100% { transform: translateY(0) translateX(0) rotate(10deg); } 50% { transform: translateY(-15px) translateX(15px) rotate(14deg); } }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--blue);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
}
.stat-item {
  flex: 1; min-width: 150px; text-align: center;
  padding: 32px 20px; border-right: 2px dashed rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block; font-family: 'Nunito', sans-serif; font-size: 2.5rem;
  font-weight: 900; color: var(--yellow); line-height: 1; margin-bottom: 4px;
}
.stat-label { color: white; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTION TITLES ===== */
.section-tag {
  display: inline-block; background: rgba(26,141,193,0.1); color: var(--blue);
  border-radius: 50px; padding: 5px 16px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900;
  margin-bottom: 48px; color: var(--dark);
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
}
.feature-card {
  border-radius: var(--radius);
  padding: 40px 28px; box-shadow: var(--shadow-card);
  border: none; text-align: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-card:nth-child(1) { background: #FFF8D6; } /* Yellow */
.feature-card:nth-child(2) { background: #FFE5EC; } /* Pink */
.feature-card:nth-child(3) { background: #E5F0FF; } /* Blue */
.feature-card:nth-child(4) { background: #E5FFE9; } /* Green */
.feature-card:nth-child(5) { background: #F3E5F5; } /* Light Purple */
.feature-card:nth-child(6) { background: #FFF0E5; } /* Light Orange */

.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature-icon { 
  font-size: 2.8rem; margin-bottom: 20px; display: inline-flex; 
  align-items: center; justify-content: center; width: 80px; height: 80px;
  background: rgba(255,255,255,0.5); border-radius: 50%;
}
.feature-card h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 12px; font-weight: 800; }
.feature-card p { color: var(--text); font-size: 0.95rem; line-height: 1.6; }

/* ===== NEWS CARDS ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
}
.news-card-img-placeholder {
  width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(26,141,193,0.15) 0%, rgba(224,48,138,0.15) 100%);
  font-size: 3rem; color: var(--blue);
}
.news-card-body { padding: 20px; }
.news-cat {
  display: inline-block; background: rgba(26,141,193,0.1); color: var(--blue);
  border-radius: 50px; padding: 3px 12px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 10px;
}
.news-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.news-card p { color: var(--text-light); font-size: 0.87rem; line-height: 1.6; margin-bottom: 12px; }
.news-card-meta { color: var(--text-light); font-size: 0.78rem; }

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.testi-card {
  background: white; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-card);
  border-left: 4px solid var(--pink);
}
.testi-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 12px; }
.testi-text { color: var(--text); font-size: 0.92rem; line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1rem; font-family: 'Nunito', sans-serif;
  overflow: hidden; flex-shrink: 0;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { color: var(--text-light); font-size: 0.78rem; }

/* ===== GALLERY PREVIEW ===== */
.gallery-grid-preview {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gp-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; aspect-ratio: 1; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gp-item:hover img { transform: scale(1.05); }
.gp-placeholder {
  width: 100%; height: 100%; background: linear-gradient(135deg, rgba(26,141,193,0.12), rgba(224,48,138,0.12));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--blue); aspect-ratio: 1;
}
.gp-placeholder svg { opacity: 0.5; }
.gp-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white; padding: 20px 10px 10px; font-size: 0.78rem;
  font-weight: 600; transform: translateY(100%); transition: transform 0.3s;
}
.gp-item:hover .gp-caption { transform: translateY(0); }

.cta-box {
  background: var(--pink); /* Vibrant Orange */
  padding: 70px 40px;
  text-align: center;
  border-radius: var(--blob-radius);
  box-shadow: 0 20px 40px rgba(255, 123, 84, 0.3);
  margin: -40px 0 40px 0;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50px; left: -50px; width: 150px; height: 150px;
  background: rgba(255,255,255,0.15); border-radius: 50%;
}
.cta-box::after {
  content: ''; position: absolute; bottom: -50px; right: -50px; width: 200px; height: 200px;
  background: rgba(255,255,255,0.15); border-radius: 50%;
}
.cta-box h2 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; position: relative; z-index: 1; font-weight: 900; }
.cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 36px; font-size: 1.1rem; position: relative; z-index: 1; }
.cta-box .hero-btns { position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.footer { background: var(--blue); padding: 80px 0 0; display: flex; flex-direction: column; justify-content: space-between; position: relative; margin-top: 60px; }
.footer::before { content: ''; position: absolute; top: -30px; left: 0; width: 100%; height: 60px; background: var(--blue); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; position: relative; z-index: 1; }
.footer-brand p { color: rgba(255,255,255,0.9); margin-top: 12px; font-size: 0.95rem; }
.footer-small { color: rgba(255,255,255,0.6) !important; font-size: 0.8rem !important; margin-top: 5px; }
.footer-col h4 { color: white; margin-bottom: 16px; font-family: 'Nunito', sans-serif; font-size: 1.3rem; font-weight: 800; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.85); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  background: rgba(0,0,0,0.15);
  padding: 24px; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }
.footer-bottom .admin-link { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 50px; transition: 0.2s; }
.footer-bottom .admin-link:hover { color: white; background: rgba(255,255,255,0.1); }
/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85); z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox-content { max-width: 90%; max-height: 80vh; border-radius: 8px; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 3rem; color: white; cursor: pointer; transition: 0.2s; }
.lightbox-close:hover { color: var(--pink); }
#lightbox-caption { color: white; margin-top: 16px; font-size: 1.1rem; font-family: 'Nunito', sans-serif; text-align: center; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--cream);
  padding: 140px 0 80px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50px; left: -50px; width: 300px; height: 300px;
  background: rgba(255,123,84,0.1); border-radius: var(--blob-radius);
}
.page-hero::after {
  content: ''; position: absolute; bottom: -50px; right: -50px; width: 200px; height: 200px;
  background: rgba(106,76,156,0.1); border-radius: var(--blob-radius);
}
.page-hero h1 { color: var(--dark); font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 12px; font-weight: 900; position: relative; z-index: 1; }
.page-hero p { color: var(--text); font-size: 1.15rem; position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; position: relative; z-index: 1; }
.breadcrumb a, .breadcrumb span { color: var(--text); font-size: 0.95rem; font-weight: 600; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .sep { color: var(--text-light); }

/* ===== ABOUT PAGE ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  background: var(--pink);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: white;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 16px; font-weight: 800; }
.about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.founder-card {
  background: white; border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-card); display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px; align-items: start;
}
.founder-photo {
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; overflow: hidden;
  border: 4px solid var(--yellow);
  flex-shrink: 0;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-info h3 { font-size: 1.4rem; margin-bottom: 4px; font-weight: 800; }
.founder-title { color: var(--blue); font-weight: 600; margin-bottom: 16px; }
.founder-info p { color: var(--text-light); line-height: 1.7; font-size: 0.93rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: white; border-radius: var(--radius-sm); padding: 24px;
  text-align: center; box-shadow: var(--shadow-card);
}
.value-icon { font-size: 2rem; margin-bottom: 10px; }
.value-card h4 { font-size: 1rem; color: var(--dark); }

/* ===== SCHOOL LIFE MOSAIC ===== */
.school-life-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.sl-main {
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
}
.sl-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.sl-main img, .sl-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.sl-main:hover img, .sl-item:hover img { transform: scale(1.04); }

/* ===== STAFF CARDS ===== */
.staff-card {
  text-align: center;
  background: white;
  border-radius: var(--radius-sm);
  padding: 28px 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.25s;
}
.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(106,76,156,0.13);
}
.staff-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.staff-name { font-weight: 800; font-size: 0.9rem; color: var(--dark); margin-bottom: 4px; }
.staff-role { color: var(--text-light); font-size: 0.78rem; }

/* ===== ACADEMICS ===== */
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.level-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-card); border-top: 4px solid var(--blue);
}
.level-card:nth-child(2) { border-top-color: var(--pink); }
.level-card:nth-child(3) { border-top-color: var(--yellow); }
.level-card:nth-child(4) { border-top-color: #38a169; }
.level-card h3 { margin-bottom: 8px; }
.level-card .level-hours { color: var(--blue); font-size: 0.82rem; font-weight: 700; margin-bottom: 12px; }
.level-card ul { padding-left: 0; }
.level-card ul li { color: var(--text-light); font-size: 0.87rem; padding: 4px 0; padding-left: 16px; position: relative; }
.level-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); }

/* ===== ADMISSIONS ===== */
.steps-list { display: flex; flex-direction: column; gap: 24px; max-width: 700px; }
.step {
  display: flex; gap: 24px; align-items: flex-start;
  background: white; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-body h3 { margin-bottom: 4px; }
.step-body p { color: var(--text-light); font-size: 0.9rem; }

/* ===== ACTIVITIES ===== */
.activities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.activity-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); text-align: center; transition: transform 0.2s;
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.activity-img {
  height: 160px; background: #E5F0FF;
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.activity-img img { width: 100%; height: 100%; object-fit: cover; }
.activity-body { padding: 20px; }
.activity-body h3 { font-size: 1rem; margin-bottom: 6px; }
.activity-body p { color: var(--text-light); font-size: 0.85rem; }

/* ===== GALLERY PAGE ===== */
.gallery-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.gallery-tab {
  padding: 8px 20px; border-radius: 50px; border: 2px solid rgba(26,141,193,0.3);
  background: white; color: var(--text); font-weight: 700; font-size: 0.85rem;
  cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s;
}
.gallery-tab.active, .gallery-tab:hover { background: var(--blue); color: white; border-color: var(--blue); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  position: relative; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-placeholder {
  width: 100%; height: 100%; aspect-ratio: 1;
  background: #FFF8D6;
  border-radius: var(--radius-sm); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--blue); font-size: 0.8rem; border: 2px dashed rgba(106,76,156,0.2);
}
.gallery-placeholder .ph-icon { font-size: 2rem; opacity: 0.5; }

/* ===== NEWS PAGE ===== */
.news-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.news-filter-btn {
  padding: 8px 20px; border-radius: 50px; border: 2px solid rgba(26,141,193,0.3);
  background: white; color: var(--text); font-weight: 700; font-size: 0.85rem;
  cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s;
}
.news-filter-btn.active, .news-filter-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid rgba(26,141,193,0.12); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; font-family: 'Nunito', sans-serif; font-size: 1rem;
  font-weight: 700; color: var(--dark); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q:hover { color: var(--blue); }
.faq-chevron { font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-q.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a.open { max-height: 300px; }
.faq-a p { color: var(--text-light); padding-bottom: 20px; line-height: 1.7; font-size: 0.93rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { background: white; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-card); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid rgba(26,141,193,0.18);
  border-radius: var(--radius-sm); font-family: 'Poppins', sans-serif; font-size: 0.9rem;
  color: var(--text); transition: border-color 0.2s; background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-card); margin-bottom: 24px;
}
.contact-info-card h3 { margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.contact-detail .icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}
.contact-detail:nth-child(2) .icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}
.contact-detail:nth-child(3) .icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}
.contact-detail:nth-child(4) .icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.contact-detail:nth-child(5) .icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z'/%3E%3C/svg%3E");
}
.contact-detail p { color: var(--text-light); font-size: 0.88rem; line-height: 1.5; }
.map-embed { border-radius: var(--radius-sm); overflow: hidden; margin-top: 12px; }
.map-embed iframe { display: block; border: none; }
.map-placeholder {
  background: rgba(26,141,193,0.06); border-radius: var(--radius-sm);
  height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--blue); font-size: 0.88rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5); transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }

/* ===== ADMIN STYLES ===== */
.admin-body { background: #f0f4f8; min-height: 100vh; }
.admin-nav {
  background: var(--dark); padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-nav-brand { display: flex; align-items: center; gap: 12px; }
.admin-nav-brand img { height: 40px; }
.admin-nav-brand span { color: white; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.1rem; }
.admin-nav-right { display: flex; gap: 12px; align-items: center; }
.admin-nav-right a { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 6px; transition: all 0.2s; }
.admin-nav-right a:hover { color: white; background: rgba(255,255,255,0.1); }
.view-site-link { border: 1px solid rgba(255,255,255,0.25) !important; }
.admin-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: 8px; }
.admin-nav-toggle span { display: block; height: 3px; width: 26px; background: white; border-radius: 2px; transition: 0.3s; }
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.admin-sidebar { background: white; padding: 24px 0; border-right: 1px solid #e2e8f0; }
.admin-sidebar h3 { padding: 0 20px 12px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); }
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px; padding: 11px 20px;
  font-size: 0.88rem; font-weight: 600; color: var(--text); transition: all 0.2s;
  border-left: 3px solid transparent;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(26,141,193,0.08); color: var(--blue); border-left-color: var(--blue); }
.admin-sidebar a .s-icon {
  display: inline-block;
  width: 18px; height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.65;
  flex-shrink: 0;
}
.admin-sidebar a:hover .s-icon,
.admin-sidebar a.active .s-icon { opacity: 1; }

/* SVG data-URI icons for sidebar */
.s-icon-dashboard { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z'/%3E%3C/svg%3E"); }
.s-icon-news { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M20 3H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2zm0 5h-2V5h2v3zM4 19h16v2H4z'/%3E%3C/svg%3E"); }
.s-icon-events { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z'/%3E%3C/svg%3E"); }
.s-icon-gallery { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E"); }
.s-icon-testi { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E"); }
.s-icon-admissions { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11zm-5-7H8v-2h5v2zm2 4H8v-2h7v2zm0-8V3.5L18.5 9H13z'/%3E%3C/svg%3E"); }
.s-icon-contacts { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.s-icon-home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234F5D75'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E"); }
.admin-main { padding: 32px; }
.admin-page-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 24px; color: var(--dark); }
.admin-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); margin-bottom: 24px; }
.admin-card h3 { font-size: 1.1rem; margin-bottom: 20px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.dash-stat {
  background: white; border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-card); border-left: 4px solid var(--blue);
}
.dash-stat:nth-child(2) { border-left-color: var(--pink); }
.dash-stat:nth-child(3) { border-left-color: var(--yellow); }
.dash-stat:nth-child(4) { border-left-color: #38a169; }
.dash-stat .ds-num { font-family: 'Nunito', sans-serif; font-size: 2rem; font-weight: 900; color: var(--dark); }
.dash-stat .ds-label { color: var(--text-light); font-size: 0.82rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: #f7fafc; padding: 12px 16px; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); border-bottom: 2px solid #e2e8f0; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid #f0f4f8; font-size: 0.88rem; }
.admin-table tr:hover td { background: #f7fafc; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.73rem; font-weight: 700; }
.badge-green { background: #c6f6d5; color: #276749; }
.badge-blue { background: #bee3f8; color: #2b6cb0; }
.badge-yellow { background: #fefcbf; color: #7b6000; }
.badge-red { background: #fed7d7; color: #9b2c2c; }

/* ===== LOGIN PAGE ===== */
.login-wrap {
  min-height: 100vh; background: var(--cream);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  position: relative; overflow: hidden;
}
.login-wrap::before {
  content: ''; position: absolute; top: -50px; right: -50px; width: 400px; height: 400px;
  background: rgba(255,123,84,0.1); border-radius: var(--blob-radius);
}
.login-wrap::after {
  content: ''; position: absolute; bottom: -50px; left: -50px; width: 300px; height: 300px;
  background: rgba(106,76,156,0.1); border-radius: var(--blob-radius);
}
.login-card {
  background: white; border-radius: var(--radius); padding: 48px 40px;
  width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(106,76,156,0.15);
  position: relative; z-index: 1;
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo img { height: 80px; }
.login-title { text-align: center; font-size: 1.5rem; margin-bottom: 4px; }
.login-sub { text-align: center; color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }
.login-error { background: #fed7d7; color: #9b2c2c; border-radius: 8px; padding: 10px 14px; font-size: 0.85rem; margin-bottom: 16px; display: none; }

/* ===== UTILITY CLASSES ===== */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-2-cols-start { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid-3-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-auto-fit-160 { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.grid-auto-fit-180 { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }

/* ===== RESPONSIVE ===== */

/* --- Large Tablet / Small Desktop (≤1200px) --- */
@media (max-width: 1200px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.82rem; padding: 4px 6px; }
  .nav-logo-text { font-size: 1.1rem; }
  .nav-container { padding: 0 16px; }
  .container { padding: 0 32px; }
  .hero-content { gap: 40px; }
  .hero-stacking-images { width: 420px; height: 480px; }
  .stack-img { width: 260px; height: 330px; }
  .stack-img.img2 { left: 75px; }
  .stack-img.img3 { left: 150px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 28px; }
  .founder-card { grid-template-columns: 260px 1fr; }
}

/* --- Tablet (≤900px) --- */
@media (max-width: 900px) {

  /* UTILITIES */
  .grid-2-cols, .grid-2-cols-start, .grid-3-cols { grid-template-columns: 1fr; gap: 32px; }

  /* NAVBAR */
  .nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(45, 49, 66, 0.5); z-index: 998;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }

  .nav-links {
    position: fixed;
    top: 0; right: -280px;
    width: 280px; height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 20px 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 999;
    border-radius: 0;
    gap: 20px;
    display: flex;
    transition: right 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 12px 16px; font-size: 1.05rem; border-radius: 10px; font-weight: 700; }
  .nav-cta { text-align: center; margin-top: auto !important; margin-bottom: 20px; }
  
  .nav-toggle { display: flex; z-index: 1000; position: relative; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* HERO */
  .hero { padding-top: 80px; min-height: auto; }
  .hero-content {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 0;
    padding: 40px 24px 60px;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-bottom: -20px;
  }
  .hero-stacking-images {
    width: 340px;
    height: 320px;
    transform: scale(0.85);
    transform-origin: center top;
  }
  .stack-img { width: 220px; height: 280px; }
  .stack-img.img2 { top: 50px; left: 60px; }
  .stack-img.img3 { top: 100px; left: 120px; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .hero h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
  .hero-sub { font-size: 1rem; }

  /* STATS */
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 2px dashed rgba(255,255,255,0.2); }
  .stat-item:nth-child(odd) { border-right: 2px dashed rgba(255,255,255,0.2); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* SECTIONS */
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 36px; }

  /* FEATURES */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-card { padding: 28px 20px; }

  /* NEWS */
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* GALLERY */
  .gallery-grid-preview { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

  /* TESTIMONIALS */
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* ABOUT */
  .about-intro { grid-template-columns: 1fr; gap: 36px; }
  .founder-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .founder-photo { max-width: 280px; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .school-life-grid { grid-template-columns: 1fr 1fr; }
  .sl-main { grid-row: auto; min-height: 0; aspect-ratio: 16/9; }
  .sl-item { aspect-ratio: 1; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer { padding-top: 60px; }

  /* ADMIN */
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 998;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .admin-sidebar.open { display: block; }
  .admin-nav-toggle { display: flex; }
  .dash-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .admin-main { padding: 20px; }
  .admin-card { padding: 20px; }
}

/* --- Mobile (≤600px) --- */
@media (max-width: 600px) {
  :root { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* NAV */
  .nav-container { height: 64px; }
  .nav-logo img { height: 44px; }

  /* HERO */
  .hero { padding-top: 64px; }
  .hero-content { padding: 20px 16px 48px; gap: 0; }
  .hero-visual { overflow: hidden; margin-bottom: -40px; }
  .hero-stacking-images {
    width: 280px;
    height: 260px;
    transform: scale(0.75);
    transform-origin: center top;
  }
  .stack-img { width: 180px; height: 230px; border-width: 4px; }
  .stack-img.img2 { top: 40px; left: 50px; }
  .stack-img.img3 { top: 80px; left: 100px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; }
  .hero-btns { gap: 10px; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .btn-sm { padding: 8px 16px; font-size: 0.82rem; }

  /* STATS */
  .stat-item { flex: 0 0 50%; }
  .stat-num { font-size: 2rem; }

  /* FEATURES */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 64px; height: 64px; font-size: 2.2rem; }

  /* NEWS */
  .news-grid { grid-template-columns: 1fr; gap: 16px; }

  /* GALLERY */
  .gallery-grid-preview { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-tabs { gap: 8px; }
  .gallery-tab { padding: 6px 14px; font-size: 0.8rem; }

  /* TESTIMONIALS */
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ABOUT */
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .value-card { padding: 18px; }
  .about-img-wrap { aspect-ratio: 16/9; }
  .founder-card { padding: 20px; }
  .founder-photo { max-width: 100%; }
  .school-life-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sl-main { aspect-ratio: 4/3; }

  /* STAFF */
  .staff-card { padding: 20px 12px; }
  .staff-avatar { width: 76px; height: 76px; font-size: 2.2rem; }

  /* PAGE HERO */
  .page-hero { padding: 110px 0 52px; }
  .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  /* CONTACT */
  .contact-form { padding: 24px 20px; }
  .contact-info-card { padding: 20px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer { padding-top: 48px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* ADMIN */
  .dash-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dash-stat { padding: 16px; }
  .dash-stat .ds-num { font-size: 1.6rem; }
  .admin-main { padding: 16px; }
  .admin-page-title { font-size: 1.3rem; }
  .admin-card h3 { font-size: 1rem; }
  .admin-table th, .admin-table td { padding: 10px 10px; font-size: 0.8rem; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }

  /* ACTIVITIES */
  .activities-grid { grid-template-columns: 1fr; gap: 16px; }

  /* LEVELS / ACADEMICS */
  .levels-grid { grid-template-columns: 1fr; gap: 16px; }

  /* FAQ */
  .faq-q { font-size: 0.95rem; }

  /* STEPS */
  .steps-list { gap: 16px; }
  .step { flex-direction: column; gap: 16px; padding: 20px; }

  /* CTA BOX */
  .cta-box { padding: 48px 20px; border-radius: 28px; }
  .cta-box h2 { font-size: 1.6rem; }
  .cta-box p { font-size: 0.95rem; }

  /* WHATSAPP FLOAT */
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }

  /* LOGIN */
  .login-card { padding: 32px 24px; }
}

/* --- Small Mobile (≤400px) --- */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-stacking-images { transform: scale(0.65); }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid-preview { grid-template-columns: 1fr 1fr; gap: 6px; }
  .values-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stat-item { flex: 0 0 100%; border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .btn { padding: 11px 20px; font-size: 0.9rem; }
  .page-hero { padding: 100px 0 40px; }
  .section-title { font-size: 1.5rem; }
  .admin-main { padding: 12px; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 600px) {
  .nav-logo-text { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .nav-logo-text { display: none; }
}

/* ===== CLICKABLE NEWS & READER MODAL ===== */
.news-card {
  cursor: pointer;
}

.news-reader-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(45, 49, 66, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.news-reader-modal.show {
  opacity: 1; pointer-events: auto;
}
.news-reader-content {
  background: var(--white);
  width: 100%; max-width: 680px;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(106, 76, 156, 0.15);
  display: flex; flex-direction: column;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}
.news-reader-modal.show .news-reader-content {
  transform: scale(1);
}
.news-reader-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(45, 49, 66, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--dark); cursor: pointer;
  transition: all 0.2s; z-index: 10;
}
.news-reader-close:hover {
  background: var(--pink); color: white;
  transform: rotate(90deg);
}
.news-reader-body {
  padding: 36px; overflow-y: auto;
}
.news-reader-img {
  width: 100%; max-height: 280px; object-fit: cover;
  border-radius: var(--radius-sm); margin-bottom: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
}
.news-reader-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.news-reader-title {
  font-size: 1.8rem; font-weight: 900; color: var(--dark);
  margin-bottom: 16px; line-height: 1.2;
}
.news-reader-text {
  color: var(--text); font-size: 1.02rem; line-height: 1.8;
}
.news-reader-text p {
  margin-bottom: 16px;
}
.news-reader-text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .news-reader-body { padding: 24px; }
  .news-reader-title { font-size: 1.4rem; }
  .news-reader-text { font-size: 0.95rem; }
  .news-reader-img { max-height: 200px; }
}

