/* ==========================================================================
   My Family Dentist - Dr. Preeti Hooda
   Modern, Attractive & Professional Dental Clinic Stylesheet
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #d1fae5;
  --accent: #0ea5e9;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray-text: #475569;
  --gray-light: #f8fafc;
  --gray-border: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 10px -1px rgba(0, 0, 0, 0.07), 0 2px 5px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px -5px rgba(2, 132, 199, 0.12), 0 8px 12px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-soft);
  background-color: #ffffff;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

p {
  font-family: var(--font-body);
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

/* ==========================================================================
   Universal Section Header System (Pill Badge + Modern Title + Subtitle)
   ========================================================================== */
.section-tag,
.why-subtitle-tag,
.about-pill-badge,
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 1.35rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 0.95rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.15);
  transition: var(--transition);
}

.section-tag.tag-green {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  border-color: rgba(16, 185, 129, 0.2);
}

.section-tag.tag-dark {
  background-color: rgba(14, 116, 144, 0.22);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.section-title,
.why-main-title,
.about-dentaire-heading,
.about-modern-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 2.85rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.section-subtitle,
.why-lead-desc,
.about-modern-p,
.about-dentaire-desc,
.page-hero-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #475569;
  max-width: 760px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle,
.text-center .why-lead-desc {
  margin-left: auto;
  margin-right: auto;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

/* Buttons with Smooth Micro-Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #075985);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), #047857);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.top-bar {
  background-color: #0c1a2e;
  color: #cbd5e1;
  font-size: 0.85rem;
  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;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-contact-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
}

.top-contact-item i {
  color: var(--secondary);
}

.top-contact-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.emergency-pill {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.emergency-pill i {
  color: #ef4444;
}

/* Main Navbar */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-img {
  height: 55x;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.brand-logo:hover .header-logo-img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 01.95rem;
  margin-left: auto;
  margin-right: 0.75rem;
  flex-shrink: 1;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-soft);
  font-size: 0.95rem;
  position: relative;
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: 0;
}

.nav-cta-wrapper .btn {
  white-space: nowrap;
  padding: 0.55rem 1.25rem;
  font-size: 0.86rem;
  border-radius: var(--radius-full);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================================================
   Full-Width Cinematic Luxury Hero Slider (Awaiken Themes Dentaire Style)
   ========================================================================== */
.hero-slider-section.hero-full-slider {
  position: relative;
  width: 100%;
  min-height: 680px;
  height: 88vh;
  max-height: 860px;
  padding: 0;
  overflow: hidden;
  background: #071526;
}

.hero-full-slider .hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.hero-full-slider .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.85s ease;
  z-index: 1;
}

.hero-full-slider .hero-slide.active,
.hero-full-slider .hero-slider-container:not(:has(.hero-slide.active)) .hero-slide:first-of-type {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Background Media & Ken Burns Smooth Zoom */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-full-slider .hero-slide.active .hero-bg-img {
  transform: scale(1);
}

/* Dark Midnight Luxury Gradient Overlay */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color:#0000006e;
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.78) 0%, rgba(10, 28, 48, 0.62) 50%, rgba(7, 21, 38, 0.90) 100%),
              /*radial-gradient(circle at 50% 45%, rgba(2, 132, 199, 0.25) 0%, transparent 75%);*/
  pointer-events: none;
}

/* Centered Slide Content Container */
.hero-slide-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.hero-slide-content {
  max-width: 880px;
  margin: 0 auto;
  color: #ffffff;
}

/* Staggered Entrance Animations */
.hero-full-slider .hero-slide.active .hero-tagline-pill {
  animation: heroSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-full-slider .hero-slide.active .hero-full-title {
  animation: heroSlideUp 0.8s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-full-slider .hero-slide.active .hero-full-desc {
  animation: heroSlideUp 0.8s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-full-slider .hero-slide.active .hero-full-actions {
  animation: heroSlideUp 0.8s 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-full-slider .hero-slide.active .hero-social-proof,
.hero-full-slider .hero-slide.active .hero-trust-bar {
  animation: heroSlideUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroSlideDown {
  from { opacity: 0; transform: translateY(-22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tagline Pill */
.hero-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 22px;
  border-radius: 9999px;
  margin-bottom: 22px;
}

.tag-line-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.hero-tagline-pill .tag-text {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #38bdf8;
}

/* Master Title */
.hero-full-title {
  font-size: clamp(2.35rem, 4.6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-cyan-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.hero-full-desc {
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.92);
  max-width: 780px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Action Buttons */
.hero-full-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn-hero-primary {
  background: #178582;
  color: #ffffff;
  padding: 13px 30px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(23, 133, 130, 0.45);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background: #0f6c69;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 133, 130, 0.6);
}

.btn-hero-whatsapp {
  background: #25d366;
  color: #ffffff;
  padding: 13px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}

.btn-hero-whatsapp:hover {
  background: #1eb857;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.btn-hero-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 13px 26px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-2px);
}

/* Subtle Pulse */
.btn-pulse {
  animation: btnPulse 2.4s infinite;
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 133, 130, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(23, 133, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 133, 130, 0); }
}

/* Google Rating Social Proof */
.hero-social-proof {
  display: flex;
  justify-content: center;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 22px;
  border-radius: 9999px;
  font-size: 0.88rem;
  color: #f1f5f9;
  flex-wrap: wrap;
  justify-content: center;
}

.rating-label {
  font-weight: 600;
  color: #94a3b8;
}

.rating-score {
  font-weight: 600;
  color: #38bdf8;
}

.rating-stars {
  display: inline-flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 0.85rem;
}

.rating-count {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}

.trust-bar-item i {
  color: #38bdf8;
  font-size: 0.9rem;
}

/* Slider Navigation Arrows on Edges */
.hero-full-slider .slider-nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  pointer-events: none;
  z-index: 10;
}

.hero-full-slider .slider-arrow-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-full-slider .slider-arrow-btn:hover {
  background: #178582;
  border-color: #38bdf8;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

/* Bottom Pagination */
.hero-full-slider .hero-slider-pagination {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.hero-full-slider .hero-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.35s ease;
}

.hero-full-slider .hero-bullet.active {
  width: 38px;
  border-radius: 9999px;
  background: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

/* Bottom Progress Track */
.hero-full-slider .slider-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.hero-full-slider .slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #178582 0%, #38bdf8 100%);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  transition: width 0.1s linear;
}

/* ==========================================================================
   Quick Booking / Consultation Ribbon
   ========================================================================== */
.quick-booking-section {
  margin-top: -30px;
  position: relative;
  z-index: 20;
}

.booking-strip {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.25rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--gray-border);
}

.booking-form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-group-booking label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-soft);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-group-booking input,
.form-group-booking select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.form-group-booking input:focus,
.form-group-booking select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   Awaiken Themes Dentaire Style - About Us Section
   ========================================================================== */
.about-dentaire-section {
  padding: 100px 0 110px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-dentaire-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 65px;
}

/* Left: Visual Image & Floating Experience Card */
.about-dentaire-visual {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: 36px;
  overflow: visible;
}

.about-main-img {
  width: 100%;
  /*height: 520px;*/
  object-fit: cover;
  object-position: center center;
  border-radius: 36px;
  display: block;
  box-shadow: 0 20px 45px rgba(12, 35, 64, 0.1);
  transition: transform 0.5s ease;
}

.about-image-card:hover .about-main-img {
  transform: scale(1.02);
}

/* Floating Experience Card (Dentaire Style) */
.about-floating-exp-card {
  position: absolute;
  bottom: 25px;
  right: -25px;
  z-index: 5;
  background: #dbe4ed;
  border-radius: 20px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 3px solid #ffffff;
  box-shadow: 0 16px 36px rgba(12, 35, 64, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: expFloatBob 4s ease-in-out infinite alternate;
}

@keyframes expFloatBob {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.exp-number-wrap {
  display: flex;
  align-items: center;
}

.exp-number {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 0.85;
  color: #0c2340;
  letter-spacing: -2px;
  font-family: var(--font-heading);
  display: inline-block;
  background: linear-gradient(135deg, #0284c7 0%, #0c2340 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exp-text-wrap {
  display: flex;
  flex-direction: column;
}

.exp-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #506176;
  line-height: 1.25;
}

.exp-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: #506176;
  line-height: 1.25;
}

/* Right: Content */
.about-dentaire-content {
  position: relative;
}

.about-clinic-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tagline-line {
  width: 32px;
  height: 2px;
  background: #0284c7;
  display: inline-block;
}

.tagline-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0284c7;
  display: inline-block;
}

.tagline-text {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0c2340;
}

.about-dentaire-heading {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 600;
  color: #0c2340;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.about-dentaire-desc {
  font-size: 0.98rem;
  color: #5a6b82;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-dentaire-divider {
  width: 100%;
  height: 1px;
  background: #e2e8f0;
  margin: 30px 0 28px;
  border: none;
}

/* Bottom Action Row: Pill Button + Doctor Badge */
.about-dentaire-action-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* Dentaire-Style Pill Button */
.btn-dentaire-pill {
  background: #178582;
  color: #ffffff;
  padding: 7px 8px 7px 24px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(23, 133, 130, 0.3);
}

.btn-dentaire-pill:hover {
  background: #0f6c69;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 133, 130, 0.45);
}

.pill-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0c2340;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: transform 0.3s ease;
}

.btn-dentaire-pill:hover .pill-btn-icon {
  transform: translateX(3px);
}

/* Doctor Specialist Badge */
.about-specialist-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.specialist-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.12);
}

.specialist-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0c2340;
  margin-bottom: 2px;
}

.specialist-role {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

/* Responsive Rules for Dentaire About Us */
@media (max-width: 991px) {
  .about-dentaire-section {
    padding: 75px 0 85px;
  }
  .about-dentaire-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-floating-exp-card {
    right: 15px;
    bottom: 15px;
  }
  .about-main-img {
    height: 420px;
  }
}

@media (max-width: 575px) {
  .about-dentaire-heading {
    font-size: 2rem;
  }
  .about-floating-exp-card {
    padding: 14px 18px;
    right: 10px;
    bottom: 10px;
  }
  .exp-number {
    font-size: 3rem;
  }
  .about-dentaire-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========================================================================
   Treatments / Services Section (Clean Images - No Text Overlay)
   ========================================================================== */
.treatments-section {
  padding: 6rem 0;
  background-color: #f8fafc;
}

.treatment-filter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-border);
  background: #ffffff;
  color: var(--dark-soft);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.treatment-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

/* Clean Treatment Image (NO TEXT OVERLAY) */
.treatment-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.treatment-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card:hover .treatment-card-img img {
  transform: scale(1.08);
}

.treatment-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  color: var(--dark);
}

.treatment-card-body p {
  color: #475569;
  font-size: 15px;
  line-height: 1.68;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.treatment-features-list {
  margin-bottom: 1.5rem;
}

.treatment-features-list li {
  font-size: 0.85rem;
  color: var(--dark-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.treatment-features-list li i {
  color: var(--secondary);
  font-size: 0.85rem;
}

.treatment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.btn-treatment-detail {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.btn-treatment-detail:hover {
  color: var(--primary-dark);
  gap: 0.65rem;
}

/* ==========================================================================
   Dedicated Treatment Detail Layout
   ========================================================================== */
.treatment-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: flex-start;
  padding: 5rem 0;
}

.treatment-main-content {
  background: #ffffff;
}

.treatment-hero-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
  height: 420px;
}

.treatment-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-card {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.step-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* Treatment Sidebar */
.treatment-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.sidebar-box h4 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.sidebar-box h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--secondary);
}

.sidebar-menu-list li {
  margin-bottom: 0.6rem;
}

.sidebar-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--dark-soft);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.sidebar-menu-list a:hover,
.sidebar-menu-list a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(4px);
}

.sidebar-help-card {
  background: linear-gradient(135deg, #0c1a2e, #1e293b);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}

.sidebar-help-card h4 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.sidebar-help-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Awaiken Themes Dentaire Style - Why Choose Us Section
   ========================================================================== */
.why-choose-us-section {
  position: relative;
  padding: 100px 0 110px;
  background: linear-gradient(180deg, #eaf0f6 0%, #e2e9f2 100%);
  overflow: hidden;
}

/* Decorative Sparkles & Background Orbs */
.why-decor-sparkle {
  position: absolute;
  top: 48%;
  left: 3%;
  opacity: 0.85;
  animation: sparkleTwinkle 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes sparkleTwinkle {
  0% { transform: scale(0.9) rotate(0deg); opacity: 0.6; }
  100% { transform: scale(1.15) rotate(15deg); opacity: 1; }
}

.why-decor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  opacity: 0.7;
  pointer-events: none;
}

.dot-top-left {
  top: 25%;
  left: 6%;
}

.dot-bottom-right {
  bottom: 22%;
  right: 5%;
}

/* Section Header */
.why-header-block {
  margin-bottom: 50px;
}

.why-subtitle-tag {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 12px;
}

.why-main-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  color: #0c2340;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.why-lead-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #475569;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Hub & Spoke 3-Column Layout */
.why-hub-layout {
  display: grid;
  grid-template-columns: 1fr 390px 1fr;
  align-items: center;
  gap: 24px;
}

/* Columns */
.why-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Feature Item Row */
.why-feature-row {
  display: flex;
  align-items: top;
  gap: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-feature-row.item-left {
  justify-content: flex-end;
  text-align: right;
}

.why-feature-row.item-right {
  justify-content: flex-start;
  text-align: left;
}

.why-feature-row:hover {
  transform: translateY(-4px);
}

.why-feature-row.item-left:hover .feature-info h4 {
  color: #0284c7;
}

.why-feature-row.item-right:hover .feature-info h4 {
  color: #0284c7;
}

.feature-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c2340;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.feature-info p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  max-width: 340px;
}

.why-feature-row.item-left .feature-info p {
  margin-left: auto;
}

/* Feature Icon Box */
.feature-icon-box {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid rgba(2, 132, 199, 0.18);
  box-shadow: 0 10px 24px rgba(12, 35, 64, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #0284c7;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-feature-row:hover .feature-icon-box {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.32);
}

/* Center Stage with 3D Tooth & Orbit */
.why-col-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tooth-orbit-stage {
  position: relative;
  width: 370px;
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The Circular Orbit Ring */
.orbit-circle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px solid rgba(2, 132, 199, 0.28);
  pointer-events: none;
}

/* Glow Backdrop */
.tooth-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(255, 255, 255, 0.8) 55%, transparent 75%);
  pointer-events: none;
}

/* 6 Orbiting Blue Dots placed around the ring */
.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.8), 0 0 0 3px rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

/* Coordinate positioning along 360px circle */
.orbit-node.node-1 {
  top: 18%;
  left: 14%;
  transform: translate(-50%, -50%);
}

.orbit-node.node-2 {
  top: 50%;
  left: -2px;
  transform: translate(-50%, -50%);
}

.orbit-node.node-3 {
  bottom: 18%;
  left: 14%;
  transform: translate(-50%, 50%);
}

.orbit-node.node-4 {
  top: 18%;
  right: 14%;
  transform: translate(50%, -50%);
}

.orbit-node.node-5 {
  top: 50%;
  right: -2px;
  transform: translate(50%, -50%);
}

.orbit-node.node-6 {
  bottom: 18%;
  right: 14%;
  transform: translate(50%, 50%);
}

/* Center 3D Tooth Image */
.center-floating-tooth {
  position: relative;
  z-index: 2;
  max-width: 230px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(12, 35, 64, 0.15));
  animation: toothBobbing 5s ease-in-out infinite alternate;
}

@keyframes toothBobbing {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

/* Responsive Rules for Why Choose Us */
@media (max-width: 1100px) {
  .why-hub-layout {
    grid-template-columns: 1fr 320px 1fr;
    gap: 15px;
  }
  .tooth-orbit-stage,
  .orbit-circle-ring {
    width: 300px;
    height: 300px;
  }
  .center-floating-tooth {
    max-width: 190px;
  }
  .feature-info h4 {
    font-size: 1.15rem;
  }
  .feature-info p {
    font-size: 0.84rem;
  }
}

@media (max-width: 991px) {
  .why-choose-us-section {
    padding: 70px 0 80px;
  }
  .why-hub-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-col-center {
    order: -1;
    margin-bottom: 15px;
  }
  .tooth-orbit-stage,
  .orbit-circle-ring {
    width: 280px;
    height: 280px;
  }
  .center-floating-tooth {
    max-width: 180px;
  }
  .why-feature-row.item-left {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }
  .why-feature-row.item-left .feature-info p {
    margin-left: 0;
  }
  .why-col {
    gap: 25px;
  }
}

@media (max-width: 575px) {
  .why-main-title {
    font-size: 2rem;
  }
  .why-feature-row {
    gap: 14px;
  }
  .feature-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.25rem;
  }
  .feature-info h4 {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Awaiken Themes Dentaire Style - Our Work (Before & After Transformations)
   ========================================================================== */
.our-work-section {
  position: relative;
  padding: 105px 0 115px;
  background: radial-gradient(circle at 75% 20%, rgba(2, 132, 199, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #071526 0%, #0a1c30 50%, #071526 100%);
  color: #ffffff;
  overflow: hidden;
}

/* Cinematic Background Texture / Lighting */
.our-work-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Header Grid (Split Title & Paragraph) */
.our-work-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 55px;
  position: relative;
  z-index: 2;
}

.work-header-left {
  position: relative;
}

.work-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.work-tagline-line {
  width: 32px;
  height: 2px;
  background: #38bdf8;
  display: inline-block;
}

.work-tagline-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38bdf8;
  display: inline-block;
}

.work-tagline-text {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #38bdf8;
}

.work-main-title {
  font-size: clamp(2.15rem, 3.6vw, 3.1rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.work-header-right {
  position: relative;
}

.work-lead-p {
  font-size: 0.96rem;
  color: #94a3b8;
  line-height: 1.75;
}

.work-ambient-dot {
  position: absolute;
  top: -15px;
  right: -10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

/* Header Right Navigation Buttons */
.work-slider-nav-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.work-slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.work-slider-arrow:hover {
  background: #178582;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
}

.work-slider-arrow:active {
  transform: translateY(0) scale(0.96);
}

/* Full Interactive Carousel / Slider Viewport */
.work-carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 10px 0 15px;
  cursor: grab;
  touch-action: pan-y;
}

.work-carousel-container.is-dragging {
  cursor: grabbing;
}

.work-carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.work-carousel-slide {
  flex: 0 0 calc(50% - 15px);
  min-width: calc(50% - 15px);
  max-width: calc(50% - 15px);
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .work-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

/* Carousel Pagination Dots */
.work-slider-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  position: relative;
  z-index: 3;
}

.work-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.work-slider-dot.active {
  width: 32px;
  border-radius: 12px;
  background: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
}

/* 2-Column Cards Grid (Fallback / Static) */
.our-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

/* The Work Showcase Card (Dentaire Style) */
.work-showcase-card {
  background: #091a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.work-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(2, 132, 199, 0.22);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Split Image Visual & Interactive Slider */
.work-split-visual {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  background: #06111f;
  user-select: none;
  touch-action: pan-y;
  --clip-pos: 50%;
}

.ba-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ba-layer-before {
  z-index: 1;
}

.ba-layer-after {
  z-index: 2;
  clip-path: polygon(var(--clip-pos, 50%) 0, 100% 0, 100% 100%, var(--clip-pos, 50%) 100%);
  -webkit-clip-path: polygon(var(--clip-pos, 50%) 0, 100% 0, 100% 100%, var(--clip-pos, 50%) 100%);
  transition: clip-path 0.05s ease-out;
}

.work-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Badges */
.ba-badge {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ba-badge-before {
  left: 10px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ba-badge-after {
  right: 10px;
  background: rgba(14, 116, 144, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Draggable Vertical Divider Line */
.work-split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--clip-pos, 50%);
  width: 3px;
  background: #ffffff;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 8px rgba(56, 189, 248, 0.6);
  z-index: 5;
  pointer-events: none;
  transition: left 0.05s ease-out;
}

/* Circular Handle Icon */
.work-split-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b1f36;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(56, 189, 248, 0.6);
  pointer-events: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.work-split-visual:hover .work-split-handle {
  transform: translate(-50%, -50%) scale(1.08);
  background: #e0f2fe;
}

.work-split-handle i {
  font-size: 0.76rem;
  color: #0c2035;
}

/* Invisible Range Input for Drag & Touch */
.ba-slider-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

/* Card Content Details */
.work-card-content {
  display: flex;
  flex-direction: column;
}

.work-category-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: capitalize;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.work-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.work-showcase-card:hover .work-card-title {
  color: #38bdf8;
}

.work-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Dentaire-Style Pill Action Button */
.btn-work-pill {
  background: #178582;
  color: #ffffff;
  padding: 7px 8px 7px 22px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(23, 133, 130, 0.3);
}

.btn-work-pill:hover {
  background: #0f6c69;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 133, 130, 0.45);
}

.work-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0c2035;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn-work-pill:hover .work-btn-icon {
  transform: translateX(3px);
}

/* Responsive Rules for Our Work */
@media (max-width: 1040px) {
  .our-work-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .our-work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .our-work-section {
    padding: 75px 0 85px;
  }
  .work-showcase-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 18px;
  }
  .work-split-visual {
    height: 220px;
  }
  .work-main-title {
    font-size: 1.95rem;
  }
}

/* ==========================================================================
   Patient Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background-color: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.patient-profile {
  display: flex;
  align-items: top;
  gap: 0.85rem;
}

.patient-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.patient-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.patient-info p {
  font-size: 0.78rem;
  color: var(--secondary-dark);
  font-weight: 600;
}

/* ==========================================================================
   FAQs Section
   ========================================================================== */
.faqs-section {
  padding: 6rem 0;
  background: #ffffff;
}

.faq-accordion {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  background: #ffffff;
  transition: var(--transition);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #ffffff;
  transition: var(--transition);
}

.faq-header:hover {
  background-color: #f8fafc;
}

.faq-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background-color: var(--primary);
  color: #fff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
  background-color: #fbfcfd;
}

.faq-content p {
  padding-bottom: 1.25rem;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-top: 0.5rem;
}

/* ==========================================================================
   Full Appointment & Contact Section
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0c1a2e 0%, #1e293b 100%);
  color: #ffffff;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-info-block .section-title {
  color: #ffffff;
}

.contact-info-block .section-subtitle {
  color: #94a3b8;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-card-item.accent .contact-icon {
  background: var(--secondary);
}

.contact-details h5 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.contact-details p, .contact-details a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.contact-details a:hover {
  color: var(--secondary);
}

/* Appointment Form Card */
.appointment-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: var(--dark);
}

.appointment-form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.appointment-form-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: var(--transition);
  background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #060e18;
  color: #94a3b8;
  padding: 4.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
  background: transparent;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.timing-badge {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #ffffff !important;
}

.footer-bottom p {
  color: #ffffff !important;
  margin: 0;
}

.footer-bottom a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
  opacity: 0.85;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
  }
}

/* Right-Edge Fixed Sidebar Dock */
.floating-sidebar-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1500;
}

.dock-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  transition: transform 0.25s ease, background-color 0.25s ease;
  border-radius: 6px 0 0 6px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.12);
  border: none;
  cursor: pointer;
}

.dock-btn:hover {
  transform: translateX(-5px);
  color: #ffffff;
}

.dock-whatsapp { background-color: #25d366; }
.dock-whatsapp:hover { background-color: #1eb857; }

.dock-call { background-color: #dc2626; }
.dock-call:hover { background-color: #b91c1c; }

.dock-map { background-color: #0284c7; }
.dock-map:hover { background-color: #0369a1; }

.dock-scroll { background-color: #64748b; }
.dock-scroll:hover { background-color: #475569; }

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 1.25rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.88rem;
  color: var(--gray-text);
}

.breadcrumb-nav a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav span {
  margin: 0 0.5rem;
  color: #94a3b8;
}

/* Alert Notification Toast */
.alert-popup {
  position: fixed;
  top: 30px;
  right: 30px;
  background: #ffffff;
  border-left: 5px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3000;
  transform: translateX(120%);
  transition: transform 0.4s ease;
}

.alert-popup.active {
  transform: translateX(0);
}

.alert-popup i {
  color: var(--secondary);
  font-size: 1.75rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.65rem;
  }
  .about-modern-grid {
    grid-template-columns: 1fr;
  }
  .tech-video-card {
    min-height: 420px;
  }
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .treatment-detail-layout {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  /* Legacy mobile nav removed in favor of unified drawer */
  .nav-cta-wrapper .btn {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .booking-form-row {
    grid-template-columns: 1fr;
  }
  .about-modern-bottom {
    grid-template-columns: 1fr;
  }
  .about-modern-title {
    font-size: 2.15rem;
  }
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  .treatment-step-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .slider-wrapper {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   High-Converting Homepage Quick Booking Strip Card (Enhanced Modern Design)
   ========================================================================== */
.quick-booking-section {
  position: relative;
  margin-top: -3.5rem;
  z-index: 20;
  padding-bottom: 2rem;
}

.booking-strip-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem 2.25rem 1.4rem;
  box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.18), 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.18);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: block;
}

.booking-strip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.booking-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--gray-border);
}

.booking-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  color: #065f46;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #a7f3d0;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.booking-main-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.booking-contact-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--gray-text);
  background: #f8fafc;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--gray-border);
}

.booking-contact-direct a {
  color: var(--primary);
  font-weight: 700;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.15fr;
  gap: 1.15rem;
  align-items: flex-end;
}

.booking-input-col label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-soft);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.booking-input-col .input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.booking-input-col input,
.booking-input-col select {
  width: 100%;
  padding: 0.78rem 1rem 0.78rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background-color: #f8fafc;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
}

.booking-input-col select {
  appearance: none;
  padding-right: 2.2rem;
  cursor: pointer;
}

.select-caret {
  position: absolute;
  right: 1rem;
  pointer-events: none;
  font-size: 0.75rem;
  color: #64748b;
}

.input-side-icon {
  position: absolute;
  right: 1rem;
  pointer-events: none;
  font-size: 0.85rem;
  color: #94a3b8;
}

.booking-input-col input:focus,
.booking-input-col select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

.booking-action-btn {
  width: 100%;
  padding: 0.82rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.booking-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

.booking-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
}

/* Doctor & Clinic Showcase Gallery */
.clinic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.clinic-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #ffffff;
  border: 1px solid var(--gray-border);
}

.clinic-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(2, 132, 199, 0.18);
}

.clinic-photo-img-wrap {
  width: 100%;
  height: 290px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.clinic-photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.clinic-photo-card:hover .clinic-photo-img-wrap img {
  transform: scale(1.05);
}

.clinic-photo-caption {
  padding: 1.25rem 1.4rem;
}

.clinic-photo-caption h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.clinic-photo-caption p {
  font-size: 0.86rem;
  color: var(--gray-text);
  line-height: 1.55;
  margin: 0;
}



/* Responsive Navbar & Layout Refinements */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.65rem;
    margin-right: 0.5rem;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 0.3rem 0.15rem;
  }
  .header-logo-img {
    height: 40px;
    max-width: 180px;
  }
  .nav-cta-wrapper .btn {
    padding: 0.48rem 0.95rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1040px) {
  .mobile-toggle {
    display: block !important;
  }
  /* Legacy mobile nav removed in favor of unified drawer */
  .booking-form-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .booking-submit-col {
    grid-column: span 2 !important;
  }
  .submit-spacer-label {
    display: none !important;
  }
  .clinic-gallery-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .booking-strip-card {
    padding: 1.35rem 1.15rem !important;
  }
  .booking-form-grid {
    grid-template-columns: 1fr !important;
  }
  .booking-submit-col {
    grid-column: span 1 !important;
  }
  .booking-header-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .booking-trust-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .nav-cta-wrapper .btn span {
    display: none;
  }
}


/* Mirakee Hero Responsive Rules */
/* Full-Width Hero Slider Responsive Rules */
@media (max-width: 991px) {
  .hero-slider-section.hero-full-slider {
    min-height: 580px !important;
    height: auto !important;
    padding: 0 0 50px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .hero-full-slider .hero-slider-container {
    position: relative !important;
    width: 100% !important;
    min-height: 520px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-full-slider .hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.65s ease, visibility 0.65s ease !important;
  }

  .hero-full-slider .hero-slide.active {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }

  .hero-full-slider .hero-slide-container {
    padding: 50px 20px 60px !important;
    width: 100% !important;
  }

  .hero-full-slider .slider-nav-arrows {
    display: none !important;
  }

  .hero-slider-pagination {
    bottom: 20px !important;
    z-index: 25 !important;
  }

  .slider-progress-track {
    bottom: 0 !important;
    z-index: 25 !important;
  }
}

@media (max-width: 575px) {
  .hero-full-title {
    font-size: 1.95rem;
    line-height: 1.22;
  }

  .hero-full-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-full-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-whatsapp,
  .btn-hero-glass {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .hero-banner-visual {
    height: 330px;
  }

  .hero-floating-quote {
    padding: 12px 16px;
    right: -4px;
    top: 15px;
  }

  .quote-line {
    font-size: 0.78rem;
  }
}


/* ==========================================================================
   Robust Mobile Navigation Drawer & Backdrop (100% Layered & Interactive)
   ========================================================================== */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .main-header {
  z-index: 10000 !important;
}

.mobile-drawer-header,
.mobile-drawer-footer,
.nav-link-icon {
  display: none;
}

.mobile-drawer-header,
.mobile-drawer-footer,
.nav-link-icon {
  display: none;
}

@media (max-width: 1040px) {
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    color: var(--dark);
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.2s ease;
  }
  
  .mobile-toggle:hover {
    background: var(--primary-light);
    color: var(--primary);
  }

  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 86% !important;
    max-width: 330px !important;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1.5rem !important;
    gap: 0.35rem !important;
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.3) !important;
    transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 9999 !important; /* ALWAYS strictly above backdrop */
    overflow-y: auto !important;
    margin: 0 !important;
  }

  .nav-menu.open {
    left: 0 !important;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1.25rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .mobile-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-drawer-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
  }

  .nav-menu .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
    border-bottom: none !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
  }

  .nav-link-icon {
    display: inline-flex !important;
    width: 22px;
    color: #0284c7;
    font-size: 1rem;
    justify-content: center;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    padding-left: 1.25rem !important;
  }

  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
  }

  .drawer-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
  }

  .nav-cta-wrapper {
    margin-left: auto;
    gap: 0.5rem;
  }
}

@media (max-width: 520px) {
  .nav-cta-wrapper .btn span {
    display: none !important;
  }
  .nav-cta-wrapper .btn {
    padding: 0.5rem 0.85rem !important;
  }
  .header-logo-img {
    height: 38px !important;
    max-width: 165px !important;
  }
}




/* ==========================================================================
   Committed To Excellence: Mission, Vision & Values Section (About Page)
   ========================================================================== */
.about-mission-section {
  position: relative;
  background: #081628;
  padding: 100px 0 115px;
  overflow: hidden;
  color: #ffffff;
}

.about-mission-section .why-decor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  opacity: 0.7;
}

.mission-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 50px;
}

.mission-header-left {
  max-width: 760px;
}

.mission-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(14, 116, 144, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.mission-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 2.85rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0;
}

.btn-mission-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #4f46e5;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
  white-space: nowrap;
}

.btn-mission-contact:hover {
  background: #4338ca;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.45);
  color: #ffffff;
}

.mission-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 48px 36px 42px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(2, 132, 199, 0.25);
}

.mission-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1.5px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.mission-card:hover .mission-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: #dbeafe;
}

.mission-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 14px;
}

.mission-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 991px) {
  .mission-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .mission-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mission-card {
    padding: 38px 28px;
  }
}

/* ==========================================================================
   Primecare-Inspired Service Details Layout (Single Treatment Pages)
   ========================================================================== */
.primecare-service-section {
  padding: 80px 0 100px;
  background-color: #f8fafc;
}

.primecare-service-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Sidebar Styles */
.service-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 100px;
}

.service-widget-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.service-widget-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Service Category List (Matching Primecare / Awaiken Themes) */
.service-catagery-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-catagery-list li {
  margin: 0;
}

.service-catagery-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-catagery-list li a .service-cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.service-catagery-list li a:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.service-catagery-list li a:hover .service-cat-icon {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: rotate(45deg);
}

.service-catagery-list li.active a {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
}

.service-catagery-list li.active a .service-cat-icon {
  background: #ffffff;
  color: #0284c7;
  transform: rotate(45deg);
}

/* Working Hours Card */
.working-hours-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.working-hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.working-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e2e8f0;
}

.working-hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.working-hours-row span:first-child {
  font-weight: 600;
  color: #0f172a;
}

.working-hours-row span:last-child {
  color: #0284c7;
  font-weight: 700;
}

/* Emergency Helpline Sidebar Card */
.service-emergency-card {
  background: linear-gradient(135deg, #0c1a2e 0%, #0369a1 100%);
  border-radius: 22px;
  padding: 32px 24px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 15px 35px rgba(3, 105, 161, 0.25);
  position: relative;
  overflow: hidden;
}

.service-emergency-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #38bdf8;
  margin-bottom: 16px;
}

.service-emergency-card h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-emergency-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-emergency-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.3s ease;
  width: 100%;
}

.service-emergency-phone:hover {
  background: #059669;
  transform: translateY(-2px);
  color: #ffffff;
}

/* Main Service Content Styles */
.service-entry-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.service-hero-img-wrap {
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 35px;
}

.service-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-hero-img-wrap:hover img {
  transform: scale(1.03);
}

.service-entry-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.6vw, 2.75rem);
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.service-entry-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Key Benefits Split Section */
.service-benefits-wrap {
  margin: 45px 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 35px;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.service-benefit-img {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-benefit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.service-benefits-list li i {
  color: #0284c7;
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Step by Step Milestone Steps */
.service-milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 35px 0 45px;
}

.service-milestone-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 22px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.service-milestone-card:hover {
  transform: translateY(-5px);
  border-color: #0284c7;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.15);
}

.milestone-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.service-milestone-card h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.service-milestone-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* FAQ Accordion */
.service-faq-wrap {
  margin: 45px 0;
}

.service-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.3s ease;
}

.service-faq-item.active {
  border-color: #0284c7;
}

.service-faq-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
}

.service-faq-header h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.service-faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 0.85rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-faq-item.active .service-faq-toggle {
  transform: rotate(45deg);
  background: #e0f2fe;
}

.service-faq-body {
  padding: 0 24px 20px;
  display: none;
}

.service-faq-item.active .service-faq-body {
  display: block;
}

.service-faq-body p {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

/* Service CTA Banner */
.service-consult-cta {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(16, 185, 129, 0.08));
  border: 1.5px solid #bae6fd;
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  margin-top: 40px;
}

.service-consult-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.service-consult-cta p {
  font-size: 15px;
  color: #475569;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .primecare-service-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .service-details-sidebar {
    position: static;
  }
  .service-entry-content {
    padding: 26px 20px;
  }
  .service-hero-img-wrap {
    height: 300px;
  }
  .service-benefits-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Google Reviews Badge & Verified Reviewer Styles
   ========================================================================== */

.google-rating-summary-banner {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
  max-width: 100%;
}

.google-rating-summary-banner .btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0.55rem 1.2rem !important;
  font-size: 0.88rem !important;
  border-radius: 9999px !important;
}

@media (max-width: 640px) {
  .google-rating-summary-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.85rem !important;
    padding: 1.15rem 1.25rem !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 2rem !important;
    box-sizing: border-box !important;
  }

  .google-rating-summary-banner > div {
    text-align: center !important;
  }

  .google-rating-summary-banner > div > div {
    justify-content: center !important;
  }

  .google-rating-summary-banner .google-review-count {
    display: block !important;
    font-size: 0.84rem !important;
    margin-top: 3px !important;
  }

  .google-rating-summary-banner .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.65rem 1.2rem !important;
    font-size: 0.92rem !important;
    white-space: nowrap !important;
  }
}


.google-g-icon {
  width: 28px;
  height: 28px;
}

.google-rating-score {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}

.google-stars-wrap {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 0.95rem;
}

.google-review-count {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 600;
}

.google-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: 0.35rem;
}

.review-source-google {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4285f4;
  margin-left: auto;
}

/* ==========================================================================
   Interactive Media Gallery Page Styles
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 45px;
}

.gallery-filter-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.gallery-masonry-grid {
  columns: 3 320px;
  column-gap: 24px;
}

.gallery-card-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  background: #0f172a;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  break-inside: avoid;
  margin-bottom: 24px;
  display: block;
  cursor: pointer;
}

.gallery-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(2, 132, 199, 0.22);
}

.gallery-img-el {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991px) {
  .gallery-masonry-grid {
    columns: 2 260px;
    column-gap: 20px;
  }
  .gallery-card-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .gallery-masonry-grid {
    columns: 1 !important;
    column-gap: 0 !important;
  }
  .gallery-card-item {
    margin-bottom: 18px !important;
    border-radius: 16px !important;
  }
}

.gallery-card-item:hover .gallery-img-el {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card-item:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-cat {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 4px;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.gallery-zoom-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  align-self: flex-start;
  transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-zoom-btn:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: #ffffff;
}

/* Lightbox Modal */
.gallery-modal-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-modal-lightbox.active {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.gallery-modal-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.gallery-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.gallery-modal-close:hover {
  background: #ef4444;
}

@media (max-width: 768px) {
  /* Removed grid override for column masonry */
}


/* ==========================================================================
   Modern Clinic Technology Video Section (About Page)
   ========================================================================== */
.about-modern-section {
  position: relative;
  padding: 5.5rem 0;
  background-color: #ffffff;
}

.about-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

/* Left Column: Tech Video Card */
.tech-video-card {
  position: relative;
  height: 540px;
  border-radius: 26px;
  overflow: hidden;
  background: #0c1a2e;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(2, 132, 199, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 26, 46, 0.45) 0%, rgba(12, 26, 46, 0.1) 45%, rgba(12, 26, 46, 0.88) 100%);
  pointer-events: none;
  z-index: 2;
}

.tech-card-header {
  position: relative;
  z-index: 5;
  padding: 22px 24px;
}

.tech-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  display: inline-block;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.center-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.92);
  color: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(2, 132, 199, 0.55);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 6;
}

.center-play-trigger:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #0284c7;
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.7);
}

.tech-card-footer {
  position: relative;
  z-index: 5;
  padding: 22px 24px;
}

.tech-card-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.video-player-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 9px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.player-play-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.player-play-btn:hover {
  color: #38bdf8;
}

.player-timer {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.player-progress {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.player-progress-fill {
  width: 0%;
  height: 100%;
  background: #38bdf8;
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.player-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Right Column: Content */
.about-modern-content {
  display: flex;
  flex-direction: column;
}

.about-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 1.25rem;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  align-self: flex-start;
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.about-modern-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.85rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-modern-p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

/* Bottom Actions: Doctor Consult Card + 2x2 Stats */
.about-modern-bottom {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 1.5rem;
}

.consult-promo-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.consult-img-wrap {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
}

.consult-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.consult-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-know-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-know-more:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.consult-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 4px;
}

.consult-phone-link:hover {
  color: var(--primary);
}

/* Stats Row: All 4 in One Line */
.stats-row-4,
.stats-2x2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px;
  width: 100%;
  margin-top: 1.5rem;
}

.stat-box-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-box-card:hover {
  background: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 5.9vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 4px;
  white-space: nowrap;
}

.stat-number.blue {
  color: var(--primary);
}

.stat-number.green {
  color: var(--secondary);
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .stats-row-4,
  .stats-2x2-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ==========================================================================
   The Four Pillars Of Patient Care (Why Grid & Cards) - Exactly 4 in 1 Row
   ========================================================================== */
.why-grid,
.pillars-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-top: 3.25rem;
  width: 100%;
}

.why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.8rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #10b981);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
  border-color: #bae6fd;
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.why-card:hover .why-icon-box {
  background: #0284c7;
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
}

.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.why-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Responsive Adaptations for About Page Sections
   ========================================================================== */
@media (max-width: 1024px) {
  .doctor-profile-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .about-modern-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tech-video-card {
    height: 440px;
  }
  .sterilization-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .why-grid,
  .pillars-grid-4,
  .stats-row-4,
  .stats-2x2-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .stat-box-card {
    padding: 14px 10px !important;
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  .why-grid,
  .pillars-grid-4 {
    grid-template-columns: 1fr !important;
  }
}





/* ==========================================================================
   Mobile View Fixes: Dock Overlap & Button Margin Clearance
   ========================================================================== */
.mobile-floating-whatsapp {
  display: none;
}

@media (max-width: 768px) {
  /* 1. Hide the fixed right-edge vertical dock on mobile so it NEVER collides with text, images or buttons */
  .floating-sidebar-dock {
    display: none !important;
  }

  /* 2. Sleek floating circular WhatsApp button at bottom-right thumb zone */
  .mobile-floating-whatsapp {
    display: flex !important;
    position: fixed;
    bottom: 22px;
    right: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff !important;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9995 !important;
    text-decoration: none !important;
    border: 2px solid #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-floating-whatsapp:hover,
  .mobile-floating-whatsapp:active {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  }

  /* 3. Ensure buttons and containers never touch mobile screen edges */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .btn-lg {
    padding: 0.85rem 1.4rem !important;
    font-size: 0.95rem !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   Instagram Feed & Profile Section
   ========================================================================== */
.instagram-feed-section {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}

/* Authentic Instagram Profile Header Card */
.instagram-profile-card {
  max-width: 820px;
  margin: 0 auto 3rem;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem 2.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-profile-card:hover {
  box-shadow: 0 15px 35px rgba(220, 39, 67, 0.12);
}

.instagram-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.instagram-avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
  cursor: pointer;
}

.instagram-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  background: #ffffff;
}

.instagram-avatar-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.instagram-avatar-badge i {
  color: #dc2743;
  font-size: 0.95rem;
}

.instagram-profile-info {
  flex-grow: 1;
}

.instagram-profile-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.instagram-username {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.instagram-username:hover {
  color: #dc2743;
}

.instagram-verified-check {
  color: #0284c7;
  font-size: 1.05rem;
}

.instagram-profile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.instagram-btn-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 18px;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(220, 39, 67, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-btn-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
}

.instagram-btn-reels {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 16px;
  border-radius: 9999px;
  text-decoration: none !important;
  border: 1px solid #cbd5e1;
  transition: background 0.2s ease;
}

.instagram-btn-reels:hover {
  background: #e2e8f0;
}

.instagram-stats-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 0.75rem;
}

.instagram-stat-item {
  font-size: 0.95rem;
  color: #475569;
}

.instagram-stat-item strong {
  color: #0f172a;
  font-weight: 800;
}

.instagram-bio {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

.instagram-bio-name {
  font-weight: 700;
  color: #0f172a;
  display: block;
}

.instagram-bio-loc {
  color: #64748b;
  font-size: 0.85rem;
}

/* 6-Column Grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.instagram-grid-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0f172a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  text-decoration: none;
}

.instagram-grid-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(220, 39, 67, 0.25);
}

.instagram-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.instagram-grid-card:hover img {
  transform: scale(1.08);
}

.instagram-reel-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s ease;
}

.instagram-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(220, 39, 67, 0.88) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.instagram-grid-card:hover .instagram-card-overlay {
  opacity: 1;
}

.instagram-overlay-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #dc2743;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.instagram-grid-card:hover .instagram-overlay-icon {
  transform: translateY(0);
}

.instagram-overlay-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.instagram-overlay-handle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Responsive Breakpoints for Instagram Section */
@media (max-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 1.25rem;
  }
}

@media (max-width: 768px) {
  .instagram-profile-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .instagram-profile-top {
    justify-content: center;
  }

  .instagram-stats-row {
    justify-content: center;
  }

  .instagram-profile-actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .instagram-feed-section {
    padding: 3.5rem 0 2.5rem;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 1rem;
  }

  .instagram-reel-badge {
    top: 6px;
    right: 6px;
    padding: 3px 8px;
    font-size: 0.7rem;
  }

  .instagram-card-overlay {
    opacity: 0.35;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
    justify-content: flex-end;
    padding: 0.6rem;
  }

  .instagram-grid-card:active .instagram-card-overlay,
  .instagram-grid-card:hover .instagram-card-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(220, 39, 67, 0.88) 100%);
    justify-content: center;
  }

  .instagram-overlay-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }
}


