/* ============================================================================
   SUNDIAL ACADEMY — Custom Stylesheet
   ----------------------------------------------------------------------------
   Academy branding, typography, hero, cards, decorative elements and
   responsive refinements. Bootstrap 5 handles all layout & components.
   NO JAVASCRIPT IS USED ANYWHERE ON THIS SITE (CSS-only interactions).
   ============================================================================ */

/* ---------------------------------------------------------------
   1. DESIGN TOKENS (CSS Variables)
--------------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy: #13233f;            /* deep academic navy          */
  --navy-800: #1b3358;        /* primary navy (hero accents) */
  --navy-900: #0c1830;        /* darkest navy (footer)       */
  --gold: #c9a24b;            /* warm academic gold          */
  --gold-dark: #a5822f;       /* gold hover / text-safe      */
  --gold-light: #e5c983;      /* gold on dark backgrounds    */
  --cream: #faf7f0;           /* soft cream background       */
  --gray-light: #f3f4f6;      /* light gray surface          */
  --gray-line: #e5e7eb;       /* hairline borders            */
  --ink: #232c3b;             /* body text                   */
  --muted: #616d80;           /* secondary text              */

  /* Typography */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(19, 35, 63, 0.06);
  --shadow-md: 0 10px 28px rgba(19, 35, 63, 0.09);
  --shadow-lg: 0 22px 48px rgba(12, 24, 48, 0.16);

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
}

/* ---------------------------------------------------------------
   2. BASE / TYPOGRAPHY
--------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  overflow-x: clip;                 /* prevents horizontal scrolling */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  color: var(--navy);
}

a { text-decoration: none; }
img { max-width: 100%; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Anchor offset for the sticky header */
section[id], div[id] { scroll-margin-top: 108px; }

/* Utility helpers */
.text-gold { color: var(--gold-dark) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-gray-light { background-color: var(--gray-light) !important; }
.text-muted-academy { color: var(--muted) !important; }

/* ---------------------------------------------------------------
   3. SECTION SCAFFOLDING & TITLE ORNAMENTS
--------------------------------------------------------------- */
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 720px;
}

/* Gold rule + diamond ornament (centered / left variants) */
.title-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.1rem auto 1.4rem;
}
.title-ornament::before,
.title-ornament::after {
  content: "";
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.title-ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.title-ornament .diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.title-ornament.left { justify-content: flex-start; margin-left: 0; }
.title-ornament.left::before { display: none; }

/* ---------------------------------------------------------------
   4. TOP BAR
--------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}
.topbar-text { margin: 0; letter-spacing: 0.06em; }
.topbar-text i { color: var(--gold-light); margin-right: 0.4rem; }
.topbar-contact { display: flex; gap: 1.6rem; }
.topbar-contact a {
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease;
}
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-contact i { color: var(--gold-light); }

/* ---------------------------------------------------------------
   5. NAVBAR  (pure CSS toggle — no JavaScript hamburger)
--------------------------------------------------------------- */
.sticky-header-wrapper { position: sticky; top: 0; z-index: 1030; }

.navbar-site {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-line);
}

/* Brand — elegant text-based identity (no logo image) */
.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: 0.14em;
  color: var(--navy);
  line-height: 1.1;
}
.brand-name .brand-accent { color: var(--gold-dark); }
.brand-tagline {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}
.brand-rule {
  display: inline-block;
  width: 34px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* Hidden checkbox that powers the CSS-only menu */
.nav-toggle-input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}

/* Hamburger label */
.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  margin-left: auto;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.nav-toggle-label:hover { border-color: var(--gold); }
.toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle-input:checked ~ .nav-toggle-label .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-input:checked ~ .nav-toggle-label .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle-input:checked ~ .nav-toggle-label .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Collapsible menu (mobile: hidden by default; desktop: always visible) */
.nav-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 26px 44px rgba(12, 24, 48, 0.16);
  padding: 0 1.25rem 1.25rem;
}
.nav-toggle-input:checked ~ .nav-menu {
  display: block;
  animation: menuFade 0.28s ease;
}
@keyframes menuFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.navbar-site .nav-link {
  position: relative;
  font-weight: 500;
  color: var(--ink);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.98rem;
}
.navbar-site .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.navbar-site .nav-link:hover { color: var(--navy); }
.navbar-site .nav-link:hover::after,
.navbar-site .nav-link.active::after { transform: scaleX(1); }
.navbar-site .nav-link.active { color: var(--gold-dark); }

/* Desktop breakpoint */
@media (min-width: 992px) {
  .nav-toggle-label { display: none; }
  .nav-menu {
    display: flex !important;
    position: static;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    animation: none;
  }
  .navbar-site .nav-link {
    border-bottom: 0;
    padding: 0.55rem 0.95rem;
  }
  .navbar-site .nav-link::after {
    left: 0.95rem; right: 0.95rem;
    bottom: 0.12rem;
  }
  .nav-cta { margin-left: 1.1rem; }
}

/* ---------------------------------------------------------------
   6. BUTTONS
--------------------------------------------------------------- */
.btn { border-radius: 50rem; font-weight: 600; letter-spacing: 0.02em; }

.btn-gold {
  background: var(--gold);
  border: 2px solid var(--gold);
  color: var(--navy-900);
  padding: 0.65rem 1.55rem;
  transition: all 0.28s ease;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(165, 130, 47, 0.35);
}

.btn-navy {
  background: var(--navy-800);
  border: 2px solid var(--navy-800);
  color: #fff;
  padding: 0.65rem 1.55rem;
  transition: all 0.28s ease;
}
.btn-navy:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(12, 24, 48, 0.3);
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 0.65rem 1.55rem;
  transition: all 0.28s ease;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  padding: 0.65rem 1.55rem;
  transition: all 0.28s ease;
}
.btn-ghost-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy-900);
  transform: translateY(-2px);
}

.btn-sm-academy { padding: 0.5rem 1.15rem; font-size: 0.88rem; }

/* ---------------------------------------------------------------
   7. HERO (Homepage)
--------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 6.5rem 0;
  color: #fff;
  background:
    linear-gradient(112deg, rgba(9, 19, 38, 0.94) 22%, rgba(15, 32, 62, 0.8) 58%, rgba(19, 35, 63, 0.62) 100%),
    url("https://images.pexels.com/photos/31864433/pexels-photo-31864433.jpeg?auto=compress&cs=tinysrgb&w=1600")
    center / cover no-repeat;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(201, 162, 75, 0.55);
  background: rgba(12, 24, 48, 0.38);
  color: var(--gold-light);
  padding: 0.5rem 1.2rem;
  border-radius: 50rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.14;
  margin: 1.4rem 0 1.2rem;
}
.hero-title .accent-gold { color: var(--gold-light); font-style: italic; }
.hero-sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
  max-width: 660px;
  margin-bottom: 2.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  animation: floatHint 2.4s ease-in-out infinite;
}
@keyframes floatHint {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}
.hero-scroll:hover { color: var(--gold-light); }

/* ---------------------------------------------------------------
   8. INNER PAGE HERO (with breadcrumbs)
--------------------------------------------------------------- */
.page-hero {
  padding: 5.4rem 0 4.6rem;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0.7rem 0 0.9rem;
}
.page-hero .page-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.02rem;
}
.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
  justify-content: center;
  margin-bottom: 0;
}
.page-hero .breadcrumb-item a { color: rgba(255, 255, 255, 0.72); transition: color 0.25s ease; }
.page-hero .breadcrumb-item a:hover { color: var(--gold-light); }
.page-hero .breadcrumb-item.active { color: var(--gold-light); }

.hero-bg-about      { background-image: linear-gradient(rgba(12, 24, 48, 0.88), rgba(12, 24, 48, 0.82)), url("https://images.pexels.com/photos/5756580/pexels-photo-5756580.jpeg?auto=compress&cs=tinysrgb&w=1600"); }
.hero-bg-services   { background-image: linear-gradient(rgba(12, 24, 48, 0.88), rgba(12, 24, 48, 0.82)), url("https://images.pexels.com/photos/33714904/pexels-photo-33714904.jpeg?auto=compress&cs=tinysrgb&w=1600"); }
.hero-bg-montessori { background-image: linear-gradient(rgba(12, 24, 48, 0.88), rgba(12, 24, 48, 0.82)), url("https://images.pexels.com/photos/31864415/pexels-photo-31864415.jpeg?auto=compress&cs=tinysrgb&w=1600"); }
.hero-bg-contact    { background-image: linear-gradient(rgba(12, 24, 48, 0.88), rgba(12, 24, 48, 0.82)), url("https://images.pexels.com/photos/5756743/pexels-photo-5756743.jpeg?auto=compress&cs=tinysrgb&w=1600"); }

/* ---------------------------------------------------------------
   9. IMAGES / FRAMES
--------------------------------------------------------------- */
.img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: var(--radius);
  pointer-events: none;
}
.ratio-frame { aspect-ratio: 4 / 3.2; }
.ratio-frame-tall { aspect-ratio: 4 / 4.6; }

/* Offset gold frame behind images */
.deco-frame { position: relative; z-index: 0; }
.deco-frame::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px; right: -16px; bottom: -16px;
  border: 2px solid rgba(201, 162, 75, 0.55);
  border-radius: var(--radius);
  z-index: -1;
}

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.42rem 0;
  color: var(--ink);
  font-size: 0.97rem;
}
.check-list li i { color: var(--gold-dark); font-size: 1.05rem; line-height: 1.4; }

/* ---------------------------------------------------------------
   10. SERVICE CARDS
--------------------------------------------------------------- */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.85rem 1.7rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 75, 0.55);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(201, 162, 75, 0.14);
  color: var(--gold-dark);
  font-size: 1.55rem;
  margin-bottom: 1.15rem;
}
.service-card h5 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.05rem; }

.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  border: 1px solid rgba(201, 162, 75, 0.45);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  border-radius: 50rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.learn-more i { transition: transform 0.28s ease; color: var(--gold-dark); }
.learn-more:hover { color: var(--gold-dark); }
.learn-more:hover i { transform: translateX(5px); }

/* Featured (flagship) card — deep navy */
.service-card.featured {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.86);
  border: 0;
}
.service-card.featured::before { opacity: 1; }
.service-card.featured h5 { color: #fff; font-size: 1.45rem; }
.service-card.featured p { color: rgba(255, 255, 255, 0.72); }
.service-card.featured .service-icon {
  background: rgba(201, 162, 75, 0.2);
  color: var(--gold-light);
}
.service-card.featured .learn-more { color: var(--gold-light); }
.service-card.featured .learn-more:hover { color: #fff; }

.level-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.38rem 0.85rem;
  border-radius: 50rem;
}
.level-chip i { font-size: 0.75rem; }

/* Level list (numbered) used on light backgrounds */
.level-list { list-style: none; padding: 0; margin: 0; }
.level-list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed var(--gray-line);
  color: var(--ink);
  font-weight: 500;
}
.level-list li:last-child { border-bottom: 0; }
.level-list .level-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 1.05rem;
  min-width: 34px;
}
.level-list .level-tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--gray-light);
  padding: 0.22rem 0.65rem;
  border-radius: 50rem;
}

/* ---------------------------------------------------------------
   11. WHY CHOOSE — feature cards
--------------------------------------------------------------- */
.why-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 66px; height: 66px;
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid rgba(201, 162, 75, 0.45);
  color: var(--gold-dark);
  font-size: 1.65rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.why-card:hover .why-icon { background: var(--gold); color: #fff; }
.why-card h5 { font-size: 1.14rem; margin-bottom: 0.55rem; }
.why-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------------------------------------------------------------
   12. TRAINING CATEGORY CARDS (image + overlay)
--------------------------------------------------------------- */
.category-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.category-card .category-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}
.category-card:hover .category-img { transform: scale(1.07); }
.category-card .category-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 24, 48, 0.06) 26%, rgba(12, 24, 48, 0.94) 82%);
}
.category-body { padding: 1.9rem; color: #fff; width: 100%; }
.category-body .cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(201, 162, 75, 0.2);
  border: 1px solid rgba(201, 162, 75, 0.5);
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}
.category-body h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.category-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.category-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
  padding: 0.22rem 0;
}
.category-list li i { color: var(--gold-light); font-size: 0.8rem; }

/* ---------------------------------------------------------------
   13. CTA BAND (Enquiry call-to-action)
--------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 5.4rem 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(9, 19, 38, 0.92), rgba(9, 19, 38, 0.88)),
    url("https://images.pexels.com/photos/37673294/pexels-photo-37673294.jpeg?auto=compress&cs=tinysrgb&w=1600")
    center / cover no-repeat;
}
.cta-band .cta-title {
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin-bottom: 0.8rem;
}
.cta-band .cta-text {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 1.9rem;
  font-size: 1.03rem;
}
.cta-band .title-ornament::before,
.cta-band .title-ornament::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.cta-band .title-ornament::after { background: linear-gradient(90deg, var(--gold-light), transparent); }

/* ---------------------------------------------------------------
   14. OFFICIAL SEAL PLACEHOLDER
   (Replace .seal-placeholder with the real stamp image:
    <img src="assets/stamp/academy-stamp.png" alt="Official seal of Sundial Academy" class="seal-img">)
--------------------------------------------------------------- */
.seal-stage { max-width: 300px; margin: 2.4rem auto 0; }
.seal-img {
  width: 190px; height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(12, 24, 48, 0.18));
}
.seal-placeholder {
  width: 190px; height: 190px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 2px dashed var(--gold);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1.6rem;
  line-height: 1.6;
}
.seal-placeholder i { font-size: 1.7rem; color: var(--gold); letter-spacing: normal; }
.seal-caption {
  margin-top: 1.1rem;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--navy);
  font-size: 1.02rem;
}

/* ---------------------------------------------------------------
   15. FOOTER
--------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}
.footer-top { padding: 72px 0 52px; }
.footer .brand-name { color: #fff; }
.footer .brand-accent { color: var(--gold-light); }
.footer-tagline {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.footer-title {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.footer-title-rule {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 0.7rem 0 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-links a i { color: var(--gold); font-size: 0.72rem; }
.footer-links a:hover { color: var(--gold-light); transform: translateX(3px); }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  line-height: 1.55;
}
.footer-contact-list i { color: var(--gold-light); font-size: 1.05rem; margin-top: 0.1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.3rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.72); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------------------------------------------------------------
   16. FORMS
--------------------------------------------------------------- */
.form-section-card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.2rem;
}
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form-control, .form-select {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  background-color: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.22rem rgba(201, 162, 75, 0.18);
}
.form-note { font-size: 0.82rem; color: var(--muted); }

/* Contact info cards */
.contact-card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 58px; height: 58px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid rgba(201, 162, 75, 0.45);
  color: var(--gold-dark);
  font-size: 1.4rem;
}
.contact-card h5 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.92rem; margin: 0; }
.contact-card a { color: var(--gold-dark); font-weight: 600; }
.contact-card a:hover { color: var(--navy); }

/* ---------------------------------------------------------------
   17. STEPS / LEVELS (Montessori page, About approach)
--------------------------------------------------------------- */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid transparent;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-top-color: var(--gold); }
.step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1rem;
  color: rgba(201, 162, 75, 0.7);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.step-card h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.level-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.level-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 75, 0.55); }
.level-round {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}
.level-card h5 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.level-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.level-card .level-badge-sm {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 162, 75, 0.14);
  padding: 0.24rem 0.7rem;
  border-radius: 50rem;
}

/* Chip group (audience tags) */
.chip-group { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(201, 162, 75, 0.5);
  background: #fff;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1.05rem;
  border-radius: 50rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.chip:hover { background: var(--navy); color: #fff; }
.chip i { color: var(--gold-dark); }
.chip:hover i { color: var(--gold-light); }

/* Pull-quote */
.quote-block {
  position: relative;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.9rem 2rem;
  margin: 1.8rem 0 0;
}
.quote-block blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.28rem;
  color: var(--navy);
  line-height: 1.5;
  margin: 0 0 0.7rem;
}
.quote-block cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

/* Category anchor pills (services page) */
.anchor-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.anchor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gray-line);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: 50rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.anchor-pill i { color: var(--gold-dark); }
.anchor-pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.anchor-pill:hover i { color: var(--gold-light); }

/* ---------------------------------------------------------------
   18. RESPONSIVE REFINEMENTS
--------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .section { padding: 68px 0; }
  .hero { min-height: 78vh; padding: 5rem 0; }
  .deco-frame::before { display: none; }
  .ratio-frame-tall { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 575.98px) {
  .section { padding: 56px 0; }
  .hero { min-height: 72vh; padding: 4.2rem 0; }
  .hero-sub { font-size: 0.98rem; }
  .btn { font-size: 0.92rem; }
  .footer-top { padding: 56px 0 40px; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
