/* ── Root Variables ───────────────────────── */
:root {
  --gd: #0d3d1a;
  --gm: #155724;
  --gl: #1e8c38;
  --gs: #4aab64;
  --go: #c9a227;
  --gli: #e4c060;
  --gld: #a07c10;
  --wh: #fff;
  --ow: #f8f9f5;
  --nh: 72px;
  --th: 38px;
  --ez: cubic-bezier(.4, 0, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --spring: cubic-bezier(.22, 1, .36, 1);
}

/* ── Keyframe Animations ─────────────────── */
@keyframes headerReveal {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmerBorder {
  0%, 100% { border-color: var(--go); }
  50%      { border-color: var(--gli); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 4px 4px 0 var(--gs), 0 3px 12px rgba(21,87,36,.22); }
  50%      { box-shadow: 4px 4px 0 var(--gs), 0 3px 20px rgba(21,87,36,.35), 0 0 8px rgba(201,162,39,.12); }
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mobSlideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes logoBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

/* ── Global Reset for Navbar ─────────────── */
#site-header *,
#site-header *::before,
#site-header *::after {
  box-sizing: border-box;
}
#site-header ul,
#site-header ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
#site-header address {
  font-style: normal;
  margin: 0;
  padding: 0;
}

/* ── Hide Kadence Default Header ─────────── */
.site-header,
.kadence-top-header-wrap,
.wp-block-kadence-header,
header.site-header,
.wp-site-header {
  display: none !important;
}
.content-area,
#content,
.site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ── Sticky Header Wrapper ───────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  animation: headerReveal .6s var(--spring) both;
}
/* WordPress admin bar offset */
.admin-bar #site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px;
  }
}

/* ══════════════════════════════════════════
   ██  DESKTOP TOP BAR                   ██
   ══════════════════════════════════════════ */
.topbar {
  background: var(--gd);
  border-bottom: 2px solid var(--go);
  height: var(--th);
  overflow: hidden;
  animation: shimmerBorder 8s ease-in-out infinite;
}
.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .25s var(--ez);
}
.topbar-link:hover {
  color: var(--gli);
}
.topbar-divider {
  width: 1px;
  height: 13px;
  background: rgba(201,162,39,.3);
  flex-shrink: 0;
}
.icon-mail {
  width: 13px;
  height: 13px;
  fill: var(--go);
  flex-shrink: 0;
}
.topbar-center {
  text-align: center;
  flex-shrink: 0;
}

/* ── Bismillah ───────────────────────────── */
.bismillah {
  font-family: 'Traditional Arabic', 'Amiri', 'Arial Unicode MS', serif;
  font-size: 19px;
  color: var(--gli);
  letter-spacing: 2px;
  direction: rtl;
  transition: text-shadow .4s;
}

/* ── Social Icons ────────────────────────── */
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,162,39,.4);
  text-decoration: none;
  transition: all .25s var(--ez);
}
.social-btn svg {
  width: 12px;
  height: 12px;
  fill: rgba(255,255,255,.85);
  transition: fill .2s;
}
.social-btn:hover {
  background: var(--go);
  border-color: var(--go);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(201,162,39,.3);
}
.social-btn:hover svg {
  fill: var(--gd);
}

/* ── Mobile Top Bar ──────────────────────── */
.mob-topbar {
  display: none;
  background: var(--gd);
  border-bottom: 2px solid var(--go);
}
.mob-bismillah-row {
  padding: 8px 16px;
  text-align: center;
}
.mob-bismillah-row .bismillah {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  display: block;
}

/* ══════════════════════════════════════════
   ██  MAIN NAV BAR                      ██
   ══════════════════════════════════════════ */
.main-nav {
  background: var(--wh);
  box-shadow: 0 2px 16px rgba(13,61,26,.08);
  transition: box-shadow .35s var(--ez);
}
.main-nav.scrolled {
  box-shadow: 0 4px 24px rgba(13,61,26,.15);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ── Logo ────────────────────────────────── */
.nav-logo {
  flex-shrink: 0;
}
.nav-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(21,87,36,.2);
  transition: transform .35s var(--bounce), box-shadow .3s;
  animation: logoBreath 5s ease-in-out infinite;
}
.nav-logo a:hover .logo-icon {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 4px 14px rgba(21,87,36,.3);
}
.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gli);
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-size: 16px;
  font-weight: 700;
  color: var(--gd);
  letter-spacing: .4px;
  transition: color .2s;
}
.nav-logo a:hover .logo-main {
  color: var(--gl);
}
.logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--gld);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ══════════════════════════════════════════
   ██  DESKTOP NAV MENU                  ██
   ══════════════════════════════════════════ */
.nav-menu-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  align-items: stretch;
  height: var(--nh);
}
.nav-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  height: 100%;
  color: var(--gd);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  transition: color .2s var(--ez);
}
/* ★ Hover = color change only, NO underline ★ */
.nav-menu > li:hover > a,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: var(--gl);
}

/* ── CSS Caret ───────────────────────────── */
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid var(--go);
  margin-left: 3px;
  flex-shrink: 0;
  transition: transform .25s var(--ez);
  position: relative;
  top: 1px;
}
.nav-menu > li.has-drop:hover > a .caret {
  transform: rotate(180deg);
}

/* ══════════════════════════════════════════
   ██  DROPDOWN — Zero gap, tight to nav  ██
   ══════════════════════════════════════════ */
.dropdown {
  position: absolute;
  top: 100%;               /* sits flush against nav item bottom */
  left: 50%;
  transform: translateX(-50%);
  background: var(--wh);
  min-width: 220px;
  border-top: 3px solid var(--go);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 36px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  padding: 6px 0;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ez), visibility .22s;
  z-index: 200;
}
/* Invisible hover bridge — prevents gap disconnect */
.nav-menu > li.has-drop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  transform: translateY(100%);
}
.nav-menu > li.has-drop:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Stagger children on open */
.nav-menu > li.has-drop:hover > .dropdown > li {
  animation: dropIn .28s var(--spring) both;
}
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(1)  { animation-delay: .02s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(2)  { animation-delay: .04s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(3)  { animation-delay: .06s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(4)  { animation-delay: .08s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(5)  { animation-delay: .10s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(6)  { animation-delay: .12s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(7)  { animation-delay: .14s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(8)  { animation-delay: .16s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(9)  { animation-delay: .18s; }
.nav-menu > li.has-drop:hover > .dropdown > li:nth-child(10) { animation-delay: .20s; }

.dropdown li a {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  gap: 8px;
  color: var(--gd);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all .18s var(--ez);
  white-space: nowrap;
}
.dropdown li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--go);
  opacity: 0;
  flex-shrink: 0;
  transform: scale(0);
  transition: all .18s var(--ez);
}
.dropdown li a:hover {
  background: var(--ow);
  border-left-color: var(--go);
  color: var(--gm);
  padding-left: 20px;
}
.dropdown li a:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ── Sub Dropdown (nested) ───────────────── */
.sub-drop {
  position: absolute;
  top: -3px;
  left: 100%;
  background: var(--wh);
  min-width: 200px;
  border-top: 3px solid var(--go);
  border-radius: 0 10px 10px 10px;
  box-shadow: 8px 10px 36px rgba(0,0,0,.09);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-4px);
  transition: all .22s var(--ez);
  z-index: 201;
}
.dropdown li:hover > .sub-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.sub-drop li a {
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gd);
  display: block;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .18s var(--ez);
}
.sub-drop li a:hover {
  background: var(--ow);
  border-left-color: var(--go);
  padding-left: 22px;
  color: var(--gm);
}
.sub-arrow {
  display: inline-block;
  margin-left: auto;
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 4.5px solid var(--go);
  flex-shrink: 0;
  transition: transform .18s var(--ez);
}
.dropdown li:hover > a .sub-arrow {
  transform: translateX(2px);
}

/* ══════════════════════════════════════════
   ██  REGISTER BUTTON                   ██
   ══════════════════════════════════════════ */
.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  background: var(--gm) !important;
  color: var(--wh) !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 4px 4px 0 var(--gs), 0 3px 12px rgba(21,87,36,.22);
  transition: all .25s var(--ez);
  animation: ctaPulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
/* Shine sweep on hover */
.btn-register::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transition: left .45s;
}
.btn-register:hover::before {
  left: 100%;
}
.btn-register:hover {
  background: var(--gd) !important;
  color: var(--wh) !important;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gs), 0 5px 18px rgba(21,87,36,.3);
}
.btn-register:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--gs);
  animation: none;
}
.nav-register {
  flex-shrink: 0;
}
.mob-register-wrap {
  display: none;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   ██  HAMBURGER TOGGLE                  ██
   ══════════════════════════════════════════ */
.hamburger {
  display: none;            /* hidden on desktop, shown via media query */
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;          /* touch target */
  min-height: 44px;
  background: transparent;
  border: 2px solid rgba(13,61,26,.1);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: all .25s var(--ez);
  -webkit-tap-highlight-color: transparent;
}
.hamburger:hover {
  border-color: var(--gl);
  background: rgba(30,140,56,.04);
}
.hamburger:active {
  transform: scale(.94);
}
.hbg-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 22px;
}
.hline {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--gd);
  transition: all .32s var(--ez);
  transform-origin: center;
}
.hline:nth-child(1) { width: 22px; }
.hline:nth-child(2) { width: 16px; transition: all .32s var(--ez), width .18s; }
.hline:nth-child(3) { width: 22px; }
.hamburger:hover .hline:nth-child(2) { width: 22px; }
/* Active X state */
.hamburger.active {
  border-color: var(--gl);
  background: rgba(30,140,56,.06);
}
.hamburger.active .hline { width: 22px; }
.hamburger.active .hline:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .hline:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .hline:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ══════════════════════════════════════════
   ██  MOBILE SLIDE MENU                 ██
   ══════════════════════════════════════════ */
.mobile-menu {
  display: none;            /* hidden on desktop, shown via media query */
  background: var(--wh);
  border-top: 2px solid var(--go);
  max-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: max-height .4s var(--ez);
  box-shadow: inset 0 2px 6px rgba(13,61,26,.04), 0 10px 24px rgba(13,61,26,.10);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  max-height: 80vh;
  max-height: 80dvh;       /* dynamic viewport for modern browsers */
}
/* Stagger items */
.mobile-menu.open .mobile-nav > li {
  animation: mobSlideIn .3s var(--spring) both;
}
.mobile-menu.open .mobile-nav > li:nth-child(1) { animation-delay: .02s; }
.mobile-menu.open .mobile-nav > li:nth-child(2) { animation-delay: .05s; }
.mobile-menu.open .mobile-nav > li:nth-child(3) { animation-delay: .08s; }
.mobile-menu.open .mobile-nav > li:nth-child(4) { animation-delay: .11s; }
.mobile-menu.open .mobile-nav > li:nth-child(5) { animation-delay: .14s; }
.mobile-menu.open .mobile-nav > li:nth-child(6) { animation-delay: .17s; }
.mobile-menu.open .mobile-nav > li:nth-child(7) { animation-delay: .20s; }
.mobile-menu.open .mobile-nav > li:nth-child(8) { animation-delay: .23s; }

.mobile-nav {
  padding: 6px 0 16px;
}
.mobile-nav > li > a,
.mobile-nav > li > .mob-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: var(--gd);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(21,87,36,.06);
  transition: all .2s var(--ez);
  min-height: 48px;         /* touch target ≥ 48px */
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav > li > a:hover,
.mobile-nav > li > a:active,
.mobile-nav > li > .mob-link-row:hover {
  background: var(--ow);
  color: var(--gl);
  padding-left: 28px;
}
.mob-link-row > a {
  padding: 0;
  border: none;
  flex: 1;
  background: none;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  min-height: auto;
}

/* ── Mobile Sub Toggle Button ────────────── */
.mob-toggle {
  background: rgba(21,87,36,.05);
  border: 1.5px solid rgba(21,87,36,.12);
  border-radius: 8px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .25s var(--ez);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.mob-toggle .plus-v,
.mob-toggle .plus-h {
  position: absolute;
  background: var(--gm);
  border-radius: 2px;
  transition: all .28s var(--ez);
}
.mob-toggle .plus-v { width: 2px; height: 12px; }
.mob-toggle .plus-h { width: 12px; height: 2px; }
.mob-toggle:hover,
.mob-toggle.open {
  background: var(--gd);
  border-color: var(--gd);
}
.mob-toggle:hover .plus-v,
.mob-toggle:hover .plus-h,
.mob-toggle.open .plus-h {
  background: var(--gli);
}
.mob-toggle.open .plus-v {
  transform: rotate(90deg);
  opacity: 0;
}
.mob-toggle:active {
  transform: scale(.9);
}

/* ── Mobile Sub Menu (animated height) ───── */
.mob-sub {
  background: var(--ow);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ez);
}
.mob-sub.open {
  max-height: 600px;
}
.mob-sub li a {
  display: flex;
  align-items: center;
  padding: 12px 20px 12px 34px;
  color: var(--gm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(21,87,36,.04);
  transition: all .18s var(--ez);
  min-height: 44px;         /* touch target */
  -webkit-tap-highlight-color: transparent;
}
.mob-sub li a::before {
  content: '›';
  margin-right: 8px;
  color: var(--go);
  font-weight: 700;
  transition: margin-right .18s;
}
.mob-sub li a:hover,
.mob-sub li a:active {
  color: var(--gld);
  padding-left: 42px;
  background: rgba(201,162,39,.05);
}
.mob-menu-cta {
  padding: 14px 20px 10px;
}
.mob-menu-cta .btn-register {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 8px;
  justify-content: center;
}

/* ══════════════════════════════════════════
   ██  RESPONSIVE BREAKPOINTS             ██
   ══════════════════════════════════════════ */

/* ── 1200px: Tighten spacing ─────────────── */
@media (max-width: 1200px) {
  .nav-menu > li > a {
    padding: 0 10px;
    font-size: 12px;
    letter-spacing: .5px;
  }
  .btn-register {
    padding: 10px 22px;
    font-size: 13.5px;
    letter-spacing: .8px;
  }
}

/* ── 1024px: Tablet landscape — compact ──── */
@media (max-width: 1024px) {
  :root { --nh: 66px; }
  .topbar-contacts {
    gap: 10px;
  }
  .topbar-link {
    font-size: 11px;
  }
  .topbar-divider {
    height: 11px;
  }
  .nav-menu > li > a {
    padding: 0 8px;
    font-size: 12px;
    letter-spacing: .3px;
  }
  .btn-register {
    padding: 10px 18px;
    font-size: 13px;
    gap: 6px;
  }
  .dropdown {
    min-width: 200px;
  }
}

/* ══════════════════════════════════════════
   ██  ≤ 900px: SWITCH TO MOBILE LAYOUT  ██
   This is the critical breakpoint where
   desktop nav hides and hamburger shows.
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Hide desktop elements */
  .topbar            { display: none !important; }
  .nav-menu-wrap     { display: none !important; }
  .nav-register      { display: none !important; }

  /* Show mobile elements */
  .mob-topbar        { display: block !important; }
  .mob-register-wrap { display: flex !important; }
  .hamburger         { display: flex !important; }
  .mobile-menu       { display: block !important; }

  :root { --nh: 64px; }
  .nav-inner {
    height: var(--nh);
    padding: 0 16px;
    gap: 8px;
  }
  .logo-icon {
    width: 40px;
    height: 40px;
    animation: none;       /* save battery on mobile */
  }
  .logo-icon svg {
    width: 22px;
    height: 22px;
  }
  .logo-main {
    font-size: 15px;
  }
  .mob-register-wrap .btn-register {
    padding: 10px 20px;
    font-size: 13.5px;
    letter-spacing: .6px;
    animation: none;       /* save battery */
  }
}

/* ── 680px: Small tablet ─────────────────── */
@media (max-width: 680px) {
  :root { --nh: 60px; }
  .nav-inner {
    padding: 0 14px;
    gap: 6px;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
  }
  .logo-main {
    font-size: 14px;
  }
  .logo-sub {
    display: none;
  }
  .mob-register-wrap .btn-register {
    padding: 9px 16px;
    font-size: 12.5px;
  }
  .mob-bismillah-row .bismillah {
    font-size: 22px;
  }
  .mobile-nav > li > a,
  .mobile-nav > li > .mob-link-row {
    padding: 13px 16px;
    font-size: 12.5px;
  }
  .mob-sub li a {
    padding: 11px 16px 11px 30px;
    font-size: 12.5px;
  }
  .mob-menu-cta {
    padding: 12px 16px 8px;
  }
}

/* ── 480px: Mobile portrait ──────────────── */
@media (max-width: 480px) {
  :root { --nh: 56px; }
  .nav-inner {
    padding: 0 12px;
    gap: 6px;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  .logo-icon svg {
    width: 20px;
    height: 20px;
  }
  .logo-main {
    font-size: 13.5px;
  }
  .logo-sub {
    display: none;
  }
  .mob-register-wrap .btn-register {
    padding: 9px 13px;
    font-size: 12px;
    letter-spacing: .2px;
    gap: 4px;
  }
  .hamburger {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .hbg-box {
    width: 20px;
    gap: 4px;
  }
  .hline { height: 2.5px; }
  .hline:nth-child(1) { width: 20px; }
  .hline:nth-child(2) { width: 14px; }
  .hline:nth-child(3) { width: 20px; }
  .hamburger.active .hline:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.active .hline:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .mob-bismillah-row {
    padding: 6px 12px;
  }
  .mob-bismillah-row .bismillah {
    font-size: 18px;
  }
}

/* ── 360px: Very small phones ────────────── */
@media (max-width: 360px) {
  :root { --nh: 52px; }
  .logo-icon {
    width: 34px;
    height: 34px;
  }
  .logo-main {
    font-size: 12.5px;
  }
  .mob-register-wrap .btn-register {
    padding: 8px 11px;
    font-size: 11.5px;
    letter-spacing: 0;
  }
  .hamburger {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .mobile-nav > li > a,
  .mobile-nav > li > .mob-link-row {
    padding: 12px 12px;
    font-size: 12px;
  }
  .mob-sub li a {
    padding: 10px 12px 10px 26px;
    font-size: 12px;
  }
  .mob-bismillah-row .bismillah {
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════
   ██  ACCESSIBILITY                      ██
   ══════════════════════════════════════════ */

/* Focus-visible for keyboard navigation */
#site-header a:focus-visible,
#site-header button:focus-visible {
  outline: 2px solid var(--go);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}
