/* =====================================================================
   AMJADI GLOBAL ACADEMY — Global Women’s Islamic Institute
   Stylesheet (Bootstrap 5 is loaded first; this file customises it)

   CONTENTS
   01 Tokens & base          08 Why choose us
   02 Shared components      09 Learning journey
   03 Header / navbar        10 Feedback slider
   04 Hero                   11 Registration & forms
   05 Highlights strip       12 Contact & WhatsApp CTA
   06 About                  13 Footer
   07 Courses & modal        14 Floating buttons, motion, responsive
   ===================================================================== */

@font-face {
  font-family: "Bombay Black Unicode";
  src: url("https://dashboard.urdufonts.com/storage/fonts/previews/IkqJQYGSdcxCnKx6qmLmD5eBPU2K90dgYI04yAqM.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}


/* ---------- 01. TOKENS & BASE ---------- */
:root {
  --navy: #0B1A2B;
  --navy-muted: #14263c;

  --gold: #D4B98C;
  --gold-strong: #c8a877;
  --gold-deep: #8a6a34;           /* darker gold: text on light backgrounds (AA contrast) */

  --ivory: #F5F2E9;
  --champagne: #ECE1C8;
  --beige-soft: #F0EBDD;
  --warm-white: #FBFAF6;

  --text-on-light: #0B1A2B;
  --text-on-dark: #F5F2E9;
  --text-muted: #5b6673;

  --shadow-sm: 0 2px 10px rgba(11,26,43,0.06);
  --shadow-md: 0 12px 30px rgba(11,26,43,0.10);
  --shadow-lg: 0 24px 60px rgba(11,26,43,0.16);
  --shadow-gold: 0 10px 24px rgba(212,185,140,0.35);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-arabic: "Noto Naskh Arabic", "Traditional Arabic", serif;
  --font-urdu: "Bombay Black Unicode", "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;
  --header-h: 80px;
  --line-gold: rgba(212,185,140,0.45);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Islamic geometric tile (eight-pointed star), gold stroke */
  --pattern-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23D4B98C' stroke-width='1'%3E%3Crect x='18' y='18' width='36' height='36'/%3E%3Crect x='18' y='18' width='36' height='36' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-light);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--navy); }
p { margin-bottom: 1rem; }
p, li, a, h1, h2, h3, h4, dd, blockquote { overflow-wrap: break-word; }
.row > * { min-width: 0; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: var(--navy); }
h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.005em; }

:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1240px; }
@media (min-width: 1400px) { .container { max-width: 1280px; } }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 2000;
  background: var(--navy); color: var(--ivory); padding: .6rem 1rem; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

/* ---------- 02. SHARED COMPONENTS ---------- */
.section { padding: clamp(40px, 5.5vw, 72px) 0; position: relative; }

.section-head { max-width: 720px; margin: 0 auto clamp(1.4rem, 3vw, 2.2rem); }
.section-title { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .6rem; }
.section-title--light { color: var(--ivory); }
.section-lead { color: var(--text-muted); font-size: 1.05rem; margin: 0 auto; }
.section-lead--light { color: rgba(245,242,233,.82); }
.lead-copy { font-size: 1.15rem; color: var(--navy); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  color: var(--gold-deep); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* Ornamental separator: thin gold lines around a small diamond */
.ornament { display: flex; align-items: center; justify-content: flex-start; gap: .7rem; margin: .25rem 0 1.1rem; }
.text-center .ornament { justify-content: center; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: linear-gradient(90deg, transparent, var(--gold-strong)); }
.ornament::after { background: linear-gradient(270deg, transparent, var(--gold-strong)); }
.ornament > span { width: 9px; height: 9px; border: 1px solid var(--gold-strong); transform: rotate(45deg); position: relative; }
.ornament > span::after { content: ""; position: absolute; inset: 2px; background: var(--gold-strong); }
.ornament::before { display: none; }
.text-center .ornament::before, .ornament--gold::before { display: block; }
.ornament--gold { justify-content: center; }

/* Buttons */
.btn-ag {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.55rem; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: .93rem; line-height: 1.2; letter-spacing: .015em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn-ag i { transition: transform .25s var(--ease); }
.btn-ag:hover { transform: translateY(-2px); }
.btn-ag:hover .bi-arrow-right { transform: translateX(4px); }
.btn-ag:hover .bi-arrow-down { transform: translateY(3px); }
.btn-ag:active { transform: translateY(0); }
.btn-ag--sm { padding: .6rem 1.05rem; font-size: .86rem; }
.btn-ag--lg { padding: .95rem 1.8rem; font-size: 1rem; }
.btn-ag--gold { background: var(--gold); color: var(--navy); }
.btn-ag--gold:hover { background: var(--gold-strong); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-ag--navy { background: var(--navy); color: var(--ivory); }
.btn-ag--navy:hover { background: var(--navy-muted); color: var(--gold); border-color: var(--gold); box-shadow: var(--shadow-md); }
.btn-ag--outline-navy { background: transparent; color: var(--navy); border-color: rgba(11,26,43,.35); }
.btn-ag--outline-navy:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-ag--ghost-light { background: rgba(245,242,233,.04); color: var(--ivory); border-color: var(--gold); }
.btn-ag--ghost-light:hover { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-ag:disabled { opacity: .7; cursor: not-allowed; transform: none; box-shadow: none; }

/* Image frame with graceful fallback when an image file is missing */
.media-frame { position: relative; overflow: hidden; background: var(--navy); }
.media-frame > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame.is-missing { background-color: var(--navy); background-image: var(--pattern-gold); background-size: 72px; background-position: center; }
.media-frame.is-missing > img { display: none; }
.media-frame.is-missing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(11,26,43,.15), rgba(11,26,43,.85)); }
.media-frame.is-missing::after {
  content: attr(data-placeholder) "\A[ IMAGE PLACEHOLDER ]"; white-space: pre-line; text-align: center;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1rem;
  color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .12em; line-height: 1.9; z-index: 1;
}

.req { color: #9b3b3b; font-weight: 700; }

/* ---------- 03. HEADER / NAVBAR ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  background: #e6e4e0;
  border-bottom: 1px solid rgba(11,26,43,.08);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-strong), transparent); opacity: .8; }
.site-header.is-scrolled { background: rgba(230,228,224,.92); box-shadow: 0 8px 26px rgba(11,26,43,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header .navbar { padding: 0; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.site-header.is-scrolled .navbar { min-height: 62px; }

.brand { display: flex; align-items: center; gap: .7rem; padding: .35rem 0; margin-right: 1rem; min-width: 0; }
.brand-mark { display: inline-flex; flex: 0 0 auto; }
.brand-mark img { height: 60px; width: auto; max-width: 140px; object-fit: contain; transition: transform .3s var(--ease), height .3s var(--ease); }
.site-header.is-scrolled .brand-mark img { height: 52px; }
.brand-mark.is-missing { display: none; }
.brand:hover .brand-mark img { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-urdu { align-self: flex-start; font-family: var(--font-urdu); font-weight: 700; font-size: clamp(1.02rem, 4.3vw, 1.3rem); line-height: 1.8; margin: -.3rem 0 -.25rem; color: var(--navy); white-space: nowrap; }
.brand-name { font-weight: 800; font-size: clamp(.64rem, 3.1vw, .92rem); letter-spacing: .05em; color: var(--navy); white-space: nowrap; }
.brand-sub { font-family: var(--font-display); font-weight: 700; font-size: clamp(.7rem, 3vw, .95rem); color: var(--gold-deep); white-space: nowrap; }

.navbar-nav { gap: .15rem; }
.navbar .nav-link {
  position: relative; color: var(--navy); font-weight: 600; font-size: .92rem;
  padding: .55rem .85rem !important; transition: color .25s var(--ease);
}
.navbar .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
  background: var(--gold-strong); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--gold-deep); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.nav-item--cta { margin-left: .5rem; }
.nav-cta { white-space: nowrap; }

/* Custom hamburger */
.navbar-toggler { border: 1px solid rgba(11,26,43,.25); border-radius: var(--r-sm); padding: .55rem .6rem; box-shadow: none !important; }
.toggler-bars, .toggler-bars::before, .toggler-bars::after { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), background-color .3s; }
.toggler-bars { position: relative; }
.toggler-bars::before, .toggler-bars::after { content: ""; position: absolute; left: 0; }
.toggler-bars::before { top: -7px; }
.toggler-bars::after { top: 7px; }
.navbar-toggler[aria-expanded="true"] .toggler-bars { background: transparent; }
.navbar-toggler[aria-expanded="true"] .toggler-bars::before { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 04. HERO ---------- */
/* Replace hero-bg.jpg with your own mosque background image */
.hero-section {
  position: relative; isolation: isolate; overflow: hidden; color: var(--text-on-dark);
  padding: calc(var(--header-h) + 40px) 0 104px;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(6, 19, 31, 0.72), rgba(2, 11, 21, 0.8)),
    url("assets/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
.hero-pattern { position: absolute; inset: 0; z-index: -1; background-image: var(--pattern-gold); background-size: 72px; opacity: .07; -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 100%); mask-image: linear-gradient(100deg, transparent 20%, #000 100%); }
.hero-pattern { display: none; }
.hero-section::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.hero-content { max-width: 660px; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--ivory); letter-spacing: -.01em; margin-bottom: 1rem; overflow-wrap: break-word; }
.hero-title__gold { color: var(--gold); display: block; }
.hero-lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; color: var(--champagne); margin-bottom: .9rem; }
.hero-text { color: rgba(245,242,233,.88); max-width: 580px; margin-bottom: 1rem; font-size: 1.02rem; }
.hero-highlight { font-weight: 700; font-size: .95rem; color: var(--gold); margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line-gold); font-size: .86rem; font-weight: 600; color: var(--champagne); }
.hero-trust li { position: relative; padding-left: 1.1rem; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* Arch panel — fully closed frame (double gold outline) */
.hero-arch { position: relative; width: calc(100% - 28px); max-width: 350px; margin: 0 auto; animation: float 7s ease-in-out infinite; }
.hero-arch::before { content: ""; position: absolute; inset: -12px; border: 1px solid var(--line-gold); border-radius: 999px 999px 28px 28px; pointer-events: none; }
.hero-arch__inner {
  position: relative; padding: 3rem 1.4rem 1.3rem; text-align: center;
  background: rgba(11,26,43,.58); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1.5px solid var(--gold); border-radius: 999px 999px 18px 18px;
}
.hero-arch__inner::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; background: var(--gold); transform: translateX(-50%) rotate(45deg); }
.arch-ar { font-family: var(--font-arabic); font-weight: 700; font-size: 1.7rem; color: var(--gold); line-height: 1.9; margin-bottom: .1rem; }
.arch-title { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--ivory); margin-bottom: .6rem; }
.arch-list { margin: 0; padding: 0; text-align: center; width: 100%; }
.arch-list li + li { border-top: 1px solid rgba(212,185,140,.22); }
.arch-list a { display: block; width: 100%; padding: .6rem .6rem; text-align: center; color: var(--ivory); transition: background-color .25s, color .25s; border-radius: 6px; }
.arch-list a span { display: block; text-align: center; font-weight: 700; font-size: .95rem; }
.arch-list a:hover { background: rgba(212,185,140,.12); color: var(--gold); }
.arch-ar, .arch-title { text-align: center; }

/* Decorative eight-pointed stars */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-star { width: 56px; height: 56px; border: 1px solid var(--line-gold); opacity: .55; animation: float 9s ease-in-out infinite; }
.deco-star::before { content: ""; position: absolute; inset: -1px; border: 1px solid var(--line-gold); transform: rotate(45deg); }
.deco-star--a { top: 24%; left: 3%; }
.deco-star--b { bottom: 20%; right: 5%; width: 38px; height: 38px; animation-delay: -3s; }

/* ---------- 05. HIGHLIGHTS ---------- */
.highlights { position: relative; z-index: 3; margin-top: -56px; }
.highlight-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0;
  background: #fff; border: 1px solid var(--champagne); border-top: 3px solid var(--gold);
  border-radius: var(--r-md); box-shadow: var(--shadow-md); overflow: hidden;
}
.highlight { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.3rem; }
.highlight + .highlight { border-left: 1px solid var(--champagne); }
.highlight__icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold-strong); color: var(--gold-deep); background: var(--ivory); font-size: 1.2rem;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.highlight:hover .highlight__icon { transform: translateY(-3px); background: var(--navy); color: var(--gold); }
.highlight__text { display: flex; flex-direction: column; line-height: 1.3; }
.highlight__text strong { font-size: .93rem; }
.highlight__text small { color: var(--text-muted); font-size: .8rem; }

/* ---------- 06. ABOUT ---------- */
.about { background: var(--warm-white); padding-top: clamp(40px, 5.5vw, 68px); }

.about-media__badge {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1.1rem; background: var(--navy); color: var(--ivory); border-radius: var(--r-sm);
  font-size: .86rem; font-weight: 600; box-shadow: var(--shadow-md); border-left: 3px solid var(--gold);
}
.about-media__badge i { color: var(--gold); font-size: 1.1rem; }
.about p { max-width: 62ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 1.75rem; padding: 0; }
.pillars li { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem; background: var(--beige-soft); border-radius: var(--r-sm); border-top: 2px solid var(--gold); transition: transform .3s var(--ease), box-shadow .3s; }
.pillars li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.pillars i { color: var(--gold-deep); font-size: 1.3rem; line-height: 1.3; }
.pillars strong { display: block; font-size: .95rem; }
.pillars span { display: block; color: var(--text-muted); font-size: .82rem; line-height: 1.45; }

.about-media { position: relative; max-width: 440px; margin: 0 auto; padding: 14px 14px 36px; }
.about-media::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 22px;
  border: 1px solid var(--gold-strong); border-radius: 999px 999px 26px 26px; pointer-events: none;
}
.about-media__arch { position: relative; aspect-ratio: 4 / 5; margin: 0; border-radius: 999px 999px 14px 14px; box-shadow: var(--shadow-lg); }
.about-media__badge {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: max-content; max-width: calc(100% - 16px); padding: .7rem 1.2rem;
  background: var(--navy); color: var(--ivory); text-align: center;
  border: 1px solid var(--gold); border-radius: var(--r-pill);
  font-size: .86rem; font-weight: 600; line-height: 1.3; box-shadow: var(--shadow-md);
}
.about-media__badge i { color: var(--gold); font-size: 1.1rem; flex: 0 0 auto; }

/* ---------- 07. COURSES ---------- */
.courses { background: var(--beige-soft); }
.courses::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern-gold); background-size: 72px; opacity: .06; pointer-events: none; }
.courses > .container { position: relative; }

.course-card {
  display: flex; flex-direction: column; height: 100%; background: #fff; overflow: hidden;
  border: 1px solid var(--champagne); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-strong); }
.course-media { aspect-ratio: 16 / 10; }
.course-media > img { transition: transform .6s var(--ease); }
.course-card:hover .course-media > img { transform: scale(1.06); }
.course-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: var(--r-pill); background: var(--navy); color: var(--gold);
  font-size: .78rem; font-weight: 700; border: 1px solid var(--line-gold);
}
.media-cta {
  position: absolute; z-index: 2; left: 50%; bottom: 1rem; transform: translate(-50%, 10px); opacity: 0;
  padding: .5rem 1.1rem; border: 1px solid var(--gold); border-radius: var(--r-pill); background: rgba(11,26,43,.9); color: var(--gold);
  font-weight: 700; font-size: .82rem; cursor: pointer; transition: opacity .3s, transform .3s var(--ease), background-color .25s, color .25s;
}
.course-card:hover .media-cta, .media-cta:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.media-cta:hover { background: var(--gold); color: var(--navy); }
@media (hover: none) { .media-cta { opacity: 1; transform: translate(-50%, 0); } }

.course-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.35rem 1.4rem; }
.course-kicker { font-size: .8rem; font-weight: 700; color: var(--gold-deep); letter-spacing: .06em; margin-bottom: .3rem; }
.course-title { font-size: 1.28rem; margin-bottom: .35rem; }
.course-sub { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--gold-deep); margin-bottom: .6rem; }
.course-desc { color: var(--text-muted); font-size: .94rem; }
.chips-label { margin: .25rem 0 .4rem; font-size: .78rem; font-weight: 700; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; }
.chips li { padding: .22rem .65rem; background: var(--ivory); border: 1px solid var(--champagne); border-radius: var(--r-pill); font-size: .78rem; font-weight: 600; color: var(--navy); }
.course-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }
.course-actions .btn-ag { flex: 1 1 auto; }

/* Featured (flagship) card — horizontal on larger screens */
.course-card--featured { flex-direction: row; height: auto; margin-bottom: 1.5rem; border-left: 4px solid var(--gold); }
.course-card--featured .course-media { flex: 0 0 44%; aspect-ratio: auto; min-height: 320px; }
.course-card--featured .course-body { justify-content: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
.course-card--featured .course-title { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.6rem); }
.course-card--featured .course-actions { margin-top: .4rem; }
.course-card--featured .course-actions .btn-ag { flex: 0 0 auto; }

/* Course modal */
.course-modal .modal-content { border: 1px solid var(--gold); border-radius: var(--r-lg); overflow: hidden; background: var(--warm-white); box-shadow: var(--shadow-lg); }
.course-modal .modal-header { align-items: flex-start; padding: 1.25rem 1.5rem; color: var(--ivory); border-bottom: 3px solid var(--gold); background-color: var(--navy); background-image: var(--pattern-gold); background-size: 72px; background-blend-mode: soft-light; }
.course-modal .modal-title { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--ivory); }
.modal-sub { margin: .15rem 0 0; color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.course-modal .modal-body { padding: 1.5rem; }
.course-modal .modal-footer { background: var(--ivory); border-top: 1px solid var(--champagne); gap: .5rem; }
.poster-frame { aspect-ratio: 3 / 4; border-radius: var(--r-md); border: 1px solid var(--gold-strong); box-shadow: var(--shadow-sm); }
.poster-caption { text-align: center; font-size: .78rem; color: var(--text-muted); margin-top: .5rem; }
.facts { margin: 1rem 0 0; display: grid; gap: .6rem; }
.facts div { padding: .7rem .85rem; background: var(--beige-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.facts dt { font-size: .74rem; font-weight: 700; color: var(--gold-deep); letter-spacing: .06em; }
.facts dd { margin: 0; font-size: .9rem; line-height: 1.5; }
.detail-block + .detail-block { margin-top: 1.4rem; }
.detail-block h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: .5rem; display: flex; align-items: center; gap: .6rem; }
.detail-block h3::after { content: ""; flex: 1; height: 1px; background: var(--line-gold); }
.detail-block p, .detail-block li { font-size: .95rem; }
.detail-list { padding-left: 1.1rem; margin: 0; }
.detail-list li { margin-bottom: .3rem; }
.detail-list li::marker { color: var(--gold-strong); }
.curriculum-row { padding: .75rem 0; border-bottom: 1px dashed var(--line-gold); }
.curriculum-row:last-child { border-bottom: 0; }
.curriculum-row strong { display: block; font-size: .92rem; }
.curriculum-row span { color: var(--text-muted); font-size: .9rem; }
.modal-note { margin-top: 1.4rem; padding: .8rem 1rem; background: var(--ivory); border: 1px solid var(--champagne); border-radius: var(--r-sm); font-size: .82rem; color: var(--text-muted); }

/* ---------- 08. WHY CHOOSE US ---------- */
.why { background: var(--navy); color: var(--text-on-dark); overflow: hidden; }
.why__pattern { position: absolute; inset: 0; background-image: var(--pattern-gold); background-size: 72px; opacity: .06; pointer-events: none; }
.why-card {
  height: 100%; padding: 1.6rem 1.5rem; background: rgba(20,38,60,.7);
  border: 1px solid rgba(212,185,140,.25); border-radius: var(--r-md); position: relative;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background-color .35s;
}
.why-card::before { content: ""; position: absolute; top: 0; left: 1.5rem; width: 44px; height: 3px; background: var(--gold); transition: width .35s var(--ease); }
.why-card i { display: inline-block; font-size: 1.7rem; color: var(--gold); margin-bottom: .8rem; transition: transform .35s var(--ease); }
.why-card h3 { color: var(--ivory); font-size: 1.1rem; margin-bottom: .45rem; }
.why-card p { color: rgba(245,242,233,.78); font-size: .94rem; margin: 0; }
.why-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.28); background: var(--navy-muted); }
.why-card:hover::before { width: 90px; }
.why-card:hover i { transform: translateY(-3px) scale(1.06); }

/* ---------- 09. LEARNING JOURNEY ---------- */
.journey { background: var(--ivory); }
.journey-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 0; padding: 0; counter-reset: step; }
.journey-step { position: relative; text-align: center; padding: 0 .5rem; }
.journey-node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--gold); background: var(--navy);
  border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 6px var(--ivory), var(--shadow-md);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.journey-step:hover .journey-node { transform: scale(1.08); background: var(--gold); color: var(--navy); }
.journey-step:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 40px); width: calc(100% - 80px + 1rem); border-top: 1.5px dashed var(--gold-strong); }
.journey-copy h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.journey-copy p { color: var(--text-muted); font-size: .9rem; max-width: 22ch; margin: 0 auto; }

/* ---------- 10. FEEDBACK SLIDER ---------- */
.feedback { background: var(--warm-white); }
.feedback-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.slider-controls { display: flex; gap: .6rem; flex: 0 0 auto; }
.slider-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--navy); border: 1.5px solid var(--navy);
  transition: background-color .25s, color .25s, transform .25s var(--ease), border-color .25s;
}
.slider-btn:hover { background: var(--navy); color: var(--gold); transform: translateY(-2px); }
.slider-track {
  --gap: 1.25rem;
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: .5rem 0 1.25rem; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.slider-track::-webkit-scrollbar { display: none; }
.feedback-card {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; margin: 0; padding: 2rem 1.6rem 1.5rem;
  background: #fff; border: 1px solid var(--champagne); border-top: 3px solid var(--gold); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s var(--ease);
}
.feedback-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.quote-mark { position: absolute; top: .6rem; right: 1.1rem; font-size: 3rem; color: var(--champagne); line-height: 1; }
.feedback-card blockquote { margin: 0 0 1.2rem; font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; line-height: 1.5; color: var(--navy); flex: 1; }
.feedback-card figcaption { display: flex; flex-direction: column; padding-top: 1rem; border-top: 1px solid var(--champagne); font-size: .88rem; }
.feedback-card figcaption strong { font-size: .95rem; }
.feedback-card figcaption span { color: var(--text-muted); }
.sample-tag { align-self: flex-start; margin-top: .5rem; padding: .15rem .7rem; background: var(--ivory); border: 1px solid var(--champagne); border-radius: var(--r-pill); font-style: normal; font-size: .74rem; font-weight: 700; color: var(--gold-deep); }
.slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .25rem; }
.slider-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid var(--gold-deep); background: transparent; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.slider-dot[aria-current="true"] { width: 28px; border-radius: var(--r-pill); background: var(--gold-deep); }

/* ---------- 11. REGISTRATION & FORMS ---------- */
.registration { background: var(--beige-soft); }
.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.4rem, 4vw, 3rem); margin-bottom: 2rem;
  background: var(--navy); color: var(--ivory); border-radius: var(--r-md); border-bottom: 4px solid var(--gold); box-shadow: var(--shadow-md);
}
.cta-band__pattern { position: absolute; inset: 0; background-image: var(--pattern-gold); background-size: 72px; opacity: .07; pointer-events: none; }
.cta-band__copy, .cta-band .btn-ag { position: relative; }
.cta-band__title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--ivory); margin-bottom: .4rem; }
.cta-band p { color: rgba(245,242,233,.82); margin: 0; max-width: 56ch; }
.cta-band .btn-ag { flex: 0 0 auto; }

.process-panel { position: sticky; top: calc(var(--header-h) + 20px); padding: 1.7rem 1.5rem; background: #fff; border: 1px solid var(--champagne); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.process-panel h3 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 1.1rem; }
.process-list { margin: 0 0 1.2rem; padding: 0; }
.process-list li { display: flex; gap: .9rem; position: relative; padding-bottom: 1.2rem; }
.process-list li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; border-left: 1px dashed var(--gold-strong); }
.process-list li > span { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: .85rem; }
.process-list strong { display: block; font-size: .95rem; }
.process-list p { font-size: .87rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.process-note { padding-top: 1rem; border-top: 1px solid var(--champagne); font-size: .9rem; margin: 0; }
.process-note i { color: var(--gold-deep); margin-right: .3rem; }
.process-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.form-card { padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--champagne); border-top: 4px solid var(--gold); border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.form-card__title { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: .3rem; }
.form-card__hint { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.2rem; }
.form-group { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.form-group legend { float: none; width: 100%; display: flex; align-items: center; gap: .6rem; padding: 0 0 .7rem; margin-bottom: 1rem; border-bottom: 1px solid var(--champagne); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--navy); }
.form-group legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-body); font-size: .8rem; }

.form-label { font-size: .88rem; font-weight: 700; margin-bottom: .35rem; color: var(--navy); }
.field-input.form-control, .field-input.form-select {
  padding: .72rem .9rem; font-size: .95rem; color: var(--navy); background-color: var(--warm-white);
  border: 1.5px solid rgba(11,26,43,.2); border-radius: var(--r-sm);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field-input:hover { border-color: rgba(11,26,43,.4); }
.field-input:focus { background-color: #fff; border-color: var(--gold-strong); box-shadow: 0 0 0 4px rgba(212,185,140,.35); }
textarea.field-input { resize: vertical; min-height: 110px; }
.field-input.is-invalid { border-color: #9b3b3b; background-image: none; background-color: #fffafa; }
.field-input.form-select.is-invalid { background-image: var(--bs-form-select-bg-img); }
.field-error { display: flex; align-items: flex-start; gap: .4rem; margin: .4rem 0 0; font-size: .83rem; font-weight: 600; color: #8a2f2f; line-height: 1.4; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; flex: 0 0 auto; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #8a2f2f; color: #fff; font-size: .7rem; font-weight: 800; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; padding-left: 0; }
.form-check-input { flex: 0 0 auto; margin: .25rem 0 0; width: 1.15rem; height: 1.15rem; border: 1.5px solid rgba(11,26,43,.4); box-shadow: none !important; cursor: pointer; float: none; }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-check-input:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.form-check-label { font-size: .88rem; color: var(--text-muted); cursor: pointer; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.2rem; padding: .95rem 1.1rem; border-radius: var(--r-sm); font-weight: 600; font-size: .94rem; line-height: 1.5; border: 1px solid; animation: fadeUp .4s var(--ease) both; }
.form-status[hidden] { display: none; }
.form-status i { font-size: 1.25rem; line-height: 1.2; }
.form-status--success { background: #eef3ea; border-color: #9db48c; color: #2f4a26; }
.form-status--error { background: #faf0ee; border-color: #d3a39c; color: #7a2b24; }
.submit-btn { gap: .6rem; }
.submit-btn__spinner[hidden] { display: none; }

/* ---------- 12. CONTACT & WHATSAPP CTA ---------- */
.contact { background: var(--warm-white); }
.contact-panel { height: 100%; padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--navy); color: var(--ivory); border-radius: var(--r-md); position: relative; overflow: hidden; border-bottom: 4px solid var(--gold); }
.contact-panel::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern-gold); background-size: 72px; opacity: .06; pointer-events: none; }
.contact-panel > * { position: relative; }
.contact-panel h3 { font-family: var(--font-display); font-size: 1.9rem; color: var(--ivory); margin-bottom: .1rem; }
.contact-panel__sub { color: var(--gold); font-weight: 600; margin-bottom: 1.5rem; }
.contact-list { margin: 0 0 1.6rem; padding: 0; }
.contact-list li { display: flex; gap: .9rem; align-items: center; padding: .9rem 0; border-top: 1px solid rgba(212,185,140,.22); }
.contact-list__icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 1.15rem; }
.contact-list small { display: block; color: rgba(245,242,233,.65); font-size: .78rem; font-weight: 600; }
.contact-list a, .contact-list li > div > span { color: var(--ivory); font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--gold); }

.wa-cta { padding: 0 0 clamp(40px, 5.5vw, 72px); background: var(--warm-white); }
.wa-cta__inner {
  display: flex; align-items: center; gap: 1.5rem; padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.4rem, 4vw, 3rem);
  background: var(--champagne); border: 1px solid var(--gold-strong); border-radius: var(--r-md); position: relative; overflow: hidden;
}
.wa-cta__inner::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(138,106,52,.35); border-radius: calc(var(--r-md) - 5px); pointer-events: none; }
.wa-cta__icon { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 1.9rem; }
.wa-cta__copy { flex: 1; }
.wa-cta__copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3rem; }
.wa-cta__copy p { margin: 0; color: #3b4756; max-width: 60ch; }
.wa-cta .btn-ag { flex: 0 0 auto; background: var(--navy); color: var(--ivory); }
.wa-cta .btn-ag:hover { background: var(--navy-muted); color: var(--gold); }

/* ---------- 13. FOOTER ---------- */
.site-footer { background: var(--navy); color: rgba(245,242,233,.8); border-top: 3px solid var(--gold); padding-top: clamp(2.2rem, 5vw, 3.2rem); font-size: .93rem; }
.footer-brand { font-weight: 800; letter-spacing: .08em; color: var(--ivory); margin-bottom: .1rem; }
.footer-tagline { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--gold); margin-bottom: .6rem; }
.footer-about { max-width: 36ch; }
.footer-title { font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .08em; color: var(--ivory); margin-bottom: 1rem; position: relative; padding-bottom: .6rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.footer-links { margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(245,242,233,.8); display: inline-block; transition: color .25s, transform .25s var(--ease); }
.footer-links a:hover { color: var(--gold); transform: translateX(4px); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: .2rem; }
.footer-contact a { word-break: break-word; }
.social { display: flex; gap: .6rem; margin: 1rem 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-bottom { margin-top: 2rem; padding: 1rem 0 1.2rem; border-top: 1px solid rgba(212,185,140,.2); text-align: center; font-size: .85rem; color: rgba(245,242,233,.65); }

/* ---------- 14. FLOATING, MOTION, RESPONSIVE ---------- */
.floating-actions { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1040; display: flex; flex-direction: column; align-items: center; gap: .75rem; pointer-events: none; }
.floating-actions > * { pointer-events: auto; }
.wa-float {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-size: 1.7rem; border: 2px solid var(--gold); box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.wa-float::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); background: var(--gold); color: var(--navy); }
.back-to-top {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--gold); color: var(--navy); border: 2px solid var(--navy); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), background-color .25s, color .25s;
}
.back-to-top[hidden] { display: none; }
.back-to-top.is-visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--navy); color: var(--gold); border-color: var(--gold); }

/* Scroll reveal (only active when JS has added .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .05s; }
.js .reveal[data-delay="2"] { transition-delay: .12s; }
.js .reveal[data-delay="3"] { transition-delay: .19s; }
.js .reveal[data-delay="4"] { transition-delay: .26s; }
.js .reveal[data-delay="5"] { transition-delay: .33s; }

/* Hero entrance — a single orchestrated load sequence */
.hero-anim { animation: fadeUp .8s var(--ease) both; }
.hero-anim--2 { animation-delay: .1s; }
.hero-anim--3 { animation-delay: .2s; }
.hero-anim--4 { animation-delay: .3s; }
.hero-anim--5 { animation-delay: .4s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.55); opacity: 0; } }

/* ----- Large tablets & below ----- */
@media (max-width: 1199.98px) {
  .journey-copy p { font-size: .86rem; }
  .highlight { padding: 1rem; gap: .7rem; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 74px; }
  .navbar-collapse {
    margin: 0; padding: .25rem 0 1rem; background: #e6e4e0; border-top: 1px solid rgba(11,26,43,.1);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .navbar .nav-link { padding: .8rem .25rem !important; border-bottom: 1px solid rgba(11,26,43,.08); font-size: 1rem; }
  .navbar .nav-link::after { left: .25rem; right: auto; width: 36px; bottom: .45rem; }
  .nav-item--cta { margin: .9rem 0 0; }
  .nav-cta { width: 100%; padding: .8rem; }

  .hero-section { padding-top: calc(var(--header-h) + 28px); padding-bottom: 96px; }
  .highlight-bar { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--champagne); }

  .about-media { max-width: 400px; }
  .course-card--featured .course-media { flex-basis: 40%; }

  /* Journey becomes vertical */
  .journey-list { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .journey-step { display: flex; gap: 1.1rem; text-align: left; padding: 0 0 1.6rem; }
  .journey-node { margin: 0; flex: 0 0 auto; width: 56px; height: 56px; font-size: 1.3rem; box-shadow: 0 0 0 5px var(--ivory), var(--shadow-sm); }
  .journey-step:not(:last-child)::after { top: 56px; bottom: 0; left: 27.5px; width: 0; height: auto; border-top: 0; border-left: 1.5px dashed var(--gold-strong); }
  .journey-copy { padding-top: .35rem; }
  .journey-copy p { margin: 0; max-width: none; }

  .process-panel { position: static; }
  .cta-band, .wa-cta__inner { flex-direction: column; align-items: center; text-align: center; }

  /* Headings centred on tablets & phones */
  .hero-content { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-content .eyebrow { justify-content: center; }
  .hero-lead, .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .eyebrow { display: flex; justify-content: center; }
  .eyebrow:not(.eyebrow--center)::after { content: ""; width: 28px; height: 1px; background: currentColor; }
  .section-title, .about h2, .feedback-head { text-align: center; }
  .ornament, .about .ornament { justify-content: center; }
  .ornament::before { display: block; }
  .feedback-head { flex-direction: column; align-items: center; }
  .about .lead-copy { text-align: center; }
  .about p { margin-left: auto; margin-right: auto; }
  .about .btn-ag { display: flex; width: fit-content; margin: 0 auto; }
  .process-panel h3, .form-card__title, .contact-panel h3, .contact-panel__sub { text-align: center; }
  .form-card__hint { text-align: center; }
}

@media (min-width: 768px) {
  .feedback-card { flex-basis: calc((100% - var(--gap, 1.25rem)) / 2); }
}
@media (min-width: 1200px) {
  .feedback-card { flex-basis: calc((100% - 2 * var(--gap, 1.25rem)) / 3); }
}

@media (max-width: 767.98px) {
  .section { padding: 36px 0; }
  .about { padding-top: 36px; }
  .pillars { grid-template-columns: 1fr; gap: .7rem; margin: 1.2rem 0 1.5rem; }
  .course-card--featured { flex-direction: column; border-left-width: 1px; border-top: 4px solid var(--gold); }
  .course-card--featured .course-media { flex-basis: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .wa-cta { padding-bottom: 36px; }
  .modal-sub { font-size: 1.05rem; }
}

@media (max-width: 575.98px) {
  .brand-mark img { height: 50px; max-width: 110px; }
  .site-header.is-scrolled .brand-mark img { height: 46px; }
  .brand { gap: .55rem; }
  .hero-actions .btn-ag { flex: 1 1 100%; }
  .hero-trust { flex-direction: column; align-items: center; gap: .3rem; }
  .hero-highlight { font-size: .9rem; }
  .highlights { margin-top: -48px; }
  .highlight { flex-direction: column; text-align: center; padding: 1rem .6rem; gap: .5rem; }
  .highlight__text strong { font-size: .86rem; }
  .highlight__text small { font-size: .75rem; }
  .highlight__icon { width: 42px; height: 42px; }
  .about-media__badge { font-size: .8rem; padding: .6rem .85rem; }
  .course-actions .btn-ag { flex: 1 1 100%; }
  .feedback-card blockquote { font-size: 1.18rem; }
  .form-card { padding: 1.25rem 1rem; }
  .form-card__title { font-size: 1.65rem; }
  .cta-band .btn-ag, .wa-cta .btn-ag { width: 100%; }
  .wa-cta__icon { width: 54px; height: 54px; font-size: 1.6rem; }
  .wa-float { width: 54px; height: 54px; font-size: 1.55rem; }
  .back-to-top { width: 42px; height: 42px; }
  .course-modal .modal-body { padding: 1.1rem; }
  .course-modal .modal-header { padding: 1rem 1.1rem; }
  .course-modal .modal-footer .btn-ag { flex: 1 1 auto; }
}

@media (max-width: 359.98px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .btn-ag { padding-left: 1rem; padding-right: 1rem; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .wa-float::before { display: none; }
}


/* ===== Registration: left panel sticky, form scrolls ===== */
html, body { overflow-x: visible !important; }
main, .site-footer { overflow-x: clip; }   /* side-scroll se bachata hai, par sticky nahi todta */

@media (min-width: 992px) {
  #registration-form > aside { align-self: stretch; }
  .process-panel {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}


/* ===== FAQ ===== */
.faq { background: var(--ivory); }
.faq-wrap { max-width: 860px; margin: 0 auto; }

.faq-accordion { --bs-accordion-bg: transparent; --bs-accordion-btn-focus-box-shadow: none; display: grid; gap: .8rem; }
.faq-accordion .accordion-item {
  background: #fff; overflow: hidden;
  border: 1px solid var(--champagne) !important; border-left: 3px solid var(--gold) !important;
  border-radius: var(--r-md) !important; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.faq-accordion .accordion-item:hover { box-shadow: var(--shadow-md); border-left-color: var(--gold-deep) !important; }

.faq-accordion .accordion-button {
  gap: 1rem; padding: 1.1rem 1.25rem; text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.45;
  color: var(--navy); background: #fff; box-shadow: none; overflow-wrap: break-word;
}
.faq-accordion .accordion-button:not(.collapsed) { background: var(--warm-white); color: var(--navy); box-shadow: none; }
.faq-accordion .accordion-button:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: -3px; }

/* Plus / minus icon instead of Bootstrap's arrow */
.faq-accordion .accordion-button::after {
  content: "+"; background-image: none !important; transform: none !important;
  flex: 0 0 auto; width: 30px; height: 30px; margin-left: auto;
  display: grid; place-items: center; border: 1px solid var(--gold-strong); border-radius: 50%;
  color: var(--gold-deep); font-size: 1.3rem; font-weight: 500; line-height: 1;
  transition: background-color .25s, color .25s, border-color .25s;
}
.faq-accordion .accordion-button:not(.collapsed)::after { content: "−"; background: var(--navy); border-color: var(--navy); color: var(--gold); }

.faq-accordion .accordion-body { padding: .35rem 1.25rem 1.35rem; background: var(--warm-white); color: var(--text-muted); font-size: .97rem; overflow-wrap: break-word; }
.faq-accordion .accordion-body a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.faq-cta { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin-top: 1.8rem; text-align: center; }
.faq-cta p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy); }

@media (max-width: 575.98px) {
  .faq-accordion { gap: .65rem; }
  .faq-accordion .accordion-button { padding: 1rem; font-size: .95rem; }
  .faq-accordion .accordion-body { padding: .3rem 1rem 1.15rem; font-size: .93rem; }
  .faq-cta .btn-ag { width: 100%; }
}

/* Navbar has one more link now: keep it from feeling crowded on small laptops/tablets */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link { padding: .55rem .55rem !important; font-size: .88rem; }
  .navbar .nav-link::after { left: .55rem; right: .55rem; }
}




/* ---------- FOOTER: CENTER ON MOBILE ---------- */
@media (max-width: 767.98px) {
  .site-footer { text-align: center; }

  /* About text center me */
  .footer-about { margin-left: auto; margin-right: auto; }

  /* Social icons center me */
  .social { justify-content: center; }

  /* Heading ke neeche ki gold line center me */
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Contact items (icon + text) center me */
  .footer-contact li { justify-content: center; align-items: center; }

  .footer-links a:hover { transform: none; }
}

