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

:root {
  --blue:    #5c2108;
  --blue-md: #7b3010;
  --blue-lt: #a04525;
  --amber:   #e8660c;
  --amber-dk:#bf4500;
  --green:   #2e7d32;
  --green-lt:#43a047;
  --white:   #ffffff;
  --off-white:#f8f9fc;
  --gray-lt: #eceff1;
  --gray:    #90a4ae;
  --dark:    #1c2331;
  --text:    #37474f;
  --shadow:  0 4px 24px rgba(92,33,8,.10);
  --radius:  12px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
}
.logo-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon {
  height: 52px;
  flex-shrink: 0;
}
.logo-icon img { height: 100%; width: auto; display: block; object-fit: contain; }
.logo-text { line-height: 1.25; }
.logo-text .school-name { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: .3px; }
.logo-text .school-loc  { font-size: 12px; color: var(--amber); font-weight: 500; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--blue); font-size: 13px; font-weight: 500;
  text-decoration: none; padding: 8px 13px; border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
nav a:hover { background: rgba(26,35,126,.08); color: var(--blue); }
nav a.cta {
  background: var(--blue); color: var(--white);
  font-weight: 700; margin-left: 6px;
}
nav a.cta:hover { background: var(--blue-md); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: .3s; }
.mobile-nav { display: none; }

/* ── HERO CAROUSEL ── */
.hero {
  background-color: var(--blue);
  color: var(--white); text-align: center;
  padding: 90px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg-1 { animation: heroFade1 10s ease-in-out infinite; }
.hero-bg-2 { animation: heroFade2 10s ease-in-out infinite; }
@keyframes heroFade1 {
  0%, 40%, 100% { opacity: 1; }
  50%, 90%      { opacity: 0; }
}
@keyframes heroFade2 {
  0%, 40%  { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(92,33,8,.60) 0%, rgba(120,48,16,.52) 50%, rgba(160,69,37,.45) 100%);
  z-index: 1;
}
.hero > *:not(.hero-bg) { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; background: rgba(249,168,37,.2);
  border: 1px solid var(--amber); color: var(--amber);
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 18px; border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(28px, 5vw, 52px); font-weight: 700;
  line-height: 1.2; margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero h1 span { color: var(--amber); }
.hero p {
  font-size: clamp(15px, 2vw, 18px); max-width: 680px;
  margin: 0 auto 36px; opacity: .9; font-weight: 300;
}
.hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.btn-primary { background: var(--amber); color: var(--blue); }
.btn-outline { border: 2px solid rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--amber);
  padding: 18px 24px;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 0;
}
.stat {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6px 28px;
  border-right: 1px solid rgba(0,0,0,.18);
}
.stat:last-child { border-right: none; }
.stat .num { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat .lbl { font-size: 13px; font-weight: 600; color: #4a3700; white-space: nowrap; }

/* ── SECTIONS GENERAL ── */
section { padding: 72px 24px; }
section:nth-child(even) { background: var(--off-white); }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec-tag {
  display: inline-block; background: rgba(26,35,126,.08);
  color: var(--blue); font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
h2.sec-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(22px, 3.5vw, 36px); font-weight: 700;
  color: var(--blue); margin-bottom: 16px;
}
.sec-divider {
  width: 60px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dk));
  margin-bottom: 28px;
}
#about .sec-divider { margin-left: auto; margin-right: auto; }
p.lead { font-size: 16px; color: #546e7a; margin-bottom: 18px; line-height: 1.85; text-align: justify; }

/* ── ABOUT ── */
#about { text-align: center; }
#about .about-grid { text-align: left; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
  border-radius: var(--radius); min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center; padding: 32px;
  box-shadow: var(--shadow);
}
.about-img-placeholder .big-icon { font-size: 72px; margin-bottom: 16px; }
.about-img-placeholder p { font-size: 18px; font-weight: 600; opacity: .9; }
.about-img-placeholder small { opacity: .7; margin-top: 6px; display: block; font-size: 13px; }
.info-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  background: var(--gray-lt); border-left: 3px solid var(--blue);
  padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--dark);
}

/* ── CURRICULUM ── */
.curriculum-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.curr-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); border-top: 4px solid var(--blue);
  transition: transform .25s, box-shadow .25s;
}
.curr-card:nth-child(2) { border-color: var(--amber); }
.curr-card:nth-child(3) { border-color: var(--green); }
.curr-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(26,35,126,.15); }
.curr-card .icon { font-size: 44px; margin-bottom: 14px; }
.curr-card h3 { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.curr-card p { font-size: 13.5px; color: var(--text); line-height: 1.7; }

/* ── FACILITIES ── */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.fac-item {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.fac-item:hover { transform: translateY(-4px); }
.fac-item .icon { font-size: 38px; margin-bottom: 12px; }
.fac-item h4 { font-size: 14px; font-weight: 600; color: var(--blue); }

/* ── ACADEMICS ── */
.levels-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.level-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 28px; box-shadow: var(--shadow);
  display: flex; gap: 18px; align-items: flex-start;
}
.level-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.level-card:nth-child(2) .level-icon { background: linear-gradient(135deg, var(--amber), var(--amber-dk)); }
.level-body h3 { font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.level-body p { font-size: 13.5px; color: var(--text); line-height: 1.7; }

.timing-table { width: 100%; border-collapse: collapse; margin-top: 36px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.timing-table th { background: var(--blue); color: var(--white); padding: 14px 20px; font-size: 13px; text-align: left; }
.timing-table td { padding: 13px 20px; font-size: 13.5px; border-bottom: 1px solid var(--gray-lt); }
.timing-table tr:last-child td { border-bottom: none; }
.timing-table tr:nth-child(even) td { background: var(--off-white); }

/* ── PRINCIPAL ── */
.principal-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-columns: 300px 1fr;
}
.principal-photo {
  background: linear-gradient(160deg, var(--blue), var(--blue-lt));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; color: var(--white); text-align: center;
}
.principal-photo .avatar { font-size: 80px; margin-bottom: 16px; }
.principal-photo h3 { font-size: 18px; font-weight: 700; }
.principal-photo p { font-size: 13px; opacity: .8; margin-top: 4px; }
.principal-msg { padding: 40px; }
.principal-msg blockquote {
  font-family: 'Merriweather', serif; font-size: 17px;
  color: var(--blue); border-left: 4px solid var(--amber);
  padding-left: 20px; margin-bottom: 20px; line-height: 1.8;
  font-style: italic;
}
.principal-msg p { font-size: 14px; color: var(--text); line-height: 1.85; margin-bottom: 12px; }

/* ── CAMPUS LIFE ── */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.campus-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  text-align: center; transition: transform .25s;
}
.campus-card:hover { transform: translateY(-5px); }
.campus-card .icon { font-size: 48px; margin-bottom: 14px; }
.campus-card h3 { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.campus-card p { font-size: 13px; color: var(--text); line-height: 1.7; }

/* ── DISCLOSURE ── */
.disc-table { width: 100%; border-collapse: collapse; margin-top: 24px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); font-size: 13.5px; }
.disc-table th { background: var(--blue); color: var(--white); padding: 14px 20px; text-align: left; }
.disc-table td { padding: 13px 20px; border-bottom: 1px solid var(--gray-lt); }
.disc-table tr:nth-child(even) td { background: var(--off-white); }
.disc-table tr:last-child td { border-bottom: none; }
.disc-table td a { color: var(--blue); font-weight: 500; text-decoration: none; }
.disc-table td a:hover { text-decoration: underline; }
.disc-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.disc-section h4 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--amber); }

/* ── ADMISSION CTA ── */
.cta-section {
  background-color: var(--blue);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 72px 24px; text-align: center; color: var(--white);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(92,33,8,.88) 0%, rgba(160,69,37,.82) 100%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-family: 'Merriweather', serif; font-size: clamp(24px, 4vw, 40px); margin-bottom: 16px; }
.cta-section p { font-size: 17px; opacity: .9; max-width: 600px; margin: 0 auto 36px; }
.cta-section .btn-primary { font-size: 16px; padding: 16px 40px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-info-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-info-list strong { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.contact-info-list span { font-size: 14px; color: var(--text); }
.contact-map-placeholder {
  background: var(--gray-lt); border-radius: var(--radius);
  min-height: 320px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--gray); gap: 12px; padding: 24px;
}
.contact-map-placeholder .icon { font-size: 48px; }
.contact-map-placeholder p { font-size: 14px; color: #607d8b; }

/* ── FOOTER ── */
footer {
  background: var(--blue); color: rgba(255,255,255,.85);
  padding: 18px 24px;
}
.star-rating { color: var(--amber); letter-spacing: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid, .principal-card, .levels-grid, .disc-sections, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .principal-card { grid-template-columns: 1fr; }
  .curriculum-cards, .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  nav { display: none; }
  .hamburger { display: flex; }
  .timing-table, .disc-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 560px) {
  .curriculum-cards, .campus-grid, .fac-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .timing-table th, .timing-table td,
  .disc-table th, .disc-table td { padding: 10px 12px; font-size: 12.5px; }
}
