/* -------------------------------------------------------------------------- */
/* Dr. Maqbool Ahmed ENT Website - Stylesheet                                 */
/* Refined & Spaced Header Navigation System                                   */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1a4d9c;
  --primary-dark: #0f356e;
  --primary-light: #eef4fc;
  --primary-accent: #7b2e6a;
  --accent-red: #d32f2f;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #ffffff;
  --bg-soft: #f8fafd;
  --bg-tint: #f1f5f9;
  --bg-dark: #0a1f44;
  --border: #e2e8f0;
  --border-focus: #1a4d9c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(26,77,156,0.15), 0 4px 12px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --font-heading: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

a:hover {
  color: var(--accent-red);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  background-color: #fde8e8;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.sec-head {
  margin-bottom: 3rem;
}

.sec-head.center {
  text-align: center;
}

.sec-head h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  background: linear-gradient(90deg, #1a4d9c, #7b2e6a, #d32f2f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sec-head p.muted {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
}

.sec-head.center p.muted {
  margin: 0 auto;
}

/* Sections */
section {
  padding: 5rem 0;
}

.sec-soft {
  background: linear-gradient(to bottom, #f8fafd 10%, #fff9f9 60%);
}

.sec-tint {
  background-color: var(--bg-tint);
}

.sec-dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.sec-dark h2, .sec-dark h3 {
  color: #ffffff;
  -webkit-text-fill-color: initial;
}

/* Topbar */
.topbar {
  background-color: #071936;
  color: #d1e2f5;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar .tb-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.topbar .tb-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar .tb-right a {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.topbar .tb-right a:hover {
  color: #ff6b6b;
}

/* -------------------------------------------------------------------------- */
/* HEADER & SITE NAVIGATION                                                    */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(26, 77, 156, 0.08);
  padding: 0.5rem 0;
}

.nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

/* Brand Area */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-tag {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent-red);
  padding-left: 0.65rem;
  margin-left: 0.35rem;
}

.brand-tag .bt-l1 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.brand-tag .bt-l2 {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Desktop Navigation Menu */
.menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
  white-space: nowrap;
}

.menu > li > a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.6rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.menu > li > a:hover,
.menu > li.active > a {
  color: var(--accent-red);
}

/* Submenu Dropdown */
.menu li.has-sub {
  padding-right: 0.25rem;
}

.menu li.has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border);
  z-index: 1050;
}

.submenu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: normal;
}

.submenu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Header CTA & Buttons */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background-color: #25d366;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.wa-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.wa-btn--dark {
  background-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26, 77, 156, 0.2);
}

.wa-btn--dark:hover {
  background-color: var(--accent-red);
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(26, 77, 156, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(211, 47, 47, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: var(--accent-red);
  color: var(--accent-red) !important;
  transform: translateY(-2px);
}

.btn-zoom {
  background-color: #2D8CFF;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(45, 140, 255, 0.3);
}

.btn-zoom:hover {
  background-color: #1A73E8;
  transform: translateY(-2px);
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Drawer */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 2000;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.drawer.open {
  right: 0;
}

.drawer-panel {
  padding: 1.5rem;
}

.d-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.d-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer nav a.d-top {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: block;
}

.d-acc {
  padding: 0.25rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.d-acc summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.d-acc summary::-webkit-details-marker {
  display: none;
}

.d-acc summary::after {
  content: "›";
  font-size: 1.35rem;
  font-weight: 400;
  color: #64748b;
  transition: transform 0.25s ease, color 0.25s ease;
}

.d-acc[open] summary::after {
  transform: rotate(90deg);
  color: var(--primary);
}

.d-acc[open] summary {
  color: var(--primary);
}

.d-sub, .d-acc-body {
  padding: 0.5rem 0 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-left: 2px solid var(--primary-light);
  margin-left: 0.25rem;
  margin-top: 0.25rem;
}

.d-sub a, .d-acc-body a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color 0.2s ease;
  display: block;
}

.d-sub a:hover, .d-acc-body a:hover {
  color: var(--accent-red);
}

.d-cta {
  margin-top: 2rem;
}

.d-cta .wa-btn {
  width: 100%;
}

/* Backdrop */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Footer Styles & Logo Sizing */
.footer {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer .f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.f-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.f-logo-img {
  width: 45px !important;
  height: 45px !important;
  max-width: 45px !important;
  max-height: 45px !important;
  object-fit: contain !important;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.f-brand strong {
  display: block;
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 800;
}

.f-brand span {
  font-size: 0.78rem;
  color: #94a3b8;
  display: block;
}

.f-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.f-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.f-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.f-col ul li {
  margin-bottom: 0.6rem;
}

.f-col ul li a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.f-col ul li a:hover {
  color: #ff6b6b;
}

.f-col p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.f-col p a {
  color: #ffffff;
  font-weight: 700;
}

.f-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.f-bottom a {
  color: #ff6b6b;
  font-weight: 700;
}

@media (max-width: 900px) {
  .footer .f-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer .f-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Section */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-text p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(26, 77, 156, 0.15);
}

.chip svg {
  color: var(--accent-red);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-media {
  position: relative;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background-color: var(--primary-light);
  width: 100%;
  max-width: 440px;
  aspect-ratio: 6 / 7;
}

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

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border);
}

.floating-badge .fb-icon {
  width: 44px;
  height: 44px;
  background-color: #fde8e8;
  color: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-badge .fb-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.floating-badge .fb-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

/* Service Grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card.has-media {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
}

.card.has-media:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-red);
}

.card-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #edf7fc;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.card .ic {
  display: none;
}

.card h3 {
  font-size: 1.35rem;
  margin: 1.5rem 1.5rem 0.5rem;
  color: var(--text-main);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 1.5rem 1.5rem;
  flex-grow: 1;
}

.card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 1.5rem 1.5rem;
}

.card:hover .more {
  color: var(--accent-red);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background-color: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-red);
}

.stat-card .num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .lbl {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Reviews Slider */
.ba-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.ba-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background-color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.review-info span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.stars {
  color: #f59e0b;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Zoom Video Consultation Banner */
.zoom-banner {
  background: linear-gradient(135deg, #1a4d9c 0%, #0a1f44 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.zoom-banner h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
  -webkit-text-fill-color: initial;
}

.zoom-banner p {
  color: #d1e2f5;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.zoom-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.zoom-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255,255,255,0.12);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

/* Blog Article Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-red);
}

.blog-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  background-color: #edf7fc;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Clinic Locations Grid */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.loc-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.loc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-red);
}

.loc-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.loc-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.loc-card .timings {
  font-weight: 600;
  color: var(--text-main);
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.footer-links a {
  color: #cbd5e1;
}

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

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

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,77,156,0.15);
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE BREAKPOINTS                                                     */
/* -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .menu {
    gap: 0.85rem;
  }
  .menu > li > a {
    font-size: 0.86rem;
  }
  .brand-tag {
    display: none;
  }
}

@media (max-width: 1024px) {
  .menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-media {
    order: -1;
  }
  .svc-grid, .blog-grid, .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zoom-banner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar .tb-left {
    display: none;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-photo {
    max-width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
  }
  .hero-photo img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .svc-grid, .blog-grid, .loc-grid, .ba-track {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .floating-badge {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  .wrap {
    padding: 0 1rem;
  }
  .sec-head {
    margin-bottom: 2rem;
  }
  .sec-head h2 {
    font-size: 1.75rem;
  }
  .sec-head p.muted {
    font-size: 0.95rem;
  }
  .hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .lead {
    font-size: 0.95rem;
  }
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta .btn, .hero-cta button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-badges {
    gap: 0.4rem;
  }
  .hero-badges .chip {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }
  .wa-modal {
    width: 94% !important;
    max-width: 360px !important;
  }
  .wa-modal-head {
    padding: 1.25rem 1.25rem !important;
  }
  .wa-modal-body {
    padding: 1.25rem 1.25rem !important;
    gap: 0.75rem !important;
  }
  .wa-opt {
    padding: 0.85rem 1rem !important;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 0.98rem;
  }
  .brand-tag {
    display: none;
  }
  .hero-photo {
    aspect-ratio: 1 / 1;
  }
}

/* -------------------------------------------------------------------------- */
/* FLOATING REELS WIDGET (AIH Style)                                          */
/* -------------------------------------------------------------------------- */
.reels-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 6px 16px 6px 6px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08);
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.reels-trigger:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(26, 77, 156, 0.25);
}

.reels-trigger-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  padding: 2px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.reels-trigger-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.reels-play-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--accent-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  border: 1.5px solid #ffffff;
}

.reels-trigger-text {
  display: flex;
  flex-direction: column;
}

.reels-trigger-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.reels-trigger-sub {
  font-size: 0.72rem;
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.reels-live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-red);
  border-radius: 50%;
  animation: reelPulse 1.5s infinite;
}

@keyframes reelPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Reels Viewer Modal */
.reels-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reels-modal.active {
  opacity: 1;
  visibility: visible;
}

.reels-container {
  width: 100%;
  max-width: 380px;
  height: 90vh;
  max-height: 680px;
  background: #000000;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.reels-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.reels-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.reel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.reel-slide.active {
  display: flex;
}

.reel-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  color: #ffffff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reel-doctor-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reel-doc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
}

.reel-doc-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.reel-caption {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e2e8f0;
}

.reel-actions {
  position: absolute;
  right: 14px;
  bottom: 110px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.reel-action-btn {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s, background 0.2s;
}

.reel-action-btn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.3);
}

.reel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.reel-nav-btn:hover {
  background: rgba(26, 77, 156, 0.8);
}

.reel-prev { left: 10px; }
.reel-next { right: 10px; }

/* -------------------------------------------------------------------------- */
/* REELS SECTION GRID (On-Page Gallery)                                       */
/* -------------------------------------------------------------------------- */
.reels-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.reel-card-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.reel-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-red);
}

.reel-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: #0f172a;
}

.reel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.reel-card-item:hover .reel-card-media img {
  transform: scale(1.08);
}

.reel-card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.reel-card-item:hover .reel-card-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--primary);
}

.reel-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2);
}

.reel-card-views {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0,0,0,0.6);
  padding: 3px 8px;
  border-radius: 4px;
}

.reel-card-info {
  padding: 1.2rem;
}

.reel-card-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  line-height: 1.3;
}

.reel-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .reels-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reels-section-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* EXACT AIH.COM.PK FLOATING REEL DOCK WIDGET                                 */
/* -------------------------------------------------------------------------- */
.aih-reel-dock {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 230px;
  height: 410px;
  background: #000000;
  border: 3.5px solid #ffffff;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.aih-reel-dock.minimized {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  cursor: pointer;
}

.aih-reel-dock.minimized .aih-dock-content {
  display: none;
}

.aih-reel-dock.minimized .aih-dock-min-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-size: 20px;
}

.aih-dock-min-icon {
  display: none;
}

.aih-dock-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Background Reel Video / Poster */
.aih-reel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.aih-reel-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.1) 35%,
    rgba(0, 0, 0, 0.4) 65%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 2;
}

/* Header Top Controls */
.aih-top-bar {
  position: relative;
  z-index: 5;
  padding: 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aih-mute-badge {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.aih-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aih-dots-btn {
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.aih-close-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.2s;
}

.aih-close-btn:hover {
  background: rgba(211, 47, 47, 0.9);
}

/* Header Branding Logo */
.aih-brand-header {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 6px 10px 0;
}

.aih-brand-header img {
  height: 26px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

/* Center Title Pill Box (Search / Reel Topic) */
.aih-center-pill {
  position: relative;
  z-index: 5;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 8px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.aih-pill-icon {
  color: #1e293b;
  font-size: 14px;
  flex-shrink: 0;
}

.aih-pill-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

/* Bottom Controls & Doctor Tag */
.aih-bottom-bar {
  position: relative;
  z-index: 5;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.aih-doc-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 130px;
}

.aih-doc-profile {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aih-doc-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.aih-doc-name {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.aih-doc-handle {
  font-size: 0.65rem;
  color: #cbd5e1;
}

.aih-reel-caption {
  font-size: 0.7rem;
  color: #f1f5f9;
  line-height: 1.25;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

/* Interaction Icons (Right) */
.aih-side-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.aih-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  background: none;
  border: none;
}

.aih-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
}

.aih-action-item:hover .aih-action-icon {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.35);
}

.aih-action-label {
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

@media (max-width: 600px) {
  .aih-reel-dock {
    width: 190px;
    height: 340px;
    bottom: 16px;
    right: 16px;
  }
}

/* ==========================================================================
   MASTER FIXES FOR FOOTER, WHATSAPP MODAL & FLOATING REEL WIDGET
   ========================================================================== */

/* 1. FOOTER HIGH CONTRAST & LEGIBILITY FIX */
footer, .footer, .f-grid, .footer-grid, .f-col, .footer-col {
  background-color: #071936 !important;
  color: #ffffff !important;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.f-col h4, .footer-col h4, .f-brand strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footer p, .footer span, .footer div,
.f-col p, .f-col span, .f-desc, .footer-col p {
  color: #cbd5e1 !important;
}

.f-col ul, .footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.f-col ul li, .footer-links li {
  margin-bottom: 0.6rem !important;
  list-style-type: none !important;
}

.footer a, .f-col a, .f-col ul li a, .f-col p a, .f-bottom a, .footer-links a, .footer-bottom a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer a:hover, .f-col ul li a:hover, .f-col p a:hover, .f-bottom a:hover, .footer-links a:hover {
  color: #ff6b6b !important;
  text-decoration: underline !important;
}

.f-logo-img {
  width: 45px !important;
  height: 45px !important;
  max-width: 45px !important;
  max-height: 45px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: brightness(0) invert(1) !important;
}

/* 2. WHATSAPP PRACTICE LOCATION MODAL FIX */
.wa-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(10, 25, 47, 0.8) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.wa-modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.wa-modal {
  background: #ffffff !important;
  width: 90% !important;
  max-width: 480px !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden !important;
  transform: translateY(0) !important;
  margin: auto !important;
  position: relative !important;
}

.wa-modal-head {
  background: linear-gradient(135deg, #1a4d9c 0%, #0f356e 100%) !important;
  color: #ffffff !important;
  padding: 1.5rem 1.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.wa-modal-head h3 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  margin: 0 0 4px 0 !important;
  font-weight: 700 !important;
}

.wa-modal-head p {
  color: #cbd5e1 !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
}

.wa-modal-close {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
}

.wa-modal-close:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

.wa-modal-body {
  padding: 1.5rem 1.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  background: #ffffff !important;
}

.wa-opt {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1rem 1.25rem !important;
  border-radius: 14px !important;
  background: #f8fafd !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.25s ease !important;
  color: #1e293b !important;
  text-decoration: none !important;
}

.wa-opt:hover {
  background: #ffffff !important;
  border-color: #1a4d9c !important;
  box-shadow: 0 6px 20px rgba(26, 77, 156, 0.12) !important;
  transform: translateY(-2px) !important;
}

.wa-opt-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #1a4d9c !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.wa-opt-info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.wa-opt-info strong {
  display: block !important;
  font-size: 1rem !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

.wa-opt-info span {
  display: block !important;
  font-size: 0.8rem !important;
  color: #64748b !important;
  margin-top: 2px !important;
}

.wa-opt-arrow {
  font-size: 1.25rem !important;
  color: #1a4d9c !important;
  font-weight: bold !important;
  margin-left: auto !important;
}

/* 3. AIH FLOATING BOTTOM-RIGHT VIDEO REEL PLAYER WIDGET */
.aih-reel-widget {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  width: 175px !important;
  height: 315px !important;
  background: #000000 !important;
  border: 2.5px solid #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  font-family: var(--font-body), sans-serif !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

.aih-reel-box {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  background: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.aih-reel-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 25 !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%) !important;
  pointer-events: auto !important;
}

.aih-reel-btn {
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 20px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
  line-height: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.aih-reel-btn:hover {
  background: rgba(0, 0, 0, 0.85) !important;
  border-color: #ffffff !important;
}

.aih-reel-close {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
}

.aih-reel-video-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #000000 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.aih-reel-video, iframe.aih-reel-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
}

.aih-reel-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 10px 8px !important;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%) !important;
  z-index: 15 !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

.aih-reel-badge {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  margin-bottom: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.aih-reel-doc {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-bottom: 3px !important;
}

.aih-doc-avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  border: 1.5px solid #ffffff !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.aih-reel-doc strong {
  display: block !important;
  font-size: 9px !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

.aih-reel-doc span {
  display: block !important;
  font-size: 7px !important;
  color: #cbd5e1 !important;
}

.aih-reel-caption {
  font-size: 8.5px !important;
  color: #f1f5f9 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

.aih-reel-actions {
  position: absolute !important;
  right: 6px !important;
  bottom: 12px !important;
  z-index: 20 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: center !important;
  pointer-events: auto !important;
}

.aih-action-btn {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(4px) !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 4px 6px !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease !important;
}

.aih-action-btn:hover {
  transform: scale(1.15) !important;
  background: rgba(0, 0, 0, 0.7) !important;
}

/* Full Screen Reel Viewer Modal Fix */
.reels-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.reels-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Reel Counter Pill Badge */
.aih-reel-counter {
  font-size: 9px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.65) !important;
  padding: 2px 7px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(4px) !important;
  letter-spacing: 0.04em !important;
}

/* Reel Counter Pill Badge */
.aih-reel-counter {
  font-size: 9px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.65) !important;
  padding: 2px 7px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(4px) !important;
  letter-spacing: 0.04em !important;
}


/* YouTube Reel Iframe Edge-to-Edge Clean Presentation */
.reel-iframe, #aihReelIframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  outline: none !important;
  object-fit: cover !important;
  pointer-events: auto !important;
  background: #000000 !important;
}

.reel-slide iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: #000000 !important;
}

/* Fix Overlay Text Collision & Clean Presentation */
.reel-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 40 !important;
  padding: 1.25rem 1.5rem 1.5rem !important;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%) !important;
  pointer-events: none !important;
}

.reel-overlay button, .reel-overlay a {
  pointer-events: auto !important;
}

.reel-caption {
  font-size: 0.88rem !important;
  color: #f8fafc !important;
  line-height: 1.35 !important;
  margin-bottom: 0.75rem !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9) !important;
  font-weight: 500 !important;
}

/* Video Embed Pointer Event Fix for Smooth Wheel & Touch Scrolling */
.reel-iframe, #aihReelIframe, video.reel-media, video.aih-reel-video {
  pointer-events: none !important;
}

.reel-touch-layer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 15 !important;
  cursor: pointer !important;
  background: transparent !important;
  pointer-events: auto !important;
}

.reel-overlay, .reels-close, .aih-reel-header {
  z-index: 30 !important;
  pointer-events: auto !important;
}

.reel-overlay button, .reel-overlay a, .aih-reel-header button {
  pointer-events: auto !important;
}

/* Floating Reel Click Overlay for Full Screen Modal Trigger */
.aih-reel-click-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 16 !important;
  cursor: pointer !important;
  background: transparent !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   MASTER MOBILE RESPONSIVENESS & ZERO-OVERFLOW OVERRIDES
   ========================================================================== */

/* 1. Prevent Global Horizontal Overflow */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

.wrap {
  width: 100% !important;
  max-width: 1280px !important;
  box-sizing: border-box !important;
}

/* Universal Table Wrapper */
.table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-bottom: 1.5rem !important;
}

.table-responsive table {
  width: 100% !important;
  min-width: 500px !important;
  border-collapse: collapse !important;
}

/* Universal Subpage Layout Grids */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.page-title {
  font-size: 2.75rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .about-grid, .contact-grid, .svc-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .page-title {
    font-size: 1.85rem !important;
  }
}

/* Touch targets optimization */
button, a, input, select, textarea, summary {
  touch-action: manipulation;
}

/* 2. Responsive Breakpoints Overrides */

@media (max-width: 1024px) {
  .site-header {
    padding: 0.5rem 0 !important;
  }
  .menu {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
  .hero .wrap {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .svc-grid, .blog-grid, .loc-grid, .stats-grid, .reels-section-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 14px !important;
  }

  /* Top Bar Mobile Layout */
  .topbar {
    width: 100% !important;
    padding: 0.35rem 0 !important;
  }
  .topbar .wrap {
    padding: 0 10px !important;
    justify-content: center !important;
  }
  .topbar .tb-left {
    display: none !important;
  }
  .topbar .tb-right {
    width: 100% !important;
    justify-content: center !important;
    gap: 6px 14px !important;
    font-size: 0.75rem !important;
    flex-wrap: wrap !important;
  }
  .topbar .tb-right a {
    font-size: 0.73rem !important;
    white-space: nowrap !important;
    gap: 4px !important;
  }

  /* Site Header Mobile Layout */
  .site-header {
    width: 100% !important;
    padding: 0.4rem 0 !important;
  }
  .nav.wrap {
    padding: 0 10px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  .brand {
    gap: 6px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .brand-logo-img {
    height: 36px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }
  .brand-logo-text {
    overflow: hidden !important;
  }
  .brand-name {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand-tag {
    display: none !important;
  }
  .nav-cta {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .nav-cta .wa-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.76rem !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 26px !important;
    height: 20px !important;
    padding: 1px !important;
    flex-shrink: 0 !important;
    margin-left: 2px !important;
  }

  /* Hero Section & Floating Badge Fix */
  section {
    padding: 2.5rem 0 !important;
  }
  .hero {
    padding: 2rem 0 3rem !important;
  }
  .hero-media {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
    margin-bottom: 1rem !important;
  }
  .hero-photo {
    width: 100% !important;
    max-width: 360px !important;
    aspect-ratio: 4 / 4.5 !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
  }
  .floating-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: -20px auto 0 !important;
    width: calc(100% - 24px) !important;
    max-width: 330px !important;
    z-index: 10 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    padding: 0.75rem 1rem !important;
    justify-content: flex-start !important;
  }

  /* Typography & Grids */
  .hero-text h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  .lead {
    font-size: 0.98rem !important;
  }
  .hero-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  .hero-cta .btn, .hero-cta button, .hero-cta .wa-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .svc-grid, .blog-grid, .loc-grid, .stats-grid, .reels-section-grid, .ba-track {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Modals & Dialogs */
  .modal-box {
    padding: 1.5rem 1.25rem !important;
    width: 92% !important;
  }

  /* Floating Reel Dock Sizing for Tablets & Mobile */
  .aih-reel-dock, .aih-reel-widget {
    width: 125px !important;
    height: 200px !important;
    bottom: 14px !important;
    right: 10px !important;
    border-width: 2px !important;
    border-radius: 14px !important;
    z-index: 99999 !important;
  }
  .aih-reel-caption {
    font-size: 7.5px !important;
    line-height: 1.15 !important;
  }
  .aih-doc-avatar {
    width: 20px !important;
    height: 20px !important;
  }
  .aih-reel-doc strong {
    font-size: 8px !important;
  }
  .aih-reel-btn {
    font-size: 8px !important;
    padding: 2px 5px !important;
  }
  .aih-reel-badge {
    font-size: 7px !important;
    padding: 1px 4px !important;
  }
}

@media (max-width: 576px) {
  .wrap {
    padding: 0 10px !important;
  }
  .brand-logo-img {
    height: 32px !important;
  }
  .brand-name {
    font-size: 0.9rem !important;
  }
  .nav-cta .wa-btn {
    font-size: 0.72rem !important;
    padding: 0.38rem 0.6rem !important;
  }

  /* Mobile Drawer */
  .drawer {
    width: 88% !important;
    max-width: 320px !important;
  }
  .drawer-panel {
    padding: 1.25rem 1rem !important;
  }

  /* Section Headings */
  .sec-head h2 {
    font-size: 1.55rem !important;
  }
  .sec-head p.muted {
    font-size: 0.9rem !important;
  }

  /* Zoom Banner */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .zoom-banner {
    padding: 1.75rem 1rem !important;
    grid-template-columns: 1fr !important;
  }
  .zoom-banner h2 {
    font-size: 1.5rem !important;
  }

  /* Full Screen Reel Viewer Modal */
  .reels-container {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
  }

  /* Compact Floating Video Reel Widget for Small Screens */
  .aih-reel-dock, .aih-reel-widget {
    width: 110px !important;
    height: 180px !important;
    bottom: 12px !important;
    right: 8px !important;
    border-width: 1.5px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding: 0 8px !important;
  }
  .brand-logo-img {
    height: 28px !important;
  }
  .brand-name {
    font-size: 0.82rem !important;
  }
  .nav-cta .wa-btn {
    font-size: 0.68rem !important;
    padding: 0.32rem 0.5rem !important;
  }
  .hero-text h1 {
    font-size: 1.4rem !important;
  }
  
  /* Extra Compact Floating Reel Widget on Tiny Devices */
  .aih-reel-dock, .aih-reel-widget {
    width: 100px !important;
    height: 165px !important;
    bottom: 8px !important;
    right: 6px !important;
  }
}







