/* =============================================
   ALTEB ALRAQI Medical Center - Main Stylesheet
   Font: Cairo | RTL Layout
   Colors: #e53935 (red), #00bcd4 (cyan), #1565c0 (blue)
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --primary: #e53935;
  --primary-dark: #b71c1c;
  --primary-light: #ff6b35;
  --cyan: #00bcd4;
  --cyan-dark: #00838f;
  --blue: #1565c0;
  --blue-light: #1e88e5;
  --bg-body: #f8f9fa;
  --bg-alt: #eef2f7;
  --bg-card: #ffffff;
  --text-main: #1a2340;
  --text-sub: #5a6a8a;
  --text-muted: #8a9bba;
  --border: #dde3ef;
  --shadow: 0 8px 32px rgba(21,101,192,0.10);
  --shadow-hover: 0 16px 48px rgba(21,101,192,0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 80px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

body.dark-mode {
  --bg-body: #0d1120;
  --bg-alt: #141929;
  --bg-card: #1a2340;
  --text-main: #e8eaf6;
  --text-sub: #9aa8cc;
  --text-muted: #6a7a9a;
  --border: #2a3560;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.55);
}

/* ---- Language Control ---- */
body[data-lang="ar"] .txt-en,
body[data-lang="ar"] .nav-en,
body[data-lang="ar"] .logo-en { display: none !important; }
body[data-lang="en"] .txt-ar,
body[data-lang="en"] .nav-ar,
body[data-lang="en"] .logo-ar { display: none !important; }
body[data-lang="en"] { direction: ltr; }
body[data-lang="en"] .navbar,
body[data-lang="en"] .nav-container { direction: ltr; }

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  direction: rtl;
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

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

/* ===========================
   FLOATING BUTTONS
   =========================== */
.floating-actions {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
body[data-lang="en"] .floating-actions { left: auto; right: 24px; }

.fab-whatsapp {
  position: relative;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: fabFloat 3s ease-in-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.15); box-shadow: 0 10px 36px rgba(37,211,102,0.7); }

.fab-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: pulse 2s ease-out infinite;
}

@keyframes fabFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0% { transform: scale(1); opacity:1; }
  100% { transform: scale(1.8); opacity:0; }
}

.fab-theme {
  width: 48px; height: 48px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 18px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: var(--transition);
}
.fab-theme:hover { background: var(--blue); color: #fff; transform: rotate(20deg); }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  height: var(--nav-h);
}
body.dark-mode .navbar { background: rgba(13,17,32,0.95); }
.navbar.scrolled {
  height: 68px;
  box-shadow: 0 4px 24px rgba(21,101,192,0.12);
}

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  gap: 16px;
}

.nav-logo {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.logo-img {
  height: 56px; width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(21,101,192,0.2));
  display: none;
}
.navbar.scrolled .logo-img { height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-ar {
  font-size: 15px; font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.3px;
}
.logo-en {
  font-size: 10px; font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-item {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition);
  position: relative;
}
.nav-item i { font-size: 14px; color: var(--cyan); }
.nav-item:hover, .nav-item.active {
  color: var(--primary);
  background: rgba(229,57,53,0.07);
}
.nav-item::after {
  content: '';
  position: absolute; bottom: 4px; right: 12px; left: 12px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-item.active::after, .nav-item:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex; align-items: center; gap: 10px;
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 13px; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(21,101,192,0.3);
}
.lang-btn:hover { transform: scale(1.05); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  padding: 6px;
  transition: var(--transition);
}
.hamburger span {
  display: block; width: 22px; height: 2.5px;
  background: var(--text-main);
  border-radius: 4px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed; top: 0; right: -100%; bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-card);
  z-index: 1200;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
}
body[data-lang="en"] .mobile-nav { right: auto; left: -100%; }
.mobile-nav.open { right: 0; }
body[data-lang="en"] .mobile-nav.open { left: 0; right: auto; }

.mob-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1190;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mob-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-inner { padding: 0 0 30px; }
.mobile-logo {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary), var(--blue));
}
.mobile-logo img { height: 48px; filter: brightness(0) invert(1); }
.mobile-logo .logo-ar, .mobile-logo .logo-en { color: #fff; font-weight: 800; font-size: 14px; display: block; }
.mobile-logo .logo-en { font-size: 10px; opacity: 0.8; }

.mobile-nav-close {
  margin-inline-start: auto; width: 38px; height: 38px; border: 0; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.16); font-size: 18px; transition: var(--transition);
}
.mobile-nav-close:hover { background: rgba(255,255,255,.26); transform: rotate(4deg); }

.mob-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  font-size: 15px; font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mob-item i { font-size: 16px; color: var(--cyan); width: 20px; text-align: center; }
.mob-item:hover { background: var(--bg-alt); color: var(--primary); padding-right: 32px; }

.mob-actions {
  padding: 20px 24px 0;
}
.mob-phone {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 12px;
  justify-content: center;
}

/* ===========================
   HERO SLIDER
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-slides { position: relative; min-height: calc(100vh - var(--nav-h)); }

.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
}
.hero-slide.active { opacity: 1; visibility: visible; position: relative; }

.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.015);
}
.hero-color-wash {
  position: absolute; inset: 0;
  z-index: 1;
  opacity: .34;
  mix-blend-mode: color;
  pointer-events: none;
}
.hero-particles {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 80px 20px 120px;
  width: 100%;
  animation: heroIn 1s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes heroIn {
  from { opacity:0; transform: translateY(30px); }
  to { opacity:1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  animation: slideInRight 0.8s 0.2s both;
}
@keyframes slideInRight {
  from { opacity:0; transform: translateX(30px); }
  to { opacity:1; transform: translateX(0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  animation: slideInRight 0.8s 0.3s both;
}
.hero-title em { font-style: normal; color: rgba(255,255,255,0.85); }

.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 400;
  animation: slideInRight 0.8s 0.4s both;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
  animation: slideInRight 0.8s 0.5s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  color: var(--primary);
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(229,57,53,0.4);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.3); transform: translateY(-3px); }

.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  animation: slideInRight 0.8s 0.6s both;
}
.stat {
  display: flex; flex-direction: column; align-items: center;
  color: #fff;
}
.stat-num {
  font-size: 32px; font-weight: 900;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 12px; font-weight: 500; opacity: 0.85; }

/* Hero Controls */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.4);
}
.hero-prev { right: 20px; }
.hero-next { left: 20px; }
.hero-arrow:hover { background: rgba(255,255,255,0.4); transform: translateY(-50%) scale(1.1); }

.hero-dots {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.hero-dot.active {
  background: #fff;
  width: 28px; border-radius: 8px;
}

.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0;
  z-index: 5;
}
.hero-wave svg { width: 100%; display: block; }

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  padding: 40px 0;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: var(--bg-body);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-icon {
  font-size: 28px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.stat-card strong { display: block; font-size: 22px; font-weight: 900; color: var(--text-main); }
.stat-card span { font-size: 13px; color: var(--text-sub); }

/* ===========================
   SECTIONS BASE
   =========================== */
.section {
  padding: 90px 0;
}
.bg-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-icon {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  box-shadow: 0 8px 24px rgba(229,57,53,0.3);
  animation: iconSpin 4s ease-in-out infinite;
}
@keyframes iconSpin {
  0%,100% { transform: rotateY(0); }
  50% { transform: rotateY(180deg); }
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute; bottom: -8px; right: 50%; left: 50%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 4px;
  transition: all 0.5s;
  transform: translateX(50%);
}
.section-header:hover h2::after { right: 0; left: 0; transform: none; }
.section-header p { font-size: 16px; color: var(--text-sub); margin-top: 16px; }

/* ===========================
   ABOUT
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-left { }
.about-badge {
  display: inline-flex;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: 32px; font-weight: 900;
  width: 80px; height: 80px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(229,57,53,0.3);
}
.about-left h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 16px;
}
.about-left h3 span { color: var(--primary); }
.about-left p {
  font-size: 15px; color: var(--text-sub);
  line-height: 1.9; margin-bottom: 28px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
}
.value-card.vision::before { background: linear-gradient(90deg, #1565c0, #00bcd4); }
.value-card.mission::before { background: linear-gradient(90deg, #e53935, #ff6b35); }
.value-card.values::before { background: linear-gradient(90deg, #6a1b9a, #00bcd4); }
.value-card.vision { grid-column: 1 / -1; }

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.vc-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  margin-bottom: 14px;
}
.vision .vc-icon { background: linear-gradient(135deg, #1565c0, #00bcd4); }
.mission .vc-icon { background: linear-gradient(135deg, #e53935, #ff6b35); }
.values .vc-icon { background: linear-gradient(135deg, #6a1b9a, #00bcd4); }

.value-card h4 {
  font-size: 17px; font-weight: 800;
  color: var(--text-main); margin-bottom: 10px;
}
.value-card p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* ===========================
   SERVICES
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.sc-top {
  padding: 32px 24px 20px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-end;
}
.sc-top::after {
  content: '';
  position: absolute; bottom: -20px; left: 0; right: 0;
  height: 40px;
  background: var(--bg-card);
  border-radius: 50% 50% 0 0;
}
.sc-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  margin-bottom: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.sc-ribbon {
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.sc-body { padding: 24px 20px 20px; }
.sc-body h3 {
  font-size: 17px; font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}
.sc-body > p {
  font-size: 13px; color: var(--text-sub);
  line-height: 1.7; margin-bottom: 14px;
}
.sc-list { margin-bottom: 14px; }
.sc-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-sub);
  margin-bottom: 6px;
}
.sc-list i { color: var(--cyan); font-size: 11px; }

.sc-doctors {
  font-size: 12px; color: var(--text-sub);
  background: var(--bg-alt);
  padding: 8px 12px; border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}
.sc-doctors i { color: var(--blue); }

.sc-time {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-muted);
  font-weight: 600;
}
.sc-time i { color: var(--primary); }

.emergency-badge {
  background: linear-gradient(135deg, #b71c1c, #f44336);
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px !important;
}
.emergency-badge i { color: #fff !important; }

/* ===========================
   DOCTORS SLIDER
   =========================== */
.doctors-slider-wrap {
  position: relative;
  display: flex; align-items: center; gap: 16px;
}
.doctors-slider {
  display: flex;
  gap: 24px;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
}

.doc-card {
  min-width: calc(25% - 18px);
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
  flex-shrink: 0;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.doc-avatar {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 0 16px;
  font-size: 72px;
  line-height: 1;
}
.doc-avatar.female { background: linear-gradient(135deg, rgba(229,57,53,0.08), rgba(0,188,212,0.08)); }
.doc-avatar.male { background: linear-gradient(135deg, rgba(21,101,192,0.08), rgba(0,188,212,0.08)); }

.doc-info { padding: 0 20px 20px; text-align: center; }
.doc-info h4 {
  font-size: 16px; font-weight: 800;
  color: var(--text-main); margin-bottom: 6px;
}
.doc-spec {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--cyan);
  margin-bottom: 12px;
  background: rgba(0,188,212,0.1);
  padding: 4px 12px; border-radius: 20px;
  display: inline-block;
}
.doc-time {
  font-size: 11px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 14px;
  background: var(--bg-alt);
  padding: 10px; border-radius: 10px;
  display: flex; align-items: flex-start; gap: 8px;
}
.doc-time i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.doc-book-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px; font-weight: 700;
  transition: var(--transition);
  width: 100%;
}
.doc-book-btn:hover { transform: scale(1.04); box-shadow: 0 6px 18px rgba(229,57,53,0.4); }

.doc-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: var(--text-main);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.doc-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.doc-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.doc-dot-item {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.doc-dot-item.active { background: var(--primary); width: 24px; border-radius: 6px; }

/* ===========================
   GALLERY
   =========================== */
.gallery-slider-wrap {
  position: relative; display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.gallery-main {
  flex: 1; border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 500px;
  box-shadow: var(--shadow-hover);
}
.gal-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
}
.gal-slide.active { opacity: 1; }

.gal-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; color: #fff;
  font-size: 80px;
}
.gal-placeholder span {
  font-size: 22px; font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 10px 24px; border-radius: 30px;
  backdrop-filter: blur(8px);
}

.gal-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: var(--text-main);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.gal-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.gallery-thumbs {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.gal-thumb {
  width: 80px; height: 60px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid transparent;
  opacity: 0.65;
}
.gal-thumb.active, .gal-thumb:hover {
  border-color: var(--primary);
  opacity: 1; transform: scale(1.08);
}

/* ===========================
   APPOINTMENT
   =========================== */
.appointment-wrap { max-width: 900px; margin: 0 auto; }
.appt-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  overflow: hidden;
}
.appt-form { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--text-main); margin-bottom: 8px;
}
.form-group label i { color: var(--cyan); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-main);
  background: var(--bg-body);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,188,212,0.15);
}

.time-select { display: flex; gap: 12px; }
.time-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  color: var(--text-sub); background: var(--bg-body);
  transition: var(--transition);
}
.time-btn.active, .time-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,188,212,0.1);
}
.time-btn.active { background: rgba(0,188,212,0.15); }

.appt-submit {
  width: 100%; margin-top: 24px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px; font-weight: 800;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.appt-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }

.appt-info {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  padding: 32px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.appt-contact-card, .appt-hours {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,0.9);
}
.appt-contact-card i, .appt-hours i {
  font-size: 22px; color: #fff;
  margin-top: 2px; flex-shrink: 0;
}
.appt-contact-card strong, .appt-hours strong {
  display: block; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px;
  opacity: 0.8; margin-bottom: 4px;
}
.appt-contact-card a, .appt-hours a {
  font-size: 15px; font-weight: 700; color: #fff;
  display: block;
}
.appt-hours span { font-size: 13px; display: block; opacity: 0.85; }

/* ===========================
   CONTACT
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
body[data-lang="en"] .contact-info-card:hover { transform: translateX(4px); }

.ci-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
  flex-shrink: 0;
}
.contact-info-card strong { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--text-sub); margin: 0; }
.contact-info-card a { font-size: 15px; font-weight: 700; color: var(--blue); }

.msg-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.msg-form h4 {
  font-size: 16px; font-weight: 800;
  color: var(--text-main); margin-bottom: 16px;
}
.msg-form input, .msg-form textarea {
  width: 100%; margin-bottom: 12px;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-main);
  background: var(--bg-body);
  outline: none; transition: var(--transition);
}
.msg-form input:focus, .msg-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,188,212,0.1);
}
.msg-form .btn-primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; width: 100%;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.msg-form .btn-primary:hover { background: linear-gradient(135deg, #128c7e, #25d366); }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}
.map-wrapper iframe {
  width: 100%; height: 420px; border: none; display: block;
}
.map-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  padding: 14px 24px;
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
}
.map-btn:hover { background: linear-gradient(135deg, var(--primary), var(--cyan)); }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--text-main); color: #fff; position: relative; }
body.dark-mode .footer { background: #060a14; }

.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; display: block; }

.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  height: 70px; width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand-text h3 {
  font-size: 18px; font-weight: 900;
  color: #fff; margin-bottom: 10px;
}
.footer-brand-text p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }

.footer-links-col h4 {
  font-size: 14px; font-weight: 800; color: #fff;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-links-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 8px; transition: var(--transition);
}
.footer-links-col a:hover { color: var(--cyan); padding-right: 6px; }
body[data-lang="en"] .footer-links-col a:hover { padding-right: 0; padding-left: 6px; }

.footer-contact-col h4 {
  font-size: 14px; font-weight: 800; color: #fff;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-contact-col p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-contact-col a { color: var(--cyan); }
.footer-social {
  display: flex; gap: 10px; margin-top: 16px;
}
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
  transition: var(--transition);
}
.social-btn.wa { background: #25d366; }
.social-btn.ph { background: var(--blue); }
.social-btn.mp { background: var(--primary); }
.social-btn:hover { transform: scale(1.15) translateY(-3px); }

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }

/* WD7 programming & support credit */
.wd7-credit {
  width: max-content;
  max-width: 100%;
  margin: 7px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.58);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
}
.wd7-credit i {
  font-size: 11px;
  color: #25D366;
}
.wd7-credit strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #ff7a68;
}
.wd7-credit:hover {
  color: rgba(255,255,255,.9);
  transform: translateY(-1px);
}
.wd7-credit:hover strong { color: #8feef3; }
@media (max-width: 575px) {
  .wd7-credit { margin-top: 6px; font-size: 10px; }
  .wd7-credit strong { font-size: 10.5px; }
}


/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-card { min-width: calc(33.333% - 16px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .appt-info { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-card { min-width: calc(50% - 12px); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .value-card.vision { grid-column: auto; }
  .doc-card { min-width: calc(100% - 0px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 24px; }
  .gallery-main { height: 300px; }
  .gal-placeholder { font-size: 50px; }
  .gal-placeholder span { font-size: 14px; }
  .appt-form { padding: 24px 16px; }
  .appt-info { padding: 24px 16px; }
  .section { padding: 60px 0; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .floating-actions { bottom: 20px; left: 16px; }
  body[data-lang="en"] .floating-actions { left: auto; right: 16px; }
  .logo-text { display: none; }
  .logo-img { height: 44px; }
}

@media (max-width: 400px) {
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .hero-dots { bottom: 60px; }
}

/* ===========================
   DARK MODE ADJUSTMENTS
   =========================== */
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .msg-form input,
body.dark-mode .msg-form textarea {
  background: #0d1120;
  color: var(--text-main);
}
body.dark-mode .form-group input::placeholder,
body.dark-mode .msg-form input::placeholder,
body.dark-mode .msg-form textarea::placeholder {
  color: var(--text-muted);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--cyan)); border-radius: 6px; }

/* Selection */
::selection { background: var(--primary); color: #fff; }

/* =========================================================
   SIGNATURE REDESIGN — soft medical editorial interface
   Keeps the existing content and behaviour while changing
   the visual hierarchy, spacing and shape language.
   ========================================================= */
:root {
  --ink: #10254b;
  --deep: #092f68;
  --blue: #1264c5;
  --cyan: #13b9c8;
  --coral: #ee5a52;
  --bg-body: #f5f9fd;
  --bg-alt: #eaf3fb;
  --bg-card: #ffffff;
  --text-main: #10254b;
  --text-sub: #647898;
  --border: rgba(25, 93, 158, .12);
  --shadow: 0 18px 60px rgba(18, 80, 145, .11);
  --shadow-hover: 0 24px 70px rgba(18, 80, 145, .18);
  --radius: 28px;
  --radius-sm: 16px;
}

body {
  background:
    radial-gradient(circle at 6% 12%, rgba(19,185,200,.08), transparent 24rem),
    radial-gradient(circle at 94% 34%, rgba(238,90,82,.06), transparent 25rem),
    var(--bg-body);
}

.container { max-width: 1340px; padding-inline: 28px; }

/* Floating glass navigation with a soft lower edge */
.navbar {
  top: 16px; left: 22px; right: 22px; height: 78px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px 24px 42px 42px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 12px 36px rgba(23,77,132,.12);
  overflow: visible;
}
.navbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: linear-gradient(90deg, rgba(19,185,200,.06), transparent 42%, rgba(238,90,82,.06));
}
.navbar.scrolled { top: 10px; height: 68px; border-radius: 20px 20px 36px 36px; }
.nav-container { max-width: 1340px; padding-inline: 22px; }
.nav-logo { gap: 10px; }
.logo-svg { height: 52px; }
.logo-text { gap: 2px; }
.logo-ar { font-size: 14px; color: var(--deep); }
.logo-en { color: var(--cyan-dark); font-size: 9px; }
.nav-links { gap: 7px; }
.nav-item { padding: 9px 12px; border-radius: 13px; font-size: 12px; gap: 7px; }
.nav-item i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 9px; background: rgba(19,185,200,.1); color: var(--cyan); }
.nav-item::after { bottom: 2px; right: 16px; left: 16px; height: 3px; background: linear-gradient(90deg, var(--coral), var(--cyan)); }
.nav-item:hover, .nav-item.active { color: var(--deep); background: rgba(18,100,197,.07); }
.lang-btn { padding: 9px 13px; border-radius: 14px; background: var(--deep); box-shadow: 0 6px 16px rgba(9,47,104,.2); }
.client-file-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--coral), #ff8961); box-shadow: 0 7px 18px rgba(238,90,82,.23); font-size: 11px; font-weight: 800; white-space: nowrap; transition: var(--transition); }
.client-file-btn i { font-size: 13px; }
.client-file-btn:hover { transform: translateY(-3px); box-shadow: 0 11px 24px rgba(238,90,82,.32); }
.hamburger { border-radius: 13px; background: #eaf3fb; }

/* Hero becomes an elevated, rounded canvas */
.hero { height: 720px; min-height: 720px; padding-top: 98px; border-radius: 0 0 0 0; overflow: hidden; }
.hero-slides { height: 100%; min-height: 0; overflow: hidden; }
.hero-slide, .hero-slide.active { position: absolute !important; inset: 0; height: 100%; min-height: 0; padding-inline: 7%; }
.hero-bg { inset: 0 22px 0; border-radius: 0 0 54px 54px; overflow: hidden; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,24,64,.62), rgba(8,68,135,.12) 72%); }
.hero-content { max-width: 760px; padding-top: 86px; position: relative; z-index: 2; }
.hero-badge { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.13); backdrop-filter: blur(10px); border-radius: 999px; padding: 9px 15px; font-size: 13px; }
.hero-title { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.15; letter-spacing: -.7px; }
.hero-title em { color: #bff8fb; text-shadow: 0 6px 22px rgba(0,0,0,.16); }
.hero-sub { max-width: 640px; font-size: 17px; line-height: 2; color: rgba(255,255,255,.86); }
.hero-btns { gap: 12px; }
.btn-primary, .btn-outline { min-height: 52px; padding: 0 22px; border-radius: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--coral), #ff8961); box-shadow: 0 12px 24px rgba(238,90,82,.27); }
.btn-outline { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.hero-stats { border-top: 1px solid rgba(255,255,255,.24); padding-top: 20px; margin-top: 36px; }
.hero-wave { height: 86px; bottom: -1px; }
.hero-wave svg { height: 100%; }
.hero-wave { display: none !important; }
.hero-bg { border-radius: 0 0 58px 58px !important; }
.hero-slide, .hero-slide.active { overflow: hidden; }
.hero-arrow { width: 46px; height: 46px; border-radius: 15px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.hero-prev { right: 42px; left: auto; }
.hero-next { right: auto; left: 42px; }
.hero-dots { bottom: 38px; }
.hero-dot { width: 9px; height: 9px; border-radius: 20px; background: rgba(255,255,255,.55); }
.hero-dot.active { width: 30px; background: #fff; }

/* Stats are now overlapping the hero edge */
.stats-bar { position: relative; z-index: 4; margin-top: -28px; background: transparent; padding: 0 0 20px; }
.stats-after-booking { z-index: 1; margin: -30px 0 0; padding: 0 0 30px; }
.stats-after-booking .container { position: relative; }
.stats-grid { gap: 16px; }
.stat-card { min-height: 104px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.stat-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.stat-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg, rgba(18,100,197,.1), rgba(19,185,200,.14)); color: var(--blue); font-size: 19px; }
.stat-card strong { color: var(--deep); font-size: 25px; }

/* Section rhythm and header */
.section { padding: 94px 0; }
.section.bg-alt { background: linear-gradient(180deg, transparent, rgba(223,239,250,.55), transparent); }
.section-header { margin-bottom: 48px; }
.section-icon { width: 58px; height: 58px; margin: 0 auto 15px; border-radius: 20px 20px 8px 20px; background: linear-gradient(145deg, var(--deep), var(--cyan)); color: #fff; box-shadow: 0 12px 24px rgba(18,100,197,.22); transform: rotate(-5deg); }
.section-icon i { transform: rotate(5deg); }
.section-header h2 { font-size: clamp(28px, 3vw, 40px); color: var(--deep); }
.section-header h2::after { width: 64px; height: 4px; margin-top: 13px; background: linear-gradient(90deg, var(--coral), var(--cyan)); }
.section-header p { font-size: 15px; }

/* Cards: clear hierarchy and small icon badges */
.about-grid, .contact-grid, .appointment-wrap { gap: 26px; }
.about-left, .about-right, .appointment-wrap, .contact-info-card, .msg-form, .map-wrapper { border-radius: var(--radius); }
.about-left { background: linear-gradient(145deg, var(--deep), #1675c9); box-shadow: var(--shadow-hover); }
.about-left::after { opacity: .22; }
.about-badge { border-radius: 16px; background: rgba(255,255,255,.13); }
.about-left { min-height: 420px; padding: 40px 38px 34px; border-radius: 32px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.about-left h3, .about-left p { color: #fff; position: relative; z-index: 1; }
.about-left h3 span { color: #bff8fb; }
.about-left p { color: rgba(255,255,255,.78); }
.about-left .btn-primary { align-self: flex-start; margin-top: 4px; position: relative; z-index: 1; }
.about-right { display: grid; gap: 14px; }
.value-card, .service-card, .doc-card, .contact-info-card { border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 10px 34px rgba(18,80,145,.07); }
.value-card:hover, .service-card:hover, .doc-card:hover, .contact-info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.value-card .value-icon, .service-icon, .contact-icon { border-radius: 16px; background: linear-gradient(145deg, rgba(238,90,82,.12), rgba(19,185,200,.12)); color: var(--coral); }
.services-grid { gap: 18px; }
.service-card { padding: 27px 22px; position: relative; overflow: hidden; }
.service-card { border-radius: 26px; overflow: hidden; }
.service-card .sc-top { border-radius: 26px 26px 0 0; }
.service-card::before { height: 4px; background: linear-gradient(90deg, var(--coral), var(--cyan)); }
.service-card h3 { color: var(--deep); }
.doc-card { overflow: hidden; }
.doc-card .doc-info { background: var(--bg-card); }
.doc-card { border-radius: 28px; position: relative; }
.doc-card .doc-avatar { min-height: 188px; padding: 26px 0 24px; position: relative; overflow: hidden; border-radius: 28px 28px 0 0; }
.doc-avatar::before { content: ''; position: absolute; width: 230px; height: 230px; top: -108px; left: -44px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,255,255,.08), 0 0 0 44px rgba(255,255,255,.06); }
.doc-avatar::after { content: ''; position: absolute; right: 18px; bottom: 16px; width: 13px; height: 13px; border-radius: 50%; background: #31d77a; border: 3px solid rgba(255,255,255,.92); box-shadow: 0 0 0 5px rgba(49,215,122,.18); }
.doc-avatar span { width: 128px; height: 128px; position: relative; z-index: 1; display: grid; place-items: center; border: 7px solid rgba(255,255,255,.78); border-radius: 42% 58% 52% 48%; background: rgba(255,255,255,.34); box-shadow: 0 16px 30px rgba(7,45,95,.16), inset 0 0 0 1px rgba(255,255,255,.42); font-size: 0; transform: rotate(-4deg); transition: var(--transition); }
.doc-avatar span::before { content: ''; position: absolute; inset: 15px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.doc-avatar span i { position: relative; z-index: 1; font-size: 58px; color: #fff; text-shadow: 0 7px 16px rgba(0,39,83,.18); transform: rotate(4deg); }
.doc-avatar.female span { background: linear-gradient(145deg, rgba(238,90,82,.86), rgba(19,185,200,.78)); }
.doc-avatar.male span { background: linear-gradient(145deg, rgba(18,100,197,.88), rgba(19,185,200,.78)); }
.doc-card:hover .doc-avatar span { transform: rotate(4deg) translateY(-5px) scale(1.04); }
.doc-info { padding: 20px 18px 18px; }
.doc-info h4 { font-size: 17px; margin-bottom: 8px; color: var(--deep); }
.doc-spec { color: var(--deep); background: linear-gradient(135deg, rgba(19,185,200,.13), rgba(18,100,197,.08)); border: 1px solid rgba(19,185,200,.15); }
.doc-time { border-radius: 14px; background: #f2f7fb; }
.doc-book-btn { border-radius: 14px; padding: 11px 16px; background: linear-gradient(135deg, var(--coral), #ff8961); box-shadow: 0 8px 18px rgba(238,90,82,.18); }
.gallery-slider-wrap { border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.gallery-main { border-radius: var(--radius); }
.gal-arrow, .doc-arrow { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.92); color: var(--deep); box-shadow: 0 7px 22px rgba(0,0,0,.12); }

/* Forms */
.appointment-wrap { padding: 8px; background: linear-gradient(135deg, rgba(18,100,197,.12), rgba(19,185,200,.13)); }
.appt-form, .appt-info { border-radius: 22px; }
.form-group input, .form-group select, .form-group textarea, .msg-form input, .msg-form textarea { min-height: 52px; border: 1px solid rgba(18,100,197,.14); border-radius: 15px; background: rgba(248,251,255,.9); padding-inline: 16px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .msg-form input:focus, .msg-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(19,185,200,.12); }
.appt-submit { border-radius: 15px; background: linear-gradient(135deg, var(--deep), var(--blue)); }
.appt-submit { width: min(100%, 430px); margin: 22px auto 0; padding: 12px 14px; border-radius: 18px; display: flex; align-items: center; gap: 12px; text-align: right; box-shadow: 0 12px 26px rgba(9,47,104,.2); }
.submit-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; background: #25d366; color: #fff; font-size: 21px; }
.submit-copy { display: grid; gap: 2px; flex: 1; }
.submit-copy strong { color: #fff; font-size: 14px; }
.submit-copy small { color: rgba(255,255,255,.68); font-size: 10px; }
.submit-arrow { color: #bff8fb; font-size: 14px; }
.appt-submit { width: 164px; margin: 22px auto 24px 0; padding: 7px 10px; gap: 8px; border-radius: 14px; }
.appt-submit .submit-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; font-size: 16px; }
.appt-submit .submit-copy strong { font-size: 11px; white-space: nowrap; }
.appt-submit .submit-arrow { font-size: 11px; }
.booking-success { width: min(100%, 620px); margin: 18px auto 0; padding: 16px 18px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(37,211,102,.24); border-radius: 18px; background: linear-gradient(135deg, #effff6, #f5fbff); color: var(--deep); animation: successIn .55s ease both; }
.booking-success[hidden] { display: none; }
.success-mark { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 7px 16px rgba(37,211,102,.25); animation: successPop .65s cubic-bezier(.2,.8,.2,1) both; }
.booking-success strong { display: block; color: #11623b; font-size: 14px; }
.booking-success p { margin: 3px 0; font-size: 12px; color: var(--blue); }
.booking-success small { display: block; color: #66819b; font-size: 10px; }
@keyframes successIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes successPop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.contact-info-card { padding: 22px; }

/* Footer with curved upper corners */
.footer { margin-top: 20px; border-radius: 58px 58px 0 0; background: linear-gradient(145deg, #071e48, #0b4784); overflow: hidden; }
.footer-wave { display: none; }
.footer-main { padding: 72px 0 42px; }
.footer-grid { gap: 32px; }
.footer-brand, .footer-links-col, .footer-contact-col { padding: 8px; }
.footer-links-col a, .footer-contact-col p { color: rgba(255,255,255,.7); }
.footer-links-col a:hover { color: #aef7fa; }
.footer-bottom { background: rgba(0,0,0,.17); padding: 18px 0; }

/* New clinic tour: editorial stage + navigation rail */
.clinic-tour { display: grid; grid-template-columns: .72fr 1.55fr; gap: 18px; direction: ltr; align-items: stretch; }
.tour-intro { direction: rtl; padding: 34px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.tour-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan-dark); font-size: 12px; font-weight: 800; margin-bottom: 18px; }
.tour-kicker i { color: var(--coral); }
.tour-intro h3 { color: var(--deep); font-size: clamp(23px, 2.4vw, 34px); line-height: 1.45; margin-bottom: 14px; }
.tour-intro p { color: var(--text-sub); font-size: 14px; line-height: 2; }
.tour-progress { height: 5px; border-radius: 99px; background: #e8f1f8; overflow: hidden; margin: 26px 0; }
.tour-progress span { display: block; width: 16.66%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--cyan)); transition: width .45s ease; }
.tour-controls { display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.tour-controls .gal-arrow { position: static; flex: 0 0 auto; }
.tour-count { color: var(--deep); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.tour-stage { min-height: 410px; position: relative; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow-hover); direction: rtl; }
.tour-stage .gal-slide { pointer-events: none; }
.tour-stage .gal-slide.active { pointer-events: auto; }
.tour-stage .gal-slide { height: 100%; }
.tour-scene { min-height: 410px; height: 100%; position: relative; display: flex; align-items: flex-end; padding: 34px; overflow: hidden; isolation: isolate; }
.tour-scene::before, .tour-scene::after { content: ''; position: absolute; border-radius: 50%; z-index: -1; }
.tour-scene::before { width: 360px; height: 360px; top: -130px; left: -70px; background: rgba(255,255,255,.16); }
.tour-scene::after { width: 210px; height: 210px; bottom: -90px; right: 22%; background: rgba(255,255,255,.1); }
.scene-reception { background: linear-gradient(135deg, #082f68, #16afc1); }
.scene-women { background: linear-gradient(135deg, #a73355, #ee7657); }
.scene-internal { background: linear-gradient(135deg, #075168, #18b7b4); }
.scene-dental { background: linear-gradient(135deg, #452782, #ae69ce); }
.scene-lab { background: linear-gradient(135deg, #a64d12, #f2a52e); }
.scene-emergency { background: linear-gradient(135deg, #841c2b, #ee5a52); }
.scene-orb { width: 156px; height: 156px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 42% 58% 52% 48%; background: rgba(255,255,255,.15); color: #fff; font-size: 68px; box-shadow: 0 20px 60px rgba(0,0,0,.13); animation: tourFloat 5s ease-in-out infinite; }
@keyframes tourFloat { 0%,100% { transform: translate(-50%, -58%) rotate(-5deg); } 50% { transform: translate(-50%, -62%) rotate(5deg); } }
.scene-copy { width: min(100%, 390px); padding: 18px 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; background: rgba(4,24,60,.26); backdrop-filter: blur(12px); color: #fff; display: grid; gap: 6px; }
.scene-copy small { opacity: .68; font-weight: 800; letter-spacing: 2px; direction: ltr; }
.scene-copy strong { font-size: 21px; }
.scene-copy > span { font-size: 12px; opacity: .82; }
.stats-after-booking .stats-grid { grid-template-columns: repeat(4, 1fr); }

/* Compact promotional strip with live countdown */
.offers-section { padding: 18px 0 70px; background: linear-gradient(180deg, transparent, rgba(223,239,250,.48)); }
.offers-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.offers-title { display: flex; align-items: center; gap: 12px; color: var(--deep); font-size: 22px; font-weight: 900; }
.offers-title small { display: block; margin-top: 3px; color: var(--text-sub); font-size: 11px; font-weight: 500; }
.offer-spark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--coral), #ff9a67); box-shadow: 0 9px 20px rgba(238,90,82,.25); }
.offers-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 800; }
.offers-link:hover { color: var(--coral); }
.offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offer-card { position: relative; display: grid; grid-template-columns: 1.45fr .65fr; align-items: center; gap: 14px; padding: 28px 20px 18px; border: 1px solid rgba(18,100,197,.11); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 14px 40px rgba(18,80,145,.09); }
.offer-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.offer-dental::before { background: linear-gradient(180deg, var(--coral), #a645b6); }
.offer-ribbon { position: absolute; top: 0; right: 18px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 0 0 12px 12px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-size: 10px; font-weight: 800; }
.offer-dental .offer-ribbon { background: linear-gradient(135deg, var(--coral), #a645b6); }
.offer-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.offer-icon { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 18px; color: #fff; font-size: 23px; background: linear-gradient(145deg, var(--blue), var(--cyan)); }
.offer-dental .offer-icon { background: linear-gradient(145deg, var(--coral), #a645b6); }
.offer-main h3 { color: var(--deep); font-size: 15px; line-height: 1.45; }
.offer-main p { margin-top: 4px; color: var(--text-sub); font-size: 10px; }
.offer-price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.discount-badge { margin-bottom: 3px; padding: 4px 8px; border-radius: 8px; color: #fff; background: var(--coral); font-size: 10px; font-weight: 900; }
.offer-price del { color: #9ba9ba; font-size: 11px; }
.offer-price strong { color: var(--deep); font-size: 24px; line-height: 1.1; }
.offer-price small { font-size: 9px; font-weight: 600; }
.offer-countdown { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed rgba(18,100,197,.16); }
.countdown-label { display: inline-flex; align-items: center; gap: 6px; color: var(--text-sub); font-size: 10px; white-space: nowrap; }
.countdown-label i { color: var(--coral); }
.countdown-values { display: flex; align-items: center; gap: 5px; direction: ltr; }
.countdown-values span { min-width: 31px; text-align: center; }
.countdown-values b { display: block; padding: 4px 3px; border-radius: 7px; color: var(--deep); background: #edf5fa; font-size: 13px; line-height: 1; }
.countdown-values small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 7px; }
.countdown-values > i { color: var(--coral); font-style: normal; font-weight: 900; }
.offer-cta { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--deep), var(--blue)); font-size: 11px; font-weight: 800; transition: var(--transition); }
.offer-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18,100,197,.2); }
.offer-ended .countdown-values b { background: #fff0ed; color: var(--coral); }

/* Mobile: compact floating header and readable cards */
@media (max-width: 900px) {
  .navbar { left: 12px; right: 12px; top: 10px; height: 66px; border-radius: 18px 18px 30px 30px; }
  .navbar.scrolled { top: 7px; height: 60px; }
  .nav-container { padding-inline: 14px; }
  .nav-logo .logo-svg { height: 42px; }
  .client-file-btn { padding: 8px 10px; font-size: 10px; }
  .mobile-nav { top: 0; width: min(350px, 88vw); border-radius: 0 0 28px 28px; background: rgba(255,255,255,.97); }
  .mob-item { margin-inline: 14px; border-radius: 14px; }
  .hero { height: 680px; min-height: 680px; padding-top: 74px; }
  .hero-slide, .hero-slide.active { height: 100%; padding-inline: 10%; }
  .hero-bg { inset-inline: 10px; border-radius: 0 0 34px 34px; }
  .hero-content { padding-top: 80px; }
  .hero-title { font-size: clamp(31px, 8vw, 48px); }
  .hero-sub { font-size: 14px; }
  .hero-prev { right: 26px; }
  .hero-next { left: 26px; }
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .clinic-tour { grid-template-columns: 1fr; direction: rtl; }
  .tour-intro { padding: 26px 24px; }
  .tour-stage, .tour-scene { min-height: 360px; }
  .stats-after-booking .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .hero-slide, .hero-slide.active { padding-inline: 10%; }
  .hero-bg { border-radius: 0 0 36px 36px !important; }
  .hero-content { padding-top: 74px; }
  .hero-stats { gap: 13px; }
  .hero-stats .stat { min-width: 0; }
  .hero-stats .stat-num { font-size: 21px; }
  .stats-bar { margin-top: -18px; }
  .stat-card { min-height: 92px; padding: 13px; gap: 10px; }
  .stat-icon { width: 38px; height: 38px; font-size: 15px; }
  .stat-card strong { font-size: 20px; }
  .stat-card span { font-size: 10px; }
  .section-header { margin-bottom: 34px; }
  .offers-section { padding-top: 8px; }
  .offers-heading { align-items: flex-start; }
  .offers-title { font-size: 17px; }
  .offers-title small { font-size: 9px; }
  .offer-card { grid-template-columns: 1fr auto; gap: 10px; padding-inline: 14px; }
  .offer-main h3 { font-size: 13px; }
  .offer-main p { font-size: 9px; }
  .offer-icon { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; border-radius: 14px; }
  .offer-price strong { font-size: 21px; }
  .countdown-label { font-size: 9px; }
  .footer { border-radius: 34px 34px 0 0; }
  .footer-main { padding-top: 50px; }
}
.fab-install{width:42px;height:42px;border:0;border-radius:50%;background:linear-gradient(135deg,#1565c0,#00bcd4);color:#fff;box-shadow:0 5px 18px rgba(21,101,192,.3);font-size:15px;cursor:pointer;transition:.2s}.fab-install:hover{transform:translateY(-2px)}.ios-install-help{position:fixed;z-index:9999;bottom:82px;left:18px;width:min(340px,calc(100vw - 36px));background:var(--bg-card,#fff);color:var(--text-main,#203248);border:1px solid rgba(21,101,192,.15);box-shadow:0 15px 45px rgba(8,38,73,.22);border-radius:16px;padding:16px 42px 16px 16px;font-family:Cairo,sans-serif;font-size:12px;line-height:1.8}.ios-install-help strong,.ios-install-help span{display:block}.ios-install-help strong{color:#1565c0;margin-bottom:4px}.ios-close{position:absolute;right:10px;top:8px;border:0;background:#eef4fb;border-radius:50%;width:26px;height:26px;cursor:pointer}.offer-cta{text-decoration:none}.service-card .doc-book-btn{margin-top:14px;display:inline-flex}


/* Doctor profile image sizing - v1.3 */
.doc-avatar.doc-avatar-photo {
  height: 218px;
  min-height: 218px;
  max-height: 218px;
  padding: 12px 18px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(145deg, rgba(235,245,255,.95), rgba(240,252,253,.95));
}
.doc-avatar.doc-avatar-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 92%;
  height: 194px;
  max-height: 194px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
}
@media (max-width: 600px) {
  .doc-avatar.doc-avatar-photo { height: 210px; min-height: 210px; max-height: 210px; }
  .doc-avatar.doc-avatar-photo img { height: 186px; max-height: 186px; max-width: 88%; }
}

/* v1.3.4 - About & service card images */
.about-left { isolation:isolate; }
.about-left > * { position:relative; z-index:2; }
.about-image-layer{position:absolute!important;inset:0;z-index:0!important;background-image:var(--about-image);background-size:cover;background-position:center;opacity:var(--about-opacity,.22);pointer-events:none}
.about-left::before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(7,41,98,.62),rgba(22,117,201,.48));z-index:1;pointer-events:none}
.about-card-dynamic .vc-photo{height:118px;margin:-28px -24px 18px;overflow:hidden;border-radius:22px 22px 16px 16px;position:relative}
.about-card-dynamic .vc-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(10,42,88,.16))}
.about-card-dynamic .vc-photo img{width:100%;height:100%;object-fit:cover;display:block}
.sc-top > *:not(.service-image-layer){position:relative;z-index:2}
.service-image-layer{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0;pointer-events:none}
.sc-top::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(10,45,100,.10),rgba(0,188,212,.12));z-index:1;pointer-events:none}
@media(max-width:768px){.about-card-dynamic .vc-photo{height:105px}.service-image-layer{background-position:center}}

/* v1.3.5 - Fix About section background image positioning */
.about-left{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.about-image-layer{
  position:absolute!important;
  inset:0;
  z-index:0!important;
  display:block;
  background-image:var(--about-image);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:var(--about-opacity,.22);
  pointer-events:none;
}
.about-left::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(145deg,rgba(7,41,98,.62),rgba(22,117,201,.48));
}
.about-left > *:not(.about-image-layer){position:relative;z-index:2;}


/* v1.3.6 - About image rendered as a real image element for reliable paths */
.about-left .about-image-layer{
  position:absolute!important;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  z-index:0!important;
  pointer-events:none;
}
.about-left::before{z-index:1!important;}
.about-left > *:not(.about-image-layer){position:relative;z-index:2;}

/* v1.3.7 - About content glass card; MMC badge removed */
.about-left .about-badge{display:none!important;}
.about-copy-card{
  position:relative;
  z-index:2;
  width:min(100%, 680px);
  padding:28px 30px 24px;
  margin-bottom:18px;
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 18px 45px rgba(3,33,77,.20), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  overflow:hidden;
}
.about-copy-card::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:18px;
  bottom:18px;
  width:4px;
  border-radius:10px;
  background:linear-gradient(180deg,#8feef3,#ffffffaa,#ff7665);
  box-shadow:0 0 18px rgba(143,238,243,.45);
}
.about-copy-card::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  inset-inline-end:-65px;
  top:-70px;
  background:radial-gradient(circle,rgba(255,255,255,.16),transparent 68%);
  pointer-events:none;
}
.about-copy-card h3{
  margin:0 0 14px!important;
  color:#fff!important;
  text-shadow:0 2px 12px rgba(0,39,92,.24);
}
.about-copy-card h3 span{color:#bff8fb!important;}
.about-copy-card p{
  margin:0!important;
  color:rgba(255,255,255,.90)!important;
  line-height:1.95!important;
  text-shadow:0 1px 8px rgba(0,34,76,.18);
}
.about-left .btn-primary{
  margin-top:0!important;
}
@media(max-width:768px){
  .about-copy-card{padding:22px 20px 20px;border-radius:22px;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
  .about-copy-card::before{top:14px;bottom:14px;width:3px}
}

/* v1.3.8 - About glass card bottom alignment + opacity control */
.about-left{
  justify-content:flex-end!important;
}
.about-copy-card{
  margin-top:auto!important;
  margin-bottom:18px!important;
  background:linear-gradient(
    145deg,
    rgba(8,47,102,var(--about-card-opacity,.38)),
    rgba(18,105,175,var(--about-card-opacity-soft,.31))
  )!important;
  border-color:rgba(255,255,255,var(--about-card-border,.29))!important;
}
@media(max-width:768px){
  .about-left{min-height:440px!important;padding-top:34px!important;justify-content:flex-end!important}
  .about-copy-card{margin-top:auto!important;margin-bottom:14px!important}
}


/* v1.3.9 - service card dual actions */
.service-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.service-actions .doc-book-btn{margin-top:0!important;flex:1 1 130px;justify-content:center;min-height:42px}
.service-offers-btn{
  flex:1 1 110px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(21,101,192,.16);
  background:linear-gradient(135deg,rgba(21,101,192,.10),rgba(0,188,212,.13));
  color:var(--deep,#103b72);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  transition:.2s ease;
  box-shadow:0 8px 18px rgba(21,101,192,.08);
}
.service-offers-btn i{color:#00a7c8;font-size:13px}
.service-offers-btn b{
  min-width:20px;height:20px;padding:0 5px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#ff6d5e,#ff8b68);color:#fff;font-size:10px;
}
.service-offers-btn:not(.is-disabled):hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(21,101,192,.14)}
.service-offers-btn.is-disabled{opacity:.46;cursor:not-allowed;box-shadow:none;filter:grayscale(.15)}
.offer-card.offer-focus{animation:offerServicePulse 1.1s ease 2;outline:3px solid rgba(0,188,212,.20)}
.offer-card.offer-dim{opacity:.28;transform:scale(.985)}
@keyframes offerServicePulse{0%,100%{box-shadow:var(--shadow)}50%{box-shadow:0 0 0 7px rgba(0,188,212,.10),0 16px 38px rgba(21,101,192,.18)}}
@media(max-width:560px){
  .service-actions{gap:8px}
  .service-actions .doc-book-btn,.service-offers-btn{min-height:40px;padding:9px 11px;font-size:11px}
}
