/* ==========================================================================
   DİYARBAKIR ÇOCUK PSİKİYATRİ MERKEZİ - DESIGN SYSTEM & MAIN STYLES
   Uzm. Dr. Hüseyin Tunca - Çocuk ve Ergen Psikiyatrisi
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Palette */
  --primary-900: #082f49;
  --primary-800: #075985;
  --primary-700: #0369a1;
  --primary-600: #0284c7;
  --primary-500: #0ea5e9;
  --primary-100: #e0f2fe;
  --primary-50: #f0f9ff;

  /* Teal / Healing Accents */
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;

  /* Warm Amber & Coral Accents */
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;

  --coral-500: #f43f5e;
  --coral-50: #fff1f2;

  /* Neutrals */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Semantic Variables */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-subtle: #e2e8f0;
  --border-focus: #0284c7;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-colored: 0 10px 30px -5px rgba(2, 132, 199, 0.18);
  --shadow-teal: 0 10px 30px -5px rgba(13, 148, 136, 0.18);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); line-height: 1.2; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: var(--primary-100);
  color: var(--primary-800);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-tag.teal {
  background-color: var(--teal-100);
  color: var(--teal-900);
}

.section-tag.amber {
  background-color: var(--amber-100);
  color: var(--amber-600);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 12px;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 90px;
  padding-bottom: 90px;
  position: relative;
}

.section-light {
  background-color: var(--white);
}

.section-muted {
  background-color: var(--slate-50);
}

.section-primary {
  background: linear-gradient(135deg, var(--primary-900) 0%, #0c4a6e 100%);
  color: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.45);
}

.btn-teal {
  background-color: var(--teal-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-teal:hover {
  background-color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-amber {
  background-color: var(--amber-500);
  color: var(--slate-950);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
  background-color: var(--amber-600);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-800);
  border: 1.5px solid var(--primary-600);
}

.btn-outline:hover {
  background-color: var(--primary-50);
  color: var(--primary-900);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #09121f 0%, #0d1b2e 50%, #09121f 100%);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
  transition: all var(--transition-fast);
}

.top-bar-text {
  color: #94a3b8;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
}

.top-bar-highlight {
  color: #f8fafc;
  font-weight: 600;
  margin-right: 3px;
}

.top-bar-hours .top-bar-highlight {
  color: #f8fafc;
  font-weight: 600;
  margin: 0 2px;
}

.top-bar-sep {
  color: rgba(255, 255, 255, 0.22);
  margin: 0 5px;
}

/* Micro Icon Badges */
.top-bar-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.icon-badge-location {
  background: rgba(14, 165, 233, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.icon-badge-hours {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.icon-badge-phone {
  background: rgba(14, 165, 233, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

/* Instagram Pill Button */
.top-bar-ig-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 11px 4px 6px;
  border-radius: 20px;
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-ig-icon-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(214, 36, 159, 0.4);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.top-bar-ig-handle {
  font-weight: 600;
  font-size: 0.8rem;
  color: #f1f5f9;
  letter-spacing: 0.2px;
}

.top-bar-ig-btn:hover {
  background: rgba(225, 48, 108, 0.14);
  border-color: rgba(225, 48, 108, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.22);
}

.top-bar-ig-btn:hover .top-bar-ig-icon-box {
  transform: scale(1.1) rotate(4deg);
}

/* Phone Pill Button */
.top-bar-phone-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 11px 4px 6px;
  border-radius: 20px;
  color: #f8fafc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
}

.top-bar-phone-val {
  font-weight: 700;
  font-size: 0.8125rem;
  color: #f8fafc;
  letter-spacing: 0.3px;
}

.top-bar-phone-btn:hover {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.top-bar-phone-btn:hover .top-bar-phone-val {
  color: #38bdf8;
}

.top-bar-phone-btn:hover .icon-badge-phone {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
  transform: scale(1.06);
}

/* WhatsApp Pill Button */
.top-bar-wa-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 13px 4px 8px;
  border-radius: 20px;
  color: #ffffff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-wa-icon-box {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.top-bar-wa-text {
  letter-spacing: 0.2px;
  color: #ffffff;
}

.top-bar-wa-btn:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.45);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 6px 24px -4px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  max-width: 1440px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-icon {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 24px -2px rgba(3, 105, 161, 0.45);
}

.brand-logo-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px -2px rgba(3, 105, 161, 0.25);
  flex-shrink: 0;
  border: 1.5px solid rgba(2, 132, 199, 0.2);
  overflow: hidden;
  transition: all var(--transition-normal);
  padding: 2px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 2px);
  display: block;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7px 11px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--slate-700);
  line-height: 1.25;
  position: relative;
  transition: all var(--transition-normal);
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}

.nav-link span {
  display: block;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-700);
  background: rgba(3, 105, 161, 0.07);
  border-color: rgba(3, 105, 161, 0.12);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary-800);
  background: var(--primary-50);
  border-color: var(--primary-200);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta-btn {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.3);
}

.mobile-toggle {
  display: none;
  background: var(--slate-100);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--slate-800);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--slate-200);
  color: var(--primary-800);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 60px 0 90px 0;
  background: linear-gradient(170deg, #f0f9ff 0%, #ffffff 50%, #f0fdfa 100%);
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid var(--primary-200, #bae6fd);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-800);
}

.hero-badge.hero-trust-pill {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.hero-badge.hero-trust-pill svg {
  color: #16a34a;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  margin-bottom: 20px;
  color: var(--slate-950);
}

.hero-title .highlight {
  color: var(--primary-700);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--amber-100);
  z-index: -1;
  border-radius: 4px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 480px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-200);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1.15;
}

.hero-stat-number.stat-nowrap {
  white-space: nowrap;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Media & Doctor Card */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
  background-color: var(--white);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-card-1 {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--slate-100);
  animation: floatUpDown 4s ease-in-out infinite;
}

.hero-floating-card-2 {
  position: absolute;
  top: 30px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--slate-100);
  animation: floatUpDown 4.5s ease-in-out infinite 1s;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-icon.blue {
  background-color: var(--primary-100);
  color: var(--primary-700);
}

.floating-icon.teal {
  background-color: var(--teal-100);
  color: var(--teal-700);
}

.floating-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
}

.floating-text p {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ==========================================================================
   QUICK ACTION STRIP / PILLARS
   ========================================================================== */
.quick-pillars {
  margin-top: -40px;
  position: relative;
  z-index: 20;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--white);
  padding: 24px 20px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-100);
  transition: all var(--transition-normal);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200, #bae6fd);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.pillar-icon.p-blue { background: var(--primary-50); color: var(--primary-700); }
.pillar-icon.p-teal { background: var(--teal-50); color: var(--teal-600); }
.pillar-icon.p-amber { background: var(--amber-50); color: var(--amber-600); }
.pillar-icon.p-coral { background: var(--coral-50); color: var(--coral-500); }

.pillar-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pillar-content p {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.45;
}

/* ==========================================================================
   MULTIDISCIPLINARY CLINIC UNITS (TABS)
   ========================================================================== */
.units-section {
  background-color: var(--white);
}

.units-tab-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--slate-100);
  padding: 8px;
  border-radius: var(--radius-full);
  max-width: 100%;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.units-tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--primary-800);
}

.tab-btn.active {
  background-color: var(--white);
  color: var(--primary-800);
  box-shadow: var(--shadow-md);
}

.unit-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.unit-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.unit-content-card {
  background: var(--slate-50);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
}

.unit-text-side {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.unit-text-side h3 {
  font-size: 1.85rem;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.unit-text-side p {
  color: var(--slate-600);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.unit-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 32px;
}

.unit-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
}

.unit-feature-item svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

.unit-media-side {
  position: relative;
  overflow: hidden;
}

.unit-media-side img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.unit-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===================================================================/* ==========================================================================
   DOCTOR BIO & CLINICAL PHILOSOPHY (DOKTORUMUZ)
   ========================================================================== */
.doctor-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.doctor-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.doctor-portrait-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-image-frame {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(8, 47, 73, 0.22);
  border: 6px solid var(--white);
  background-color: var(--white);
  position: relative;
}

.doctor-image-frame img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  object-position: center 10%;
  transition: transform var(--transition-slow);
}

.doctor-portrait-card:hover .doctor-image-frame img {
  transform: scale(1.02);
}

.doctor-exp-badge {
  position: absolute;
  bottom: 24px;
  right: -12px;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 30px -5px rgba(2, 132, 199, 0.4);
  text-align: center;
  border: 3px solid var(--white);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.doctor-exp-badge .num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  color: #38bdf8;
}

.doctor-exp-badge .lbl {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.95;
  margin-top: 4px;
  display: block;
}

/* Portrait Quick Highlights */
.doctor-quick-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.doc-quick-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.doc-quick-pill:hover {
  border-color: var(--primary-400);
  transform: translateY(-1px);
}

.doc-quick-pill svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

/* Doctor Info Content */
.doctor-info-content h2 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.doctor-title-lead {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 18px;
}

.doctor-seal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--slate-300);
}

.doctor-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  color: var(--teal-800);
  border: 1px solid var(--teal-200, #99f6e4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.doctor-seal-badge svg {
  color: var(--teal-600);
}

.doctor-signature-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-800);
  letter-spacing: -0.01em;
}

.doctor-quote {
  background: var(--white);
  border-left: 4px solid var(--primary-600);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--slate-700);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.doctor-bio-text {
  color: var(--slate-600);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.doctor-credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
}

.cred-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-300, #7dd3fc);
}

.cred-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-icon-box.c-blue { background: var(--primary-100); color: var(--primary-700); }
.cred-icon-box.c-teal { background: var(--teal-100); color: var(--teal-700); }
.cred-icon-box.c-amber { background: var(--amber-100); color: var(--amber-700); }
.cred-icon-box.c-coral { background: var(--coral-50); color: var(--coral-500); }

.cred-text h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.cred-text p {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* ==========================================================================
   DOCTOR SUB-TABS (2 PROFESYONEL DETAY TABI)
   ========================================================================== */
.doctor-details-wrapper {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-top: 36px;
}

.doctor-sub-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--slate-100);
  border-bottom: 2px solid var(--slate-200);
  padding: 8px;
  gap: 8px;
}

.doctor-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate-600);
  background: transparent;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-align: center;
}

.doctor-tab-btn svg {
  color: var(--slate-400);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.doctor-tab-btn:hover {
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.7);
}

.doctor-tab-btn.active {
  background: var(--white);
  color: var(--primary-900);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-200);
}

.doctor-tab-btn.active svg {
  color: var(--teal-600);
}

.doc-tab-counter {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--slate-200);
  color: var(--slate-700);
  transition: all var(--transition-fast);
}

.doctor-tab-btn.active .doc-tab-counter {
  background: var(--teal-100);
  color: var(--teal-900);
}

.doctor-tab-pane {
  display: none;
  padding: 38px 40px;
  animation: fadeIn 0.35s ease forwards;
}

.doctor-tab-pane.active {
  display: block;
}

/* --- Sub-Tab 1: Philosophy --- */
.philosophy-hero-box {
  background: linear-gradient(135deg, var(--slate-900) 0%, #075985 100%);
  color: var(--white);
  padding: 32px 36px;
  border-radius: var(--radius-xl);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.philosophy-hero-box::after {
  content: '“';
  position: absolute;
  right: 20px;
  bottom: -40px;
  font-size: 160px;
  font-family: serif;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.philosophy-hero-box h4 {
  color: #38bdf8;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.philosophy-hero-box p {
  color: var(--slate-200);
  font-size: 1.02rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.philosophy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.phil-pillar-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
}

.phil-pillar-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-300);
}

.phil-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.phil-icon.p-teal { background: var(--teal-100); color: var(--teal-700); }
.phil-icon.p-blue { background: var(--primary-100); color: var(--primary-700); }
.phil-icon.p-amber { background: var(--amber-100); color: var(--amber-700); }
.phil-icon.p-coral { background: var(--coral-50); color: var(--coral-500); }

.phil-pillar-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.phil-pillar-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* --- Sub-Tab 2: Specialty Areas Grid --- */
.specialties-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.spec-category-card {
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.spec-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-200);
}

.spec-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-cat-icon.c-blue { background: var(--primary-100); color: var(--primary-700); }
.spec-cat-icon.c-teal { background: var(--teal-100); color: var(--teal-700); }
.spec-cat-icon.c-amber { background: var(--amber-100); color: var(--amber-700); }

.spec-category-header h4 {
  font-size: 1.1rem;
  color: var(--slate-900);
  font-weight: 700;
}

.spec-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.spec-chip:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--primary-900);
  transform: translateY(-1px);
}

.spec-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* --- Sub-Tab 3: Therapy Trainings & Certifications --- */
.trainings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.training-cert-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.training-cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-400);
}

.training-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.training-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--teal-100);
}

.training-title h5 {
  font-size: 1.02rem;
  color: var(--slate-900);
  font-weight: 700;
  margin-bottom: 2px;
}

.training-badge {
  display: inline-block;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.training-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* --- Sub-Tab 4: Academic Publications & Memberships --- */
.academic-overview-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 30px;
}

.academic-overview-banner h4 {
  color: #38bdf8;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.academic-overview-banner p {
  color: var(--slate-300);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.memberships-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.membership-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-100);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.membership-tag svg {
  color: var(--teal-400);
}

.publications-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.publications-header-row h4 {
  font-size: 1.15rem;
  color: var(--slate-900);
  font-weight: 700;
}

.publications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.publication-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.publication-card:hover {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-sm);
  background: var(--slate-50);
}

.pub-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pub-journal-badge {
  background: var(--primary-100);
  color: var(--primary-800);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.pub-year-badge {
  font-size: 0.8rem;
  color: var(--slate-500);
  font-weight: 600;
}

.pub-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.45;
}

.pub-authors {
  font-size: 0.85rem;
  color: var(--slate-600);
}

.pub-authors strong {
  color: var(--primary-700);
}

.pub-source-info {
  font-size: 0.82rem;
  color: var(--teal-700);
  font-weight: 600;
}

/* ==========================================================================
   INTERACTIVE PARENT ASSESSMENT GUIDE (SEMPTOM REHBERİ)
   ========================================================================== */
.assessment-section {
  background: linear-gradient(140deg, #0a192f 0%, #0d3b66 50%, #061e38 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.assessment-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.assessment-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.assessment-section .section-tag.amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.assessment-section .section-header h2 {
  color: #ffffff !important;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.assessment-section .section-header p {
  color: #cbd5e1 !important;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 680px;
  margin: 12px auto 0 auto;
}

.assessment-box {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.guide-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-step-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45);
  flex-shrink: 0;
}

.age-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.age-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.age-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
}

.age-btn.selected {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

.age-btn .age-range {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.age-btn.selected .age-range {
  color: #0f172a;
}

.age-btn .age-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.age-btn.selected .age-desc {
  color: #0284c7;
  font-weight: 700;
}

.symptoms-selector {
  margin-bottom: 10px;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.symptom-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 15px 18px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #f8fafc;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.symptom-chip svg {
  color: #38bdf8;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.symptom-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.symptom-chip:hover svg {
  transform: translateX(4px);
  color: #ffffff;
}

.symptom-chip.selected {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #38bdf8;
  font-weight: 700;
  box-shadow: 0 8px 22px -4px rgba(2, 132, 199, 0.55);
  transform: translateY(-2px);
}

.symptom-chip.selected svg {
  color: #ffffff;
  transform: translateX(4px);
}

.assessment-result-panel {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-xl);
  padding: 34px;
  margin-top: 32px;
  display: none;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.4s ease forwards;
}

.assessment-result-panel.visible {
  display: block;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-200);
}

.result-header h4 {
  font-size: 1.45rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.3;
}

.result-badge {
  background: #e0f2fe;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-block;
}

.result-details-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
}

.result-desc p {
  color: #334155;
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.result-desc strong {
  color: #0f172a;
}

.recommended-tests-box {
  background: #f8fafc;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
}

.recommended-tests-box h5 {
  font-size: 1.02rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommended-tests-box h5 svg {
  color: #0284c7;
}

.rec-test-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  margin: 0 6px 8px 0;
}

/* ==========================================================================
   CLINICAL SERVICES & DIAGNOSES GRID
   ========================================================================== */
.services-section {
  background-color: var(--slate-50);
}

.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-500);
  color: var(--primary-700);
}

.filter-btn.active {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300, #7dd3fc);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.service-icon-box.s-blue { background: var(--primary-50); color: var(--primary-700); }
.service-icon-box.s-teal { background: var(--teal-50); color: var(--teal-600); }
.service-icon-box.s-amber { background: var(--amber-50); color: var(--amber-600); }

.service-age-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-600);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--slate-900);
}

.service-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-symptoms-snippet {
  background: var(--slate-50);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--slate-600);
}

.service-symptoms-snippet strong {
  color: var(--slate-800);
  display: block;
  margin-bottom: 4px;
}

.service-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  gap: 10px;
  color: var(--primary-900);
}

/* ==========================================================================
   PSYCHOMETRIC & COGNITIVE TESTS SHOWCASE
   ========================================================================== */
.tests-section {
  background-color: var(--white);
}

.tests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.test-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  padding: 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.test-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-300, #5eead4);
}

.test-card-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}

.test-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.test-card:hover .test-card-media img {
  transform: scale(1.05);
}

.test-card-info h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.test-subtitle {
  font-size: 0.85rem;
  color: var(--teal-700);
  font-weight: 600;
  margin-bottom: 12px;
}

.test-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

.test-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.test-badge {
  font-size: 0.78rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  font-weight: 500;
}

/* ==========================================================================
   BLOG & PARENT ARTICLES HUB
   ========================================================================== */
.blog-section {
  background-color: var(--slate-50);
}

.blog-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.blog-search-box {
  position: relative;
  max-width: 340px;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-size: 0.9rem;
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.blog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}

.blog-category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-pill {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}

.blog-pill.active {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.blog-card-thumb {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-800);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--slate-900);
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-800);
}

/* ==========================================================================
   PHOTO & CLINIC TOUR GALLERY (LIGHTBOX)
   ========================================================================== */
.gallery-section {
  background-color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  opacity: 0.9;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--slate-200);
}

.gallery-expand-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* ==========================================================================
   TESTIMONIALS & FAQ ACCORDION
   ========================================================================== */
.faq-testimonials-section {
  background-color: var(--slate-50);
}

.faq-grid-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
}

.faq-question:hover {
  color: var(--primary-700);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-100);
  color: var(--primary-800);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Reassuring Testimonials Column */
.testimonials-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.testimonial-author-name {
  font-weight: 700;
  color: var(--slate-900);
}

.testimonial-tag {
  color: var(--teal-700);
  font-weight: 600;
}

/* ==========================================================================
   APPOINTMENT, CONTACT & MAP SECTION
   ========================================================================== */
.appointment-contact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
}

.appointment-form-container {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

.appointment-form-container h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.appointment-form-container p {
  color: var(--slate-500);
  margin-bottom: 28px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--slate-400);
  pointer-events: none;
  transition: color var(--transition-fast);
  z-index: 2;
}

.input-icon-wrapper .form-control {
  padding-left: 42px;
}

.input-icon-wrapper:focus-within .input-icon {
  color: var(--primary-600);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background: var(--slate-50);
  font-size: 0.92rem;
  color: var(--slate-800);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Contact Info & Live Map Card */
.contact-info-card {
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-2xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-info-card p.desc {
  color: var(--slate-300);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.transit-info-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.transit-badge-icon {
  color: var(--amber-400, #fbbf24);
  flex-shrink: 0;
  margin-top: 2px;
}

.transit-badge-text {
  font-size: 0.82rem;
  color: var(--slate-300);
  line-height: 1.5;
}

.transit-badge-text strong {
  color: var(--white);
  display: inline-block;
  margin-right: 4px;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400, #2dd4bf);
  flex-shrink: 0;
}

.contact-detail-text h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail-text p, .contact-detail-text a {
  color: var(--slate-300);
  font-size: 0.88rem;
  line-height: 1.4;
}

.contact-detail-text a:hover {
  color: var(--teal-400, #2dd4bf);
}

.map-container-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
  position: relative;
}

.map-container-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-overlay-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
}

/* ==========================================================================
   FOOTER & LEGAL
   ========================================================================== */
.footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--slate-400);
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

.social-icon-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.45);
}

.footer-col h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--teal-500);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--slate-400);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--amber-500);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--slate-400);
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   MODAL DIALOGS (Service Details, Blog Reading, Lightbox, Appointment)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-box {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--slate-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-950);
}

.modal-header {
  padding: 36px 36px 20px 36px;
  border-bottom: 1px solid var(--slate-200);
}

.modal-header h3 {
  font-size: 1.7rem;
  color: var(--slate-950);
  margin-top: 8px;
}

.modal-body {
  padding: 30px 36px 36px 36px;
  color: var(--slate-700);
  line-height: 1.75;
  font-size: 1rem;
}

.modal-body h4 {
  font-size: 1.25rem;
  color: var(--primary-900);
  margin: 24px 0 10px 0;
}

.modal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
}

.modal-body li {
  margin-bottom: 6px;
}

/* Lightbox Image Modal */
.lightbox-modal .modal-box {
  max-width: 960px;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.lightbox-img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  text-align: center;
  color: var(--white);
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Floating Sticky Contact Button (Mobile & Desktop) */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition-normal);
  animation: floatSoft 3s ease-in-out infinite;
}

.floating-whatsapp-widget:hover {
  background: #20BA5A;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1360px) {
  .header-container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
  }
  
  .nav-menu {
    gap: 2px;
  }
  
  .nav-link {
    padding: 6px 7px;
    font-size: 0.8rem;
  }
  
  .brand-title {
    font-size: 1.22rem;
  }
  
  .brand-subtitle {
    font-size: 0.76rem;
  }
  
  .brand-logo-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }
  
  .header-cta-btn {
    padding: 8px 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1140px) {
  .header-container {
    height: 80px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px 24px;
    gap: 8px;
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
    border-bottom: 1px solid var(--slate-200);
    display: none;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
    animation: slideDownNav 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 18px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    text-align: left;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
  }

  .nav-link span {
    display: inline;
    white-space: normal;
  }

  .nav-link:hover, .nav-link.active {
    background: var(--primary-50);
    color: var(--primary-800);
    border-color: var(--primary-200);
    transform: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .unit-content-card {
    grid-template-columns: 1fr;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doctor-portrait-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tests-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }

  .top-bar .container {
    justify-content: center;
  }

  .top-bar-right {
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .hero {
    padding: 40px 0 70px 0;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .units-tab-nav {
    justify-content: flex-start;
    padding: 6px;
    border-radius: var(--radius-lg);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .doctor-credentials-grid {
    grid-template-columns: 1fr;
  }

  .doctor-quick-badges {
    grid-template-columns: 1fr;
  }

  .doctor-tab-pane {
    padding: 24px 18px;
  }

  .doctor-sub-nav {
    grid-template-columns: 1fr;
    padding: 6px;
  }

  .doctor-tab-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
    justify-content: space-between;
  }

  .philosophy-hero-box {
    padding: 24px 20px;
  }

  .specialties-category-grid, .trainings-grid {
    grid-template-columns: 1fr;
  }

  .doctor-seal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .assessment-box {
    padding: 24px 18px;
    border-radius: var(--radius-xl);
  }

  .age-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .age-btn {
    padding: 14px 10px;
  }

  .symptoms-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .result-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .assessment-result-panel {
    padding: 22px 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .test-card {
    grid-template-columns: 1fr;
  }

  .test-card-media {
    height: 190px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-whatsapp-widget span {
    display: none;
  }
  
  .floating-whatsapp-widget {
    padding: 14px;
    border-radius: 50%;
  }

  .hero-floating-card-1, .hero-floating-card-2 {
    position: static;
    margin-top: 12px;
    animation: none;
  }

  .top-bar-phone-btn, .top-bar-ig-btn, .top-bar-wa-btn {
    padding: 3px 8px 3px 5px;
    font-size: 0.75rem;
  }

  .top-bar-ig-handle, .top-bar-phone-val, .top-bar-wa-text {
    font-size: 0.75rem;
  }
}
