
:root {
  --blue: #2456ff;
  --cyan: #00b8d4;
  --orange: #ff7b3a;
  --amber: #ffb54a;
  --dark: #1c2335;
  --ink: #14151f;
  --muted: #7a7a9c;
  --body-text: #595980;
  --light: #f6f8ff;
  --navy: #0b1020;
  --navy-2: #1b2147;
  --line: #ecebff;
  --grad: linear-gradient(90deg, var(--blue), var(--cyan));
  --grad-warm: linear-gradient(135deg, var(--amber), var(--orange));
  --shadow-sm: 0 6px 18px rgba(26, 20, 78, 0.06);
  --shadow-md: 0 12px 36px rgba(26, 20, 78, 0.1);
  --shadow-lg: 0 24px 60px rgba(36, 86, 255, 0.18);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. BASE ---------- */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 100%;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Noto Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--ink);
  background: #f7f5ff;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}
::selection {
  background: rgba(36, 86, 255, 0.18);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid rgba(36, 86, 255, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 6px 12px;
  background: #000;
  color: #fff;
  z-index: 9999;
}
.skip-link:focus {
  left: 16px;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- 3. SHARED HEADINGS ---------- */
.tag-pill,
.about-header .tag,
.av-tag,
.fmc-tag,
.gov-tag {
  display: inline-block;
  padding: 7px 18px;
  background: linear-gradient(135deg, #eef3ff, #f5f0ff);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(36, 86, 255, 0.15);
  box-shadow: 0 4px 12px rgba(36, 86, 255, 0.08);
}

.section-heading-wrapper {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}
.section-heading-gradient,
.gov-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section-subheading {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.section-head {
  text-align: center;
  margin-bottom: 30px;
}
.section-head h2 {
  margin-top: 0.6rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.facility-heading {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0;
  background: linear-gradient(90deg, #00c2d1, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ---------- 4. TOP STRIP + ACCESSIBILITY ---------- */
.top-strip {
  background: var(--navy-2);
  color: #fff;
  padding: 6px 0;
  font-size: 0.875rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.top-strip-link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-strip-link:hover {
  text-decoration: underline;
}
.top-strip-flag {
  height: 18px;
  margin-right: 8px;
}
.top-strip-text {
  font-weight: 600;
}
.top-strip-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.top-strip-sep {
  color: rgba(255, 255, 255, 0.5);
}

.access-panel {
  position: absolute;
  top: 32px;
  right: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  padding: 14px 16px;
  width: 230px;
  font-size: 0.8rem;
  z-index: 9999;
  display: none;
}
.access-panel.open,
.access-panel.active {
  display: block;
}
.access-panel h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
}
.access-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.access-option label {
  margin-right: 8px;
  cursor: pointer;
}

body.high-contrast {
  filter: contrast(1.5) brightness(1.1);
}
body.grayscale {
  filter: grayscale(1);
}
body.underline-links a {
  text-decoration: underline !important;
}

.font-btn {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.font-btn-active,
.font-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.lang-select {
  border-radius: 999px;
  border: none;
  padding: 2px 10px;
  font-size: 0.8rem;
}
.access-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  padding: 2px 10px;
  margin-left: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.access-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.access-btn .material-symbols-outlined {
  font-size: 18px;
}

/* ---------- 5. HEADER / NAV ----------
   Header + navigation styles live inside frontend/layouts/header.blade.php
   (scoped to .main-header) so they cannot leak or conflict here. */

/* ---------- 6. BUTTONS ---------- */
.btn-login {
  display: inline-block;
  border-radius: 999px;
  padding: 8px 22px;
  background: var(--grad-warm);
  color: #1b1010;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 6px 16px rgba(255, 123, 58, 0.28);
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 123, 58, 0.38);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  padding: 6px 18px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  border: 1px solid #c2c4ff;
  color: #4b4b9e;
}
.btn-outline:hover {
  background: #f4f4ff;
}

/* =====================================================================
   HOME — HERO SLIDER
   ===================================================================== */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2.8 / 1;
  min-height: 200px;
  overflow: hidden;
  background: var(--navy);
  outline: none;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.28)
  );
  pointer-events: none;
}
.slide-content,
.slide-content-inner {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dot:hover {
  background: #fff;
}
.slider-dot.active {
  width: 26px;
  background: var(--amber);
}

/* Arrows (shared base: services slider) */
.slider-wrap {
  position: relative;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #1b1010;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  z-index: 10 !important;
  transition: all 0.25s ease;
}
.slider-arrow:hover {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
  transform: translateY(-50%) scale(1.06);
}
.slider-arrow-left {
  left: -12px;
}
.slider-arrow-right {
  right: -12px;
}
.slider-arrow .material-symbols-outlined {
  font-size: 22px;
}
/* Hero variant: glass */
.slider .slider-arrow {
  z-index: 5 !important;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, 0.6);
}
.slider .slider-arrow:hover {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.slider .slider-arrow-left {
  left: 16px;
}
.slider .slider-arrow-right {
  right: 16px;
}
.slider .slider-arrow svg {
  width: 22px;
  height: 22px;
}

/* =====================================================================
   HOME — MARQUEE
   ===================================================================== */
.hero-marquee {
  display: flex;
  align-items: stretch;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 11px 24px 11px 20px;
  background: var(--grad-warm);
  color: #1b1010;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding-right: 32px;
}
.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  padding-left: 100%;
  font-size: 0.9rem;
  color: #e4e5ff;
  animation: csiMarquee 35s linear infinite;
}
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes csiMarquee {
  to {
    transform: translateX(-100%);
  }
}

/* =====================================================================
   HOME — ABOUT
   ===================================================================== */
.about-section-new {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 40px;
}
.about-header {
  text-align: center;
  margin-bottom: 54px;
}
.about-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.2;
}
.about-header h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-header p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  position: relative;
  padding: 0 30px 40px 0;
}
.about-main-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(26, 20, 78, 0.2);
}
.about-float-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  border: 6px solid #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 20, 78, 0.25);
}
.about-float-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-float-img:hover img {
  transform: scale(1.08);
}
.about-badge {
  position: absolute;
  top: 22px;
  left: -14px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 14px 32px rgba(36, 86, 255, 0.42);
  border: 4px solid #fff;
  animation: csiFloat 4s ease-in-out infinite;
}
.about-badge .num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge .txt {
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 4px;
  padding: 0 10px;
}
@keyframes csiFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.about-text .mini-title {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.about-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 8px 0 18px;
  color: var(--ink);
  line-height: 1.25;
}
.about-text h3 span {
  color: var(--blue);
}
.about-text p {
  color: var(--body-text);
  line-height: 1.85;
  margin: 0 0 14px;
  font-size: 0.97rem;
}

.csi-intro-box {
  background: #fff;
  border-left: 5px solid var(--blue);
  border-radius: 18px;
  padding: 24px 30px;
  box-shadow: var(--shadow-md);
}
.csi-intro-box p {
  margin: 0;
  color: #3b3d5c;
  line-height: 1.85;
  font-size: 1rem;
}

/* =====================================================================
   HOME — AIM & VISION
   ===================================================================== */
.aim-vision-section {
  padding: 60px 0 80px;
}
.av-header {
  text-align: center;
  margin-bottom: 46px;
}
.av-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.av-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.av-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.av-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 26px;
  padding: 42px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(92, 91, 255, 0.1);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.av-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.av-card-glow {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 86, 255, 0.15), transparent 70%);
  pointer-events: none;
}
.av-icon-wrap {
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.av-icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(36, 86, 255, 0.32);
  transition: transform 0.4s var(--ease);
}
.av-card:hover .av-icon {
  transform: rotate(-6deg) scale(1.06);
}
.av-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.av-divider {
  width: 50px;
  height: 4px;
  border-radius: 4px;
  margin: 14px 0 18px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}
.av-card-text {
  color: var(--body-text);
  line-height: 1.85;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}
.av-points {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.av-points li {
  padding-left: 30px;
  margin-bottom: 11px;
  position: relative;
  color: #272747;
  font-weight: 500;
}
.av-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.av-card-alt {
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border-color: transparent;
}
.av-card-alt .av-card-title,
.av-card-alt .av-points li {
  color: #fff;
}
.av-card-alt .av-card-text {
  color: #cbd1ff;
}
.av-card-alt .av-icon {
  background: var(--grad-warm);
  color: #1b1010;
  box-shadow: 0 12px 26px rgba(255, 123, 58, 0.35);
}
.av-card-alt .av-points li::before {
  background: rgba(255, 255, 255, 0.12);
  color: var(--amber);
}

/* =====================================================================
   FACILITIES (shared: Home + Facilities page)
   ===================================================================== */
.facility-wow {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 15px;
}
.facility-title {
  text-align: center;
  margin-bottom: 56px;
}
.facility-title p {
  max-width: 820px;
  margin: 14px auto 0;
  color: var(--body-text);
  line-height: 1.85;
}

.facility-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.facility-tabs2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 6px 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: #c4c0ff transparent;
}
.facility-tabs2::-webkit-scrollbar {
  width: 6px;
}
.facility-tabs2::-webkit-scrollbar-thumb {
  background: #c4c0ff;
  border-radius: 6px;
}

.tab2 {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px 13px;
  background: #fff;
  border: 1px solid #e6e8f5;
  border-left: 5px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: 0.3s var(--ease);
}
.tab2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(36, 86, 255, 0.12);
  border-color: #cfd6ff;
}
.tab2.active {
  border-left-color: var(--blue);
  background: linear-gradient(135deg, #fff, #eef3ff);
  box-shadow: 0 12px 28px rgba(36, 86, 255, 0.16);
}
.tab2 h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.tab2 p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #777;
  line-height: 1.4;
}

.circle-bg {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background: #e9ecf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.3s;
}
.circle-bg img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.tab2:hover .circle-bg,
.tab2.active .circle-bg {
  background: #60a5fa;
}
.tab2:hover .circle-bg img[src$=".png"],
.tab2.active .circle-bg img[src$=".png"] {
  filter: brightness(0) invert(1);
}

.facility-display {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.16);
}
.facility-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.facility-panel.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.facility-panel-wrapper {
  position: absolute;
  inset: 0;
}
.facility-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}
.facility-panel.active img {
  transform: scale(1.06);
}
.facility-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.panel-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 40px 50px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.panel-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.panel-line {
  width: 70px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #00f2ff, var(--blue));
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}
.panel-content p,
.panel-content .spa-content {
  margin: 0 auto;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 1024px) {
  .facility-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 24px;
  }
  .facility-tabs2 {
    grid-template-columns: 1fr;
  }
  .facility-display {
    height: 420px;
  }
  .panel-content {
    padding: 22px;
  }
}
/* JS moves the active panel right under the clicked tab on mobile */
@media (max-width: 768px) {
  .facility-wrapper {
    display: block;
  }
  .facility-tabs2 {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
    padding: 0;
  }
  .facility-display {
    height: auto;
    box-shadow: none;
    margin-top: 25px;
    overflow: visible;
    border-radius: 0;
  }
  .facility-panel,
  .facility-panel-wrapper {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    margin: 4px 0 16px;
  }
  .facility-panel.active,
  .facility-panel.active .facility-panel-wrapper {
    display: block;
  }
  .facility-panel img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 230px;
    border-radius: 16px;
    transform: none !important;
  }
  .facility-panel::after {
    display: none;
  }
  .panel-content {
    position: relative;
    inset: auto;
    padding: 20px 18px;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.78);
    border-radius: 14px;
  }
  .panel-content h3 {
    font-size: 22px;
  }
  .panel-content p,
  .panel-content .spa-content {
    font-size: 13px;
    line-height: 1.6;
  }
  .panel-line {
    width: 50px;
    margin-bottom: 12px;
  }
}

/* =====================================================================
   HOME — POPULAR SERVICES
   ===================================================================== */
.card-bg-1 {
  background-image:
    url("../images/facilities/1.jpg"),
    url("https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7?q=80&w=600&auto=format&fit=crop");
}
.card-bg-2 {
  background-image:
    url("../images/facilities/2.jpg"),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=600&auto=format&fit=crop");
}
.card-bg-3 {
  background-image:
    url("../images/facilities/3.jpg"),
    url("https://images.unsplash.com/photo-1546519638-68e109498ffc?q=80&w=600&auto=format&fit=crop");
}
.card-bg-4 {
  background-image:
    url("../images/whyjoin/Billiards4.jpeg"),
    url("https://images.unsplash.com/photo-1511193311914-0346f16efe90?auto=format&fit=crop&w=800&q=80");
}
.card-bg-5 {
  background-image:
    url("../images/facilities/5.jpg"),
    url("https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?q=80&w=600&auto=format&fit=crop");
}
.card-bg-6 {
  background-image:
    url("../images/facilities/6.jpg"),
    url("https://images.unsplash.com/photo-1534158914592-062992fbe900?q=80&w=600&auto=format&fit=crop");
}
.card-bg-7 {
  background-image:
    url("../images/facilities/7.jpg"),
    url("https://images.unsplash.com/photo-1431540015161-0bf868a2d407?q=80&w=600&auto=format&fit=crop");
}
.card-bg-8 {
  background-image:
    url("../images/facilities/8.jpg"),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?q=80&w=600&auto=format&fit=crop");
}

.slider-track {
  scroll-snap-type: x proximity;
}
.slider-track > a {
  flex: 0 0 auto;
  display: block;
  text-decoration: none;
  scroll-snap-align: start;
}
.service-card {
  min-height: 190px;
  transition: all 0.4s var(--ease);
  border: 1px solid #c8cbff;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover .bg-overlay {
  opacity: 0.5 !important;
  transform: scale(1.08);
}
.service-card:hover .icon-box {
  transform: scale(1.1) rotate(-4deg);
}
.service-card:hover .action-btn {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  transform: translate(2px, -2px);
}

/* =====================================================================
   HOME — WHO'S WHO
   ===================================================================== */
.who-section {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, #f7f5ff 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.who-section::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(92, 91, 255, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.who-section::after {
  content: "";
  position: absolute;
  bottom: 5%;
  right: -5%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 181, 74, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}
.who-card {
  position: relative;
  background: #fff;
  border-radius: 26px;
  padding: 42px 26px 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(26, 20, 78, 0.08);
  transition: all 0.4s var(--ease);
  overflow: hidden;
  border: 1px solid rgba(92, 91, 255, 0.08);
  cursor: pointer;
}
.who-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.who-card:hover::before {
  transform: scaleX(1);
}
.who-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(36, 86, 255, 0.18);
  border-color: rgba(36, 86, 255, 0.15);
}
.who-card-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(36, 86, 255, 0.12), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.who-card:hover .who-card-glow {
  opacity: 1;
}

.who-avatar {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.who-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--blue),
    var(--cyan),
    var(--amber),
    var(--blue)
  );
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0.85;
  transition: opacity 0.4s ease;
  animation: gradientRotate 4s ease infinite;
}
@keyframes gradientRotate {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.who-card:hover .who-avatar-ring {
  opacity: 1;
}
.who-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: #fff;
  transition: transform 0.5s ease;
}
.who-card:hover .who-avatar img {
  transform: scale(1.05);
}

.who-info {
  position: relative;
  z-index: 2;
}
.who-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.3s ease;
}
.who-card:hover .who-name {
  color: var(--blue);
}
.who-title {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.who-divider {
  width: 40px;
  height: 3px;
  background: var(--grad);
  border-radius: 3px;
  margin: 16px auto 0;
  transition: width 0.4s ease;
}
.who-card:hover .who-divider {
  width: 70px;
}

/* =====================================================================
   HOME — IMPORTANT LINKS
   ===================================================================== */
.gov-services {
  padding: 10px 0 60px;
  background: linear-gradient(180deg, #fff 0%, #f7f5ff 100%);
  position: relative;
  overflow: hidden;
}
.gov-services::before {
  content: "";
  position: absolute;
  top: 20%;
  left: -8%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(36, 86, 255, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.gov-services::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: -8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(255, 181, 74, 0.08),
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.gov-heading {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}
.gov-showcase {
  position: relative;
  z-index: 2;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.gov-showcase-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}
.gov-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1.5px solid rgba(36, 86, 255, 0.15);
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(36, 86, 255, 0.06);
}
.gov-nav-btn:hover {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(36, 86, 255, 0.35);
}
.gov-nav-btn:active {
  transform: translateY(-1px) scale(0.97);
}
.gov-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.gov-scroll-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 10px 4px 25px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.gov-scroll-track::-webkit-scrollbar {
  display: none;
}
.gov-item {
  text-decoration: none;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: block;
}
.gov-item-inner {
  position: relative;
  width: 260px;
  height: 170px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaf8;
  box-shadow: 0 10px 28px rgba(26, 20, 78, 0.1);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.gov-item:hover .gov-item-inner {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(36, 86, 255, 0.22);
}
.gov-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px 18px 52px;
  display: block;
  transition: transform 0.5s ease;
}
.gov-item:hover .gov-item-inner img {
  transform: scale(1.06);
}
.gov-item-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}
.gov-item-label {
  font-weight: 700;
  font-size: 0.88rem;
}
.gov-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  transition:
    background 0.3s,
    transform 0.3s;
}
.gov-item:hover .gov-item-icon {
  background: var(--amber);
  color: #1b1010;
  transform: translate(2px, -2px);
}
.gov-progress {
  height: 4px;
  border-radius: 4px;
  background: rgba(36, 86, 255, 0.12);
  overflow: hidden;
  margin-top: 6px;
}
.gov-progress-bar {
  height: 100%;
  width: 30%;
  border-radius: 4px;
  background: var(--grad);
  transition:
    transform 0.2s ease,
    width 0.2s ease;
}

/* =====================================================================
   HOME — FACILITIES / MEMBERSHIP / CHARGES CTA
   ===================================================================== */
.fmc-section {
  padding: 60px 0 90px;
}
.fmc-header {
  text-align: center;
  margin-bottom: 46px;
}
.fmc-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
}
.fmc-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fmc-subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
}
.fmc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.fmc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 26px;
  padding: 36px 30px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(92, 91, 255, 0.1);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.fmc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(36, 86, 255, 0.22);
}
.fmc-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 86, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.fmc-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 12px 26px rgba(36, 86, 255, 0.32);
  transition: transform 0.4s var(--ease);
}
.fmc-card:hover .fmc-icon {
  transform: rotate(-6deg) scale(1.06);
}
.fmc-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
}
.fmc-card-text {
  color: var(--body-text);
  line-height: 1.75;
  margin: 0 0 22px;
  flex: 1;
  font-size: 0.95rem;
}
.fmc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.92rem;
}
.fmc-btn i {
  transition: transform 0.3s ease;
}
.fmc-card:hover .fmc-btn i {
  transform: translateX(6px);
}
.fmc-card-alt {
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border-color: transparent;
}
.fmc-card-alt .fmc-card-title {
  color: #fff;
}
.fmc-card-alt .fmc-card-text {
  color: #cbd1ff;
}
.fmc-card-alt .fmc-icon {
  background: var(--grad-warm);
  color: #1b1010;
  box-shadow: 0 12px 26px rgba(255, 123, 58, 0.35);
}
.fmc-card-alt .fmc-btn {
  color: var(--amber);
}

/* ---------- HOME RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .av-grid {
    grid-template-columns: 1fr;
  }
  .fmc-grid {
    grid-template-columns: 1fr;
  }
  .who-card {
    padding: 36px 22px 28px;
  }
}
@media (max-width: 767.98px) {
  .slider {
    aspect-ratio: 16 / 9;
  }
  .slider .slider-arrow {
    width: 36px;
    height: 36px;
  }
  .slider-arrow-left {
    left: 0;
  }
  .slider-arrow-right {
    right: 0;
  }
  .slider .slider-arrow-left {
    left: 8px;
  }
  .slider .slider-arrow-right {
    right: 8px;
  }
  .marquee-label {
    padding: 8px 18px 8px 12px;
    font-size: 0.7rem;
  }
  .about-section-new {
    padding: 54px 16px 30px;
  }
  .about-main-img img {
    height: 280px;
  }
  .about-float-img img {
    height: 110px;
  }
  .about-badge {
    width: 92px;
    height: 92px;
    left: -6px;
  }
  .about-badge .num {
    font-size: 1.4rem;
  }
  .av-card {
    padding: 30px 24px;
  }
  .who-section {
    padding: 45px 0 55px;
  }
  .who-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 400px;
  }
  .who-avatar {
    width: 110px;
    height: 110px;
  }
  .gov-item-inner {
    width: 220px;
    height: 150px;
  }
  .fmc-section {
    padding: 44px 0 64px;
  }
}
@media (max-width: 480px) {
  .tag-pill {
    font-size: 11px;
    padding: 6px 14px;
  }
  .who-avatar {
    width: 100px;
    height: 100px;
  }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  color: #e4e5ff;
}
.site-footer .footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-footer .footer-help {
  background: linear-gradient(135deg, #101434, var(--navy-2));
  padding: 38px 0;
  text-align: center;
}
.site-footer .footer-help h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}
.site-footer .footer-help p {
  margin: 0;
  color: #b0b3ff;
  font-size: 0.92rem;
}

.site-footer .footer-main {
  background: #050618;
  padding: 52px 0 0 !important;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 38px;
}
.site-footer .footer-col h4 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.site-footer .footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-warm);
}
.site-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-links li {
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #cbd1ff;
}
.site-footer .footer-links a {
  color: #b0b3ff;
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.site-footer .footer-links a:hover {
  color: #fff;
  padding-left: 4px;
  text-decoration: none;
}
.site-footer .footer-links li span i {
  width: 18px;
  margin-right: 4px;
  color: var(--amber);
}
.site-footer .footer-links li strong {
  color: #fff;
}

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 0 !important;
  padding: 18px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #b0b3ff;
}
.site-footer .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.site-footer .footer-bottom-links a {
  margin: 0;
  color: #b0b3ff;
  text-decoration: none;
}
.site-footer .footer-bottom-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}
@media (max-width: 575.98px) {
  .site-footer .footer-main {
    padding-top: 36px !important;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .site-footer .footer-bottom-links {
    justify-content: center;
  }
}

/* =====================================================================
   CONTACT MODAL
   ===================================================================== */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 24, 0.55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}
.contact-modal.open {
  display: flex;
}
.contact-modal-content {
  background: #fff;
  border-radius: 20px;
  width: 92%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(26, 20, 78, 0.35);
  animation: modalSlideIn 0.3s ease;
  color: var(--ink);
  font-size: 0.95rem;
  text-align: left;
}
.contact-modal-content * {
  box-sizing: border-box;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-modal-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}
.contact-modal-close {
  background: #f3f4fc;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.contact-modal-close:hover {
  background: #e4e6f8;
  color: var(--ink);
  transform: rotate(90deg);
}
.contact-modal-close .material-symbols-outlined {
  font-size: 22px;
}
.contact-modal-body {
  padding: 22px 24px 26px;
}
.contact-modal-subtitle {
  margin: 0 0 18px;
  color: #6b6f8d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-modal-content .form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.contact-modal-content .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-modal-content .form-row .form-group {
  min-width: 0;
}
.contact-modal-content label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #272747;
}
.contact-modal-content .required {
  color: #e11d48;
}
.contact-modal-content input[type="text"],
.contact-modal-content input[type="email"],
.contact-modal-content input[type="tel"],
.contact-modal-content select,
.contact-modal-content textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: #f8f9ff;
  border: 1.5px solid #dfe2f5;
  border-radius: 12px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.contact-modal-content select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b6f8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.contact-modal-content textarea {
  resize: vertical;
  min-height: 90px;
}
.contact-modal-content input::placeholder,
.contact-modal-content textarea::placeholder {
  color: #a3a7c4;
}
.contact-modal-content input:focus,
.contact-modal-content select:focus,
.contact-modal-content textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 86, 255, 0.12);
}
.contact-modal-content .error,
.contact-modal-content .text-danger {
  margin-top: 5px;
  font-size: 0.78rem;
  color: #e11d48;
}
.contact-modal-content .submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  margin-top: 6px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(36, 86, 255, 0.28);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
}
.contact-modal-content .submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(36, 86, 255, 0.36);
}
.contact-modal-content .submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.contact-modal-content .submit-btn .loader {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: csiSpin 0.7s linear infinite;
}
@keyframes csiSpin {
  to {
    transform: rotate(360deg);
  }
}
.form-message-modal {
  margin-top: 12px;
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .contact-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  .contact-modal-content .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-modal-header {
    padding: 16px 18px;
  }
  .contact-modal-body {
    padding: 18px;
  }
}

/* =====================================================================
   CHATBOT
   ===================================================================== */
.chatbot-widget {
  position: fixed;
  bottom: 35px;
  right: 20px;
  z-index: 9999;
}
.chatbot-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #ff863d;
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 134, 61, 0.4);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.chatbot-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 134, 61, 0.5);
}
.chatbot-toggle .material-symbols-outlined {
  font-size: 24px;
}
.chatbot-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 380px;
  height: 550px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(26, 20, 78, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-window.open {
  display: flex;
}
.chatbot-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #5c5bff, #7b7aff);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.chatbot-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f7f5ff;
}
.chatbot-message {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c5bff, #7b7aff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.user-message .message-avatar {
  background: var(--grad-warm);
}
.message-content {
  flex: 1;
}
.message-content p {
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(26, 20, 78, 0.05);
}
.user-message {
  flex-direction: row-reverse;
}
.user-message .message-content p {
  background: var(--grad-warm);
  color: #1b1010;
}
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.quick-reply {
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.quick-reply:hover {
  background: #5c5bff;
  color: #fff;
  border-color: #5c5bff;
}
.chatbot-input {
  padding: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}
.chatbot-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  outline: none;
}
.chatbot-input input:focus {
  border-color: #5c5bff;
}
.chatbot-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c5bff, #7b7aff);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767.98px) {
  .chatbot-window {
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    border-radius: 0;
  }
}

/* =====================================================================
   LEGACY / INNER PAGES (kept for other templates)
   ===================================================================== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0 120px;
  overflow: hidden;
  margin-top: 102px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg.active {
  opacity: 1;
  z-index: 1;
}
.hero-bg.inactive {
  opacity: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
}
.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-logo-wrap {
  margin-bottom: 14px;
}
.hero-logo {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  margin: 0 auto;
}
.hero-title {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.hero-subtitle {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 20px;
}
.hero-search {
  display: flex;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 14px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-search-input-wrap {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
}
.hero-search-input-wrap .material-symbols-outlined {
  font-size: 20px;
}
.hero-search-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
}
.hero-search-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.hero-search-btn {
  border-radius: 999px;
  padding: 10px 24px;
  margin: 4px;
  background: var(--amber);
  border: none;
  color: #1b1010;
  font-weight: 600;
  cursor: pointer;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
.chip {
  border-radius: 999px;
  border: none;
  padding: 4px 12px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hero-note {
  font-size: 0.8rem;
  opacity: 0.9;
}
.hero-note a {
  color: #fedf8c;
}

.explore {
  padding: 40px 0 30px;
  position: relative;
}
.explore-inner {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 16px 50px rgba(26, 20, 78, 0.08);
}
.explore-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
}
.explore-bg-circle-1 {
  width: 180px;
  height: 180px;
  background: #ffe7cc;
  left: 10%;
  top: -40px;
}
.explore-bg-circle-2 {
  width: 180px;
  height: 180px;
  background: #e4e3ff;
  right: 12%;
  bottom: -40px;
}
.explore-head h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.explore-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.category-chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  background: #fff;
  cursor: pointer;
  color: #272747;
  text-decoration: none;
  transition: all 0.2s;
}
.category-chip:hover {
  border-color: #c4c0ff;
  box-shadow: 0 4px 18px rgba(85, 78, 255, 0.12);
  transform: translateY(-2px);
}
.chip-icon {
  font-size: 18px;
}
.explore-foot {
  margin-top: 18px;
  text-align: center;
}
.link-arrow {
  font-size: 0.85rem;
  color: #5c5bff;
  text-decoration: none;
  font-weight: 500;
}
.link-arrow::after {
  content: "→";
  margin-left: 4px;
  font-size: 0.85em;
}

.faq {
  padding: 26px 0 40px;
}
.faq-list {
  max-width: 760px;
  margin: 18px auto 0;
}
.faq-item {
  border-bottom: 1px solid #e3e2ff;
}
.faq-question {
  width: 100%;
  padding: 12px 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.85rem;
  color: var(--body-text);
  transition: max-height 0.2s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 8px;
}
.faq-icon {
  font-size: 20px;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.page-section {
  display: none;
  min-height: 60vh;
  padding: 40px 0 60px;
}
.page-section.active {
  display: block;
}
.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-title {
  font-size: 2.2rem;
  margin: 12px 0 8px;
  font-weight: 700;
}
.page-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}
.page-content {
  max-width: 900px;
  margin: 0 auto;
}
.content-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}
.content-card h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--ink);
}
.content-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body-text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.benefit-item {
  text-align: center;
  padding: 20px;
  background: #f7f5ff;
  border-radius: 14px;
  transition: transform 0.3s;
}
.benefit-item:hover {
  transform: translateY(-4px);
}
.benefit-item .material-symbols-outlined {
  font-size: 40px;
  color: #5c5bff;
  margin-bottom: 12px;
}
.benefit-item h3 {
  font-size: 1rem;
  margin: 8px 0 4px;
}
.benefit-item p {
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.pricing-item {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(135deg, #f7f5ff, #fff);
  border: 2px solid var(--line);
  border-radius: 18px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.pricing-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #ffdca8, var(--amber));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-icon .material-symbols-outlined {
  font-size: 32px;
  color: #1b1010;
}
.pricing-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.pricing-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5c5bff;
  margin: 8px 0;
}
.pricing-item p {
  font-size: 0.85rem;
  color: var(--muted);
}

.facilities-list {
  margin-top: 24px;
}
.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f7f5ff;
  border-radius: 14px;
  margin-bottom: 12px;
}
.facility-item .material-symbols-outlined {
  font-size: 32px;
  color: #5c5bff;
  flex-shrink: 0;
}
.facility-item h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--ink);
}
.facility-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 767.98px) {
  .hero {
    padding: 60px 0 80px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
}

/* =====================================================================
   ACCESSIBILITY — respect reduced-motion preference
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none;
    padding-left: 0;
  }
}

/* header */
/* =====================================================================
       HEADER — everything is scoped to .main-header so nothing leaks
       into the rest of the site (.container, .btn-login, html/body …)
       ===================================================================== */
.main-header {
  --hd-bg: #0b1020;
  --hd-panel: #131a33;
  --hd-accent: #3b82f6;
  --hd-accent-2: #00b8d4;
  --hd-text: rgba(255, 255, 255, 0.78);
  --hd-h: 74px;

  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 0;
  background: rgba(11, 16, 32, 0.97) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.main-header.scrolled {
  background: var(--hd-bg) !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

/* page-scroll progress line */
.main-header .header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--hd-accent),
    var(--hd-accent-2),
    #ffb54a
  );
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
  pointer-events: none;
}

.main-header .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--hd-h);
  background: transparent !important;
}

/* ====== BRAND ====== */
.main-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.main-header .brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 2px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.main-header .brand:hover .brand-logo {
  transform: scale(1.06) rotate(-3deg);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.main-header .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.main-header .brand-subtitle {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
  opacity: 1;
}
.main-header .brand-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
}

/* ====== NAV ====== */
.main-header .main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-header .nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-header .nav-list > li {
  position: relative;
}

.main-header .nav-list > li > a,
.main-header .nav-list > li > .dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hd-text) !important;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.main-header .nav-list > li > a:hover,
.main-header .nav-list > li > .dropdown-toggle:hover,
.main-header .nav-item:focus-within > .dropdown-toggle {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

/* active: tinted pill + small gradient indicator */
.main-header .nav-list > li > a.active,
.main-header .nav-list > li > .dropdown-toggle.active {
  color: #fff !important;
  background: rgba(59, 130, 246, 0.2);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.main-header .nav-list > li > a.active::after,
.main-header .nav-list > li > .dropdown-toggle.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hd-accent), var(--hd-accent-2));
  transform: translateX(-50%);
}

.main-header a:focus-visible,
.main-header button:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
  border-radius: 10px;
}

/* ====== DROPDOWN ARROW (single arrow, ::before only) ====== */
.main-header .dropdown-toggle::after {
  content: none !important;
  display: none !important;
}

.main-header .dropdown-toggle::before {
  content: "";
  order: 2;
  display: inline-block;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.main-header .nav-item:hover > .dropdown-toggle::before,
.main-header .dropdown-toggle[aria-expanded="true"]::before {
  transform: rotate(180deg);
}

/* ====== DROPDOWN MENU ====== */
.main-header .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  display: none;
  z-index: 999;
  background: var(--hd-panel) !important;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  animation: hdDropdownFade 0.2s ease;
}

/* little caret on top of the panel */
.main-header .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 26px;
  width: 12px;
  height: 12px;
  background: var(--hd-panel);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  transform: rotate(45deg);
}

.main-header .dropdown-menu.align-right {
  left: auto;
  right: 0;
}
.main-header .dropdown-menu.align-right::before {
  left: auto;
  right: 26px;
}

/* Facilities: two-column menu */
.main-header .dropdown-menu.menu-grid {
  min-width: 480px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px 6px;
}

@keyframes hdDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1151px) {
  .main-header .nav-item:hover > .dropdown-menu,
  .main-header .nav-item:focus-within > .dropdown-menu {
    display: block;
  }

  .main-header .nav-item:hover > .dropdown-menu.menu-grid,
  .main-header .nav-item:focus-within > .dropdown-menu.menu-grid,
  .main-header .dropdown-menu.menu-grid.open {
    display: grid;
  }

  /* invisible bridge so the menu doesn't close while the mouse travels down */
  .main-header .nav-item.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
  }
}

.main-header .dropdown-menu.open {
  display: block;
}

.main-header .dropdown-menu li {
  list-style: none;
}

.main-header .dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--hd-text) !important;
  text-decoration: none;
  border-radius: 10px;
  background: transparent !important;
  border: none !important;
  white-space: normal;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.main-header .dropdown-menu li a .material-symbols-outlined {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 9px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.main-header .dropdown-menu li a:hover {
  background: rgba(59, 130, 246, 0.16) !important;
  color: #fff !important;
  transform: translateX(3px);
}

.main-header .dropdown-menu li a:hover .material-symbols-outlined {
  background: linear-gradient(135deg, var(--hd-accent), var(--hd-accent-2));
  color: #fff;
}

/* ====== ACTIONS ====== */
.main-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.main-header .nav-actions .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #2456ff, #00b8d4);
  color: #fff !important;
  border-radius: 12px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(36, 86, 255, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.main-header .nav-actions .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(36, 86, 255, 0.55);
  filter: brightness(1.06);
}

.main-header .nav-actions .btn-login:active {
  transform: translateY(0);
}

.main-header .login-mobile {
  display: none !important;
}
.main-header .login-desktop {
  display: inline !important;
}

/* user menu */
.main-header .user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-header .user-name-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.main-header .user-name-link:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.main-header .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2456ff, #00b8d4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(36, 86, 255, 0.45);
}

.main-header .user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-header .logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: 12px;
  color: #f87171;
  cursor: pointer;
  transition: all 0.2s ease;
}

.main-header .logout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  transform: translateY(-1px);
}

.main-header .logout-btn svg {
  width: 18px;
  height: 18px;
}

/* ====== MOBILE TOGGLE ====== */
.main-header .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.main-header .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}
.main-header .nav-toggle .material-symbols-outlined {
  font-size: 26px;
}

body.nav-open {
  overflow: hidden;
}

/* ====== RESPONSIVE (tablet + mobile) ====== */
@media (max-width: 1150px) {
  .main-header .nav-toggle {
    display: inline-flex;
  }

  .main-header .main-nav {
    /* reset anything coming from style.css mobile-nav rules */
    position: fixed;
    right: auto;
    top: var(--hd-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--hd-h));
    height: calc(100dvh - var(--hd-h));
    transform: translateX(-100%);
    opacity: 1;
    pointer-events: none;
    visibility: hidden;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 20px 40px;
    background: var(--hd-bg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.3s;
  }

  .main-header .main-nav.active {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s;
  }

  .main-header .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
  }
  .main-header .nav-list > li {
    width: 100%;
  }

  .main-header .nav-list > li > a,
  .main-header .nav-list > li > .dropdown-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 0.97rem;
    border-radius: 12px;
  }

  /* arrow sits on the right in the mobile list */
  .main-header .dropdown-toggle::before {
    margin-left: auto;
    order: 3;
  }

  .main-header .nav-list > li > a.active::after,
  .main-header .nav-list > li > .dropdown-toggle.active::after {
    display: none;
  }

  .main-header .dropdown-menu,
  .main-header .dropdown-menu.menu-grid {
    position: static;
    min-width: 0;
    display: none;
    margin: 6px 0 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    border-radius: 12px;
    animation: none;
  }

  .main-header .dropdown-menu::before {
    display: none;
  }
  .main-header .dropdown-menu.open {
    display: block;
  }
  .main-header .dropdown-menu.menu-grid.open {
    display: grid;
    grid-template-columns: 1fr;
  }
  .main-header .dropdown-menu li a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .main-header .nav-actions {
    width: 100%;
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .main-header .nav-actions .btn-login {
    width: 100%;
    padding: 14px;
    font-size: 0.92rem;
  }
  .main-header .user-menu {
    width: 100%;
    justify-content: space-between;
    padding: 4px;
  }
  .main-header .user-name-link {
    flex: 1;
    justify-content: flex-start;
  }
  .main-header .user-name {
    max-width: none;
  }

  .main-header .login-desktop {
    display: none !important;
  }
  .main-header .login-mobile {
    display: inline !important;
  }
}

@media (max-width: 480px) {
  .main-header {
    --hd-h: 66px;
  }
  .main-header .container {
    padding: 0 16px;
  }
  .main-header .brand-logo {
    width: 40px;
    height: 40px;
  }
  .main-header .brand-title {
    font-size: 0.92rem;
  }
  .main-header .brand-subtitle {
    font-size: 0.55rem;
  }
}

@media (hover: none) {
  .main-header .dropdown-menu li a:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-header *,
  .main-header *::before,
  .main-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
