/* ==========================================================================
   ECMG – Emirates Confidently Medical Center
   Premium Luxury Medical & Aesthetic Center Stylesheet
   Al Ain & Dubai, United Arab Emirates
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --color-navy: #17283A;
  --color-navy-dark: #0F1C2A;
  --color-navy-light: #263746;
  --color-navy-rgb: 23, 40, 58;

  --color-gold: #B28A55;
  --color-gold-hover: #9E7745;
  --color-gold-light: #CBB084;
  --color-gold-muted: rgba(178, 138, 85, 0.12);
  --color-gold-rgb: 178, 138, 85;

  --color-ivory: #F8F5EF;
  --color-ivory-light: #FBFAF7;
  --color-white: #FFFFFF;
  --color-text: #263746;
  --color-text-muted: #5E7184;
  --color-text-light: #8E9EAF;
  --color-border: #E8E2D6;
  --color-border-light: rgba(232, 226, 214, 0.6);

  /* Nav & UI aliases */
  --primary: #B28A55;
  --background_light: #F8F5EF;
  --text: #263746;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations & Shadows */
  --shadow-subtle: 0 4px 20px rgba(23, 40, 58, 0.04);
  --shadow-card: 0 10px 30px rgba(23, 40, 58, 0.06);
  --shadow-hover: 0 20px 40px rgba(23, 40, 58, 0.1);
  --shadow-gold: 0 10px 25px rgba(178, 138, 85, 0.25);

  /* Layout & Transitions */
  --container-max: 1320px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-ivory-light);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }

/* --------------------------------------------------------------------------
   3. Utility Classes & Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-spacing {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.section-spacing-sm {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.bg-ivory { background-color: var(--color-ivory); }
.bg-ivory-light { background-color: var(--color-ivory-light); }
.bg-white { background-color: var(--color-white); }
.bg-navy { background-color: var(--color-navy); }
.bg-navy-dark { background-color: var(--color-navy-dark); }

.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-white); }

/* Editorial Eyebrow Header */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.eyebrow-light {
  color: var(--color-gold-light);
}

.section-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(178, 138, 85, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.btn-white:hover {
  background-color: var(--color-ivory);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: 0.85rem;
  color: var(--color-gold-hover);
}

/* --------------------------------------------------------------------------
   5. Sticky Header & Navigation
   -------------------------------------------------------------------------- */
.top-notice-bar {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-notice-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-notice-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.top-notice-contact a:hover {
  color: var(--color-gold-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 6px 30px rgba(23, 40, 58, 0.07);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Brand Wordmark */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(178, 138, 85, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Desktop Navigation & Dynamic Dropdown Menu - Compact
   -------------------------------------------------------------------------- */
.desktop-nav,
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  margin: 0 0.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-menu > li.menu-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-menu > li.menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap !important;
  padding: 0.55rem 0.2rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}

.nav-menu > li.menu-item > a:hover,
.nav-menu > li.menu-item:hover > a {
  color: var(--color-gold);
}

.nav-menu > li.menu-item > a .submenu-toggle {
  font-size: 0.625rem;
  color: var(--color-gold);
  transition: transform var(--transition-fast);
  margin-left: 0.25rem;
  pointer-events: none;
}

.nav-menu > li.menu-item:hover > a .submenu-toggle {
  transform: rotate(180deg);
}

/* Level 2 Dropdown Menu */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(23, 40, 58, 0.12);
  padding: 0.6rem 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1100;
  pointer-events: none;
}

.nav-menu li.menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-menu .sub-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav-menu .sub-menu a:hover {
  background-color: var(--color-ivory);
  color: var(--color-gold);
  padding-left: 1.5rem;
}

.nav-menu .sub-menu .submenu-toggle {
  font-size: 0.625rem;
  color: var(--color-text-muted);
}

/* Level 3 Dropdown Menu (Flyout to the right) */
.nav-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

.nav-menu .sub-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switch-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switch-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-ivory);
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-navy);
  transition: all var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   6. Mobile Off-Canvas Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 2000;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 40, 58, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mobile-drawer-links a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.mobile-drawer-links a:hover {
  color: var(--color-gold);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #FCFBF9 0%, #F5F1E8 100%);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

.hero-heading {
  font-size: clamp(2.75rem, 5.5vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
  text-wrap: balance;
}

.hero-heading span {
  color: var(--color-gold);
  font-style: italic;
}

.hero-description {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual-col {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(23, 40, 58, 0.12);
  border: 4px solid var(--color-white);
  background-color: var(--color-navy);
  aspect-ratio: 4 / 3;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

/* Floating Trust Cards on Hero */
.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  box-shadow: 0 15px 35px rgba(23, 40, 58, 0.08);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  z-index: 3;
  animation: floatSubtle 6s ease-in-out infinite;
}

.hero-floating-card.card-bottom-left {
  bottom: -1.5rem;
  left: -2rem;
}

.hero-floating-card.card-top-right {
  top: 2rem;
  right: -1.75rem;
  animation-delay: -3s;
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-gold-muted);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.floating-card-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-navy);
  line-height: 1.2;
}

.floating-card-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   8. Trust / Statistics Bar
   -------------------------------------------------------------------------- */
.trust-bar-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 1.5rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--color-border);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   9. Departments Section
   -------------------------------------------------------------------------- */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.dept-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  height: 100%;
}

.dept-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card);
}

.dept-card-media,
.dept-image-wrap {
  position: relative;
  height: 220px;
  width: 100%;
  background-color: var(--color-navy);
  overflow: hidden;
  flex-shrink: 0;
}

.dept-card-media img,
.dept-image-wrap img,
.dept-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.dept-card:hover .dept-card-media img,
.dept-card:hover .dept-image-wrap img,
.dept-card:hover .dept-img {
  transform: scale(1.06);
}

.dept-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(23, 40, 58, 0.85);
  backdrop-filter: blur(4px);
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(178, 138, 85, 0.3);
  z-index: 2;
}

.dept-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dept-title {
  font-size: 1.35rem;
  line-height: 1.35;
  min-height: 2.7rem;
  margin-bottom: 0.625rem;
  color: var(--color-navy);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

.dept-card:hover .dept-title {
  color: var(--color-gold);
}

.dept-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.dept-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gold);
  margin-top: auto;
}

.dept-footer i {
  transition: transform var(--transition-fast);
}

.dept-card:hover .dept-footer i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   10. Featured Treatments Section
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.treatment-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card);
}

.treatment-media,
.treatment-image-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  background-color: var(--color-navy);
  overflow: hidden;
  flex-shrink: 0;
}

.treatment-media img,
.treatment-image-wrapper img,
.treatment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.treatment-card:hover .treatment-media img,
.treatment-card:hover .treatment-image-wrapper img,
.treatment-card:hover .treatment-img {
  transform: scale(1.05);
}

.treatment-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-navy);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.treatment-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.treatment-card:hover .treatment-title {
  color: var(--color-gold);
}

.treatment-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.treatment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.treatment-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   11. About ECMG Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(23, 40, 58, 0.12);
  border: 4px solid var(--color-white);
  aspect-ratio: 4 / 3;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stat-overlay {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  max-width: 240px;
}

.about-stat-overlay .num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--color-gold-light);
  line-height: 1;
  display: block;
}

.about-stat-overlay .desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.point-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-gold-muted);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.point-text h4 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.point-text p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.dynamic-page-content {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.dynamic-page-content h1,
.dynamic-page-content h2,
.dynamic-page-content h3,
.dynamic-page-content h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.dynamic-page-content h1:first-child,
.dynamic-page-content h2:first-child,
.dynamic-page-content h3:first-child {
  margin-top: 0;
}

.dynamic-page-content p {
  margin-bottom: 1.25rem;
}

.dynamic-page-content ul,
.dynamic-page-content ol {
  margin: 1rem 0 1.5rem 1.25rem;
  padding-left: 1rem;
}

.dynamic-page-content li {
  margin-bottom: 0.5rem;
}

.dynamic-page-content blockquote {
  border-left: 3px solid var(--color-gold);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background-color: var(--color-ivory);
  font-style: italic;
  color: var(--color-navy);
}

.dynamic-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1rem 0;
}

/* --------------------------------------------------------------------------
   12. Doctors Section
   -------------------------------------------------------------------------- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.doctor-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card);
}

.doctor-media,
.doctor-image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  height: 280px;
  width: 100%;
  background-color: var(--color-navy);
  overflow: hidden;
  flex-shrink: 0;
}

.doctor-media img,
.doctor-image-wrap img,
.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-media img,
.doctor-card:hover .doctor-image-wrap img,
.doctor-card:hover .doctor-img {
  transform: scale(1.04);
}

.doctor-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-name {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
}

.doctor-specialty {
  font-size: 0.8125rem;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.doctor-credentials {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.doctor-footer {
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   13. Before & After Results (Interactive Dual-Layer Slider)
   -------------------------------------------------------------------------- */
.results-category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.results-tab-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  transition: all var(--transition-fast);
}

.results-tab-btn:hover,
.results-tab-btn.active {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.comparison-showcase {
  max-width: 900px;
  margin: 0 auto;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(23, 40, 58, 0.12);
  border: 4px solid var(--color-white);
  user-select: none;
  touch-action: pan-y;
  background-color: var(--color-navy-dark);
}

.ba-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  transition: clip-path 0.05s linear;
}

.ba-label {
  position: absolute;
  top: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.ba-label.before-label {
  right: 1.25rem;
  background-color: rgba(23, 40, 58, 0.85);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ba-label.after-label {
  left: 1.25rem;
  background-color: rgba(178, 138, 85, 0.9);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--color-white);
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 0.875rem;
  border: 2px solid var(--color-gold);
}

.ba-details-bar {
  margin-top: 1.5rem;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ba-case-info h4 {
  font-size: 1.25rem;
  color: var(--color-navy);
}

.ba-case-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   14. Why Choose ECMG Section
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.why-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-gold);
  transition: width var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-gold);
}

.why-card:hover::before {
  width: 100%;
}

.why-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 600;
}

.why-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.why-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. Testimonials & Google Reviews Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--color-ivory);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.test-stars {
  color: #F59E0B;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.test-quote {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-navy);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-border-light);
  padding-top: 1.25rem;
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.test-meta strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-navy);
}

.test-meta span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Google Trust Banner */
.google-trust-box {
  margin-top: 3.5rem;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.google-trust-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.google-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.google-score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.google-score-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

.google-stars {
  color: #EA4335;
  display: flex;
  gap: 0.2rem;
}

/* --------------------------------------------------------------------------
   16. FAQ Section
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-navy);
  font-weight: 500;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-ivory);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--color-gold);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   17. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: var(--color-white);
  padding: 6.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(178, 138, 85, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.cta-text {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-phone-indicator {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0F1A26;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-title {
  color: var(--color-white);
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 1.25rem 0 1.75rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-links a:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold-light);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
}

.footer-contact-item i {
  color: var(--color-gold);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   19. Appointment Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 28, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.modal-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.modal-header h3 {
  font-size: 1.85rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.modal-body {
  padding: 2rem 2.5rem;
}

.appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-ivory-light);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-navy);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(178, 138, 85, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-feedback {
  font-size: 0.75rem;
  color: #DC2626;
  display: none;
}

.form-control.is-invalid {
  border-color: #DC2626;
}

.form-control.is-invalid + .form-feedback {
  display: block;
}

/* Success State inside modal */
.modal-success-state {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.modal-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.booking-code-badge {
  display: inline-block;
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-gold);
  margin: 1.25rem 0;
}

/* --------------------------------------------------------------------------
   20. Floating Quick Contact & WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-contact-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.whatsapp-float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* Toast Notification */
.luxury-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.75rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  z-index: 4000;
  opacity: 0;
  transition: all var(--transition-smooth);
}

.luxury-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}








/* ===========================
   NAVIGATION & DROPDOWN STYLES
   =========================== */
.main-nav { flex: 1; display: flex; justify-content: center; }

.main-nav ul,
.main-nav ol {
  padding-left: 0;
  margin-bottom: 0;
}

.site-header a,
.main-nav a,
.sub-menu a {
  text-decoration: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item { position: relative; list-style: none; }

.menu-item > a {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.menu-item.current-menu-item > a {
  border-bottom: 1.5px solid #000;
  padding-bottom: 4px;
}

.menu-item > a:hover { color: var(--primary); }

.submenu-toggle {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* ===========================
   DESKTOP DROPDOWNS
   =========================== */
@media (min-width: 992px) {
  .menu-item-has-children {
    position: relative;
  }

  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 99;
  }

  /* Hover to reveal dropdowns */
  .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Nested Sub-menus (Right side opening) */
  .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 2px;
    transform: translateX(10px);
  }

  .sub-menu .menu-item-has-children:hover > .sub-menu {
    transform: translateX(0);
  }

  .sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px;
    font-size: 14px;
    color: var(--text, #333);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .sub-menu li a:hover {
    color: var(--primary);
    background: var(--background_light, #f8f9fa);
  }
}



/* ===========================
   MOBILE RESPONSIVE STYLES (< 992px)
   =========================== */
@media (max-width: 991px) {
  
  /* Navigation Drawer Slide-Down */
  .main-nav {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    flex-direction: column;
  }

  .main-nav.active {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .menu-item > a, .sub-menu li a {
    padding: 12px 10px;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
  }

  /* Accordion Submenu behaviour */
  .sub-menu {
    display: none;
    list-style: none;
    padding-left: 15px;
    background: #fafafa;
    border-radius: 8px;
    margin: 5px 0;
  }

  .sub-menu.open {
    display: block;
  }

  .menu-item-has-children.active > a .submenu-toggle {
    transform: rotate(180deg);
  }
}

