/* =========================
   Global reset & base
   ========================= */

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "BR Segma", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #111827;
  background: #ffffff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER (transparent on top, solid on scroll)
   ========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5000;

  background: transparent;
  color: #ffffff;

  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  opacity: 1;
  transition: opacity 0.25s ease, background 0.25s ease;
  pointer-events: none;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  position: relative;
  z-index: 1;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
}

.site-logo img { height: 40px; }

/* Desktop nav */
.main-nav { margin-left: 40px; }

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  align-items: center;
}

.menu > li > a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 0;
  position: relative;
  color: inherit;
  opacity: 0.92;
}

.menu > li > a:hover { opacity: 1; }

.menu > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: #fa394a;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.menu > li:hover > a::after { transform: scaleX(1); }

/* Dropdowns */
.has-sub { position: relative; }

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;

  background: #ffffff;
  color: #111827;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border-radius: 8px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 40;
}

.has-sub:hover > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sub-menu li { position: relative; }

.sub-menu > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.sub-menu > li > a:hover { background: #f3f4f6; }

/* Nested fly-out */
.sub-menu .has-sub > .sub-menu { top: 0; left: 100%; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #ffffff;
  background: linear-gradient(135deg, #ff445e, #ff6a2a);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(250, 57, 74, 0.45);
  border: none;
}

.btn-apply:hover { filter: brightness(0.98); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;

  flex-direction: column;
  justify-content: space-between;
  color: inherit;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

/* SCROLLED STATE (solid white + dark text) */
.site-header.scrolled {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.site-header.scrolled::before { opacity: 0; }

.site-header.scrolled .menu > li > a { color: #111827; }

.site-header.scrolled .btn-apply {
  background: #fa394a;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(250, 57, 74, 0.28);
}

.site-main { padding: 0 0 0px; }


/* =========================================
   CLEAN OVERLAP LOGO (Desktop Only) – FIXED
   - Prevent menu wrap (single line)
   - Keep gap before Apply Now
   - Avoid logo covering menu
   ========================================= */
@media (min-width: 1025px){

  :root{
    --logo-space: 130px;     /* reserved space so menu never goes under logo */
    --logo-drop: 20px;       /* overlap drop into hero */
    --actions-gap: 26px;     /* space between menu and Apply Now */
  }

  /* Header container context */
  .header-inner{
    position: relative;
    gap: 0;                 /* avoid accidental extra space */
  }

  /* Nav takes remaining space & can shrink properly */
  .main-nav{
    flex: 1 1 auto;
    min-width: 0;           /* IMPORTANT: allows flexbox to shrink instead of wrapping badly */
    display: flex;
    justify-content: center;
    margin-left: 0;         /* override your desktop 40px */
  }

  /* Keep Apply Now stable on the right */
  .header-actions{
    flex: 0 0 auto;
    margin-left: var(--actions-gap);
    white-space: nowrap;
  }

  /* -------- TOP (not scrolled) overlap logo -------- */
  .site-header:not(.scrolled) .site-logo{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateY(var(--logo-drop));
    z-index: 10;
  }

  .site-header:not(.scrolled) .site-logo img{
    height: 105px;
    width: auto;
    background: #fff;
    border-radius: 1px;
    padding: 2px;
    box-shadow: 0 18px 40px rgba(15,23,42,.15);
  }

  /* Menu: force single row + responsive spacing */
  .menu{
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: nowrap;      /* IMPORTANT: stops 2-line menu */
    white-space: nowrap;    /* prevents words breaking */

    padding-left: var(--logo-space);

    gap: clamp(14px, 1.8vw, 23px); /* reduce gap on smaller desktops */
  }

  .menu > li > a{
    font-size: clamp(10px, 0.78vw, 11px);      /* shrink slightly on smaller widths */
    letter-spacing: clamp(0.10em, 0.12vw, 0.14em);
  }

  /* -------- SCROLLED: logo returns normal -------- */
  .site-header.scrolled .site-logo{
    position: static;
    transform: none;
  }

  .site-header.scrolled .site-logo img{
    height: 70px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header.scrolled .menu{
    padding-left: 0;
  }
}


/* =========================================
   OVERLAP LOGO (Mobile + Tablet) - LEFT
   - Logo stays left, overlaps down into hero when NOT scrolled
   - Apply + Hamburger remain on right
   - On scroll: logo becomes normal again
   ========================================= */
@media (max-width: 1024px){

  :root{
    --logo-drop-m: 5px;     /* overlap drop into hero */
    --logo-size-m: 85px;     /* logo size while overlapped */
    --logo-reserve-m: 105px;  /* reserve space so logo doesn't cover content */
  }

  .header-inner{
    position: relative;
  }

  /* Keep nav (drawer) as-is, but ensure actions are on top */
  .header-actions{
    position: relative;
    z-index: 12;
    margin-left: auto;
    white-space: nowrap;
  }

  /* -------- TOP (not scrolled): overlap logo on LEFT -------- */
  .site-header:not(.scrolled) .site-logo{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateY(var(--logo-drop-m));
    z-index: 11;
    pointer-events: auto;
  }

  .site-header:not(.scrolled) .site-logo img{
    height: var(--logo-size-m);
    width: auto;
    background: #fff;
    border-radius: 2px;
    padding: 2px;
    box-shadow: 0 14px 34px rgba(15,23,42,.18);
  }

  /* Reserve space so logo never sits under/over other header items */
  .main-nav{
    /* your mobile drawer ignores this, but it helps prevent layout jump */
    margin-left: var(--logo-reserve-m);
  }

  /* -------- SCROLLED: logo returns normal -------- */
  .site-header.scrolled .site-logo{
    position: static;
    transform: none;
  }

  .site-header.scrolled .site-logo img{
    height: 40px;     /* your base mobile logo size */
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  /* When scrolled, remove reserved space */
  .site-header.scrolled .main-nav{
    margin-left: 0;
  }
}

/* =========================================================
   MOBILE NAV DRAWER (ONLY OVERRIDES — desktop untouched)
   ========================================================= */

/* Overlay */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 8500;
  display: none;
}

body.nav-open { overflow: hidden; }
body.nav-open .nav-overlay{ display:block; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }

  /* ✅ MOBILE: drawer positioning overrides desktop margin-left */
  .main-nav{
    margin-left: 0;              /* important (desktop has margin-left:40px) */
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;

    width: 80vw;
    max-width: 380px;
    min-width: 280px;

    background: #ffffff;
    color: #111827;

    transform: translateX(100%);
    transition: transform 0.28s ease;

    padding: 18px 16px 24px;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.18);

    z-index: 8600;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.nav-open .main-nav{ transform: translateX(0); }

  .nav-close{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
  }

  /* ✅ MOBILE: reset desktop menu layout completely */
  .menu{
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;  /* overrides desktop align-items:center */
    padding: 0;
    margin: 0;
  }

  .menu > li{
    border-top: 1px solid rgba(15,23,42,.10);
    width: 100%;
  }
  .menu > li:last-child{
    border-bottom: 1px solid rgba(15,23,42,.10);
  }

  /* top-level row */
  .menu > li > a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    padding: 16px 10px;
    width: 100%;

    font-size: 12px;
    font-weight: 600; /* not bold */
    letter-spacing: .18em;
    text-transform: uppercase;

    color: #111827;
    opacity: 1;

    position: relative;
  }

  /* ✅ remove desktop underline pseudo entirely on mobile */
  .menu > li > a::after{ display: none !important; }

  /* ✅ active underline is INSIDE row (no extra divider line) */
  .menu > li > a.is-active{
    box-shadow: inset 0 -2px 0 #fa394a;
  }

  /* Chevron */
  .sub-toggle{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .sub-toggle svg{
    width: 18px;
    height: 18px;
    display: block;

    stroke: #111827;      /* visible arrow */
    stroke-width: 2.2;
    fill: none;

    transition: transform .18s ease;
  }

  .has-sub.is-open > a .sub-toggle svg{
    transform: rotate(180deg);
  }

  /* =====================================================
     ✅ THE IMPORTANT PART:
     Force mobile dropdown to ignore desktop hover/absolute/opacity
     ===================================================== */

  /* Reset desktop behavior that leaks into mobile */
  .has-sub{ position: static; } /* overrides desktop position:relative */
  .has-sub:hover > .sub-menu{
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .sub-menu{
    position: static !important;
    top: auto !important;
    left: auto !important;

    min-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;

    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;

    /* accordion mechanics */
    max-height: 0;
    overflow: hidden;
    transition: max-height .22s ease;

    padding: 0;
    margin: 0;
    z-index: auto !important;
  }

  .has-sub.is-open > .sub-menu{
    max-height: 1200px;
    padding: 6px 0 10px 0;
  }

  /* Submenu items: consistent spacing for all dropdowns */
  .sub-menu > li > a{
    display: block;
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 600; /* not bold */
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(17,24,39,.84);
  }

  /* ✅ only one divider inside submenu */
  .sub-menu > li + li > a{
    border-top: 1px solid rgba(15,23,42,.08);
  }

  /* Active submenu highlight (no red separate line) */
  .sub-menu > li > a.is-active{
    box-shadow: inset 3px 0 0 #fa394a;
    color: #111827;
  }

  /* Nested (level 3) spacing consistent */
  .sub-menu .sub-menu{
    padding: 0 !important;
    margin: 0 !important;
  }

  .sub-menu .sub-menu > li > a{
    padding-left: 32px;
    letter-spacing: .10em;
  }
}

/* Ensure header is always above page content */
.site-header { z-index: 9999; }

/* MOBILE: force hamburger visibility */
@media (max-width: 1024px){
  /* default (transparent header on top of hero) */
  .site-header:not(.scrolled) .nav-toggle { color: #fff; }

  /* scrolled (white header) */
  .site-header.scrolled .nav-toggle { color: #111827; }

  /* keep toggle clickable */
  .nav-toggle { position: relative; z-index: 10000; }
}

/* =========================
   FOOTER (final)
   ========================= */

.site-footer {
  background: #2f2f2f;
  color: #d7d7d7;
  padding: 44px 0 16px;
  position: relative;
}

/* Main Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 26px;
  padding-top: 10px;
}

/* Brand */
.footer-brand__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

/* Logo size EXACT as you requested */
.footer-logo img {
  width: 70px;
  height: auto;
  display: block;
  filter: saturate(0.95);
}

.footer-affiliation {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.footer-about {
  margin: 10px 0 0;
  color: #bfbfbf;
  line-height: 1.6;
  font-size: 14px;
  max-width: 520px;
}

/* Titles + Links */
.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li { margin-top: 10px; }

.footer-links a,
.footer-bottom a {
  color: #d7d7d7;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* CONTACT center block */
.footer-contact-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}

.footer-contact-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.footer-contact-center {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: start;
  justify-items: start;
}

.footer-contact-row .k {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  text-align: right;
  width: 90px;
}

.footer-contact-row .v {
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  text-align: left;
}

.footer-contact-social .v a {
  color: #d7d7d7;
  text-decoration: none;
  margin-right: 14px;
}

.footer-contact-social .v a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Contact actions */
.footer-contact-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.footer-cta__btn--primary { background: #ffffff; color: #2f2f2f; }

.footer-cta__btn--outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Newsletter */
.footer-newsletter-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}

.footer-newsletter__title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-newsletter__text {
  margin: 0 0 12px;
  color: #bfbfbf;
  line-height: 1.5;
  font-size: 14px;
}

.footer-newsletter__form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-newsletter__form input {
  width: min(420px, 100%);
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.footer-newsletter__form input::placeholder { color: rgba(255, 255, 255, 0.55); }

.footer-newsletter__form button {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #d8424a;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.footer-newsletter__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-newsletter__note.is-error { color: #ffb4b4; }
.footer-newsletter__note.is-success { color: #b7ffcc; }

/* Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom__links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 92px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 99999;
}

.back-to-top.show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Accessibility helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer responsive */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }

  .footer-contact-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-contact-row .k { text-align: center; width: auto; }
  .footer-contact-row .v { text-align: center; }
}

/* =========================
   Floating Actions (Global)
   ========================= */

.float-actions {
  position: fixed;
  right: 14px;
  bottom: 22px;
  z-index: 9800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-enquire {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background: #e83b47;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.6px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.float-enquire:focus-visible {
  outline: 3px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
}

.float-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 9800;
}

.float-whatsapp__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 14px;
}

/* =========================
   Modal (Enquiry)
   ========================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.modal.is-open { display: block; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.modal__dialog {
  position: relative;
  width: min(520px, calc(100% - 28px));
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  padding: 26px 26px 20px;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #1346a6;
}

.enquiry-form .form-row { margin-bottom: 10px; }

.enquiry-form input,
.enquiry-form select {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(0,0,0,0.20);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.enquiry-form input:focus,
.enquiry-form select:focus {
  border-color: rgba(19,70,166,0.55);
  box-shadow: 0 0 0 3px rgba(19,70,166,0.10);
}

.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-row--phone {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
}

.form-row--captcha .captcha-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
}

.captcha-box__hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 6px;
  background: #f7f7f7;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(0,0,0,0.65);
}

.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.btn-submit {
  height: 40px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: #f4c430;
  color: #0b2d6b;
  font-weight: 800;
  cursor: pointer;
}

.form-status {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  min-height: 18px;
  color: rgba(0,0,0,0.70);
}

.form-status.is-error { color: #b42318; }
.form-status.is-success { color: #0f766e; }

body.modal-open { overflow: hidden; }

@media (max-width: 520px) {
  .modal__dialog { padding: 22px 18px 18px; }
  .form-row--two { grid-template-columns: 1fr; }
}

/* =========================
   AUTH PAGES (Login/Register/Forgot)
   ========================= */

.auth-hero {
  position: relative;
  min-height: calc(100vh - 120px);
  padding: 110px 0 60px; /* space for fixed header */
  overflow: hidden;
}

.auth-hero__bg {
  position: absolute;
  inset: 0;
  background:#ffffff;
  filter: saturate(1.05);
  transform: scale(1.02);
}

.auth-wrap { position: relative; z-index: 1; }

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 26px;
  align-items: start;
}

.auth-left {
  color: #fff;
  padding: 26px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(10px);
}

.auth-left__title {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
}

.auth-left__text {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  max-width: 520px;
}

.auth-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.auth-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}

.auth-left__alt { margin: 0; color: rgba(255,255,255,0.85); }

.auth-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  padding: 22px;
}

.auth-card__head { display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; }
.auth-card__title { margin:0; font-size: 20px; font-weight: 900; color: #111827; }
.auth-card__sub { margin:4px 0 0; font-size: 13px; color: #6b7280; }

.auth-form { margin-top: 14px; }
.form-row { margin-bottom: 12px; }
.form-label { display:block; font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 6px; }

.form-input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 0 14px;
  outline: none;
  background: #fff;
}

.form-input:focus {
  border-color: rgba(250,57,74,0.55);
  box-shadow: 0 0 0 3px rgba(250,57,74,0.12);
}

.form-actions { display:flex; gap: 10px; align-items:center; margin-top: 10px; }

.btn-primary {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  background: linear-gradient(135deg, #ff445e, #ff6a2a);
  color: #fff;
  box-shadow: 0 18px 40px rgba(250,57,74,0.28);
}

.form-msg { margin: 10px 0 0; font-size: 13px; min-height: 18px; color: #374151; }
.form-msg.is-error { color: #b42318; }
.form-msg.is-warn { color: #92400e; }

.auth-card__foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-size: 13px;
}

.auth-link { color: #0b57d0; text-decoration: underline; }
.auth-dot { color: #9ca3af; }

@media (max-width: 1024px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-left__title { font-size: 34px; }
  .auth-hero { padding-top: 96px; }
}


/* =========================
   FASHION DESIGN PAGE (CLEAN)
   ========================= */

.fd-hero{
  position: relative;
  padding: 120px 0 70px;
  background: radial-gradient(circle at 10% 0%, rgba(110,10,10,.75), rgba(2,6,23,.96) 65%);
  color: #f9fafb;
  overflow: hidden;
}

.fd-hero__inner{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 26px;
  align-items: stretch;
}

.fd-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .92;
  margin: 0 0 10px;
}

.fd-hero__title{
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.15;
}

.fd-hero__title span{ color: #ff4b5c; }

.fd-hero__text{
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
  opacity: .92;
  max-width: 58ch;
}

/* Hero actions (Apply + Download) */
.fd-hero__actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.fd-hero__actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.fd-hero__actions .btn-primary{
  background: linear-gradient(135deg, #ff445e, #ff6a2a);
  color: #fff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(250,57,74,.26);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.fd-hero__actions .btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(250,57,74,.32);
  filter: brightness(.99);
}

.fd-hero__actions .btn-outline{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.fd-hero__actions .btn-outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.40);
}

.fd-hero__actions a:focus-visible{
  outline: 3px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}

.fd-hero__chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fd-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  opacity: .95;
}

.fd-hero__media{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.fd-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fd-hero__mediaShade{
  position: absolute;
  inset: 0;
  
}

.fd-float{
  position: absolute;
  right: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}

.fd-float--one{ top: 16px; }
.fd-float--two{ bottom: 16px; }

.fd-float__n{ font-size: 18px; font-weight: 800; }
.fd-float__t{ font-size: 12px; opacity: .92; }

/* Strip */
.fd-strip{
  background: #ffffff;
  border-bottom: 1px solid rgba(15,23,42,.06);
  padding: 18px 0;
}

.fd-strip__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fd-strip__item{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid rgba(15,23,42,.06);
}

.fd-strip__icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  color: #ef4444;
}

.fd-strip__label{
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 2px;
}

.fd-strip__value{
  font-size: 13px;
  color: #111827;
  font-weight: 700;
}

/* Courses grid */
.fd-courses{
  padding: 64px 0 74px;
  background: #ffffff;
}

.fd-courses__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fd-course{
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 16px 46px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fd-course__link{
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.fd-course__img{
  height: 180px;
  overflow: hidden;
}

.fd-course__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.fd-course__body{
  padding: 16px 16px 18px;
}

.fd-course__title{
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.fd-course__text{
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}

.fd-course__meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.fd-badge{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(239,68,68,.10);
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
}

.fd-badge--dark{
  background: rgba(15,23,42,.08);
  color: #0f172a;
}

.fd-badge--accent{
  background: rgba(59,130,246,.12);
  color: #1d4ed8;
}

.fd-meta{
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

.fd-course:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 65px rgba(15,23,42,.10);
  border-color: rgba(239,68,68,.20);
}

.fd-course:hover .fd-course__img img{
  transform: scale(1.05);
}

/* Learn */
.fd-learn{
  padding: 60px 0;
  background: #f9fafb;
}

.fd-learn__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.fd-learn__card{
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 45px rgba(15,23,42,.06);
}

.fd-learn__card--dark{
  background: radial-gradient(circle at 20% 0%, rgba(110,10,10,.75), rgba(2,6,23,.96) 70%);
  color: #f9fafb;
  border-color: rgba(255,255,255,.10);
}

.fd-h2{
  margin: 0 0 8px;
  font-size: 20px;
}

.fd-p{
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: #4b5563;
}

.fd-learn__card--dark .fd-p{ color: rgba(249,250,251,.88); }

.fd-list{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.fd-tick{
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,.10);
  color: #b91c1c;
  font-weight: 900;
  margin-right: 10px;
}

.fd-learn__card--dark .fd-tick{
  background: rgba(255,255,255,.12);
  color: #ffffff;
}

.fd-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.fd-tag{
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  opacity: .95;
}

.fd-miniCta{
  margin-top: 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
}

/* Admission */
.fd-admission{
  padding: 64px 0;
  background: #ffffff;
}

.fd-admission__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.fd-elig{
  margin-top: 10px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
}

.fd-elig__row{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}

.fd-elig__row + .fd-elig__row{
  border-top: 1px solid rgba(15,23,42,.06);
}

.fd-elig__k{
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.fd-elig__v{
  font-size: 13px;
  color: #4b5563;
  font-weight: 700;
}

.fd-steps{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.fd-steps li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15,23,42,.05);
}

.fd-step__n{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(239,68,68,.10);
  color: #b91c1c;
  font-weight: 900;
}

.fd-step__b strong{
  display: block;
  font-size: 13px;
  color: #111827;
}

.fd-step__b span{
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.65;
}

/* FAQ */
.fd-faq{
  padding: 64px 0 72px;
  background: #f9fafb;
}

.fd-accordion{
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.fd-acc{
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  font-weight: 800;
  color: #111827;
  box-shadow: 0 14px 40px rgba(15,23,42,.05);
}

.fd-acc__ico{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15,23,42,.10);
  background: #f9fafb;
  font-weight: 900;
}

.fd-panel{
  overflow: hidden;
  max-height: 0;
  transition: max-height .22s ease;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  margin-top: -6px;
  padding: 0 16px;
}

.fd-panel p{
  margin: 12px 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: #4b5563;
}

/* =========================
   BOTTOM CTA – FIXED BUTTONS
   ========================= */

.fd-cta{
  padding: 62px 0;
  background: radial-gradient(circle at 10% 0%, rgba(110,10,10,.75), rgba(2,6,23,.96) 70%);
  color: #f9fafb;
}

.fd-cta__inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.fd-cta__inner h2{ margin: 0 0 6px; font-size: 24px; }
.fd-cta__inner p{ margin: 0; opacity: .92; font-size: 14px; }

.fd-cta__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* IMPORTANT: button baseline so <a> looks like buttons */
.fd-cta__actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.fd-cta__actions .btn-primary{
  background: linear-gradient(135deg, #ff445e, #ff6a2a);
  color: #fff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(250,57,74,.26);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.fd-cta__actions .btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(250,57,74,.32);
  filter: brightness(.99);
}

.fd-cta__actions .btn-outline,
.fd-cta__actions .btn-outline--dark{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(8px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.fd-cta__actions .btn-outline:hover,
.fd-cta__actions .btn-outline--dark:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.40);
}

.fd-cta__actions a:focus-visible{
  outline: 3px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px){
  .fd-hero__inner{ grid-template-columns: 1fr; }
  .fd-strip__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-courses__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-learn__grid{ grid-template-columns: 1fr; }
  .fd-admission__grid{ grid-template-columns: 1fr; }

  .fd-cta__inner{
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 768px){
  .fd-hero{ padding: 110px 0 60px; }
  .fd-hero__title{ font-size: 34px; }
  .fd-strip__grid{ grid-template-columns: 1fr; }
  .fd-courses__grid{ grid-template-columns: 1fr; }

  .fd-hero__actions{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .fd-hero__actions a{ width: 100%; }

  .fd-cta__actions{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .fd-cta__actions a{ width: 100%; }
}







/* ====== HERO CTA BUTTONS (Apply + Download) ====== */

.hero-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Common button baseline */
.hero-actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Primary */
.hero-actions .btn-primary{
  background: #fa394a;
  color: #fff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 30px rgba(250,57,74,.28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.hero-actions .btn-primary:hover{
  background: #e41e38;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(250,57,74,.34);
}

/* Ghost / Download */
.hero-actions .btn-outline{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.hero-actions .btn-outline:hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.40);
  transform: translateY(-1px);
}

/* Icon alignment */
.hero-actions .ui-ico{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.hero-actions .ui-ico svg{
  display: block;
}

/* Focus states (keyboard) */
.hero-actions a:focus-visible{
  outline: 3px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}

/* Mobile: full width buttons stacked */
@media (max-width: 768px){
  .hero-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions a{
    width: 100%;
  }
}
/* =========================================
   FD HERO CTA BUTTONS (Apply + Download)
   Targets Fashion Design page hero buttons
   ========================================= */

.fd-hero__actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.fd-hero__actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:46px;
  padding:0 18px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  line-height:1;
  letter-spacing:.01em;
  text-decoration:none;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

/* Apply button */
.fd-hero__actions .btn-primary{
  background:#fa394a;
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 30px rgba(250,57,74,.28);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.fd-hero__actions .btn-primary:hover{
  background:#e41e38;
  transform:translateY(-1px);
  box-shadow:0 16px 40px rgba(250,57,74,.34);
}

/* Download button */
.fd-hero__actions .btn-outline{
  background:rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.26);
  backdrop-filter:blur(6px);
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}

.fd-hero__actions .btn-outline:hover{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.40);
  transform:translateY(-1px);
}

/* Ensure icons align (if present) */
.fd-hero__actions .ui-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
}
.fd-hero__actions .ui-ico svg{ display:block; }

.fd-hero__actions a:focus-visible{
  outline:3px solid rgba(255,255,255,.55);
  outline-offset:3px;
}

/* Mobile stacked */
@media (max-width:768px){
  .fd-hero__actions{ flex-direction:column; align-items:stretch; }
  .fd-hero__actions a{ width:100%; }
}
/* =========================
   COURSE DETAIL (cd-*)
   ========================= */

.cd-hero{
  padding: 120px 0 44px;
  background: radial-gradient(circle at 10% 0%, rgba(110,10,10,.75), rgba(2,6,23,.96) 68%);
  color: #f9fafb;
}

.cd-hero__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

/* Text */
.cd-kicker{
  margin: 0 0 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .92;
}

.cd-title{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
}

.cd-sub{
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  opacity: .92;
  max-width: 70ch;
}

/* ===== HERO BUTTONS (Apply + Download) ===== */
.cd-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.cd-actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

/* Apply Now */
.cd-actions .btn-primary{
  background: linear-gradient(135deg, #ff445e, #ff6a2a);
  color: #fff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(250,57,74,.26);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cd-actions .btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(250,57,74,.32);
  filter: brightness(.99);
}

/* Download Brochure (ghost) */
.cd-actions .btn-outline{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(8px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.cd-actions .btn-outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.40);
}

.cd-actions a:focus-visible{
  outline: 3px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}

/* Chips */
.cd-chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  opacity: .95;
}

/* Sidebar (Latest Courses) */
.cd-side__card{
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  padding: 14px;
}

.cd-side__head{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: .9;
}

.cd-mini{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
}

.cd-mini:hover{ background: rgba(255,255,255,.08); }

.cd-mini img{
  width: 52px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
}

.cd-mini span{
  font-size: 12px;
  line-height: 1.35;
  opacity: .95;
}

/* Main */
.cd-main{
  padding: 26px 0 70px;
  background: #ffffff;
}

.cd-main__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

/* Gallery */
.cd-gallery{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 16px 46px rgba(15,23,42,.08);
  background: #fff;
}

.cd-gallery__main{ background: #0b1220; }

.cd-gallery__main img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.cd-gallery__thumbs{
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
  background: #fff;
}

.cd-thumb{
  width: 110px;
  height: 78px;
  flex: 0 0 auto;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.cd-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cd-thumb.is-active{
  border-color: rgba(250,57,74,.45);
  box-shadow: 0 10px 22px rgba(250,57,74,.12);
}

/* Content blocks */
.cd-block{
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 40px rgba(15,23,42,.05);
  background: #fff;
}

.cd-h2{ margin: 0 0 10px; font-size: 18px; }
.cd-h3{ margin: 0 0 10px; font-size: 15px; }

.cd-p{
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #4b5563;
}

.cd-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cd-list{
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.75;
}

.cd-highlights{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.cd-hi{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: #f9fafb;
  padding: 14px;
}

.cd-hi__t{
  margin: 0 0 4px;
  font-weight: 900;
  font-size: 13px;
  color: #111827;
}

.cd-hi__d{
  margin: 0;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.65;
}

/* Sticky Enquiry */
.cd-sticky{ position: sticky; top: 92px; }

.cd-enquiry{
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15,23,42,.06);
}

.cd-enquiry__head{ font-weight: 900; font-size: 15px; margin: 0 0 6px; }
.cd-enquiry__text{ margin: 0 0 12px; font-size: 13px; line-height: 1.65; color: #4b5563; }

.cd-enquiry a.btn-primary,
.cd-enquiry a.btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.cd-enquiry a.btn-primary{
  background: #fa394a;
  color: #fff;
  border: 1px solid rgba(250,57,74,.25);
  box-shadow: 0 14px 34px rgba(250,57,74,.22);
}

.cd-enquiry a.btn-outline{
  margin-top: 10px;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(15,23,42,.14);
}

.cd-enquiry a.btn-outline:hover{ background: #f9fafb; }

/* You may like */
.cd-like{
  padding: 54px 0 70px;
  background: #f9fafb;
}

.cd-like__title{ margin: 0 0 14px; font-size: 20px; }

.cd-like__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.cd-likeCard{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  box-shadow: 0 16px 46px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cd-likeCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 65px rgba(15,23,42,.10);
  border-color: rgba(250,57,74,.25);
}

.cd-likeCard__img img{
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.cd-likeCard__t{
  padding: 12px 12px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 1024px){
  .cd-hero__grid,
  .cd-main__grid{
    grid-template-columns: 1fr;
  }
  .cd-sticky{ position: static; }
}

@media (max-width: 768px){
  .cd-hero{ padding: 110px 0 32px; }
  .cd-title{ font-size: 26px; }
  .cd-gallery__main img{ height: 320px; }
  .cd-split{ grid-template-columns: 1fr; }
  .cd-highlights{ grid-template-columns: 1fr; }
  .cd-like__grid{ grid-template-columns: 1fr; }
}

/* Make <a.float-enquire> behave like the button */
a.float-enquire{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.itLkgi {
    display: none;
}