/* ============================================================
   FOUNDATION GURUKUL — Main Stylesheet
   style.css
   Shared by: index.html  |  gallery.html
   ============================================================

   TABLE OF CONTENTS
   -----------------
   1.  CSS Variables (Design Tokens)
   2.  Reset & Base
   3.  Navbar
   4.  Buttons
   5.  Section Shared Styles
   6.  Footer
   7.  Floating WhatsApp Button
   8.  Animations & Keyframes
   9.  PAGE: index.html — Hero
   10. PAGE: index.html — Why Us
   11. PAGE: index.html — Courses
   12. PAGE: index.html — Course Details
   13. PAGE: index.html — Toppers Preview (mini)
   14. PAGE: index.html — CTA Strip
   15. PAGE: gallery.html — Page Hero
   16. PAGE: gallery.html — Stats Bar
   17. PAGE: gallery.html — Filter Bar
   18. PAGE: gallery.html — Gallery Grid & Topper Cards
   19. PAGE: gallery.html — Gallery CTA
   20. Responsive / Media Queries
   ============================================================ */


/* ============================================================
   1. CSS VARIABLES (Design Tokens)
   Change colours, fonts, or spacing here — it updates globally
   ============================================================ */
:root {
  /* Brand Colours */
  --saffron:       #E8630A;
  --saffron-light: #FF8C42;
  --gold:          #F0A500;
  --green:         #25D366;   /* WhatsApp green */

  /* Backgrounds */
  --deep:  #1A1A2E;
  --navy:  #16213E;
  --cream: #FFF8F0;
  --white: #FFFFFF;

  /* Text */
  --text:  #2D2D2D;
  --muted: #7A7A9A;

  /* Misc */
  --teal:  #0F4C75;

  /* Social Colours */
  --fb-blue: #1877F2;
  --yt-red:  #FF0000;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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


/* ============================================================
   3. NAVBAR
   Shared across both pages
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  height: 72px;
  border-bottom: 2px solid rgba(232, 99, 10, 0.35);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.nav-logo-img {
  width: 50px;             /* Adjusted for circular logo visibility */
  height: 50px;
  border-radius: 50%;      /* Forces the logo to be perfectly round */
  object-fit: cover;       /* Prevents the image from being squashed */
  border: 1.5px solid var(--saffron); /* Optional: adds a thin saffron border */
  display: block;
}

.nav-title {
  font-family: 'Yeseva One', serif;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1;
}

.nav-title span {
  color: var(--saffron-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(232, 99, 10, 0.2);
}

.nav-links a.active {
  color: var(--saffron-light);
  background: rgba(232, 99, 10, 0.12);
}

/* WhatsApp button inside navbar */
.nav-wa {
  background: var(--green) !important;
  color: var(--white) !important;
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.nav-wa:hover {
  background: #1ebe5b !important;
}

/* Hamburger icon (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ============================================================
   4. BUTTONS
   Reusable across both pages
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 32px;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(232, 99, 10, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

.btn-wa {
  background: var(--green);
  color: var(--white);
}

.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}


/* ============================================================
   5. SECTION SHARED STYLES
   .section-tag, .section-title, .section-sub reused everywhere
   ============================================================ */
section {
  padding: 90px 60px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(232, 99, 10, 0.1);
  color: var(--saffron);
  border: 1px solid rgba(232, 99, 10, 0.25);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Yeseva One', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--deep);
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}


/* ============================================================
   6. FOOTER
   Shared across both pages
   ============================================================ */
footer {
  background: var(--deep);
  padding: 70px 60px 40px;
}

/* index.html footer — 4-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.footer-brand .nav-title {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--saffron-light);
}

/* Contact items in footer */
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.fci-icon {
  color: var(--saffron-light);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.fci-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.5;
}

.fci-text a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.fci-text a:hover {
  color: var(--saffron-light);
}

/* Footer bottom bar (shared) */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-love {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-love span {
  color: var(--saffron-light);
}

/* footer links row (used in gallery.html) */
.footer-links-bottom {
  display: flex;
  gap: 20px;
}

.footer-links-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links-bottom a:hover {
  color: var(--saffron-light);
}

/* Social icon buttons — used in both footer variants */
.social-links,
.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.85;
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.social-fb { background: var(--fb-blue);     color: var(--white); }
.social-yt { background: var(--yt-red);      color: var(--white); }
.social-wa { background: var(--green);       color: var(--white); }
.social-ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
}

/* Smaller social icons used in gallery footer */
.social-row .social-btn {
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
}


/* ============================================================
   7. FLOATING WHATSAPP BUTTON
   Shared across both pages
   ============================================================ */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.5s infinite;
  transition: transform 0.2s;
}

.float-wa:hover {
  transform: scale(1.12);
}

/* Tooltip label (index.html only) */
.float-wa-label {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 997;
  background: var(--deep);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.float-wa:hover + .float-wa-label {
  opacity: 1;
}


/* ============================================================
   8. ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wa-pulse {
  0%,  100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55); }
  50%        { box-shadow: 0 8px 45px rgba(37, 211, 102, 0.80); }
}


/* ============================================================
   9. PAGE: index.html — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 50%, #0d3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 25% 25%, var(--saffron) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, var(--gold)    2px, transparent 2px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(232, 99, 10, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 99, 10, 0.15);
  border: 1px solid rgba(232, 99, 10, 0.4);
  color: var(--saffron-light);
  padding: 7px 18px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeDown 0.7s ease both;
}

.hero h1 {
  font-family: 'Yeseva One', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  animation: fadeDown 0.7s ease 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fadeDown 0.7s ease 0.2s both;
}

/*highlighting the paragraph St. Paul's School */

.highlight-green {
  background-color: #08100a; 
  padding: 0 4px; /* Optional: adds a little space around the text */
  border-radius: 3px; /* Optional: rounds the corners of the highlight */
  font-size: large;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
  animation: fadeDown 0.7s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Yeseva One', serif;
  font-size: 2.4rem;
  color: var(--saffron-light);
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin-top: 4px;
  letter-spacing: 0.5px;
}


/* ============================================================
   10. PAGE: index.html — WHY US
   ============================================================ */
.why-bg {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 36px 28px;
  border: 1px solid rgba(232, 99, 10, 0.1);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(232, 99, 10, 0.12);
  border-color: rgba(232, 99, 10, 0.35);
}

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.why-title {
  font-family: 'Yeseva One', serif;
  font-size: 1.15rem;
  color: var(--deep);
  margin-bottom: 10px;
}

.why-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}


/* ============================================================
   11. PAGE: index.html — COURSES
   ============================================================ */
.courses-bg {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.courses-bg::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 99, 10, 0.1) 0%, transparent 70%);
}

.courses-bg .section-title {
  color: var(--white);
}

/* Tab switcher (Class 10 / Class 12) */
.courses-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 28px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}

.tab-btn.active {
  background: var(--saffron);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(232, 99, 10, 0.4);
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Course tab panels */
.course-panel {
  display: none;
}

.course-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

/* Individual course card */
.course-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 99, 10, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.course-card:hover::before {
  transform: scaleX(1);
}

/* Board badge chips */
.course-board {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.board-cbse {
  background: rgba(15, 76, 117, 0.5);
  color: #7ec8e3;
  border: 1px solid rgba(126, 200, 227, 0.3);
}

.board-icse {
  background: rgba(232, 99, 10, 0.2);
  color: var(--saffron-light);
  border: 1px solid rgba(232, 99, 10, 0.3);
}

.board-both {
  background: rgba(240, 165, 0, 0.15);
  color: var(--gold);
  border: 1px solid rgba(240, 165, 0, 0.3);
}

.course-name {
  font-family: 'Yeseva One', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.course-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.course-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.subj-tag {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.77rem;
  font-weight: 600;
}

.course-enquire {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  color: var(--green);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  width: fit-content;
}

.course-enquire:hover {
  background: rgba(37, 211, 102, 0.22);
}


/* ============================================================
   12. PAGE: index.html — COURSE DETAILS
   ============================================================ */
.details-bg {
  background: var(--white);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left dark info block */
.details-image-block {
  background: linear-gradient(135deg, var(--deep), var(--navy));
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.details-image-block::after {
  content: '🎓';
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 6rem;
  opacity: 0.07;
}

.details-image-block h3 {
  font-family: 'Yeseva One', serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.details-image-block p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.detail-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.detail-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(232, 99, 10, 0.15);
  border: 1px solid rgba(232, 99, 10, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.detail-label {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.detail-val {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* Right content column */
.details-list-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.details-section-title {
  font-family: 'Yeseva One', serif;
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 16px;
}

/* Tick checklist */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.checklist li::before {
  content: '✓';
  color: var(--saffron);
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Batch timing cards */
.schedule-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.sched-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(232, 99, 10, 0.15);
}

.sched-title {
  font-weight: 800;
  color: var(--saffron);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.sched-info {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Coming Soon strip */
.coming-soon-strip {
  background: linear-gradient(90deg, rgba(232, 99, 10, 0.08), rgba(240, 165, 0, 0.08));
  border: 1px dashed rgba(232, 99, 10, 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.cs-icon {
  font-size: 1.6rem;
}

.cs-title {
  font-weight: 800;
  color: var(--saffron);
  font-size: 0.9rem;
}

.cs-sub {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}


/* ============================================================
   13. PAGE: index.html — TOPPERS PREVIEW (mini section)
   ============================================================ */
.toppers-bg {
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.toppers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.topper-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 99, 10, 0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.topper-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(232, 99, 10, 0.15);
}

.topper-img-wrap {
  position: relative;
}

.topper-avatar {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

.topper-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.topper-info {
  padding: 18px 16px 20px;
}

.topper-name {
  font-family: 'Yeseva One', serif;
  font-size: 1.05rem;
  color: var(--deep);
  margin-bottom: 4px;
}

.topper-marks {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 4px;
}

.topper-marks span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.topper-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

/* "View Full Gallery" button */
.view-gallery-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--white);
  padding: 15px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin: 48px auto 0;
  width: fit-content;
  transition: transform 0.2s, box-shadow 0.2s;
}

.view-gallery-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(232, 99, 10, 0.4);
}


/* ============================================================
   14. PAGE: index.html — CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--saffron) 0%, #c44f00 100%);
  padding: 70px 60px;
  text-align: center;
}

.cta-strip h2 {
  font-family: 'Yeseva One', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 14px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   15. PAGE: gallery.html — PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--deep), var(--navy), #0d3460);
  padding: 120px 60px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(240, 165, 0, 0.12) 0%, transparent 65%);
}

.trophy-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 2rem;
  animation: fadeDown 0.6s ease both;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Yeseva One', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  animation: fadeDown 0.6s ease 0.1s both;
}

.page-hero h1 span {
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeDown 0.6s ease 0.2s both;
}


/* ============================================================
   16. PAGE: gallery.html — STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--deep), var(--navy));
  padding: 60px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stats-item {
  text-align: center;
}

.stats-num {
  font-family: 'Yeseva One', serif;
  font-size: 2.8rem;
  color: var(--saffron-light);
  line-height: 1;
}

.stats-lbl {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 6px;
  letter-spacing: 0.5px;
}


/* ============================================================
   17. PAGE: gallery.html — FILTER BAR
   ============================================================ */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(232, 99, 10, 0.12);
  padding: 20px 60px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 72px;
  z-index: 90;
}

.filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 8px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 2px solid rgba(232, 99, 10, 0.2);
  background: transparent;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.filter-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}


/* ============================================================
   18. PAGE: gallery.html — GALLERY GRID & TOPPER CARDS
   ============================================================ */
.gallery-section {
  padding: 70px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Year group block */
.gallery-year-group {
  margin-bottom: 70px;
}

.year-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.year-pill {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  font-family: 'Yeseva One', serif;
  font-size: 1.1rem;
  padding: 8px 22px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(232, 99, 10, 0.3);
  white-space: nowrap;
}

.year-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 99, 10, 0.3), transparent);
}

.year-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Gallery grid of topper cards */
.gallery-section .toppers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

/* Gallery topper card — extends base .topper-card */
.gallery-section .topper-card {
  border-radius: 22px;
  position: relative;
}

/* Medal badges */
.topper-card.rank-1 { border: 2px solid var(--gold); }

.topper-card.rank-1::before,
.topper-card.rank-2::before,
.topper-card.rank-3::before {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 1.3rem;
  z-index: 3;
}

.topper-card.rank-1::before { content: '🥇'; }
.topper-card.rank-2::before { content: '🥈'; }
.topper-card.rank-3::before { content: '🥉'; }

/* Gallery avatar — taller than index preview */
.gallery-section .topper-avatar {
  height: 200px;
  font-size: 5.5rem;
}

/* nth-child avatar colour variants */
.gallery-section .topper-card:nth-child(1) .topper-avatar { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.gallery-section .topper-card:nth-child(2) .topper-avatar { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.gallery-section .topper-card:nth-child(3) .topper-avatar { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.gallery-section .topper-card:nth-child(4) .topper-avatar { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.gallery-section .topper-card:nth-child(5) .topper-avatar { background: linear-gradient(135deg, #ede7f6, #d1c4e9); }
.gallery-section .topper-card:nth-child(6) .topper-avatar { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.gallery-section .topper-card:nth-child(7) .topper-avatar { background: linear-gradient(135deg, #fff9c4, #fff176); }
.gallery-section .topper-card:nth-child(8) .topper-avatar { background: linear-gradient(135deg, #fbe9e7, #ffccbc); }

/* Board chip overlaid on avatar */
.board-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.chip-cbse { background: rgba(15, 76, 117, 0.9); color: #7ec8e3; }
.chip-icse { background: rgba(232, 99, 10,  0.9); color: var(--white); }
.chip-isc  { background: rgba(60, 120, 60,  0.9); color: #a5d6a7; }

/* Gallery topper score */
.topper-score {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 8px;
}

.topper-score small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.topper-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topper-class {
  background: rgba(232, 99, 10, 0.09);
  color: var(--saffron);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.topper-year-tag {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.topper-quote {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
  line-height: 1.5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 10px;
}

/* JS-toggled hidden class */
.topper-card.hidden {
  display: none;
}

/* No results message */
#no-results {
  text-align: center;
  padding: 60px 0;
}


/* ============================================================
   19. PAGE: gallery.html — GALLERY CTA
   ============================================================ */
.gallery-cta {
  background: var(--white);
  padding: 80px 60px;
  text-align: center;
}

.gallery-cta h2 {
  font-family: 'Yeseva One', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--deep);
  margin-bottom: 14px;
}

.gallery-cta p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}


/* ============================================================
   20. RESPONSIVE / MEDIA QUERIES
   ============================================================ */

/* ── Tablet & below ── */
@media (max-width: 960px) {
  nav {
    padding: 0 24px;
  }

  /* Collapse nav links into mobile dropdown */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--deep);
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(232, 99, 10, 0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* index.html */
  .hero           { padding: 90px 24px 50px; }
  .hero-stats     { gap: 28px; }
  section         { padding: 60px 24px; }
  .details-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-strip      { padding: 60px 24px; }
  footer          { padding: 60px 24px 30px; }

  /* gallery.html */
  .page-hero      { padding: 100px 24px 60px; }
  .filter-bar     { padding: 16px 24px; }
  .gallery-section{ padding: 50px 24px; }
  .stats-bar      { padding: 50px 24px; gap: 40px; }
  .gallery-cta    { padding: 60px 24px; }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .schedule-cards { grid-template-columns: 1fr; }
}


/* ============================================================
   21. PAGE: index.html — DIRECTOR SECTION
   ============================================================ */

.director-bg {
  background: linear-gradient(160deg, #fff8f0 0%, #ffffff 60%, #fff3e0 100%);
  border-top: 1px solid rgba(232, 99, 10, 0.08);
}

.director-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

/* ── Left column: Photo ── */
.director-photo-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.director-photo-frame {
  position: relative;
}

.director-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(135deg, #f5f0ff, #ede7f6);
  border: 3px dashed rgba(232, 99, 10, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
  position: relative;
}

.director-photo-placeholder:hover {
  border-color: rgba(232, 99, 10, 0.6);
  background: linear-gradient(135deg, #fff3e0, #fff8f0);
}

/* When the director's actual <img> is placed inside, it fills the frame */
.director-photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.director-photo-icon {
  font-size: 5rem;
  line-height: 1;
}

.director-photo-hint {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(232, 99, 10, 0.6);
  letter-spacing: 0.5px;
  text-align: center;
  padding: 0 16px;
}

/* Badge overlapping bottom of photo */
.director-photo-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 24px rgba(232, 99, 10, 0.35);
}

.dir-badge-icon {
  font-size: 1rem;
}

/* Quote card */
.director-quote-card {
  background: var(--deep);
  border-radius: 10px;
  padding: 20px 15px;
  position: relative;
  margin-top: 10px;
}

.dir-quote-mark {
  font-family: 'Yeseva One', serif;
  font-size: 4rem;
  color: var(--saffron);
  line-height: 0.5;
  margin-bottom: 12px;
  display: block;
}

.director-quote-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 14px;
}

.dir-quote-author {
  color: var(--saffron-light);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── Right column: Details ── */
.director-details-col {
  padding-top: 8px;
}

.director-title {
  margin-bottom: 18px;
}

.dir-name-highlight {
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.director-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

/* Experience timeline */
.exp-timeline {
  margin-bottom: 36px;
}

.exp-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 24px;
  position: relative;
}

/* Vertical connecting line between dots */
.exp-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), rgba(232, 99, 10, 0.1));
}

.exp-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--saffron);
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 0 0 4px rgba(232, 99, 10, 0.15);
  position: relative;
  z-index: 1;
}

.exp-year {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--saffron);
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.exp-role {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--deep);
  margin-bottom: 2px;
}

.exp-inst {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Credential stat row */
.dir-credentials {
  display: flex;
  gap: 0;
  border: 1px solid rgba(232, 99, 10, 0.15);
  border-radius: 16px;
  overflow: hidden;
}

.dir-cred-item {
  flex: 1;
  text-align: center;
  padding: 20px 12px;
  border-right: 1px solid rgba(232, 99, 10, 0.12);
  background: var(--cream);
}

.dir-cred-item:last-child {
  border-right: none;
}

.dir-cred-num {
  font-family: 'Yeseva One', serif;
  font-size: 1.5rem;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 4px;
}

.dir-cred-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}


/* ============================================================
   22. PAGE: gallery.html — TEACHERS SECTION
   ============================================================ */

.teachers-section {
  background: var(--white);
  padding: 90px 60px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.teacher-card {
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 99, 10, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(232, 99, 10, 0.13);
  border-color: rgba(232, 99, 10, 0.3);
}

.teacher-photo-wrap {
  position: relative;
}

.teacher-photo {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  /* When you add a real image, set it as the src of an <img> inside this div */
}

/* When real image is added inside .teacher-photo */
.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.teacher-subject-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(232, 99, 10, 0.9);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.teacher-info {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.teacher-name {
  font-family: 'Yeseva One', serif;
  font-size: 1.12rem;
  color: var(--deep);
  margin-bottom: 2px;
}

.teacher-qual {
  font-size: 0.82rem;
  color: var(--saffron);
  font-weight: 700;
}

.teacher-exp {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.teacher-boards {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.tboard-chip {
  background: rgba(232, 99, 10, 0.1);
  color: var(--saffron);
  border: 1px solid rgba(232, 99, 10, 0.25);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.teacher-bio {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-top: auto;
}


/* ============================================================
   23. PAGE: gallery.html — ACCOMMODATION SECTION
   ============================================================ */

.accommodation-section {
  background: linear-gradient(160deg, #f0f4ff 0%, #fff8f0 100%);
  padding: 90px 60px;
}

/* Highlights strip */
.accom-highlights {
  display: flex;
  gap: 0;
  border: 1px solid rgba(232, 99, 10, 0.15);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 56px;
  background: var(--white);
}

.accom-hl-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 10px;
  border-right: 1px solid rgba(232, 99, 10, 0.1);
  transition: background 0.2s;
}

.accom-hl-item:last-child {
  border-right: none;
}

.accom-hl-item:hover {
  background: rgba(232, 99, 10, 0.04);
}

.accom-hl-icon {
  font-size: 1.6rem;
}

.accom-hl-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--deep);
  text-align: center;
  letter-spacing: 0.2px;
}

/* Rooms grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.room-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 99, 10, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.room-card-featured {
  grid-column: span 2;
}

/* Photo area */
.room-photo {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* When real photo added */
.room-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card-featured .room-photo {
  height: 240px;
}

.room-photo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.room-emoji {
  font-size: 3.2rem;
}

.room-photo-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.room-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--saffron);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Room info */
.room-info {
  padding: 22px 22px 24px;
}

.room-name {
  font-family: 'Yeseva One', serif;
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 8px;
}

.room-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.room-feat {
  background: rgba(232, 99, 10, 0.07);
  color: var(--text);
  border: 1px solid rgba(232, 99, 10, 0.12);
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.77rem;
  font-weight: 600;
}

/* Accommodation CTA strip */
.accom-cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--deep);
  border-radius: 20px;
  padding: 32px 40px;
  margin-top: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.accom-cta-title {
  font-family: 'Yeseva One', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}

.accom-cta-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.5;
}

.accom-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
}


/* ============================================================
   24. RESPONSIVE — New sections
   ============================================================ */

@media (max-width: 1100px) {
  .director-layout {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .room-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .director-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .director-photo-col {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .teachers-section,
  .accommodation-section {
    padding: 60px 24px;
  }
  .accom-highlights {
    flex-wrap: wrap;
  }
  .accom-hl-item {
    flex: 1 1 30%;
    border-bottom: 1px solid rgba(232, 99, 10, 0.1);
  }
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  .room-card-featured {
    grid-column: span 1;
  }
  .accom-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
}

@media (max-width: 600px) {
  .dir-credentials {
    flex-direction: column;
  }
  .dir-cred-item {
    border-right: none;
    border-bottom: 1px solid rgba(232, 99, 10, 0.12);
  }
  .dir-cred-item:last-child {
    border-bottom: none;
  }
  .teachers-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   25. PAGE: terms.html — TERMS & CONDITIONS
   ============================================================ */

/* ── Hero ── */
.tc-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 50%, #0d3460 100%);
  padding: 120px 60px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 30%, var(--saffron) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, var(--gold)    2px, transparent 2px);
  background-size: 60px 60px;
}

.tc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.tc-hero-icon {
  font-size: 3.2rem;
  margin-bottom: 20px;
  animation: fadeDown 0.6s ease both;
}

.tc-hero h1 {
  font-family: 'Yeseva One', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeDown 0.6s ease 0.1s both;
}

.tc-hero h1 span {
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tc-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 28px;
  animation: fadeDown 0.6s ease 0.2s both;
}

.tc-meta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.6s ease 0.3s both;
}

.tc-meta-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── Page layout ── */
.tc-body {
  background: #f8f9fb;
  padding: 60px;
  min-height: 60vh;
}

.tc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}

/* ── Sticky sidebar ── */
.tc-sidebar {
  position: sticky;
  top: 96px;
}

.tc-toc {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(232, 99, 10, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tc-toc-title {
  font-family: 'Yeseva One', serif;
  font-size: 0.95rem;
  color: var(--deep);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(232, 99, 10, 0.12);
}

.tc-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.tc-toc-link {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.tc-toc-link:hover {
  color: var(--saffron);
  background: rgba(232, 99, 10, 0.06);
  border-left-color: rgba(232, 99, 10, 0.3);
}

.tc-toc-link.active {
  color: var(--saffron);
  background: rgba(232, 99, 10, 0.08);
  border-left-color: var(--saffron);
}

.tc-sidebar-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.tc-sidebar-wa:hover { opacity: 0.9; }

/* ── Main content ── */
.tc-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Intro notice */
.tc-notice {
  background: rgba(232, 99, 10, 0.07);
  border: 1px solid rgba(232, 99, 10, 0.2);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

.tc-notice-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

/* Section blocks */
.tc-section {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  scroll-margin-top: 100px;
  transition: box-shadow 0.2s;
}

.tc-section:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.tc-section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #fafafa, #fff8f4);
  border-bottom: 1px solid rgba(232, 99, 10, 0.1);
}

.tc-section-num {
  font-family: 'Yeseva One', serif;
  font-size: 1.6rem;
  color: rgba(232, 99, 10, 0.2);
  line-height: 1;
  min-width: 36px;
}

.tc-section-title {
  font-family: 'Yeseva One', serif;
  font-size: 1.18rem;
  color: var(--deep);
  margin: 0;
}

.tc-section-body {
  padding: 24px 28px 28px;
}

.tc-section-body p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.tc-section-body p:last-child { margin-bottom: 0; }

/* Bulleted list */
.tc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.tc-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

.tc-list li::before {
  content: '→';
  color: var(--saffron);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.tc-list li:last-child { margin-bottom: 0; }

/* Highlight / note box */
.tc-highlight-box {
  background: rgba(232, 99, 10, 0.05);
  border: 1px solid rgba(232, 99, 10, 0.18);
  border-left: 4px solid var(--saffron);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
  margin-top: 16px;
}

/* Contact grid in section 14 */
.tc-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.tc-contact-card {
  background: var(--cream);
  border: 1px solid rgba(232, 99, 10, 0.12);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: block;
}

.tc-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 99, 10, 0.1);
  border-color: rgba(232, 99, 10, 0.35);
}

.tc-contact-wa {
  background: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.25);
}

.tc-contact-wa:hover {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.12);
}

.tc-contact-icon { font-size: 1.5rem; margin-bottom: 8px; }

.tc-contact-label {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--deep);
  margin-bottom: 3px;
}

.tc-contact-val {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Acceptance box at the bottom */
.tc-acceptance {
  background: linear-gradient(135deg, var(--deep), var(--navy));
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 8px;
}

.tc-acceptance-icon { font-size: 1.8rem; flex-shrink: 0; }

.tc-acceptance-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-acceptance-text strong {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tc-acceptance-text span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ── Footer legal links row (shared by all pages) ── */
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--saffron-light);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .tc-body { padding: 40px 24px; }
  .tc-layout { grid-template-columns: 1fr; }
  .tc-sidebar { position: static; }
  .tc-toc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .tc-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tc-hero { padding: 100px 24px 60px; }
  .tc-meta-row { flex-direction: column; align-items: center; }
  .tc-toc-list { grid-template-columns: 1fr; }
  .tc-section-header { padding: 18px 20px; }
  .tc-section-body { padding: 18px 20px 22px; }
  .tc-acceptance { flex-direction: column; gap: 12px; }
  .footer-legal-links { gap: 12px; }
}


/* ============================================================
   26. MISSING / SUPPLEMENTAL RULES
   ============================================================ */

/* Director section — experience content block */
.exp-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Accommodation CTA text block */
.accom-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Footer brand and col — standalone base rules */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}




/* ============================================================
   27. COURSES — Duration & meta badge row (new)
   ============================================================ */
.course-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.course-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.course-meta-badge--orange {
  background: rgba(232,99,10,0.18);
  border-color: rgba(232,99,10,0.4);
  color: #ff8c42;
}