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

/* =========================================================================
   Admissions page — steps, documents, closing CTA

   Typography matches the home page:
     main headings = Marcellus, capitals, weight 400, red underline
     sub headings  = Cormorant Garamond (var(--font-head)), weight 400
     card names    = Cormorant Garamond, bold
     paragraphs    = var(--font-body), weight 400 + 0.15px stroke
   Step cards and document rows are 3D blocks with a thin green outline
   (same idea as the home page "Our School Highlights" cards).
   ========================================================================= */

/* ---------- Intro (from the shared kit): breadcrumb, title, line under it ---------- */
.sp-page [class*="intro"] h1 {
  display: inline-block;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 3px solid currentColor;     /* underline = text width, same colour as the title */
}
.sp-page [class*="intro"] p:not([class*="crumb"]) {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.9;
  -webkit-text-stroke: 0.15px currentColor;
}
/* breadcrumb on its own line, title below it */
.sp-page [class*="intro"] [class*="crumb"] {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
}
/* small gradient line under the title: removed */
.sp-page [class*="intro"] h1::before,
.sp-page [class*="intro"] h1::after,
.sp-page [class*="intro"] hr,
.sp-page [class*="intro"] [class*="rule"],
.sp-page [class*="intro"] [class*="bar"],
.sp-page [class*="intro"] [class*="divider"],
.sp-page [class*="intro"] [class*="underline"] {
  display: none !important;
}

/* Apply Now / Call buttons under the intro */
.sp-cta-row,
.hero-cta-row {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin: 8px 0 56px;
}

/* ---------- Section headings: small label = main heading, line under it = sub heading ---------- */
.sp-page .eyebrow {
  display: inline-block !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  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 !important;                 /* same red as the home page headings */
  padding: 0 0 4px !important;
  margin: 0 0 22px;
  border: 0;
  border-bottom: 3px solid #D32F2F;
}
.sp-page .eyebrow i { display: none; }

.sp-page .section-head { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.sp-page .section-head h2,
.docs-grid h2,
.admissions-copy h2 {
  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);
  margin-top: 0;
}
.sp-page .lede {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 1.22rem; font-weight: 400; line-height: 1.9;
  -webkit-text-stroke: 0.15px currentColor;
  color: var(--ink);
}

/* ---------- Steps: 3D green blocks ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 34px; }

.step-card {
  --line: #1F4D3A;                 /* thin outline colour (forest green) */
  --edge: #A8CDB9;                 /* colour of the solid 3D side (right + bottom) */
  position: relative;
  background:
    radial-gradient(120% 80% at 0% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, #FAFFFC 0%, #DDEFE4 100%);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 30px 24px 32px;
  transform-style: preserve-3d;
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.95),
    inset -3px -3px 7px rgba(31, 77, 58, 0.16),
    1px 1px 0 var(--edge),
    2px 2px 0 var(--edge),
    3px 3px 0 var(--edge),
    4px 4px 0 var(--edge),
    5px 5px 0 var(--edge),
    6px 6px 0 var(--edge),
    7px 7px 0 var(--edge),
    8px 8px 0 1px var(--line),
    16px 22px 30px -6px rgba(31, 77, 58, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* hover: whole card comes straight forward (no tilt) like a real 3D block */
.step-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.95),
    inset -3px -3px 7px rgba(31, 77, 58, 0.16),
    1px 1px 0 var(--edge),
    2px 2px 0 var(--edge),
    3px 3px 0 var(--edge),
    4px 4px 0 var(--edge),
    5px 5px 0 var(--edge),
    6px 6px 0 var(--edge),
    7px 7px 0 var(--edge),
    8px 8px 0 1px var(--line),
    22px 34px 40px -8px rgba(31, 77, 58, 0.5);
}
.step-card:active {
  transform: translate(5px, 5px);
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.95),
    inset -3px -3px 7px rgba(31, 77, 58, 0.16),
    1px 1px 0 var(--edge),
    2px 2px 0 var(--edge),
    3px 3px 0 1px var(--line),
    8px 10px 14px -6px rgba(31, 77, 58, 0.4);
}

.step-card .step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue);
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  margin-bottom: 16px;
}
.step-card:nth-child(2) .step-no { background: var(--orange-tint); color: var(--orange); }
.step-card:nth-child(3) .step-no { background: var(--forest-tint); color: var(--forest); }
.step-card:nth-child(4) .step-no { background: var(--brinjal-tint); color: var(--brinjal); }

.step-card h4 {
  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);
}
.step-card p {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 1.08rem; font-weight: 400; line-height: 1.75;
  -webkit-text-stroke: 0.15px currentColor;
}

@media (max-width: 899px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Documents ---------- */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.docs-list { list-style: none; margin: 0; padding: 0 10px 10px 0; display: flex; flex-direction: column; gap: 20px; }
.docs-list li {
  --line: #1F4D3A;
  --edge: #A8CDB9;
  display: flex; align-items: center; gap: 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(145deg, #FAFFFC 0%, #E6F3EB 100%);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1.12rem; font-weight: 400; line-height: 1.5;
  -webkit-text-stroke: 0.15px currentColor;
  color: var(--ink);
  box-shadow:
    inset 2px 2px 4px rgba(255, 255, 255, 0.95),
    1px 1px 0 var(--edge),
    2px 2px 0 var(--edge),
    3px 3px 0 var(--edge),
    4px 4px 0 var(--edge),
    5px 5px 0 1px var(--line),
    10px 14px 18px -8px rgba(31, 77, 58, 0.4);
}
.docs-list i {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--forest-tint); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; flex-shrink: 0;
}

@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Closing CTA ---------- */
.admissions-cta {
  background: var(--blue-tint); border-radius: var(--radius-l); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
}
.admissions-copy { padding: 56px; }
.admissions-copy h2 { margin-top: 0; }
.admissions-copy p:not(.eyebrow) {
  margin-top: 14px; max-width: 480px;
  font-family: var(--font-body);
  font-size: 1.22rem; font-weight: 400; line-height: 1.9;
  -webkit-text-stroke: 0.15px currentColor;
}
.admissions-actions { margin-top: 26px; }
.admissions-media { min-height: 300px; }
.admissions-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }

@media (max-width: 900px) {
  .admissions-cta { grid-template-columns: 1fr; }
  .admissions-copy { padding: 40px 28px; }
}
@media (max-width: 700px) {
  .sp-page [class*="intro"] p:not([class*="crumb"]),
  .sp-page .lede,
  .admissions-copy p:not(.eyebrow) { font-size: 1.05rem; }
  .step-card h4 { font-size: 1.4rem; }
  .step-card p, .docs-list li { font-size: 1rem; }
}