/* Marcellus = main headings (same as the home page headings) */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");

/* =========================================================================
   Academics page — hero banner, OUR ACADEMICS heading, cards, admissions banner, CTA

   Typography matches the home page:
     main headings = Marcellus, capitals, red, red underline = text width
     card names    = Cormorant Garamond (var(--font-head)), bold
     paragraphs    = var(--font-body), weight 400 + 0.15px stroke
   ========================================================================= */

/* Hero — full-width banner (academics-banner.jpg), corner to corner, touches the navbar */
.page-hero.page-hero--split {
  position: relative; overflow: hidden; padding: 0;
  height: min(360px, 24vw);
}
.hero-media {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, var(--blue-tint), var(--orange-tint));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; color: var(--ink-soft);
}
.hero-media i { font-size: 2.6rem; color: var(--blue); opacity: .55; }
.hero-media span { font-size: 0.85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-media small { font-size: 0.78rem; opacity: .75; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Heading stays in the page for SEO / screen readers, but is not shown */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* OUR ACADEMICS heading — same as the home-page headings (red, Marcellus, red underline) */
.academics-intro { padding: 48px 0 8px; text-align: center; }
.academics-title {
  display: inline-block;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #D32F2F;
  padding: 0 0 4px;
  margin: 0;
  border-bottom: 3px solid #D32F2F;
}
.academics-title-line { display: none; }   /* old orange bar replaced by the red underline */

/* Academic cards */
.academics-cards-section { padding: 32px 0 24px; }
.academic-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.academic-card {
  border-radius: var(--radius-l); padding: 34px 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.academic-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.academic-card.tone-orange { background: var(--orange-tint); }
.academic-card.tone-blue { background: var(--blue-tint); }
.academic-card.tone-forest { background: var(--forest-tint); }
.academic-card.tone-brinjal { background: var(--brinjal-tint); }

.academic-icon {
  width: 56px; height: 56px; border-radius: 16px; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.academic-card.tone-orange .academic-icon { color: var(--orange); }
.academic-card.tone-blue .academic-icon { color: var(--blue); }
.academic-card.tone-forest .academic-icon { color: var(--forest); }
.academic-card.tone-brinjal .academic-icon { color: var(--brinjal); }

/* Card names: same as the home-page card names */
.academic-card h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 0.3px currentColor;
  color: var(--ink);
  margin: 4px 0 0;
}

/* Card paragraph: home-page paragraph style */
.academic-card > p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}
.academic-assoc { font-weight: 400 !important; color: var(--blue) !important; margin: -6px 0 0 !important; font-size: 1.1rem !important; }

/* Small LEAD photo placeholder */
.lead-photo {
  position: relative; overflow: hidden;
  width: 120px; height: 70px; border-radius: 12px;
  background: rgba(255,255,255,.65); border: 2px dashed rgba(0,0,0,.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--ink-soft);
}
.lead-photo i { font-size: 1.1rem; opacity: .6; }
.lead-photo small { font-size: 0.68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.lead-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: #fff; padding: 6px;
}

.academic-points { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.academic-points li {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
  line-height: 1.6;
  color: var(--ink);
  display: flex; gap: 10px; align-items: flex-start;
}
.academic-points li i { margin-top: 6px; }
.academic-card.tone-orange .academic-points i { color: var(--orange); }
.academic-card.tone-blue .academic-points i { color: var(--blue); }
.academic-card.tone-forest .academic-points i { color: var(--forest); }
.academic-card.tone-brinjal .academic-points i { color: var(--brinjal); }

/* Admissions banner (text stays white on the coloured banner) */
.admissions-section { padding: 16px 0 40px; }
.admissions-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 36px 44px; border-radius: var(--radius-l); color: #fff;
  background: linear-gradient(120deg, var(--blue) 0%, var(--brinjal) 55%, var(--orange) 100%);
  position: relative; overflow: hidden;
}
.admissions-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12);
}
.admissions-text { position: relative; z-index: 1; }
.admissions-tag {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.admissions-banner h2 {
  font-family: "Marcellus", var(--font-head);
  font-weight: 400;
  color: #fff; margin: 12px 0 6px;
  font-size: clamp(1.7rem, 4vw, 2.8rem); letter-spacing: .02em; text-transform: uppercase;
}
.admissions-banner h2 span { color: #ffe08a; }
.admissions-banner p {
  margin: 0; opacity: 1;
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 1.15rem; font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
}
.admissions-banner .btn { position: relative; z-index: 1; }

@media (max-width: 800px) {
  .academic-grid { grid-template-columns: 1fr; }
  .academic-card { padding: 28px 24px; }
  .admissions-banner { padding: 28px 24px; }
}

/* =========================================================================
   Bottom CTA — the small label is the main heading (same as the home page:
   red, Marcellus, capitals, red underline); the line under it is normal
   dark Cormorant.
   ========================================================================= */
.academics-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.academics-cta .eyebrow {
  display: inline-block;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #D32F2F;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 4px;
  margin: 0 0 22px;
  border-bottom: 3px solid #D32F2F;
}
.academics-cta h2 {
  margin-top: 0;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.academics-cta p.lede {
  max-width: 520px;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
  line-height: 1.9;
  color: var(--ink);
}

@media (max-width: 700px) {
  .academics-cta p.lede { font-size: 1.05rem; }
  .academic-card h3 { font-size: 1.4rem; }
  .academic-card > p, .academic-points li { font-size: 1.02rem; }
}