/* ==========================================================================
   DENTAL CREW MULTI-SPECIALITY DENTAL CLINIC
   Top-Tier Custom Dental Design & Animation System (Inspired by Lasso MD Top Dental Sites)
   ========================================================================== */

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

:root {
  /* High-Contrast Luxury Medical Palette */
  --navy-950: #040e17;
  --navy-900: #081627;
  --navy-800: #0f233a;
  --navy-700: #163252;
  
  --teal-800: #004b54;
  --teal-700: #005c66;
  --teal-600: #007682;
  --teal-500: #0096a6;
  --teal-100: #e2f4f6;
  --teal-50:  #f0fafb;

  --gold-600: #b8860b;
  --gold-500: #d4af37;
  --gold-100: #fcf8ec;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --whatsapp: #10b981;
  --whatsapp-hover: #059669;

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

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(4, 14, 23, 0.04);
  --shadow-md: 0 6px 20px rgba(4, 14, 23, 0.08);
  --shadow-lg: 0 12px 32px rgba(4, 14, 23, 0.12);
  --shadow-xl: 0 24px 48px rgba(4, 14, 23, 0.18);

  /* Sleek Rectangular Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background-color: #fafcfc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Body scroll-lock when mobile menu is open */
body.menu-open {
  overflow: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: var(--teal-600);
  border-radius: var(--radius-xs);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}
.top-bar-item:hover {
  color: white;
}
.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--teal-500);
  flex-shrink: 0;
}
.social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}
.social-icon-link:hover {
  color: #f472b6;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Ensure header is pinned at top whenever mobile menu is open so X button never scrolls away */
body.menu-open .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1002 !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 3px 10px rgba(0, 92, 102, 0.2);
  flex-shrink: 0;
}
.logo-icon-wrap svg {
  width: 22px;
  height: 22px;
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.6875rem;
  color: var(--teal-700);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-link {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--teal-700);
  background: var(--teal-50);
}

/* RECTANGULAR BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.btn svg {
  transition: transform 0.2s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-xs);
}
.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.btn-primary {
  background: var(--teal-700);
  color: white !important;
  box-shadow: 0 3px 10px rgba(0, 92, 102, 0.25);
}
.btn-primary:hover {
  background: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 92, 102, 0.35);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: white !important;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}
.btn-outline {
  background: white;
  color: var(--navy-900) !important;
  border: 1.5px solid var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--teal-700);
  color: var(--teal-700) !important;
  background: var(--teal-50);
  transform: translateY(-2px);
}
.btn-white {
  background: white;
  color: var(--navy-900) !important;
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: #f8fafc;
  border-color: var(--slate-400);
  transform: translateY(-2px);
}
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white !important;
  box-shadow: 0 3px 10px rgba(225, 48, 108, 0.25);
}
.btn-instagram:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Mobile Nav Drawer & Backdrop Attachment */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--slate-200);
  background: white;
  cursor: pointer;
  padding: 7px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  padding: 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu .nav-link {
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
}

/* Dark Backdrop Overlay when Mobile Menu is Open */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 23, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
}
.mobile-backdrop.open {
  display: block;
}

/* Hero Section with Video Container */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, #f0f6f7 0%, #fafcfc 100%);
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.rating-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-100);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 1rem;
}
.star-rating {
  color: #f59e0b;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 92, 102, 0.15);
}
.badge-pill svg {
  width: 14px;
  height: 14px;
  color: var(--teal-600);
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 1.15rem;
}
.hero-title span {
  color: var(--teal-700);
}
.hero-description {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.trust-strip {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: white;
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}
.trust-icon svg {
  width: 18px;
  height: 18px;
}
.trust-text {
  font-size: 0.8125rem;
  line-height: 1.2;
}
.trust-text strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.875rem;
}

/* Hero Media & Video Box */
.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
  border: 3px solid white;
  aspect-ratio: 4 / 3;
}
.hero-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.floating-glass-card {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-900);
}
.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-animation 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Quick Bar Section */
.quick-info-bar {
  background: var(--navy-950);
  color: white;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.info-card-mini {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: rgba(0, 150, 166, 0.18);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-card-icon svg {
  width: 20px;
  height: 20px;
}
.info-card-content h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.info-card-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* Section Headers */
.section {
  padding: 4.5rem 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-subtitle {
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: block;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--slate-600);
}

/* Feature Cards (Why Choose Us) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.35rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-align: left;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-700);
}
.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
}
.feature-icon-box svg {
  width: 24px;
  height: 24px;
}
.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.feature-text {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* GOOGLE REVIEWS SECTION STYLING */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-700);
}
.reviewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-700), var(--navy-800));
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer-info {
  margin-left: 0.75rem;
  flex-grow: 1;
}
.reviewer-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
}
.reviewer-tag {
  font-size: 0.75rem;
  color: var(--slate-500);
}
.google-g-icon {
  width: 22px;
  height: 22px;
}
.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
}
.review-text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
  font-style: italic;
  flex-grow: 1;
}

/* Doctor Card Grid & Dynamic Animations */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.doctor-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 92, 102, 0.15);
  border-color: var(--teal-600);
}
.doctor-img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--navy-900);
}
.doctor-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}
.doctor-card:hover .doctor-img-wrap::after {
  left: 150%;
}
.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.doctor-card:hover .doctor-img {
  transform: scale(1.06);
  filter: brightness(1.04);
}
.doctor-badge-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-800);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: transform 0.3s ease;
}
.doctor-card:hover .doctor-badge-tag {
  transform: scale(1.05);
}
.doctor-badge-gold {
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid rgba(184, 134, 11, 0.3);
  animation: badgePulse 3s infinite ease-in-out;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}

.doctor-content {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.doctor-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
  transition: color 0.25s ease;
}
.doctor-card:hover .doctor-name {
  color: var(--teal-700);
}
.doctor-degree {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 0.75rem;
}
.doctor-bio {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.doctor-footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Doctor Detail Card (doctors.html) */
.doctor-detail-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
  transition: all 0.35s ease;
  position: relative;
}
.doctor-detail-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-700);
  transform: translateY(-4px);
}
.doctor-detail-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
  background: var(--navy-900);
}
.doctor-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.doctor-detail-card:hover .doctor-detail-img-wrap img {
  transform: scale(1.05);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.service-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.65rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-700);
  transform: translateY(-3px);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-icon svg {
  width: 22px;
  height: 22px;
}
.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.service-text {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* FAQ Accordion Component */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.faq-item.open {
  border-color: var(--teal-700);
}
.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}
.faq-icon-arrow {
  width: 24px;
  height: 24px;
  color: var(--teal-700);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
}
.faq-answer-content {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.7;
  border-top: 1px solid var(--slate-100);
}
.faq-item.open .faq-answer-content {
  display: block;
}

/* DYNAMIC VIDEO BACKGROUND CTA BANNER */
.cta-banner {
  position: relative !important;
  background-color: var(--navy-950) !important;
  color: #ffffff !important;
  padding: 4.25rem 2rem !important;
  border-radius: var(--radius-lg) !important;
  margin: 2.5rem 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: var(--shadow-xl) !important;
  overflow: hidden !important;
}
.cta-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.55;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 14, 23, 0.82) 0%, rgba(0, 75, 84, 0.78) 100%);
  z-index: 2;
}
.cta-content {
  position: relative !important;
  z-index: 3 !important;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  color: #ffffff !important;
  font-size: clamp(1.85rem, 3.8vw, 2.5rem) !important;
  font-weight: 800 !important;
  margin-bottom: 0.85rem !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
}
.cta-desc {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.05rem !important;
  margin-bottom: 1.65rem !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Gallery Grid */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-xs);
  background: white;
  border: 1px solid var(--slate-200);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-tab.active, .filter-tab:hover {
  background: var(--teal-700);
  color: white;
  border-color: var(--teal-700);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-900);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--slate-200);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 14, 23, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}
.gallery-cat {
  font-size: 0.75rem;
  color: var(--teal-100);
  font-weight: 600;
  text-transform: uppercase;
}

/* Map Section & Contact Details */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}
.contact-item-row:last-child {
  margin-bottom: 0;
}
.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row-icon svg {
  width: 20px;
  height: 20px;
}
.contact-row-label {
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.contact-row-val {
  font-size: 1rem;
  color: var(--navy-900);
  font-weight: 600;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
  border: 1px solid var(--slate-200);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Hours Table */
.hours-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.hours-list {
  list-style: none;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.875rem;
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-day {
  font-weight: 600;
  color: var(--navy-900);
}
.hours-time {
  color: var(--slate-600);
}
.badge-closed {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Page Banner (Inner Pages) */
.page-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--teal-800) 100%);
  color: white;
  padding: 3.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-banner-title {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: white;
}

/* FLOATING BUTTONS (WhatsApp & Back-to-Top) */
.wa-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  z-index: 9999;
  transition: all 0.25s ease;
  text-decoration: none;
}
.wa-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}
.wa-float-btn svg {
  width: 28px;
  height: 28px;
}

/* BACK TO TOP FLOATING BUTTON */
.back-to-top-btn {
  position: fixed;
  bottom: 5.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 9998;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.25s ease, background-color 0.25s ease;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.back-to-top-btn:hover {
  background: var(--teal-700);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.back-to-top-btn svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-logo {
  margin-bottom: 1rem;
}
.footer-logo .brand-name {
  color: white;
}
.footer-logo .brand-tagline {
  color: var(--teal-500);
}
.footer-text {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-col-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Grid */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .doctor-detail-card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }
  .doctor-detail-img-wrap {
    height: 300px;
  }
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .brand-tagline {
    display: none;
  }
  .brand-name {
    font-size: 1rem;
  }
  .logo-icon-wrap {
    width: 36px;
    height: 36px;
  }
  .logo-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    padding: 2rem 0 3rem;
  }
  .hero-media-img {
    height: 280px;
  }
  .floating-glass-card {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 1rem;
  }
  
  .doctors-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .quick-info-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .section {
    padding: 3rem 0;
  }
  
  .map-wrapper, .map-wrapper iframe {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .btn-lg, .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .doctor-detail-card {
    padding: 1.25rem;
  }
  .doctor-detail-img-wrap {
    height: 260px;
  }
}
