/* ==========================================================================
   FİZİOTERAPEVT AYNUR ŞİRƏLİZADƏ — PREMIUM TİBBİ SAYT DİZAYNI (styles.css)
   Ortopedik & Nevroloji Reabilitasiya Mütəxəssisi | M.Sc Neyroelm
   ========================================================================== */

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-deeper: #065f46;
  --primary-light: #ecfdf5;
  --primary-border: #a7f3d0;
  --violet: #7c3aed;
  --violet-dark: #6d28d9;
  --violet-light: #f5f3ff;
  --violet-border: #ddd6fe;
  --teal: #0d9488;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --slate: #334155;
  --muted: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-emerald: 0 12px 32px rgba(5, 150, 105, 0.25);
  --shadow-violet: 0 12px 32px rgba(124, 58, 237, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background-color: var(--light-bg);
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

header, section, main, footer, nav, article, aside {
  width: 100%;
  max-width: 100%;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  max-width: 100%;
}

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

/* ==========================================================================
   1. TOP FLOATING CAPSULE NAVBAR (ramazannasirli.az ÜSLUBUNDA)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  pointer-events: none;
}

.nav-capsule {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(5, 150, 105, 0.06);
  transition: all 0.3s ease;
}

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

.brand-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

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

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.nav-link {
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate);
  transition: all 0.22s ease;
  white-space: nowrap;
}

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

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

.btn-wa-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.btn-wa-nav:hover {
  background: #10b981;
  color: #fff;
  transform: translateY(-1px);
}

.btn-panel-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--violet-light);
  color: var(--violet-dark);
  border: 1px solid var(--violet-border);
}

.btn-panel-nav:hover {
  background: var(--violet);
  color: #fff;
  transform: translateY(-1px);
}

.btn-book-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.32);
}

.btn-book-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.42);
}

/* Mobil 3-xətli Menyu Düyməsi (Top Bar — Yalnız 3-xət ikonu, yanında yazı yoxdur) */
.mobile-dashboard-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-dashboard-trigger:hover {
  transform: scale(1.05);
}

.hamburger-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4.5px;
  width: 20px;
}

.hamburger-bars span {
  display: block;
  height: 2.4px;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  transition: all 0.25s ease;
}

/* ==========================================================================
   2. MOBİL DASHBOARD DRAWER (Qalereya, Haqqında, Məqalələr, FAQ, Blog, Qəbula Yazıl)
   VƏ MOBİL 3-DÜYMƏ ALT DASHBOARD BARI
   ========================================================================== */
.mobile-dashboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-dashboard-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-dashboard-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 390px);
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 45px rgba(15, 23, 42, 0.22);
  overflow-y: auto;
}

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

.drawer-header {
  padding: 22px 20px;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 60%, #4c1d95 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-doc-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-doc-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #34d399;
}

.drawer-doc-profile h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.drawer-doc-profile span {
  font-size: 0.74rem;
  color: #a7f3d0;
  display: block;
}

.drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  padding: 20px;
  flex: 1;
}

.drawer-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Mobil Dashboard-da tələb olunan 6 əsas bölmə qridi */
.drawer-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.drawer-menu-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 15px 14px;
  border-radius: 16px;
  background: var(--light-bg);
  border: 1.5px solid var(--border);
  transition: all 0.2s ease;
}

.drawer-menu-card:hover,
.drawer-menu-card:active {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.drawer-menu-card.highlight-book {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #fff;
  border: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

.drawer-menu-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.drawer-menu-card.highlight-book .drawer-menu-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.drawer-menu-title {
  font-size: 0.94rem;
  font-weight: 800;
}

.drawer-menu-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.drawer-menu-card.highlight-book .drawer-menu-sub {
  color: rgba(255,255,255,0.88);
}

.drawer-extra-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.drawer-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.85rem;
}

.drawer-action-row > span:last-child {
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
  margin-left: auto;
}

.drawer-action-row.wa-row {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.drawer-action-row.panel-row {
  background: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.drawer-action-row.ig-row {
  background: #fdf2f8;
  color: #9d174d;
  border: 1px solid #fbcfe8;
}

/* Mobil 3-Düymə Sabit Alt Dashboard Paneli (Bottom Bar) */
.mobile-bottom-dashboard {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.1);
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.mob-dash-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mob-dash-btn:hover,
.mob-dash-btn.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-border);
}

.mob-dash-btn.center-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #fff;
  padding: 11px 14px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
  transform: translateY(-4px);
}

.mob-dash-btn .mob-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* ==========================================================================
   3. HERO BÖLMƏSİ (ramazannasirli.az ÜSLUBUNDA VİDEO + FOTO + OVERLAPPING CARDS)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding: 135px 0 110px;
  background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.18), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.28), transparent 50%),
              linear-gradient(135deg, #042f2e 0%, #0f172a 55%, #1e1b4b 100%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
  filter: saturate(1.1) contrast(1.05);
}

.hero-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.82) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
  backdrop-filter: blur(8px);
}

.hero-badge.violet {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(167, 139, 250, 0.45);
  color: #ddd6fe;
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-title .text-gradient {
  background: linear-gradient(90deg, #34d399 0%, #6ee7b7 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.72;
}

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

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.38);
  border: none;
  cursor: pointer;
}

.btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.5);
}

.btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.96rem;
  backdrop-filter: blur(10px);
}

.btn-whatsapp-lg:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-3px);
}

.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.14);
}

.hero-stat-item h4 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1.1;
}

.hero-stat-item p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Sağ Tərəf Həkim Portreti Kartı */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-portrait-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(52, 211, 153, 0.5);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #1e293b, #0f172a);
}

.hero-portrait-card img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-portrait-caption,
.floating-chip {
  display: none !important;
}

/* ==========================================================================
   4. OVERLAPPING INFO CARDS (ramazannasirli.az KONSULTASİYA & XİDMƏT KARTLARI)
   ========================================================================== */
.overlap-section {
  position: relative;
  z-index: 10;
  margin-top: -56px;
  margin-bottom: 50px;
}

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

.overlap-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.overlap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

.overlap-card.featured-emerald {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #fff;
  border: none;
}

.overlap-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.overlap-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.overlap-card.featured-emerald .overlap-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #6ee7b7;
}

.overlap-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.overlap-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.overlap-card.featured-emerald p {
  color: #d1fae5;
}

.schedule-pill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.schedule-pill-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

/* ==========================================================================
   5. BÖLMƏ BAŞLIQLARI (SECTION HEADERS)
   ========================================================================== */
.section-pad {
  padding: 84px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.section-tag.violet {
  background: var(--violet-light);
  color: var(--violet-dark);
  border-color: var(--violet-border);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
}

/* ==========================================================================
   6. HAQQINDA & TAM CV BÖLMƏSİ (SCREENSHOT 1, 2, 3-Ə 100% UYĞUN)
   ========================================================================== */
.about-cv-wrapper {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-hero-banner {
  background: linear-gradient(135deg, #f5f3ff 0%, #ecfdf5 50%, #f0fdfa 100%);
  padding: 42px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.about-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.16);
  border: 3px solid #fff;
  background: #fff;
}

.about-photo-frame img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: top center;
}

.about-msc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 100px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid #c4b5fd;
  margin-bottom: 12px;
}

.about-doc-name {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.about-doc-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--violet-dark);
  margin-bottom: 18px;
}

.about-quote-box {
  background: #ffffff;
  border-left: 4px solid var(--violet);
  padding: 20px 24px;
  border-radius: 0 18px 18px 0;
  box-shadow: var(--shadow-sm);
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.about-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-2);
}

/* CV Details Grid (İş yeri, Staj, Təhsil, Sertifikatlar, Bacarıqlar, Könüllülük, Dillər) */
.cv-details-body {
  padding: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cv-block {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
}

.cv-block.full-span {
  grid-column: span 2;
}

.cv-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--violet-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.workplace-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.workplace-card {
  background: #fff;
  border: 1px solid #ddd6fe;
  border-left: 4px solid var(--violet);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.workplace-card h4 {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.workplace-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

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

.internship-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
}

.internship-card h5 {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.dept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dept-tag {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.edu-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edu-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.edu-year {
  padding: 6px 12px;
  border-radius: 10px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.edu-info h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}

.edu-info p {
  font-size: 0.88rem;
  color: var(--slate);
}

.edu-info span {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

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

.cert-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dark-2);
}

.cert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}

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

.skill-pill {
  padding: 9px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #c4b5fd;
  color: #5b21b6;
  font-size: 0.85rem;
  font-weight: 700;
}

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

.lang-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.lang-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark);
}

.lang-card span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--violet);
}

/* ==========================================================================
   7. İXTİSASLAŞMIŞ REABİLİTASİYA XİDMƏTLƏRİ
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-link {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   8. QALEREYA BÖLMƏSİ (ŞƏKİLLƏR BÖLMƏSİ VƏ VİDEOLAR BÖLMƏSİ AYRI-AYRI)
   ========================================================================== */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tab-pill {
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}

.tab-pill:hover,
.tab-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}

.gallery-section-block {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.gallery-section-block.photos-block {
  border-top: 5px solid var(--primary);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 140px);
}

.gallery-section-block.videos-block {
  border-top: 5px solid var(--violet);
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 140px);
}

.gallery-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.gallery-section-head h3 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-section-head p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}

.gallery-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
  white-space: nowrap;
}

.gallery-count-badge.violet {
  background: var(--violet-light);
  color: var(--violet-dark);
  border-color: var(--violet-border);
}

.gallery-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

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

.photo-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.28s ease;
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.photo-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #0f172a;
}

.photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover .photo-img-wrap img {
  transform: scale(1.06);
}

.photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(5, 150, 105, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.photo-body {
  padding: 16px;
}

.photo-body h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--dark);
}

.photo-body p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Video Qalereya Qridi */
.gallery-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

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

.video-thumb-wrap {
  position: relative;
  height: 230px;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.video-card:hover .video-play-overlay {
  background: rgba(15, 23, 42, 0.18);
}

.play-circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.25s ease;
}

.video-card:hover .play-circle-btn {
  transform: scale(1.12);
  background: var(--primary);
  color: #fff;
}

.video-cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.video-duration-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.video-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-card-body h4 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.video-card-body p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   9. 174 MƏQALƏ & BLOG BÖLMƏSİ + AXTARIŞ & KATEQORİYA FİLTRİ
   ========================================================================== */
.content-controls-bar {
  background: #ffffff;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

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

.search-input-wrap input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input-wrap input:focus {
  border-color: var(--primary);
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
}

.type-switch-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 8px 15px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--light-bg);
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.article-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.26s ease;
}

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

.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.article-badge {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 800;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.article-badge.type-blog {
  background: var(--violet-light);
  color: var(--violet-dark);
}

.article-meta-small {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.38;
}

.article-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
}

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

.btn-read-article {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-read-article:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.load-more-wrap {
  text-align: center;
  margin-top: 34px;
}

/* ==========================================================================
   10. 120 FAQ (TEZ-TEZ VERİLƏN SUALLAR) BÖLMƏSİ
   ========================================================================== */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.22s ease;
}

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

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  cursor: pointer;
}

.faq-q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  margin-right: 10px;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 60px;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.68;
}

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

/* ==========================================================================
   11. MODALLAR (MƏQALƏ OXUYUCU MODAL, VİDEO/FOTO LIGHTBOX MODAL)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.modal-header {
  padding: 20px 26px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
}

.modal-body h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--dark);
}

.modal-body p,
.modal-body li {
  font-size: 0.96rem;
  color: var(--slate);
  margin-bottom: 10px;
}

.modal-body ul,
.modal-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.article-highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 18px 20px;
  border-radius: 0 14px 14px 0;
  margin-top: 20px;
  color: var(--primary-deeper);
}

/* Standalone Blog Səhifələri Üçün (blog/*.html) */
.blog-article-page {
  padding-bottom: 80px;
}

.article-container {
  max-width: 860px;
  margin: 120px auto 40px;
  background: #fff;
  padding: 42px;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.article-breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.article-breadcrumb a {
  color: var(--primary);
  font-weight: 700;
}

.article-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 12px 0;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 24px 0 10px;
  color: var(--dark);
}

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

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

.article-cta-card {
  margin-top: 34px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #064e3b, #0f172a);
  color: #fff;
}

.article-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn-primary-cta {
  padding: 13px 24px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.btn-wa-cta {
  padding: 13px 24px;
  border-radius: 100px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.related-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--light-bg);
}

/* ==========================================================================
   12. FLOATING WHATSAPP DÜYMƏSİ, ALT SOL YUXARI/AŞAĞI İKONU VƏ FOOTER
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  background: #25D366;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.42);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

/* Alt Sol Tərəfdə Sürətli Yuxarı / Aşağı Düşmək Üçün İkon Vidceti */
.scroll-nav-widget {
  position: fixed;
  bottom: 26px;
  left: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scroll-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.scroll-nav-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 26px rgba(5, 150, 105, 0.4);
}

.scroll-nav-btn:active {
  transform: scale(0.95);
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 100px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.footer-links a:hover {
  color: #34d399;
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   13. RESPONSIVE (HƏR BİR TELEFON VƏ PLANŞET EKRANINI 100% TAM KAPLAYAN REJİM)
   ========================================================================== */
.hero-grid > *,
.overlap-grid > *,
.about-hero-banner > *,
.cv-details-body > *,
.services-grid > *,
.gallery-photos-grid > *,
.gallery-videos-grid > *,
.quick-book-banner-grid > *,
.articles-grid > *,
.faq-list > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .nav-actions .btn-wa-nav,
  .nav-actions .btn-book-nav {
    display: none;
  }
  .mobile-dashboard-trigger {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .hero-badges, .hero-cta-group {
    justify-content: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .overlap-grid,
  .services-grid,
  .articles-grid,
  .gallery-videos-grid,
  .gallery-photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-hero-banner {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .about-photo-frame {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }
  .cv-details-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .cv-block.full-span {
    grid-column: span 1;
  }
  .quick-book-banner-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .site-header {
    top: calc(8px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 8px;
  }
  .nav-capsule {
    width: 100%;
    max-width: 100%;
    padding: 7px 10px 7px 12px;
    gap: 8px;
  }
  .brand-logo {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .brand-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .brand-info {
    min-width: 0;
    overflow: hidden;
  }
  .brand-name {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-sub {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-actions .btn-panel-nav {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 0.76rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mobile-dashboard-trigger {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  /* Mobil açılan menyu və alt bar telefon ekranını 100% kaplasın */
  .mobile-dashboard-drawer {
    width: 100vw !important;
    max-width: 100% !important;
  }
  .mobile-bottom-dashboard {
    display: block;
    width: 100% !important;
    max-width: 100vw !important;
    left: 0;
    right: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bottom-grid {
    width: 100% !important;
    max-width: 100% !important;
  }
  .floating-wa-btn {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    right: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
  }
  .scroll-nav-widget {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    gap: 6px;
  }
  .scroll-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
  .hero-section {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 96px 0 64px;
  }
  .hero-badge {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 7px 12px;
  }
  .hero-cta-group {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta-group .btn-primary-lg,
  .hero-cta-group .btn-whatsapp-lg {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
  .hero-portrait-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    border-radius: 22px;
  }
  .hero-portrait-card img {
    width: 100%;
    height: 390px;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .overlap-section {
    margin-top: -28px;
    margin-bottom: 36px;
  }
  .section-pad {
    padding: 52px 0;
  }
  .overlap-grid,
  .services-grid,
  .articles-grid,
  .gallery-videos-grid,
  .gallery-photos-grid,
  .faq-list,
  .workplace-cards,
  .internship-grid,
  .cert-grid,
  .related-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }
  .internship-card {
    grid-column: span 1 !important;
  }
  .lang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-cv-wrapper,
  .gallery-section-block,
  .overlap-card,
  .service-card,
  .article-card,
  .content-controls-bar {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
  }
  .about-hero-banner,
  .cv-details-body,
  .article-container,
  .gallery-section-block {
    padding: 18px 14px;
  }
  .cv-block {
    padding: 18px 14px;
  }
  .about-photo-frame {
    max-width: 100% !important;
    width: 100% !important;
  }
  .about-photo-frame img {
    width: 100%;
    height: 360px;
  }
  .about-quick-meta {
    flex-direction: column;
    width: 100%;
  }
  .meta-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .search-input-wrap {
    min-width: 0 !important;
    width: 100% !important;
  }
  .type-switch-btns {
    width: 100%;
  }
  .type-switch-btns .tab-pill {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  #homeQuickSlotsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .faq-answer {
    padding: 0 16px 16px 16px;
  }
  .edu-item {
    flex-direction: column;
    gap: 8px;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .modal-window {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
  }
  .modal-body {
    padding: 18px 14px;
  }
}
