/* =========================================================
   IITDM Vizag – Admissions 2027–29
   ========================================================= */
:root {
  /* IITDM brand palette */
  --iitdm-navy-900: #0E1C2F;
  --iitdm-navy-700: #16335C;
  --iitdm-gold-500: #FFC000;
  --iitdm-slate: #5B6B82;      /* confirm exact value */
  --iitdm-graphite: #2B3440;   /* confirm exact value */
  --iitdm-line: #DDE3EB;       /* confirm exact value */
  --iitdm-white: #FFFFFF;
  --font-main: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Bootstrap mapping (as supplied) */
  --bs-primary: var(--iitdm-navy-700);
  --bs-primary-rgb: 22, 51, 92;
  --bs-secondary: var(--iitdm-slate);
  --bs-warning: var(--iitdm-gold-500);
  --bs-warning-rgb: 255, 192, 0;
  --bs-dark: var(--iitdm-navy-900);
  --bs-dark-rgb: 14, 28, 47;
  --bs-body-font-family: var(--font-main);
  --bs-body-color: var(--iitdm-graphite);
  --bs-body-bg: var(--iitdm-white);
  --bs-border-color: var(--iitdm-line);
  --bs-link-color: var(--iitdm-navy-700);
  --bs-link-color-rgb: 22, 51, 92;

  /* Derived */
  --gold-hover: #E6AD00;
  --gold-text: #9C7500;                         /* gold for small text on white (AA) */
  --primary-tint: rgba(var(--bs-primary-rgb), .07);
  --soft: #F5F7FA;
  --ok: #157347;
  --err: #C0392B;

  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(var(--bs-dark-rgb), .06), 0 2px 8px rgba(var(--bs-dark-rgb), .05);
  --shadow: 0 12px 32px -14px rgba(var(--bs-dark-rgb), .25);
  --shadow-lg: 0 24px 60px -24px rgba(var(--bs-dark-rgb), .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--bs-body-font-family); font-size: 16px; line-height: 1.6; color: var(--bs-body-color); background: var(--bs-body-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--bs-link-color); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--bs-dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--bs-warning); color: var(--bs-dark); padding: 8px 14px; border-radius: var(--r-sm); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bs-warning); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--bs-primary); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.35em; border-radius: 10px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.2; white-space: nowrap; transition: background-color .2s, box-shadow .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--primary { --bg: var(--bs-primary); }
.btn--primary:hover { --bg: var(--bs-dark); }
.btn--accent { --bg: var(--bs-warning); --fg: var(--bs-dark); }
.btn--accent:hover { --bg: var(--gold-hover); }
.btn--outline { --bg: transparent; --fg: var(--bs-primary); border-color: var(--bs-primary); }
.btn--outline:hover { --bg: var(--bs-primary); --fg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: .9em 1.6em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Section scaffolding ---------- */
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6rem; }
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section__head--tight { margin-bottom: 32px; }
.section__title { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); margin-bottom: .35em; }
.section__sub { color: var(--bs-secondary); margin: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bs-dark); color: rgba(255, 255, 255, .8); font-size: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__list { display: flex; align-items: center; gap: 20px; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar__list li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bs-warning); margin: 0 12px 0 -12px; }
.topbar__list strong { color: #fff; font-weight: 600; }
.topbar__phone { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar__phone:hover { color: var(--bs-warning); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bs-dark); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.header__logo img { height: 46px; width: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a { display: block; white-space: nowrap; padding: 8px 11px; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: .9rem; position: relative; transition: color .2s; }
.nav__list a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 2px; background: var(--bs-warning); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:hover, .nav__list a.is-current { color: #fff; }
.nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); }
.nav__head, .nav__mobile-cta { display: none; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__call { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.header__call .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .2s, color .2s; }
.header__call:hover .ic { background: var(--bs-warning); color: var(--bs-dark); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; }
.nav-overlay { position: fixed; inset: 0; background: rgba(var(--bs-dark-rgb), .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 45; }

/* ---------- Hero: slider + form ---------- */
.hero { background: var(--bs-dark); background-image: linear-gradient(180deg, var(--bs-dark) 0%, var(--bs-dark) 62%, var(--bs-body-bg) 62%); padding: 28px 0 8px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: center; }
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bs-primary); box-shadow: var(--shadow-lg); }
.slider__track, .slider__slide { position: absolute; inset: 0; }
.slider__slide { opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slider__slide.is-active { opacity: 1; visibility: visible; }
.slider__slide picture, .slider__slide img { width: 100%; height: 100%; }
.slider__slide img { object-fit: cover; }
.slider__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--bs-dark); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .25s, background-color .2s; }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
.slider__arrow:hover { background: var(--bs-warning); }
.slider__arrow--prev { left: 14px; }
.slider__arrow--next { right: 14px; }
.slider__dots { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(var(--bs-dark-rgb), .45); backdrop-filter: blur(4px); }
.slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .3s var(--ease), background-color .3s; }
.slider__dots button.is-active { width: 22px; background: var(--bs-warning); }

/* ---------- Enquiry form ---------- */
.enquiry { background: #fff; border-radius: var(--r-lg); padding: 22px 22px 18px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--bs-warning); }
.enquiry__head { margin-bottom: 14px; }
.enquiry__badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bs-primary); background: var(--primary-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.enquiry__title { font-size: 1.2rem; margin: 0; }
.field { margin-bottom: 10px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; font-size: .78rem; font-weight: 600; color: var(--bs-dark); margin-bottom: 4px; }
.field label span { color: var(--err); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--bs-border-color); border-radius: 9px; background: #fff; color: var(--bs-dark); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235B6B82' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.field input::placeholder { color: #9AA3AF; }
.field input:focus, .field select:focus { outline: none; border-color: var(--bs-primary); box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .14); }
.input-prefix { display: flex; }
.input-prefix span { display: grid; place-items: center; padding: 0 10px; background: var(--soft); border: 1.5px solid var(--bs-border-color); border-right: 0; border-radius: 9px 0 0 9px; font-weight: 600; color: var(--bs-dark); font-size: .88rem; }
.input-prefix input { border-radius: 0 9px 9px 0 !important; min-width: 0; }
.field.has-error input, .field.has-error select, .field.has-error .input-prefix span { border-color: var(--err); }
.field__err { color: var(--err); font-size: .75rem; margin: 3px 0 0; }
.field__err:empty { display: none; }
.field--check { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin: 4px 0 14px; }
.field--check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--bs-primary); }
.field--check label { font-weight: 400; font-size: .76rem; color: var(--bs-secondary); line-height: 1.5; margin: 0; }
.field--check .field__err { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.enquiry.is-loading .spinner { display: inline-block; }
.enquiry.is-loading .enquiry__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.enquiry__msg { display: none; margin-top: 12px; padding: 11px 13px; border-radius: 9px; font-size: .86rem; line-height: 1.5; }
.enquiry__msg.is-success { display: block; background: #E8F6EE; color: var(--ok); border: 1px solid #BFE5CF; }
.enquiry__msg.is-error { display: block; background: #FDECEA; color: var(--err); border: 1px solid #F5C2BC; }
.enquiry__alt { margin: 12px 0 0; text-align: center; font-size: .82rem; color: var(--bs-secondary); }
.enquiry__alt a { font-weight: 600; }
.enquiry.is-done .field, .enquiry.is-done .field-row, .enquiry.is-done .enquiry__submit { display: none; }

/* ---------- Intro + credentials ---------- */
.intro { padding: 44px 0 60px; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro__title { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 700; }
.intro__lead { font-size: 1.05rem; color: var(--bs-secondary); max-width: 52ch; }
.intro__points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0 28px; }
.intro__points li { display: flex; align-items: center; gap: 10px; font-size: .93rem; font-weight: 500; color: var(--bs-dark); }
.intro__points .ic { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--bs-warning); color: var(--bs-dark); stroke-width: 3; }
.intro__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.credentials { background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.credentials__label { margin: 0; padding: 14px 24px; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bs-secondary); border-bottom: 1px solid var(--bs-border-color); }
.credentials__logos { display: grid; grid-template-columns: repeat(3, 1fr); }
.credentials__logos li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 14px; }
.credentials__logos li + li { border-left: 1px solid var(--bs-border-color); }
.credentials__img { height: 64px; display: grid; place-items: center; margin-bottom: 12px; }
.credentials__img img { max-height: 64px; max-width: 120px; width: auto; object-fit: contain; }
.credentials__logos strong { font-family: var(--font-head); font-size: .88rem; color: var(--bs-dark); font-weight: 600; }
.credentials__logos small { font-size: .72rem; color: var(--bs-secondary); line-height: 1.35; margin-top: 2px; }
.credentials__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: var(--bs-primary); }
.credentials__stats div { padding: 18px 14px; text-align: center; }
.credentials__stats div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.credentials__stats dt { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--bs-warning); line-height: 1.2; }
.credentials__stats dd { margin: 4px 0 0; font-size: .72rem; color: rgba(255, 255, 255, .8); line-height: 1.35; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--r); padding: 22px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--primary-tint); color: var(--bs-primary); transition: background-color .3s, color .3s; }
.feature__icon .ic { width: 22px; height: 22px; }
.feature:hover .feature__icon { background: var(--bs-primary); color: var(--bs-warning); }
.feature h3 { font-size: 1rem; margin-bottom: .3em; }
.feature p { margin: 0; font-size: .88rem; color: var(--bs-secondary); }

/* ---------- Programmes ---------- */
.programmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.prog:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prog__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--primary-tint); }
.prog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog:hover .prog__img img { transform: scale(1.05); }
.prog__tag { position: absolute; top: 10px; left: 10px; background: var(--bs-warning); color: var(--bs-dark); font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-family: var(--font-head); }
.prog__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.prog__major { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.prog h3 { font-size: 1.02rem; margin-bottom: .35em; }
.prog p { font-size: .86rem; color: var(--bs-secondary); margin-bottom: 14px; }
.prog__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--bs-border-color); }
.prog__career { font-size: .76rem; color: var(--bs-secondary); }
.prog__link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-family: var(--font-head); font-size: .85rem; text-decoration: none; color: var(--bs-primary); white-space: nowrap; }
.prog__link .ic { transition: transform .2s; }
.prog__link:hover .ic { transform: translateX(3px); }
.shorts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); }
.shorts__label { font-family: var(--font-head); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--bs-secondary); margin-right: 6px; }
.short { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--bs-border-color); border-radius: 10px; text-decoration: none; color: var(--bs-dark); transition: border-color .2s, box-shadow .2s; }
.short:hover { border-color: var(--bs-primary); box-shadow: var(--shadow-sm); }
.short strong { font-family: var(--font-head); font-size: .9rem; font-weight: 600; }
.short small { color: var(--bs-secondary); font-size: .78rem; margin-left: auto; }
.short .ic { color: var(--bs-primary); }

/* ---------- Recruiters marquee ---------- */
.recruiters { padding: 64px 0 56px; border-top: 1px solid var(--bs-border-color); }
.marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.logo-card { display: grid; place-items: center; width: 168px; height: 80px; padding: 16px 20px; background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--r); transition: border-color .25s, box-shadow .25s; }
.logo-card img { max-height: 40px; max-width: 120px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.logo-card:hover img { filter: none; opacity: 1; }

/* ---------- Campus ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--primary-tint); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(var(--bs-dark-rgb), .85)); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { margin: 0; background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.tcard__q { width: 26px; height: 26px; color: var(--bs-warning); margin-bottom: 10px; }
.tcard p { flex: 1; font-size: .93rem; color: var(--bs-dark); }
.tcard footer { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--bs-border-color); }
.tcard__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bs-primary); color: var(--bs-warning); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; }
.tcard footer strong { display: block; color: var(--bs-dark); font-size: .9rem; }
.tcard footer span { font-size: .78rem; color: var(--bs-secondary); }

/* ---------- FAQs ---------- */
.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; max-width: 1000px; margin: 0 auto; }
.faq { background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--r); }
.faq[open] { box-shadow: var(--shadow-sm); border-color: rgba(var(--bs-primary-rgb), .3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; font-family: var(--font-head); font-weight: 600; color: var(--bs-dark); font-size: .93rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--primary-tint); transition: transform .3s var(--ease), background-color .3s; }
.faq[open] summary .ic { transform: rotate(45deg); background: var(--bs-warning); }
.faq__body { padding: 0 18px 16px; font-size: .9rem; color: var(--bs-secondary); }
.faq__body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bs-primary); background-image: radial-gradient(circle at 92% 0%, rgba(var(--bs-warning-rgb), .16), transparent 45%); padding: 48px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .25em; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bs-dark); color: rgba(255, 255, 255, .7); font-size: .9rem; padding-top: 52px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 44px; padding-bottom: 32px; }
.footer__brand > img { height: 46px; width: auto; margin-bottom: 14px; }
.footer__badges { display: flex; gap: 10px; margin-top: 16px; }
.footer__badges img { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 5px 8px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: var(--bs-warning); }
.footer__links { display: grid; gap: 7px; }
.footer__contact { display: grid; gap: 10px; margin-bottom: 18px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { margin-top: 4px; color: var(--bs-warning); }
.social { display: flex; gap: 8px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.social a:hover { background: var(--bs-warning); color: var(--bs-dark); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 22px; font-size: .8rem; }
.footer__bottom p { margin: 0; }

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }
.mbar { display: none; }

/* ---------- Privacy page ---------- */
.policy { padding: 56px 0 72px; }
.policy__inner { max-width: 780px; }
.policy h1 { font-size: 2rem; }
.policy h2 { font-size: 1.15rem; margin-top: 1.6em; }
.policy ul { list-style: disc; padding-left: 1.3em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) { .header__call span { display: none; } }
@media (max-width: 1140px) {
  .nav__list a { padding: 8px 7px; font-size: .86rem; }
  .nav__list a::after { left: 7px; right: 7px; }
  .header__logo img { height: 40px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 370px; }
  .intro__grid { gap: 36px; }
}

@media (max-width: 991px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .header__call { display: none; }
  .header__cta { gap: 6px; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: var(--bs-dark); z-index: 100; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; display: flex; flex-direction: column; padding: 0 20px 24px; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav__head { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 10px; }
  .nav__head img { height: 34px; width: auto; }
  .nav__close { width: 40px; height: 40px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.6rem; line-height: 1; border-radius: 50%; }
  .nav__list { flex-direction: column; }
  .nav__list a { font-size: 1rem; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav__list a::after { display: none; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 22px; }

  .hero { padding-top: 20px; background-image: linear-gradient(180deg, var(--bs-dark) 0%, var(--bs-dark) 34%, var(--soft) 34%); padding-bottom: 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__form { max-width: 560px; width: 100%; margin: 0 auto; }
  .slider__arrow { opacity: 1; width: 38px; height: 38px; }
  .intro__grid { grid-template-columns: 1fr; }
  .features, .programmes, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item { aspect-ratio: 4 / 3; }
  .faqs { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: 60px; }
  .container { padding-inline: 16px; }
  .hide-md { display: none !important; }
  .topbar__inner { min-height: 32px; }
  .header__logo img { height: 36px; }
  .header__cta .btn { padding: .5em .9em; font-size: .82rem; }
  .section { padding: 52px 0; }
  .section__head { margin-bottom: 28px; }

  .hero { padding-top: 14px; }
  .slider { aspect-ratio: 4 / 5; border-radius: var(--r); }
  .slider__arrow { display: none; }
  .enquiry { padding: 20px 16px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field input[type=text], .field input[type=email], .field input[type=tel], .field select { height: 48px; font-size: 16px; }

  .intro { padding: 40px 0 48px; }
  .intro__title { font-size: 1.85rem; }
  .intro__points { grid-template-columns: 1fr; gap: 8px; }
  .intro__ctas .btn { flex: 1 1 auto; }
  .credentials__label { padding: 12px 16px; }
  .credentials__logos li { padding: 16px 8px; }
  .credentials__img { height: 48px; }
  .credentials__img img { max-height: 48px; max-width: 84px; }
  .credentials__logos strong { font-size: .76rem; }
  .credentials__logos small { display: none; }
  .credentials__stats { grid-template-columns: 1fr 1fr; }
  .credentials__stats div:nth-child(3) { border-left: 0; }
  .credentials__stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }

  .features, .programmes, .testimonials { grid-template-columns: 1fr; gap: 12px; }
  .feature { padding: 18px; }
  .shorts__label { width: 100%; }
  .short small { display: none; }
  .recruiters { padding: 48px 0 40px; }
  .logo-card { width: 132px; height: 66px; padding: 12px 14px; }
  .logo-card img { max-height: 32px; max-width: 96px; }
  .marquee__track { animation-duration: 35s; }
  .gallery { gap: 10px; }
  .cta-band { padding: 40px 0; text-align: center; }
  .cta-band__inner { justify-content: center; }
  .cta-band__btns { width: 100%; }
  .cta-band__btns .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }

  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 -6px 20px -8px rgba(var(--bs-dark-rgb), .25); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 56px; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--bs-primary); }
  .mbar a + a { border-left: 1px solid var(--bs-border-color); }
  .mbar a:nth-child(2) .ic { color: #25D366; }
  .mbar__apply { background: var(--bs-warning); color: var(--bs-dark) !important; }
}

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