/* ==============================================================================
   Dr. Basma Elsheikh — Personal Dermatology & Aesthetics Website
   Premium Bilingual CSS Architecture (Arabic RTL / English LTR)
   ============================================================================== */

/* ==============================================================================
   Local @font-face Definitions (Offline-First Guaranteed Loading)
   ============================================================================== */
@font-face {
  font-family: 'IBM Plex Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('IBM Plex Arabic Light'), local('IBM Plex Sans Arabic Light'),
       url('../fonts/ibm-plex-arabic-300.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('IBM Plex Arabic Regular'), local('IBM Plex Sans Arabic Regular'), local('IBM Plex Arabic'), local('IBM Plex Sans Arabic'),
       url('../fonts/ibm-plex-arabic-400.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('IBM Plex Arabic Medium'), local('IBM Plex Sans Arabic Medium'),
       url('../fonts/ibm-plex-arabic-500.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('IBM Plex Arabic SemiBold'), local('IBM Plex Sans Arabic SemiBold'),
       url('../fonts/ibm-plex-arabic-600.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('IBM Plex Arabic Bold'), local('IBM Plex Sans Arabic Bold'),
       url('../fonts/ibm-plex-arabic-700.ttf') format('truetype');
}

/* Also alias 'IBM Plex Sans Arabic' */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('IBM Plex Arabic Light'), local('IBM Plex Sans Arabic Light'),
       url('../fonts/ibm-plex-arabic-300.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('IBM Plex Arabic Regular'), local('IBM Plex Sans Arabic Regular'), local('IBM Plex Arabic'), local('IBM Plex Sans Arabic'),
       url('../fonts/ibm-plex-arabic-400.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('IBM Plex Arabic Medium'), local('IBM Plex Sans Arabic Medium'),
       url('../fonts/ibm-plex-arabic-500.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('IBM Plex Arabic SemiBold'), local('IBM Plex Sans Arabic SemiBold'),
       url('../fonts/ibm-plex-arabic-600.ttf') format('truetype');
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('IBM Plex Arabic Bold'), local('IBM Plex Sans Arabic Bold'),
       url('../fonts/ibm-plex-arabic-700.ttf') format('truetype');
}

/* Google Fonts Online CDN Fallback */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Color Palette */
  --bg-primary: #FAF8F6;
  --bg-secondary: #EFE4DC;
  --bg-tertiary: #F6EDE6;
  --bg-card: #FFFFFF;
  --brand-rose: #C99A93;
  --brand-rose-light: #E7C9C4;
  --brand-rose-soft: rgba(201, 154, 147, 0.12);
  --brand-gold: #B69A72;
  --brand-gold-light: #E5C788;
  --brand-gold-dark: #8C6F47;
  --brand-gold-soft: rgba(182, 154, 114, 0.15);
  
  --text-primary: #332C2A;
  --text-secondary: #5C524F;
  --text-muted: #8A7E7A;
  
  --border-subtle: rgba(182, 154, 114, 0.22);
  --border-card: rgba(182, 154, 114, 0.16);
  --border-hover: rgba(182, 154, 114, 0.45);
  
  --shadow-sm: 0 2px 8px rgba(51, 44, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(51, 44, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(51, 44, 42, 0.09);
  --shadow-gold: 0 8px 25px rgba(182, 154, 114, 0.22);

  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;
  --whatsapp-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --font-ar: "IBM Plex Arabic", sans-serif;
  --font-en: "IBM Plex Sans", sans-serif;
  --font-arabic: var(--font-ar);
  --font-english: var(--font-en);
  --btn-rose: #9F6966;
  --btn-rose-hover: #885451;
  --container-max: 1180px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.7;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  font-family: var(--font-ar);
}

/* ==============================================================================
   FORCED TYPOGRAPHY: Universal Explicit Enforcement of IBM Plex Arabic & Sans
   Strict zero letter-spacing in Arabic (natural letter joining)
   ============================================================================== */
html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] *:not(svg):not(path):not(circle):not(rect):not(polygon):not(polyline):not(line):not(i):not([class*="icon"]),
html[lang="ar"] *:not(svg):not(path):not(circle):not(rect):not(polygon):not(polyline):not(line):not(i):not([class*="icon"]) {
  font-family: var(--font-ar) !important;
}

html[lang="ar"] *,
html[dir="rtl"] * {
  letter-spacing: normal !important;
  text-transform: none !important;
}

html[dir="ltr"],
html[dir="ltr"] body,
html[dir="ltr"] *:not(svg):not(path):not(circle):not(rect):not(polygon):not(polyline):not(line):not(i):not([class*="icon"]),
html[lang="en"] *:not(svg):not(path):not(circle):not(rect):not(polygon):not(polyline):not(line):not(i):not([class*="icon"]) {
  font-family: var(--font-en) !important;
}

button, input, select, textarea, optgroup {
  font-family: inherit !important;
}

section, [id] {
  scroll-margin-top: 90px;
  max-width: 100%;
  overflow-x: clip;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
    margin-inline: auto;
  }
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(250, 248, 246, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 60%;
}

.brand-logo img,
.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.lang-switcher:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-gold);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #B69A72 0%, #A28257 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #C2A77E 0%, #8C6F47 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(182, 154, 114, 0.32);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--brand-gold);
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  box-shadow: var(--whatsapp-shadow);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.btn-rose {
  background-color: var(--btn-rose);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(159, 105, 102, 0.28);
}

.btn-rose:hover {
  background-color: var(--btn-rose-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(159, 105, 102, 0.38);
}

.btn-app {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-app:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  padding: 10px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 1001;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  width: 310px;
  max-width: 85vw;
  background-color: #FFFFFF !important;
  z-index: 99999 !important;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  transition: transform var(--transition-normal), -webkit-transform var(--transition-normal), opacity var(--transition-normal);
  -webkit-transition: -webkit-transform var(--transition-normal), transform var(--transition-normal), opacity var(--transition-normal);
  visibility: hidden;
  opacity: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
}

html[dir="rtl"] .mobile-drawer {
  right: 0 !important;
  left: auto !important;
  transform: translate3d(100%, 0, 0);
  -webkit-transform: translate3d(100%, 0, 0);
}

html[dir="ltr"] .mobile-drawer {
  left: 0 !important;
  right: auto !important;
  transform: translate3d(-100%, 0, 0);
  -webkit-transform: translate3d(-100%, 0, 0);
}

.mobile-drawer.open,
html[dir="rtl"] .mobile-drawer.open,
html[dir="ltr"] .mobile-drawer.open {
  transform: translate3d(0, 0, 0) !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(51, 44, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99990 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  -webkit-transition: opacity var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Mobile Drawer Header */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-logo {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-primary);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: var(--border-subtle);
  color: var(--admin-danger);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--brand-accent);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Announcement Banner */
.announcement-banner {
  background: linear-gradient(135deg, #B69A72 0%, #A28257 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: calc(80px + 3.5rem);
  padding-bottom: 4.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(201, 154, 147, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(182, 154, 114, 0.1) 0%, transparent 60%);
}

/* Subtle Organic / Cellular Background Decor */
.cellular-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.cellular-decor-1 {
  top: 10%;
  inset-inline-start: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(239, 228, 220, 0.7) 0%, rgba(250, 248, 246, 0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.cellular-decor-2 {
  bottom: 5%;
  inset-inline-end: 5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(201, 154, 147, 0.2) 0%, rgba(250, 248, 246, 0) 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: floatOrb 16s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -20px) scale(1.05); }
  100% { transform: translate(-15px, 25px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge-wrap,
.hero-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-emblem-badge {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(182, 154, 114, 0.2);
}

.hero-mobile-brand {
  display: none;
  width: 100%;
  margin-bottom: 1.25rem;
}

.hero-mobile-logo {
  display: block;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  direction: ltr;
  transform: none;
}

.hero-badge-text,
.hero-eyebrow {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
}

html[lang="en"] .hero-badge-text,
html[lang="en"] .hero-eyebrow {
  letter-spacing: 0.5px;
}

.hero-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.25rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.hero-title-emblem {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-specialty {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}

.hero-portrait-mobile {
  display: none;
}

.hero-headline {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--brand-rose);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Benefit Strip */
.benefit-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.benefit-divider {
  color: var(--border-subtle);
  font-size: 1.1rem;
  font-weight: 300;
  user-select: none;
}

.benefit-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.benefit-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Hero Portrait Frame */
.hero-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Floating Quote Callout Beside Doctor */
.hero-floating-quote {
  position: absolute;
  top: 25%;
  inset-inline-start: -35px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-md);
  max-width: 200px;
  text-align: center;
}

.quote-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.quote-line {
  width: 36px;
  height: 2px;
  background: var(--brand-gold);
  margin: 0.5rem auto;
}

.quote-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-rose);
  line-height: 1.4;
  font-style: italic;
}

.hero-portrait-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.hero-portrait-card:hover {
  transform: translateY(-4px);
}

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

.portrait-badge-exp {
  position: absolute;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.exp-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  line-height: 1;
}

.exp-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* Section Common */
.section {
  padding-block: 5.5rem;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-tertiary);
}

.section-heading,
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  margin-bottom: 0.6rem;
}

html[lang="en"] .section-badge {
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title-row,
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0.85rem;
  width: 100%;
}

.section-title-line {
  width: 50px;
  height: 1px;
  background: var(--brand-gold);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .section-title-line {
    width: 32px;
  }
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.about-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-block: 2rem;
}

.about-script-accent {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-rose);
  font-style: italic;
  margin-top: 1.5rem;
  line-height: 1.4;
  opacity: 0.95;
}

.feature-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  color: var(--brand-gold);
  margin-bottom: 0.85rem;
}

.feature-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.feature-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Affiliation Banner Box */
.affiliation-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.affiliation-box img {
  height: 44px;
  width: auto;
}

.affiliation-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
}

.affiliation-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Qualifications Section */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

.qualification-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.qualification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #B69A72, #C99A93);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.qualification-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-lg);
}

.qualification-card:hover::before {
  opacity: 1;
}

.qual-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  color: var(--brand-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.qual-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.qual-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Qualifications Quote Banner */
.qual-quote-card {
  background: linear-gradient(135deg, rgba(239, 228, 220, 0.7) 0%, rgba(246, 237, 230, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.qual-quote-card::after {
  content: '“';
  position: absolute;
  inset-inline-end: 2rem;
  top: 0.25rem;
  font-size: 5.5rem;
  color: rgba(182, 154, 114, 0.18);
  line-height: 1;
  pointer-events: none;
}

.qual-quote-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-inline: auto;
  max-width: 720px;
}

/* Services Sub Strip */
.services-sub-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  margin-bottom: 2.75rem;
}

html[lang="en"] .services-sub-strip {
  letter-spacing: 0.5px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-lg);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--brand-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  border: 1px solid var(--border-subtle);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.treatment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.treatment-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.service-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.service-detail-btn .btn-arrow {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

html[dir="rtl"] .service-detail-btn:hover .btn-arrow {
  transform: translateX(-4px);
}

html[dir="ltr"] .service-detail-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.service-detail-btn:hover {
  color: var(--text-primary);
}

/* Appointment Section */
.appointment-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

.appointment-option-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
}

.appointment-option-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.opt-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.opt-icon-wa {
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-green);
}

.opt-icon-app {
  background: var(--bg-secondary);
  color: var(--brand-gold-dark);
}

.opt-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.opt-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

/* 3-Card Appointment Grid (Matching Reference) */
.appointment-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.appointment-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  transition: all var(--transition-normal);
  position: relative;
}

.appointment-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-lg);
}

.wad-logo-card {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.wad-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.wad-card-address {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.wad-card-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-rose);
  margin-top: auto;
}

.phone-mockup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 100%;
  min-height: 190px;
}

.phone-mockup-img {
  max-width: 170px;
  max-height: 270px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 10px 22px rgba(51, 44, 42, 0.16));
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.appointment-card:hover .phone-mockup-img {
  transform: translateY(-5px) scale(1.03);
  filter: drop-shadow(0 14px 28px rgba(182, 154, 114, 0.28));
}

.wad-app-card-logo {
  display: block;
  height: auto;
  max-width: 130px;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: 0.65rem;
  direction: ltr;
  transform: none;
}

.app-badges-wrap {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  flex-wrap: wrap;
}

.app-badge-img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.app-badge-img:hover {
  transform: translateY(-2px);
}

/* Location Section */
.location-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.location-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-block: 1.5rem;
}

.location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.location-info-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* Social Media Strip */
.socials-section {
  text-align: center;
  padding-block: 3.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.socials-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--brand-gold);
  color: #FFFFFF;
  border-color: var(--brand-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* Footer Social Links */
.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-social-wrap {
  margin-top: 1.75rem;
}

.footer-social-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #E5C788;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-links .social-link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FAF8F6;
  box-shadow: none;
}

.footer-social-links .social-link:hover,
.footer-social-links .social-link:focus-visible {
  background: var(--brand-gold);
  color: #FFFFFF;
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(182, 154, 114, 0.35);
}

.footer-social-links .social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.site-footer {
  background: #2A2422;
  color: #EFE4DC;
  padding-block: 4rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 0.85rem;
  object-fit: contain;
  direction: ltr;
  transform: none;
}

.footer-tagline {
  font-weight: 500;
  color: #E5C788;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
}

.footer-affiliation-text {
  font-size: 0.88rem;
  color: #B0A49F;
  line-height: 1.6;
}

.footer-wad-block {
  margin-top: 1.5rem;
}

.footer-wad-label {
  display: block;
  font-size: 0.82rem;
  color: #8E7F7A;
  margin-bottom: 0.5rem;
}

.wad-affiliation-logo {
  display: block;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.2);
  direction: ltr;
  transform: none;
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FAF8F6;
  margin-bottom: 0.5rem;
}

.footer-brand-sub {
  font-size: 0.95rem;
  color: #B69A72;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.88rem;
  color: #B0A49F;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FAF8F6;
  margin-bottom: 1.25rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: #B0A49F;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: #FAF8F6;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8E7F7A;
}

.scroll-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #B69A72;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.scroll-top-btn:hover {
  color: #FAF8F6;
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(51, 44, 42, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-secondary);
}

/* Subtle Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Entrance Delays */
.hero-content .hero-mobile-brand    { transition-delay: 0.05s; }
.hero-content .hero-eyebrow-wrap    { transition-delay: 0.1s; }
.hero-content .hero-title-group     { transition-delay: 0.15s; }
.hero-content .hero-specialty       { transition-delay: 0.2s; }
.hero-content .hero-portrait-mobile { transition-delay: 0.25s; }
.hero-content .hero-headline        { transition-delay: 0.3s; }
.hero-content .hero-subtext         { transition-delay: 0.35s; }
.hero-content .hero-actions         { transition-delay: 0.4s; }
.hero-content .benefit-strip        { transition-delay: 0.45s; }

.qualifications-grid .qual-card:nth-child(1) { transition-delay: 0.1s; }
.qualifications-grid .qual-card:nth-child(2) { transition-delay: 0.2s; }
.qualifications-grid .qual-card:nth-child(3) { transition-delay: 0.3s; }

.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }

.appointment-grid-3 .appointment-card:nth-child(1) { transition-delay: 0.1s; }
.appointment-grid-3 .appointment-card:nth-child(2) { transition-delay: 0.2s; }
.appointment-grid-3 .appointment-card:nth-child(3) { transition-delay: 0.3s; }

/* Interactive Hover Animations */
.service-card,
.qual-card,
.appointment-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.service-card:hover,
.qual-card:hover,
.appointment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(51, 44, 42, 0.09);
}

.action-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
  line-height: 1;
}

html[lang="ar"] .service-detail-btn:hover .action-arrow,
html[lang="ar"] .btn:hover .action-arrow {
  transform: translateX(-4px);
}

html[lang="en"] .service-detail-btn:hover .action-arrow,
html[lang="en"] .btn:hover .action-arrow {
  transform: translateX(4px);
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .action-arrow,
  .service-card:hover,
  .qual-card:hover,
  .appointment-card:hover,
  .social-link:hover,
  .phone-mockup-img:hover,
  .app-badge-img:hover {
    transform: none !important;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.25rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .hero-portrait-wrap {
    display: none !important;
  }
  .hero-portrait-mobile {
    display: block !important;
    width: 100%;
    max-width: 320px;
    margin: 1.25rem auto 1.5rem;
  }
  .hero-badge-wrap,
  .hero-eyebrow-wrap {
    margin-inline: auto;
  }
  .hero-title-group {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .hero-specialty {
    text-align: center;
    width: 100%;
  }
  .hero-headline,
  .hero-subtext {
    text-align: center;
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .benefit-strip {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hero-floating-quote {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-content .section-title-wrap {
    justify-content: center !important;
  }
  .about-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .qualifications-grid,
  .appointment-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .location-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .location-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .location-details .section-title-wrap {
    justify-content: center !important;
  }
  .location-info-list {
    align-items: center;
  }
  .location-info-item {
    justify-content: center;
    text-align: center;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }
  .brand-logo img,
  .brand-logo-img {
    height: 38px;
    max-width: 165px;
  }
  .hero-mobile-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
    width: 100%;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-inline: auto;
  }
  .hero-eyebrow-wrap,
  .hero-title-group,
  .hero-specialty,
  .hero-headline,
  .hero-subtext,
  .hero-actions,
  .benefit-strip {
    width: 100%;
    margin-inline: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .hero-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-cards-row {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .qualifications-grid,
  .appointment-card-grid,
  .appointment-grid-3 {
    grid-template-columns: 1fr;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .benefit-strip {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .benefit-divider {
    display: none;
  }
  .section {
    padding-block: 4rem;
  }
  .hero-section {
    padding-top: calc(80px + 2rem);
    padding-bottom: 3.5rem;
  }
  .hero-portrait-card {
    max-width: 320px;
    margin-inline: auto;
  }
  .socials-section {
    padding-block: 2.75rem;
  }
  .social-links {
    gap: 0.85rem;
    justify-content: center;
  }
  .social-link {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
  }

  /* Exact Mobile Footer Stacking Order (Section 7) */
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .footer-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* 1, 2, 3: Dr. Basma Logo, Tagline, Affiliation Text */
  .footer-col-brand {
    order: 1;
  }
  .footer-brand-logo {
    margin-inline: auto;
    max-width: 240px;
    height: auto;
    display: block;
  }
  .footer-tagline {
    text-align: center;
    margin-top: 0.75rem;
  }
  .footer-affiliation-text {
    text-align: center;
    margin-top: 0.35rem;
  }
  /* 4, 5: Social Heading & Social Icons */
  .footer-col-social-wad {
    order: 2;
  }
  .footer-social-wrap {
    order: 1;
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }
  .footer-social-title {
    text-align: center;
    margin-bottom: 0.75rem;
  }
  .footer-social-links {
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  /* 6: Quick Links */
  .footer-col-services,
  .footer-col-appointment {
    order: 3;
  }
  .footer-heading {
    text-align: center;
  }
  .footer-nav {
    align-items: center;
    text-align: center;
  }
  /* 7: WAD Logo Centered */
  .footer-wad-block {
    order: 4;
    width: 100%;
    margin-top: 1.75rem;
    text-align: center;
  }
  .footer-wad-label {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .wad-affiliation-logo {
    margin-inline: auto;
    width: min(220px, 80vw);
    max-width: 220px;
    height: auto;
    display: block;
    object-fit: contain;
    direction: ltr;
    transform: none;
  }
}

@media (max-width: 480px) {
  .brand-logo img,
  .brand-logo-img {
    height: 32px;
    max-width: 140px;
  }
  .hero-eyebrow {
    font-size: 0.8rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 5vw, 2.1rem);
    text-align: center;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .appointment-option-card,
  .appointment-card {
    padding: 2rem 1.25rem;
  }
  .socials-section {
    padding-block: 2.25rem;
  }
  .socials-title {
    font-size: 1.15rem;
    padding-inline: 0.5rem;
  }
  .social-links {
    gap: 0.65rem;
    padding-inline: 0.5rem;
    justify-content: center;
  }
  .social-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .site-footer {
    padding-block: 3rem 1.5rem;
  }
  .footer-top {
    text-align: center;
    gap: 2rem;
  }
  .footer-social-links .social-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding-top: 1.5rem;
  }
}


