/* ==========================================================================
   Uzman Fizioterapevt Taha Alper Çiber - Rəsmi Tibbi Veb-Sayt Dizayn Sistemi
   Dizayn: Həkim / Reabilitasiya Estetikası (Emerald & Dark Slate Medical UI)
   ========================================================================== */

:root {
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;

  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #131c31;
  --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;

  --amber-500: #f59e0b;
  --red-500: #ef4444;
  --blue-500: #3b82f6;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --instagram: #e1306c;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
  --shadow-emerald: 0 12px 30px rgba(16, 185, 129, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img, video {
  max-width: 100%;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-info-bar {
  background: var(--slate-950);
  color: var(--slate-300);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

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

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

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-info-item i {
  color: var(--emerald-400);
}

.top-info-item a:hover {
  color: var(--emerald-400);
}

.xml-pill {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-300);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}

.xml-pill:hover {
  background: var(--emerald-600);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--emerald-400);
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  color: var(--slate-200);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
}

.desktop-nav .nav-cta-btn {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-emerald);
  margin-left: 6px;
}

.desktop-nav .nav-cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
}

.desktop-nav .nav-admin-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--slate-200);
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.desktop-nav .nav-admin-btn:hover {
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}

/* ==========================================================================
   MOBILE 3-BUTTON DASHBOARD SYSTEM (Requirement #4)
   ========================================================================== */
.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

/* 3-Button Mobile Trigger & Quick Bar */
.mobile-3btn-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mob-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  color: #fff;
  background: rgba(30, 41, 59, 0.9);
}

.mob-top-btn.whatsapp {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.45);
  color: #4ade80;
}

.mob-top-btn.book {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  border-color: transparent;
  color: #fff;
}

.mob-dashboard-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1.5px solid var(--emerald-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.three-bars-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
}

.three-bars-icon span {
  display: block;
  height: 2.2px;
  width: 100%;
  background: var(--emerald-400);
  border-radius: 4px;
  transition: all 0.25s ease;
}

/* Mobile Dashboard Drawer / Modal */
.mobile-dashboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-dashboard-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-dashboard-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 410px);
  height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #09101f 100%);
  border-left: 1px solid rgba(16, 185, 129, 0.3);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  overflow-y: auto;
  color: #fff;
}

.mobile-dashboard-overlay.open .mobile-dashboard-drawer {
  transform: translateX(0);
}

.mob-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mob-dash-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob-dash-title i {
  color: var(--emerald-400);
  font-size: 1.2rem;
}

.mob-dash-title strong {
  font-size: 1.05rem;
  color: #fff;
}

.mob-dash-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.mob-dash-doctor-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 16px;
  padding: 12px;
  margin: 16px 0;
}

.mob-dash-doctor-mini img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-400);
}

.mob-dash-doctor-mini strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.mob-dash-doctor-mini span {
  font-size: 0.78rem;
  color: var(--emerald-300);
}

.mob-dash-grid-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 10px;
  font-weight: 700;
}

/* The 6 Required Dashboard Menu Items */
.mob-dash-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mob-dash-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  transition: all 0.22s ease;
}

.mob-dash-card:hover,
.mob-dash-card.highlight {
  border-color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.16);
  transform: translateY(-2px);
}

.mob-dash-card.highlight {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
  border-color: var(--emerald-400);
}

.mob-dash-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.mob-dash-card.highlight .mob-dash-card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.mob-dash-card strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.mob-dash-card small {
  font-size: 0.75rem;
  color: var(--slate-300);
}

.mob-dash-extra-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mob-dash-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.mob-dash-admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--slate-200);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Fixed Mobile Bottom 3-Button Dashboard Bar */
.mobile-bottom-3bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(16, 185, 129, 0.35);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  box-shadow: 0 -8px 30px rgba(2, 6, 23, 0.4);
}

.mob-bottom-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 10px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 41, 59, 0.85);
  cursor: pointer;
  text-align: center;
}

.mob-bottom-item.dash-btn {
  border-color: var(--emerald-400);
  color: var(--emerald-300);
}

.mob-bottom-item.book-btn {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  border-color: transparent;
  color: #fff;
}

.mob-bottom-item.wa-btn {
  background: linear-gradient(135deg, #25d366, #16a34a);
  border-color: transparent;
  color: #fff;
}

/* ==========================================================================
   HERO SECTION (Doctor & Medical Aesthetic)
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(6, 95, 70, 0.28) 0%, transparent 50%),
              linear-gradient(145deg, #071120 0%, #0f172a 55%, #0c1f24 100%);
  color: #fff;
  padding: 72px 0 84px;
  overflow: hidden;
}

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

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-300);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-badge.secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--slate-200);
}

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--emerald-300), var(--emerald-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--slate-300);
  max-width: 640px;
  margin-bottom: 26px;
}

.hero-credentials-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 9px 15px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
}

.cred-chip i {
  color: var(--emerald-400);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.4);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-outline-light:hover {
  border-color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.14);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-box strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.hero-stat-box span {
  font-size: 0.8rem;
  color: var(--slate-300);
}

/* Doctor Portrait Card in Hero */
.hero-doctor-card {
  position: relative;
  background: linear-gradient(180deg, #162235 0%, #0f172a 100%);
  border: 2px solid rgba(16, 185, 129, 0.45);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.48);
}

.hero-doc-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  margin-bottom: 20px;
  border: 2px solid rgba(16, 185, 129, 0.4);
}

.hero-doc-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-doc-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 150, 105, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 13px;
  border-radius: 999px;
}

.hero-doc-schedule-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 10px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.hero-doc-info h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-doc-info p {
  font-size: 0.88rem;
  color: var(--emerald-300);
  margin-bottom: 14px;
}

.hero-doc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   DOCTOR PROFILE SECTION (Matches Screenshot 1 & 2 Exact Aesthetic)
   ========================================================================== */
.section-pad {
  padding: 84px 0;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--slate-600);
  font-size: 1.02rem;
}

/* Dark Slate Doctor Dossier Card (Directly modeled after uploaded screenshots) */
.doctor-dossier-card {
  background: linear-gradient(180deg, #162032 0%, #111827 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 28px;
  padding: 40px;
  color: #f8fafc;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  max-width: 1040px;
  margin: 0 auto;
}

.dossier-top {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.dossier-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3.5px solid var(--emerald-500);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.dossier-title-area {
  flex: 1;
  min-width: 260px;
}

.dossier-role-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--emerald-400);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dossier-title-area h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.dossier-title-area .dossier-sub {
  color: var(--slate-300);
  font-size: 1rem;
  margin-bottom: 14px;
}

.dossier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dossier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.83rem;
  color: var(--slate-200);
}

.dossier-badge span {
  color: var(--emerald-400);
  font-weight: 800;
}

.dossier-block {
  margin-top: 28px;
}

.dossier-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.dossier-block-title .bar {
  width: 4px;
  height: 22px;
  background: var(--emerald-500);
  border-radius: 4px;
}

.dossier-profile-box {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  color: var(--slate-200);
  font-size: 0.97rem;
  line-height: 1.75;
}

.dossier-timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(16, 185, 129, 0.45);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-card {
  position: relative;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.2s ease;
}

.timeline-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
}

.timeline-date {
  display: inline-block;
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald-400);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.timeline-card h4 {
  font-size: 1.04rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--slate-300);
}

.dossier-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--slate-200);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* ==========================================================================
   SERVICES / SPECIALTIES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--emerald-50);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--slate-600);
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald-600);
}

/* ==========================================================================
   GALLERY & INSTAGRAM SECTION
   ========================================================================== */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: #fff;
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--emerald-600);
  color: #fff;
  border-color: var(--emerald-600);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--slate-900);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.9));
  color: #fff;
}

.gallery-caption strong {
  display: block;
  font-size: 0.95rem;
}

.gallery-caption span {
  font-size: 0.8rem;
  color: var(--emerald-300);
}

.instagram-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid rgba(225, 48, 108, 0.4);
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: #fff;
}

.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 14px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   ARTICLES (MƏQALƏLƏR) & BLOG SECTIONS (110+ Items)
   ========================================================================== */
.filter-search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-input-wrap i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}

.search-input-wrap input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border-radius: 12px;
  border: 1px solid var(--slate-300);
  outline: none;
}

.search-input-wrap input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.article-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-500);
}

.article-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--emerald-300);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.article-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--slate-500);
}

.article-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.4;
}

.article-card-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  flex: 1;
}

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

.btn-read-modal {
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: none;
  padding: 7px 13px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-read-modal:hover {
  background: var(--emerald-600);
  color: #fff;
}

/* ==========================================================================
   110+ FAQ ACCORDION SECTION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.open {
  border-color: var(--emerald-500);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--slate-900);
  cursor: pointer;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-num {
  min-width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

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

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

/* ==========================================================================
   BOOKING PAGE (QƏBULA YAZIL - booking.html) & ADMIN PANEL (admin.html)
   ========================================================================== */
.booking-hero {
  background: linear-gradient(135deg, #071120 0%, #0f172a 60%, #064e3b 100%);
  color: #fff;
  padding: 52px 0;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  margin: 40px 0 80px;
}

.booking-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--slate-200);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

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

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

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-300);
  background: var(--slate-50);
  color: var(--slate-900);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.slot-pill {
  padding: 11px 8px;
  border-radius: 11px;
  border: 1.5px solid var(--slate-200);
  background: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.slot-pill:hover:not(:disabled) {
  border-color: var(--emerald-500);
  color: var(--emerald-700);
  background: var(--emerald-50);
}

.slot-pill.selected {
  background: var(--emerald-600);
  color: #fff;
  border-color: var(--emerald-600);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3);
}

.slot-pill.booked,
.slot-pill:disabled {
  background: var(--slate-100);
  color: var(--slate-400);
  border-color: var(--slate-200);
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Admin Panel Specific */
.admin-login-screen {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at top, #064e3b 0%, #0f172a 60%);
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.admin-stat-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.admin-stat-card strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--slate-900);
}

.admin-table-wrap {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--slate-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-badge.confirmed { background: #d1fae5; color: #065f46; }
.status-badge.pending { background: #fef3c7; color: #92400e; }
.status-badge.completed { background: #dbeafe; color: #1e40af; }
.status-badge.cancelled { background: #fee2e2; color: #991b1b; }

/* Single Article Page & Modal */
.article-single-main {
  padding: 48px 0 80px;
}

.article-single-container {
  max-width: 900px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--slate-500);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-single-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--slate-200);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.article-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.badge-cat {
  background: var(--emerald-100);
  color: var(--emerald-800);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
}

.badge-type {
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
}

.article-single-card h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 20px;
}

.article-author-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--slate-50);
  border-radius: 16px;
  margin-bottom: 24px;
}

.article-author-bar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-500);
}

.article-author-bar strong {
  display: block;
  color: var(--slate-900);
}

.article-author-bar span {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.article-hero-img {
  border-radius: 18px;
  overflow: hidden;
  max-height: 420px;
  margin-bottom: 28px;
}

.article-content-body h3 {
  font-size: 1.3rem;
  color: var(--slate-900);
  margin: 24px 0 10px;
}

.article-content-body p,
.article-content-body li {
  color: var(--slate-700);
  margin-bottom: 12px;
  font-size: 1.01rem;
}

.article-content-body ul,
.article-content-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.article-content-body blockquote {
  background: var(--emerald-50);
  border-left: 4px solid var(--emerald-600);
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  margin: 20px 0;
  color: var(--emerald-950);
}

.article-cta-box {
  margin-top: 32px;
  background: var(--slate-900);
  color: #fff;
  padding: 26px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-articles-section {
  margin-top: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.related-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp i {
  font-size: 1.4rem;
}

/* Modal Reader */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-modal-backdrop.active {
  display: flex;
}

.custom-modal-box {
  background: #fff;
  border-radius: 24px;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-300);
  padding: 68px 0 36px;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--emerald-400);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-header-actions {
    display: flex;
  }
  .mobile-bottom-3bar {
    display: grid;
  }
  body {
    padding-bottom: 72px;
  }
  .floating-whatsapp {
    bottom: 82px;
    right: 16px;
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  .hero-grid,
  .booking-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .top-info-bar {
    display: none;
  }
  .doctor-dossier-card,
  .booking-card,
  .article-single-card {
    padding: 22px 18px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .mob-top-btn span {
    display: none;
  }
}
