/* ==========================================================================
   Charles Lorie French Academy - Main Stylesheet
   Tri-lingual Nursery, Primary & Secondary School | Festac Town, Lagos
   ========================================================================== */

@import url('effects.css');
@import url('responsive.css');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: #fbf9f4;
  color: #17231f;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================= Header & Navigation ================= */
.site-header {
  height: 86px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251, 249, 244, 0.97);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #eae2d1;
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  border: 2px solid #f5a623;
  box-shadow: 0 4px 12px rgba(0, 96, 57, 0.15);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.brand:hover .brand-logo-img {
  transform: rotate(6deg) scale(1.08);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #005a36, #007a48);
  color: #f5a623;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 18px;
  border: 3px solid #f5a623;
  box-shadow: 0 4px 10px rgba(0, 90, 54, 0.3);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(10deg) scale(1.05);
}

.brand b {
  display: block;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.15;
  color: #004528;
  letter-spacing: -0.2px;
}

.brand small {
  display: block;
  letter-spacing: 0.6px;
  font-size: 11px;
  font-weight: 700;
  color: #b87000;
  margin-top: 2px;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 8px 4px;
  color: #24352c;
  transition: color 0.2s ease;
  letter-spacing: 0.1px;
}

.nav a:hover,
.nav a.active {
  color: #007a48;
}

.nav a.active {
  font-weight: 700;
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: #f5a623;
  border-radius: 3px;
}

.menu-toggle {
  display: none;
  border: 2px solid #005a36;
  background: #ffffff;
  color: #005a36;
  font-size: 24px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}

/* ================= Buttons & CTAs ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #f5a623, #e29000);
  color: #003620;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.55);
  background: linear-gradient(135deg, #ffb63d, #f5a623);
  color: #002516;
}

.btn-light {
  background: #ffffff;
  color: #005a36;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
  background: #fdfaf3;
  transform: translateY(-2px);
  border-color: #f5a623;
}

.btn-dark {
  background: #005a36;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 90, 54, 0.25);
}

.btn-dark:hover {
  background: #007a48;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
}

/* ================= Hero Section ================= */
.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 60px 7vw 80px;
  gap: 5vw;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #003822 0%, #005a36 60%, #016b41 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  right: -150px;
  top: -150px;
  border: 60px solid rgba(245, 166, 35, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.8px;
  font-weight: 800;
  text-transform: uppercase;
  color: #c9800a;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta .eyebrow {
  color: #ffd166;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.05;
  margin: 16px 0 20px;
  letter-spacing: -2px;
}

.hero h1 em,
.page-hero h1 em,
h2 em,
.cta em {
  font-style: italic;
  color: #f5a623;
}

.hero p {
  font-size: 17px;
  color: #e5f4ec;
  max-width: 600px;
  line-height: 1.6;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-visual {
  height: 530px;
  position: relative;
  z-index: 2;
}

.hero-photo,
.image-panel {
  height: 100%;
  border-radius: 14px;
  background: center/cover url('https://img5.schoolandcollegelistings.com/670/891/2067859956708912.jpg') no-repeat;
  box-shadow: 20px 20px 0 #f5a623;
  position: relative;
  border: 4px solid #ffffff;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  left: -35px;
  bottom: 25px;
  background: #ffffff;
  color: #0f3625;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #f5a623;
  z-index: 4;
}

.floating-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 17px;
  color: #005a36;
}

.floating-card span {
  display: block;
  font-size: 11px;
  color: #64756c;
  margin-top: 4px;
  font-weight: 600;
}

/* ================= Trust & Stats Counter Banner ================= */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  padding: 32px 7vw;
  border-bottom: 2px solid #eae2d1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.trust div {
  padding: 0 24px;
  border-right: 1px solid #e7e0d1;
  text-align: center;
}

.trust div:last-child {
  border-right: none;
}

.trust b {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  color: #006039;
  display: block;
  line-height: 1.1;
}

.trust span {
  font-size: 11.5px;
  font-weight: 600;
  color: #627269;
  margin-top: 6px;
  display: block;
}

/* ================= Sections & Typography ================= */
.section {
  padding: 95px 7vw;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 45px;
}

.section-head > div {
  max-width: 650px;
}

.section-head p {
  max-width: 450px;
  color: #55665e;
  font-size: 15px;
  margin: 0;
}

.section h2,
.cta h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.12;
  margin: 12px 0 16px;
  color: #004528;
  letter-spacing: -1.2px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.intro p,
.split-copy p {
  color: #506159;
  font-size: 15.5px;
  line-height: 1.65;
}

/* ================= Split Sections & Image Panels ================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.image-panel {
  min-height: 420px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #eae2d1;
  box-shadow: 0 10px 30px rgba(0, 45, 25, 0.1);
  position: relative;
  overflow: hidden;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================= Feature Showcase Card (STEM & Highlights) ================= */
.feature-showcase-card {
  margin-top: 48px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid #e5ede8;
  box-shadow: 0 10px 30px rgba(0, 43, 26, 0.08);
}

.feature-showcase-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 280px;
}

.feature-showcase-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #007a48;
  font-weight: 800;
  font-size: 13px;
}

.text-link:hover {
  color: #e29000;
  transform: translateX(4px);
}

.cream {
  background-color: #f2ede2;
  position: relative;
}

.cream::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: repeating-linear-gradient(
    135deg,
    #006039 0 15px,
    #f5a623 15px 30px,
    #ffffff 30px 45px
  );
}

/* ================= Feature & Program Cards ================= */
.cards {
  display: grid;
  gap: 20px;
}

.four {
  grid-template-columns: repeat(4, 1fr);
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: #ffffff;
  padding: 30px 24px;
  min-height: 240px;
  border-radius: 12px;
  border: 1px solid #e2dbcb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.feature-card::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  right: -35px;
  bottom: -35px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.15);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 90, 54, 0.12);
  border-color: #f5a623;
}

.feature-card:hover::after {
  transform: scale(1.4);
}

.feature-card span {
  color: #c9800a;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
}

.feature-card h3 {
  font-family: Georgia, serif;
  font-size: 23px;
  margin: 32px 0 10px;
  color: #004528;
}

.feature-card p {
  font-size: 13px;
  color: #5c6c64;
  margin: 0;
  line-height: 1.55;
}

/* ================= Levels & Academic Stages ================= */
.levels {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8vw;
  align-items: center;
}

.level-list {
  border-top: 2px solid #dfd8c8;
}

.level-list a {
  display: grid;
  grid-template-columns: 45px 1fr 30px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #dfd8c8;
  transition: all 0.2s ease;
}

.level-list a:hover {
  padding-left: 10px;
  background: rgba(245, 166, 35, 0.06);
}

.level-list span {
  font-size: 12px;
  font-weight: 800;
  color: #c9800a;
}

.level-list b {
  font-family: Georgia, serif;
  font-size: 21px;
  display: block;
  color: #004528;
}

.level-list small {
  font-size: 11.5px;
  color: #65746c;
}

.level-list strong {
  color: #007a48;
  font-size: 18px;
}

/* ================= Language Banner ================= */
.language-banner {
  padding: 85px 7vw;
  background: linear-gradient(135deg, #d48b12, #f5a623);
  color: #003620;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.language-banner::after {
  content: 'ẸKỌ • CULTURE • FUTURE';
  position: absolute;
  right: -30px;
  bottom: -25px;
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  transform: rotate(-6deg);
  pointer-events: none;
}

.language-banner .eyebrow {
  color: #ffffff;
  background: rgba(0, 54, 32, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
}

.language-banner h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 14px 0;
  color: #003620;
}

.language-banner h2 em {
  color: #ffffff;
}

.lang-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.lang-pills span {
  background: rgba(255, 255, 255, 0.95);
  color: #005a36;
  font-weight: 800;
  border: 1.5px solid #ffffff;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 12.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ================= Page Hero for Subpages ================= */
.page-hero {
  background: linear-gradient(135deg, #003822 0%, #005a36 100%);
  color: #ffffff;
  padding: 90px 7vw;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: 'CLFA';
  position: absolute;
  right: 4vw;
  bottom: -40px;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: clamp(120px, 18vw, 220px);
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.page-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.06;
  max-width: 900px;
  margin: 14px 0;
}

.page-hero p {
  font-size: 16px;
  color: #dcece3;
  max-width: 640px;
  line-height: 1.6;
}

/* ================= News & Stories ================= */
.news-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dfd8c7;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 90, 54, 0.12);
}

.news-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.news-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card time {
  font-size: 10px;
  color: #c9800a;
  letter-spacing: 1.8px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 10px 0;
  color: #004528;
  line-height: 1.25;
}

.news-card p {
  font-size: 13px;
  color: #55665e;
  line-height: 1.6;
  margin: 0 0 16px;
  flex-grow: 1;
}

/* ================= Gallery Grid ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 18px;
}

.g {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background-position: center;
  background-size: cover;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.g:hover {
  transform: scale(1.02);
}

.g::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0, 45, 25, 0.85));
  transition: opacity 0.3s ease;
}

.g span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.g1 {
  grid-row: span 2;
}

.g1 { background-image: url('https://img3.schoolandcollegelistings.com/879/024/2113713268790247.jpg'); }
.g2 { background-image: url('https://img5.schoolandcollegelistings.com/670/891/2067859956708912.jpg'); }
.g3 { background-image: url('https://img4.schoolandcollegelistings.com/413/841/2060231614138413.jpg'); }
.g4 { background-image: url('https://edudelight.com/storage/2023/04/IMG-20230418-WA0010-768x576.jpg'); }
.g5 { background-image: url('https://img3.schoolandcollegelistings.com/879/024/2113713268790247.jpg'); }
.g6 { background-image: url('https://img5.schoolandcollegelistings.com/670/891/2067859956708912.jpg'); }

/* ================= Student Life Cards ================= */
.life-card {
  min-height: 420px;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 2px solid #eae2d1;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.life-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 96, 57, 0.22);
  border-color: #f5a623;
}

.life-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 36, 22, 0.96) 0%,
    rgba(0, 36, 22, 0.72) 45%,
    rgba(0, 36, 22, 0.2) 80%,
    transparent 100%
  );
  z-index: 1;
  transition: background 0.3s ease;
}

.life-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 36, 22, 0.98) 0%,
    rgba(0, 36, 22, 0.8) 50%,
    rgba(0, 36, 22, 0.3) 85%,
    transparent 100%
  );
}

.life-card > * {
  position: relative;
  z-index: 2;
}

.life-card-tag {
  align-self: flex-start;
  background: #f5a623;
  color: #003620;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.life-card h3 {
  font-family: Georgia, serif;
  font-size: 24px;
  margin: 0 0 10px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.25;
}

.life-card p {
  font-size: 13.5px;
  color: #f0f7f3;
  margin: 0;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* ================= Admissions & Form Styling ================= */
.admissions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 6vw;
  align-items: flex-start;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admissions-banner-card {
  min-height: 220px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  border: 2px solid #eae2d1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.steps > div {
  background: #ffffff;
  padding: 26px 28px;
  border-radius: 12px;
  border: 1px solid #e5dfd0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  border-left: 5px solid #006039;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steps > div:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(0, 96, 57, 0.1);
  border-left-color: #f5a623;
}

.steps b {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #c9800a;
  background: #fff8e8;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.steps h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #004528;
  margin: 0 0 8px;
}

.steps p {
  font-size: 13.5px;
  color: #55665e;
  margin: 0;
  line-height: 1.55;
}

.enquiry {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #e0dac9;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  border-top: 6px solid #006039;
}

.enquiry .eyebrow {
  margin-bottom: 6px;
}

.enquiry h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  color: #004528;
  margin: 6px 0 24px;
}

.enquiry label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #24352e;
  margin-bottom: 18px;
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1.5px solid #dcd5c4;
  border-radius: 8px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #17231f;
  background: #fbfaf6;
  transition: all 0.25s ease;
  outline: none;
}

.enquiry input:focus,
.enquiry select:focus,
.enquiry textarea:focus {
  border-color: #006039;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 96, 57, 0.15);
}

.enquiry textarea {
  resize: vertical;
}

/* ================= Photo Reel / Showcase ================= */
.photo-reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.photo-reel-card {
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid #eae2d1;
  cursor: pointer;
  background-position: center;
  background-size: cover;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-reel-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 35px rgba(0, 96, 57, 0.2);
  border-color: #f5a623;
}

.photo-reel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 36, 22, 0.9) 0%, rgba(0, 36, 22, 0.3) 50%, transparent 100%);
  transition: opacity 0.3s ease;
}

.photo-reel-info {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  color: #ffffff;
}

.photo-reel-info span {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #f5a623;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.photo-reel-info h4 {
  font-family: Georgia, serif;
  font-size: 18px;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ================= Call to Action ================= */
.cta {
  text-align: center;
  padding: 100px 7vw;
  background: linear-gradient(135deg, #003620, #005a36);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '✦';
  position: absolute;
  font-size: 280px;
  left: -40px;
  bottom: -140px;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.cta h2 {
  max-width: 850px;
  margin: 16px auto;
  color: #ffffff;
}

.cta p {
  color: #d8ece0;
  margin-bottom: 30px;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= Contact Grid & Map ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid #dfd8c7;
}

.contact-item b {
  font-size: 11px;
  color: #c9800a;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  display: block;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: #2c3e35;
  margin: 0;
}

.map-card {
  min-height: 440px;
  background: #dfe6df;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  border: 2px solid #d3dbd3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(30deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%),
    linear-gradient(110deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%);
  background-size: 80px 80px;
  opacity: 0.7;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: #e29000;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  animation: bounceHappy 3s infinite;
}

.map-label {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #005a36;
  text-align: center;
  border-left: 4px solid #f5a623;
}

.map-label small {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #6a7972;
  display: block;
}

/* ================= Campus Landmark Card (Contact) ================= */
.campus-landmark-card {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #eae2d1;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 43, 26, 0.08);
  background: #ffffff;
}

.campus-landmark-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.campus-landmark-info {
  padding: 16px 20px;
  background: #ffffff;
}

.campus-landmark-info strong {
  color: #004528;
  font-size: 14px;
  display: block;
}

.campus-landmark-info span {
  color: #557063;
  font-size: 12.5px;
}

@media (max-width: 480px) {
  .campus-landmark-img {
    height: 190px;
  }
}

/* ================= Footer ================= */
.footer {
  background: #002b1a;
  color: #d1e2d9;
  padding: 70px 7vw 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 45px;
  position: relative;
}

.footer .brand {
  color: #ffffff;
}

.footer .brand b {
  color: #ffffff;
}

.footer p,
.footer a {
  font-size: 12.5px;
  color: #afc4b9;
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: #f5a623;
}

.footer h4 {
  color: #ffffff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 16px;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid #144933;
  padding-top: 24px;
  font-size: 11px;
  color: #81988d;
}

.copyright span {
  float: right;
}

/* ================= Top Announcement Bar ================= */
.top-announcement-bar {
  background: linear-gradient(90deg, #003620, #005a36, #003620);
  color: #ffffff;
  padding: 8px 5vw;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(245, 166, 35, 0.45);
  position: relative;
  z-index: 101;
}

.top-announcement-bar .bar-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-announcement-bar .bar-badge {
  background: #f5a623;
  color: #003620;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-announcement-bar .bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
}

.top-announcement-bar a {
  color: #ffd166;
  text-decoration: underline;
  transition: color 0.2s ease;
  font-weight: 700;
}

.top-announcement-bar a:hover {
  color: #ffffff;
}

/* ================= Comprehensive Curriculum & Subject Showcase ================= */
.curriculum-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eaf5ef;
  border: 1px solid #b7dfca;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #005030;
  margin-bottom: 14px;
}

.curriculum-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #008751;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 135, 81, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 135, 81, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 135, 81, 0); }
}

.hero-subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.hero-subject-chip {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #d4e6db;
  color: #004528;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 70, 40, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.clarification-callout {
  background: linear-gradient(135deg, #003620 0%, #004d2e 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 30px 32px;
  margin: 36px 0;
  box-shadow: 0 10px 28px rgba(0, 45, 25, 0.15);
  border: 2px solid #f5a623;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}

.clarification-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(245, 166, 35, 0.22);
  border: 2px solid #f5a623;
  display: grid;
  place-items: center;
  font-size: 30px;
  flex-shrink: 0;
}

.clarification-content h3 {
  font-family: Georgia, serif;
  font-size: 21px;
  color: #ffd166;
  margin: 0 0 8px;
}

.clarification-content p {
  color: #e5f1ea;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.divisions-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

.division-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e2ddd3;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.division-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 75, 45, 0.12);
  border-color: #007a48;
}

.division-box.primary-div {
  border-top: 5px solid #008751;
}

.division-box.secondary-div {
  border-top: 5px solid #f5a623;
}

.division-badge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.division-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
}

.primary-div .division-tag {
  background: #e6f6ee;
  color: #006039;
}

.secondary-div .division-tag {
  background: #fff4e0;
  color: #a06400;
}

.division-ages {
  font-size: 12px;
  font-weight: 700;
  color: #63776d;
}

.division-box h3 {
  font-family: Georgia, serif;
  font-size: 26px;
  color: #003620;
  margin: 0 0 10px;
}

.division-box p.div-lead {
  font-size: 14px;
  color: #4b6357;
  line-height: 1.6;
  margin: 0 0 20px;
}

.division-subjects-block {
  margin: 14px 0;
  padding: 16px;
  background: #f8f6f0;
  border-radius: 10px;
  border: 1px solid #eae5d9;
}

.division-subjects-block h4 {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #004528;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subject-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 14px;
  background: #ffffff;
  color: #004528;
  border: 1px solid #cfded6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: inline-block;
}

.subject-pill.science {
  background: #e6f6ee;
  border-color: #a4ddbf;
  color: #005e35;
}

.subject-pill.commercial {
  background: #fff6e5;
  border-color: #f7d28b;
  color: #8c5500;
}

.subject-pill.arts {
  background: #f0f4ff;
  border-color: #c7d7fc;
  color: #1a428a;
}

.subject-pill.tech {
  background: #f6edff;
  border-color: #dfc2f9;
  color: #5c189b;
}

.subject-pill.language {
  background: #fdf2f4;
  border-color: #f9c7cf;
  color: #9c1737;
}

.exam-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.exam-pill {
  background: #003620;
  color: #ffd166;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.curriculum-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid #e2ddd3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  min-width: 600px;
}

.curriculum-table th {
  background: #004528;
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.curriculum-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #ede8de;
  font-size: 13.5px;
  vertical-align: top;
  color: #23342c;
}

.curriculum-table tr:last-child td {
  border-bottom: none;
}

.curriculum-table tr:nth-child(even) td {
  background: #fbf9f4;
}

.stream-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.stream-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  border: 1.5px solid #e2ddd3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.stream-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 60, 35, 0.1);
}

.stream-card.science-border { border-top: 4px solid #008751; }
.stream-card.commercial-border { border-top: 4px solid #f5a623; }
.stream-card.arts-border { border-top: 4px solid #3b68b5; }

.stream-card h4 {
  font-family: Georgia, serif;
  font-size: 19px;
  color: #003620;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stream-card p {
  font-size: 12.5px;
  color: #55665e;
  line-height: 1.55;
  margin: 0 0 14px;
}

.facilities-banner-strip {
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid #e2ddd3;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.facilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f7f3;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #004528;
}

/* ================= Responsive Adjustments ================= */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 6vw;
    gap: 36px;
  }
  .hero-visual {
    height: 380px;
  }
  .four {
    grid-template-columns: repeat(2, 1fr);
  }
  .three {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro,
  .levels,
  .split,
  .admissions,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-showcase-card {
    grid-template-columns: 1fr;
  }
  .feature-showcase-image {
    min-height: 250px;
  }
  .photo-reel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .language-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  .divisions-dual-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stream-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .clarification-callout {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 16px;
  }
@media (max-width: 1100px) {
  .nav {
    gap: 22px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .top-announcement-bar .bar-links {
    display: none;
  }
  .top-announcement-bar {
    justify-content: center;
    text-align: center;
    font-size: 11px;
    padding: 6px 4vw;
  }
  .facilities-banner-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header {
    height: 72px;
    padding: 0 5vw;
  }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 22px 6vw;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    gap: 16px;
    border-bottom: 2px solid #eae2d1;
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding: 45px 5vw 55px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(32px, 7.5vw, 42px);
    letter-spacing: -1.2px;
  }
  .hero-visual {
    height: 300px;
  }
  .floating-card {
    left: 10px;
    bottom: 12px;
    padding: 10px 14px;
    max-width: calc(100% - 20px);
  }
  .floating-card img {
    width: 44px;
    height: 44px;
  }
  .floating-card strong {
    font-size: 12px;
  }
  .floating-card span {
    font-size: 10.5px;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
    padding: 20px 4vw;
    gap: 16px 0;
  }
  .trust div {
    border-right: none;
  }
  .trust b {
    font-size: 30px;
  }
  .trust span {
    font-size: 11.5px;
  }
  .section {
    padding: 50px 5vw;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
  .section h2,
  .cta h2 {
    font-size: clamp(26px, 5.5vw, 36px);
  }
  .four,
  .three {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 20px;
    min-height: auto;
  }
  .life-card {
    min-height: 340px;
    padding: 22px;
  }
  .life-card h3 {
    font-size: 22px;
  }
  .image-panel {
    min-height: 280px;
  }
  .photo-reel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .photo-reel-card {
    height: 280px;
  }
  .feature-showcase-card {
    grid-template-columns: 1fr;
  }
  .feature-showcase-image {
    min-height: 220px;
  }
  .feature-showcase-content {
    padding: 26px 20px;
  }
  .enquiry {
    padding: 28px 20px;
  }
  .steps > div {
    padding: 20px 18px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .g1 {
    grid-row: span 1;
  }
  .footer {
    grid-template-columns: 1fr;
    padding: 45px 5vw 25px;
    gap: 28px;
  }
  .copyright span {
    float: none;
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 66px;
    padding: 0 4vw;
  }
  .brand {
    gap: 8px;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
    padding: 2px;
  }
  .brand b {
    font-size: 15.5px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .hero {
    padding: 36px 4vw 48px;
  }
  .hero h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .hero-visual {
    height: 240px;
  }
  .hero-photo {
    border-radius: 12px;
  }
  .floating-card {
    position: static;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .anniversary-badge-glow {
    top: -8px;
    right: -4px;
    font-size: 9px;
    padding: 5px 10px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .section {
    padding: 40px 4vw;
  }
  .section h2,
  .cta h2 {
    font-size: 24px;
  }
  .life-card {
    min-height: 290px;
    padding: 18px;
  }
  .life-card h3 {
    font-size: 19px;
  }
  .life-card p {
    font-size: 12.5px;
  }
  .life-card-tag {
    font-size: 9.5px;
    padding: 4px 10px;
  }
  .photo-reel-card {
    height: 230px;
  }
  .photo-reel-info h4 {
    font-size: 16px;
  }
  .image-panel {
    min-height: 220px;
    border-radius: 12px;
  }
  .feature-showcase-content {
    padding: 20px 16px;
  }
  .feature-showcase-content h3 {
    font-size: 20px !important;
  }
  .enquiry {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .enquiry h2 {
    font-size: 22px;
  }
  .steps > div {
    padding: 16px 14px;
    border-radius: 10px;
  }
  .gallery-grid {
    grid-auto-rows: 210px;
  }
  .gallery-filter-tabs {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }
  .filter-tab-btn {
    font-size: 11px;
    padding: 6px 12px;
  }
  .interactive-lang-bar {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .lang-btn {
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .class-finder-box {
    padding: 22px 14px 18px;
  }
  .class-result-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px;
  }
  .class-result-icon {
    width: 50px;
    height: 50px;
    font-size: 26px;
    margin: 0 auto;
  }
  .flashcards-grid {
    grid-template-columns: 1fr;
  }
  .flashcard {
    height: 190px;
  }
  .flashcard-front h3 {
    font-size: 20px;
  }
  .flashcard-back h4 {
    font-size: 17px;
  }
  .language-banner {
    padding: 30px 4vw;
  }
  .lang-pills {
    flex-wrap: wrap;
    gap: 6px;
  }
  .lang-pills span {
    font-size: 11px;
    padding: 5px 10px;
  }
  .floating-whatsapp {
    bottom: 14px;
    right: 14px;
    padding: 9px 13px;
    font-size: 11px;
    gap: 6px;
  }
  .clarification-icon-box {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
  .division-box {
    padding: 22px 16px;
  }
  .division-box h3 {
    font-size: 22px;
  }
  .footer {
    padding: 36px 4vw 20px;
  }
}