/* ============================================================
   FULFILLED CHILDREN INTERNATIONAL COLLEGE — Shared Design System
   Palette: Navy Blue + Golden Yellow
   Tagline: Schools Where Every Child Is a Star!
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  --navy-dark:    #330409;
  --navy-mid:     #B8243C;
  --navy-fresh:   #c01f2a;
  --navy-light:   #c8648f;
  --navy-pale:    #dce8f7;
  --gold:         #d4a017;
  --gold-light:   #f0c040;
  --gold-pale:    #fdf3d0;
  --cream:        #fafaf7;
  --sand:         #f4f1e8;
  --charcoal:     #4c0804;
  --text-mid:     #513737;
  --text-light:   #6b7280;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(58, 11, 17, 0.08);
  --shadow-md:    0 8px 32px rgba(58, 11, 11, 0.12);
  --shadow-lg:    0 20px 60px rgba(58, 11, 11, 0.18);
  --shadow-card:  0 4px 20px rgba(58, 17, 11, 0.1);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-ui:      'Syne', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h4, h5, h6 { font-family: var(--font-ui); }

.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

/* ===== LAYOUT ===== */
.container       { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-wide  { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
section          { padding: 6rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--navy-mid); color: var(--white); border-color: var(--navy-mid); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,107,0.35); }
.btn-secondary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-secondary:hover { background: #b8880f; border-color: #b8880f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,160,23,0.35); }
.btn-outline { background: transparent; color: var(--navy-mid); border-color: var(--navy-mid); }
.btn-outline:hover { background: var(--navy-mid); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy-dark); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.875rem; }

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(255,255,255);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; height:40px; }
.nav-logo img { height:40px; }
.nav-logo .brand-text{font-family: var(--font-ui); display:flex; flex-direction:column; line-height:0.6;}
.nav-logo .brand-text small{font-family:'DM Sans',sans-serif; font-size:10px; letter-spacing:2px; color:var(--muted); text-transform:uppercase; margin-top:0px;}

.nav-logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-fresh));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(26,58,107,0.3);
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text strong { font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem; color: var(--navy-dark); }
.nav-logo-text small  { font-family: var(--font-ui); font-size: 0.65rem; font-weight: 500; color: var(--gold); letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { font-family: var(--font-ui); font-size: 0.875rem; font-weight: 500; color: var(--text-mid); text-decoration: none; padding: 0.5rem 0.75rem; border-radius: 8px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--navy-mid); background: var(--navy-pale); }
.nav-cta-group { display: flex; gap: 0.75rem; align-items: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }


/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 1001; /* above navbar (1000) so it slides over it cleanly */
  flex-direction: column;
  padding: 2rem;
  /*padding-top: calc(2rem + 70px); /* clear the sticky navbar height */
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); display: flex; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; }
.mobile-nav-close { background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-links a { display: block; font-family: var(--font-ui); font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: none; padding: 1rem 0; transition: var(--transition); }
.mobile-nav-links a:hover { color: var(--gold-light); }
.mobile-nav-ctas { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }

/* ===== INNER HERO (page hero) ===== */
.inner-hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 60%, #0f2850 100%);
}
/* Photo background layer */
.inner-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
/* Gradient overlay on top of photo */
.inner-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg,
    rgba(51,4,9,0.90) 0%,
    rgba(184,36,60,0.85) 55%,
    rgba(15,40,80,0.78) 100%);
}
.inner-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%236491c8' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.inner-hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.10; z-index: 3; }
.inner-hero-orb-1 { width: 400px; height: 400px; background: var(--gold); top: -100px; right: -80px; }
.inner-hero-orb-2 { width: 250px; height: 250px; background: var(--navy-light); bottom: -50px; left: 5%; }
.inner-hero-content { position: relative; z-index: 4; max-width: 700px; }
.inner-hero-breadcrumb {
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.inner-hero-breadcrumb a { color: var(--gold-light); text-decoration: none; }
.inner-hero-breadcrumb a:hover { text-decoration: underline; }
.inner-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: white; margin-bottom: 1rem; line-height: 1.1; }
.inner-hero h1 em { color: var(--gold-light); font-style: normal; }
.inner-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 560px; }

/* ===== SECTION HEADINGS ===== */
.section-heading { max-width: 600px; }
.section-heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--charcoal); margin-bottom: 1rem; }
.section-heading p { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; }
.section-heading-center { text-align: center; max-width: 680px; margin: 0 auto; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11,31,58,0.06);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-fresh));
  padding: 4rem 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: white; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-form input {
  padding: 0.85rem 1.5rem; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12); color: white;
  font-family: var(--font-body); font-size: 0.95rem;
  min-width: 260px; outline: none; transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--gold-light); background: rgba(255,255,255,0.18); }
.newsletter-form button {
  padding: 0.85rem 2rem; background: var(--gold); color: white;
  border: none; border-radius: 50px; font-family: var(--font-ui);
  font-weight: 600; cursor: pointer; transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: var(--navy-dark); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-text { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin: 1rem 0 1.5rem; max-width: 280px; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition); text-transform: uppercase;
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: white; }
.footer-col h5 { font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.62); text-decoration: none; transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===== METRICS STRIP ===== */
.metrics-strip { background: var(--navy-dark); padding: 3.5rem 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.metric-item { padding: 1rem; border-right: 1px solid rgba(255,255,255,0.1); }
.metric-item:last-child { border-right: none; }
/* In 2-col layout, every 2nd item is at the right edge */
@media (max-width: 1024px) {
  .metrics-strip .metric-item:nth-child(2n) { border-right: none; }
}
.metric-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--gold-light); display: block; line-height: 1; margin-bottom: 0.35rem; }
.metric-label { font-family: var(--font-ui); font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== DARK SECTION ===== */
.dark-section { background: var(--navy-dark); }
.dark-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.dark-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 2rem; transition: var(--transition); backdrop-filter: blur(10px);
}
.dark-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.dark-card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.dark-card h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; }
.dark-card p { font-size: 0.875rem; color: rgba(255,255,255,0.52); line-height: 1.6; }

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3.5rem; position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 40px; left: 12.5%; right: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--navy-light), var(--gold-light)); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 1.5rem;
  position: relative; transition: var(--transition);
}
.process-num.blue { background: var(--navy-pale); color: var(--navy-mid); border: 3px solid var(--navy-light); }
.process-num.gold  { background: var(--gold-pale); color: var(--gold); border: 3px solid var(--gold-light); }
.process-step:hover .process-num { transform: scale(1.1); box-shadow: var(--shadow-md); }
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-card);
  border: 1px solid rgba(11,31,58,0.05); transition: var(--transition); position: relative;
}
.testimonial-card::before {
  content: '"'; font-family: var(--font-display); font-size: 6rem;
  color: var(--navy-pale); position: absolute; top: -0.5rem; left: 1.5rem;
  line-height: 1; z-index: 0;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.testimonial-card blockquote { font-size: 0.92rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-pale); }
.author-name { font-family: var(--font-ui); font-weight: 700; font-size: 0.875rem; color: var(--navy-dark); }
.author-role { font-size: 0.75rem; color: var(--text-light); }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 1.5rem; }
.form-label { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; color: var(--navy-dark); display: block; margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.9rem 1.25rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(11,31,58,0.15); background: var(--white);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal);
  outline: none; transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}
.form-textarea { resize: vertical; min-height: 130px; }

/* ===== ACCORDION ===== */
.accordion-item { border: 1px solid rgba(11,31,58,0.1); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0.75rem; }
.accordion-trigger {
  width: 100%; padding: 1.25rem 1.5rem; background: var(--white);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-ui); font-size: 1rem; font-weight: 600; color: var(--navy-dark);
  text-align: left; transition: var(--transition);
}
.accordion-trigger:hover { background: var(--navy-pale); }
.accordion-trigger.open { background: var(--navy-pale); color: var(--navy-mid); }
.accordion-icon { font-size: 1.2rem; transition: transform 0.3s ease; flex-shrink: 0; }
.accordion-trigger.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 1.5rem; background: var(--white); }
.accordion-body.open { max-height: 500px; padding: 1.25rem 1.5rem; }
.accordion-body p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; }

/* ===== BLOG / NEWS CARDS ===== */
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid rgba(11,31,58,0.05); transition: var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-img img { transform: scale(1.08); }
.news-meta { padding: 1.5rem 1.5rem 0; }
.news-tag { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-mid); background: var(--navy-pale); padding: 0.25rem 0.7rem; border-radius: 50px; }
.news-date { font-family: var(--font-ui); font-size: 0.75rem; color: var(--text-light); margin-left: 0.75rem; }
.news-card h4 { font-size: 1.05rem; color: var(--navy-dark); margin: 0.75rem 0 0.5rem; padding: 0 1.5rem; line-height: 1.4; }
.news-card p { font-size: 0.875rem; color: var(--text-light); padding: 0 1.5rem 1.5rem; line-height: 1.6; }
.news-footer { padding: 0 1.5rem 1.5rem; border-top: 1px solid rgba(11,31,58,0.06); margin-top: 0.5rem; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.read-more { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; color: var(--navy-mid); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: var(--transition); }
.read-more:hover { gap: 0.75rem; color: var(--gold); }

/* ===== STAFF CARD ===== */
.staff-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); text-align: center; }
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.staff-img { height: 240px; overflow: hidden; }
.staff-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.staff-card:hover .staff-img img { transform: scale(1.05); }
.staff-info { padding: 1.5rem; }
.staff-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-dark); margin-bottom: 0.25rem; }
.staff-role { font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; }
.staff-bio { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-top: 0.75rem; }

/* ===== TAG BADGE ===== */
.tag {
  display: inline-block; font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600;
  padding: 0.28rem 0.75rem; border-radius: 50px; letter-spacing: 0.05em; text-transform: uppercase;
}
.tag-blue    { background: var(--navy-pale); color: var(--navy-mid); }
.tag-gold    { background: var(--gold-pale); color: #8a6800; }
.tag-green   { background: #e8f7ee; color: #1a6b3c; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .dark-grid-4  { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .nav-links, .nav-cta-group { display: none; }
  .hamburger { display: flex; }
  .inner-hero { padding: 8rem 0 4rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .dark-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .dark-grid-4  { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container, .container-wide { padding: 0 1.25rem; }
}

/* ============================================================
   HOMEPAGE SECTION STYLES (hero, pillars, process, programmes,
   achievements, admissions, testimonials, metrics)
   ============================================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(212,160,23,0.18), transparent 90%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 55%, var(--navy-fresh) 100%);
  color: var(--white);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; opacity: 0.55;
}
.hero-orb-1 { width: 420px; height: 420px; background: var(--gold); top: -120px; right: -100px; }
.hero-orb-2 { width: 360px; height: 360px; background: var(--navy-light); bottom: -140px; left: -80px; opacity: 0.45; }
.hero-orb-3 { width: 240px; height: 240px; background: var(--gold-light); top: 40%; left: 35%; opacity: 0.18; }
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-text h1 em {
  font-style: italic; color: var(--gold-light);
  font-family: var(--font-display);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-ui); font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-light); box-shadow: 0 0 12px var(--gold-light);
}
.hero-sub {
  font-size: 1.125rem; line-height: 1.7;
  color: rgba(255,255,255,0.78); max-width: 560px;
  margin-bottom: 2rem;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-proof-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
}
.hero-proof-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light);
}
.hero-visual { position: relative; }
.hero-img-frame {
      height: 600px !important;

  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.18);
  transform: rotate(-1.5deg);
}
.hero-img-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--white); color: var(--charcoal);
  padding: 0.85rem 1.1rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.hero-float-card-1 { top: 8%; left: -3rem; }
.hero-float-card-2 { bottom: 6%; right: -3rem; }
.hero-float-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
}
.hero-float-icon.gold { background: var(--gold-pale); color: var(--gold); }
.hero-float-icon.blue { background: var(--navy-pale); color: var(--navy-fresh); }
.hero-float-title { font-weight: 700; font-size: 0.95rem; }
.hero-float-sub { font-size: 0.78rem; color: var(--text-light); font-family: var(--font-ui); }

/* ---- METRICS STRIP ---- */
.metrics-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(11,31,58,0.06);
  padding: 2.5rem 0;
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.metric-item { display: flex; flex-direction: column; gap: 0.35rem; }
.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--navy-dark); line-height: 1;
}
.metric-label {
  font-family: var(--font-ui); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
}

/* ---- SECTION HEADINGS ---- */
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
  font-family: var(--font-ui); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem; font-weight: 600;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--navy-dark); margin-bottom: 1rem;
}
.section-heading p { color: var(--text-mid); line-height: 1.7; font-size: 1.05rem; }

/* ---- PILLARS ---- */
.pillars { padding: 6rem 0; background: var(--cream); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.pillar-card {
  background: var(--white); padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(11,31,58,0.06);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.pillar-icon.gold { background: var(--gold-pale); }
.pillar-icon.blue { background: var(--navy-pale); }
.pillar-icon.mixed {
  background: linear-gradient(135deg, var(--gold-pale), var(--navy-pale));
}
.pillar-card h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--navy-dark);
}
.pillar-card p { color: var(--text-mid); line-height: 1.65; }
.pillar-link {
  margin-top: auto; padding-top: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem;
  color: var(--navy-fresh); text-decoration: none;
  letter-spacing: 0.05em;
}
.pillar-link:hover { color: var(--gold); }

/* ---- PROCESS ---- */
.process { padding: 6rem 0; background: var(--white); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.process-grid::before {
  content: ""; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--navy-fresh) 100%);
  opacity: 0.25;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  margin: 0 auto 1rem; background: var(--white);
  border: 2px solid var(--navy-pale);
  box-shadow: var(--shadow-card);
}
.process-num.s1 { background: var(--gold-pale); border-color: var(--gold); }
.process-num.s2 { background: var(--navy-pale); border-color: var(--navy-fresh); }
.process-num.s3 { background: var(--gold-pale); border-color: var(--gold); }
.process-num.s4 { background: var(--navy-pale); border-color: var(--navy-fresh); }
.process-step h4 {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--navy-dark); margin-bottom: 0.5rem;
}
.process-step p { color: var(--text-mid); line-height: 1.65; font-size: 0.95rem; }

/* ---- PROGRAMMES ---- */
.programmes { padding: 6rem 0; background: var(--sand); }
.programmes-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.level-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem; padding: 0.35rem;
  background: var(--white); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.level-tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.55rem 1.1rem; border-radius: 999px;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem;
  color: var(--text-mid); transition: all var(--transition);
}
.level-tab.active { background: var(--navy-dark); color: var(--white); }
.programmes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.programme-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.programme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.programme-img { position: relative; aspect-ratio: 5/3; overflow: hidden; }
.programme-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease; }
.programme-card:hover .programme-img img { transform: scale(1.05); }
.programme-badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  font-family: var(--font-ui); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--white); color: var(--navy-dark);
}
.badge-jss      { background: var(--navy-pale); color: var(--navy-dark); }
.badge-sss      { background: var(--gold-pale); color: var(--navy-dark); }
.badge-boarding { background: var(--navy-dark); color: var(--gold-light); }
.programme-info { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.programme-info h4 {
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--navy-dark); font-weight: 700;
}
.programme-info p { color: var(--text-mid); line-height: 1.65; font-size: 0.95rem; flex: 1; }
.programme-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.5rem; border-top: 1px solid rgba(11,31,58,0.06);
}
.programme-tag {
  font-family: var(--font-ui); font-size: 0.75rem; color: var(--text-light);
  letter-spacing: 0.05em;
}
.enquire-btn {
  border: 0; background: var(--navy-dark); color: var(--white);
  padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.8rem;
  transition: background var(--transition);
}
.enquire-btn:hover { background: var(--gold); color: var(--navy-dark); }

/* ---- ACHIEVEMENTS (dark band) ---- */
.achievements {
  padding: 6rem 0;
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(212,160,23,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: var(--white);
}
.achievements-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.achievement-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 2rem;
  backdrop-filter: blur(6px);
  transition: transform var(--transition), border-color var(--transition);
}
.achievement-card:hover { transform: translateY(-4px); border-color: var(--gold-light); }
.achievement-icon { font-size: 2rem; display: inline-block; margin-bottom: 1rem; }
.achievement-card h4 {
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--white); margin-bottom: 0.5rem;
}
.achievement-card p { color: rgba(255,255,255,0.7); line-height: 1.65; font-size: 0.95rem; }

/* ---- ADMISSIONS ---- */
.admissions { padding: 6rem 0; background: var(--white); }
.admissions-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.admissions-visual { position: relative; }
.admissions-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.admissions-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admissions-tag {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  background: var(--gold); color: var(--navy-dark);
  padding: 1rem 1.5rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.admissions-tag-label { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.admissions-tag-sub { font-family: var(--font-ui); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.admissions-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.65rem; }
.admissions-list li {
  position: relative; padding-left: 1.75rem;
  color: var(--text-mid); line-height: 1.6;
}
.admissions-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
}
.admissions-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* ---- TESTIMONIALS ---- */
.testimonials { padding: 6rem 0; background: var(--cream); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial-card {
  background: var(--white); padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 0.1em; }
.testimonial-card blockquote {
  font-style: italic; color: var(--text-mid); line-height: 1.7;
  border: 0; padding: 0; margin: 0;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 700; color: var(--navy-dark); font-size: 0.95rem; }
.author-role { font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-light); }

/* ---- BTN VARIANTS used on homepage ---- */
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy-dark); border-color: var(--white); }
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }

/* ---- FADE-UP ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }

/* ---- RESPONSIVE for homepage sections ---- */
@media (max-width: 1024px) {
  .hero { padding: 7rem 0 4rem; }
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-float-card-1 { left: 1rem; }
  .hero-float-card-2 { right: 1rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .programmes-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .admissions-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .pillars-grid,
  .programmes-grid,
  .achievements-grid { grid-template-columns: 1fr; }
  .programmes-header { flex-direction: column; align-items: flex-start; }
  .hero-float-card { position: static; margin-top: 1rem; }
  .process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-slider-track {
  display: flex; height: 100%;
  transition: transform 0.9s cubic-bezier(0.77,0,0.175,1);
}
.hero-slide {
  min-width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
/* Gradient overlay on slider */
.hero-slider-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(51,4,9,0.72) 0%,
    rgba(184,36,60,0.55) 55%,
    rgba(15,40,80,0.65) 100%);
  pointer-events: none;
}
.hero-orb { z-index: 2; }
.hero-content { z-index: 3; }
/* Slider dots */
.slider-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 5;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  padding: 0; transition: all 0.3s ease;
}
.slider-dot.active {
  background: var(--gold-light);
  width: 28px; border-radius: 4px;
  box-shadow: 0 0 10px rgba(240,192,64,0.5);
}
/* Slider nav arrows */
.slider-arrow {
  position: absolute; top: 50%; z-index: 5;
  transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: background 0.3s, transform 0.3s;
}
.slider-arrow:hover { background: rgba(212,160,23,0.5); transform: translateY(-50%) scale(1.08); }
.slider-arrow-prev { left: 1.5rem; }
.slider-arrow-next { right: 1.5rem; }

/* ===== PILLARS SECTION WITH IMAGES ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11,31,58,0.06);
  transition: var(--transition);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-card-img {
  height: 180px; overflow: hidden; position: relative;
}
.pillar-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pillar-card:hover .pillar-card-img img { transform: scale(1.06); }
.pillar-card-body { padding: 1.75rem; }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.4rem;
  margin-bottom: 1rem;
}
.pillar-icon.blue { background: var(--navy-pale); }
.pillar-icon.gold { background: var(--gold-pale); }
.pillar-icon.mixed { background: #e8f7ee; }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-dark); margin-bottom: 0.5rem; }
.pillar-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1rem; }
.pillar-link { font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; color: var(--navy-mid); text-decoration: none; transition: color 0.2s; }
.pillar-link:hover { color: var(--gold); }

/* ===== PROCESS IMAGES ===== */
.process-step { text-align: center; position: relative; z-index: 1; }
.process-img-wrap {
  width: 90px; height: 90px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 1rem; border: 3px solid var(--gold-light);
  box-shadow: 0 4px 16px rgba(212,160,23,0.3);
}
.process-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===== ACHIEVEMENTS WITH BACKGROUND IMAGE ===== */
.achievements {
  position: relative; overflow: hidden;
}
.achievements-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.achievements-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(51,4,9,0.93) 0%, rgba(51,4,9,0.88) 100%);
}
.achievements .container { position: relative; z-index: 2; }

/* ===== SECTION IMAGE BANDS ===== */
.section-img-band {
  width: 100%; height: 340px; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}
.section-img-band img { width: 100%; height: 100%; object-fit: cover; }


/* ===== RESPONSIVE: SLIDER & GALLERY ===== */
@media (max-width: 768px) {
  .slider-arrow { display: none; }
  .hero-slider-overlay { background: linear-gradient(160deg, rgba(51,4,9,0.85) 0%, rgba(184,36,60,0.72) 60%, rgba(15,40,80,0.82) 100%); }
  .process-img-wrap { width: 70px; height: 70px; }
}
@media (max-width: 480px) {
  .slider-dots { bottom: 1rem; }
}

/* ===== AUTHORITATIVE RESPONSIVE OVERRIDES =====
   These must stay at the very end of the file so they win
   the cascade over any earlier duplicate grid definitions.
   ================================================= */
@media (max-width: 1024px) {
  .metrics-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .dark-grid-4        { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid::before { display: none !important; }
  .pillars-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .achievements-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .programmes-grid    { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid        { grid-template-columns: repeat(2, 1fr) !important; }
  .admissions-inner   { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .metrics-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .dark-grid-4        { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid       { grid-template-columns: 1fr !important; }
  .pillars-grid       { grid-template-columns: 1fr !important; }
  .testimonials-grid  { grid-template-columns: 1fr !important; }
  .achievements-grid  { grid-template-columns: 1fr !important; }
  .programmes-grid    { grid-template-columns: 1fr !important; }
  .footer-grid        { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .footer-bottom      { flex-direction: column !important; text-align: center !important; }
  .cta-band-inner     { flex-direction: column !important; }
  .newsletter-form    { flex-direction: column !important; }
  .newsletter-form input { min-width: unset !important; }
  .programmes-header  { flex-direction: column !important; align-items: flex-start !important; }
  .process-step, .pillar-card, .testimonial-card,
  .metric-item, .achievement-card { min-width: 0 !important; }
}

@media (max-width: 480px) {
  .metrics-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .dark-grid-4        { grid-template-columns: 1fr !important; }
  .process-grid       { grid-template-columns: 1fr !important; }
  .pillars-grid       { grid-template-columns: 1fr !important; }
  .testimonials-grid  { grid-template-columns: 1fr !important; }
  .achievements-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .container, .container-wide { padding: 0 1.25rem !important; }
}