/* ==========================================================================
   JAIPUR ENT & DENTAL CLINIC - SMILICO PREMIUM DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Brand Colors matching Smilico */
  --primary: #031D4F;
  --primary-dark: #021233;
  --primary-light: #0d2e6e;
  --secondary: #F7FAF9;
  --accent: #05B18B;
  --accent-hover: #048C6E;
  --accent-light: #EBF8F5;
  --accent-glow: rgba(5, 177, 139, 0.25);
  --ent-accent: #0284C7;
  --ent-accent-light: #E0F2FE;
  --dental-accent: #05B18B;
  --dental-accent-light: #E6F7F3;
  
  /* Neutral / Surface */
  --white: #FFFFFF;
  --bg-page: #F8FAF9;
  --bg-subtle: #F1F5F4;
  --card-bg: #FFFFFF;
  --dark-surface: #041438;
  
  /* Text */
  --text-primary: #0B1938;
  --text-body: #405274;
  --text-muted: #6B7C99;
  --text-light: #94A3B8;
  
  /* Borders & Shadows */
  --border-color: #E2E8F0;
  --border-light: #EEF2F6;
  --shadow-sm: 0 2px 8px rgba(3, 29, 79, 0.04);
  --shadow-md: 0 10px 30px rgba(3, 29, 79, 0.08);
  --shadow-lg: 0 20px 50px rgba(3, 29, 79, 0.12);
  --shadow-accent: 0 10px 25px rgba(5, 177, 139, 0.28);
  
  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   SCROLLBAR & MAGIC CURSOR
   ========================================================================== */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00D4A2;
}

#magic-cursor, #ball {
  display: none !important;
}

/* ==========================================================================
   THEME PRELOADER
   ========================================================================== */
.theme-preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.theme-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-container {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-bottom-color: var(--accent);
  animation: rotateSpinner 1.2s linear infinite;
}

.loading-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
  animation: pulseLogo 1.5s ease-in-out infinite;
}

@keyframes rotateSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-padding-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.bg-dark-clinic {
  background-color: var(--primary);
  color: #E2E8F0;
}

.bg-dark-clinic h1,
.bg-dark-clinic h2,
.bg-dark-clinic h3,
.bg-dark-clinic h4 {
  color: var(--white);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-column { flex-direction: column; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* Section Header standard in Smilico */
.section-title-wrap {
  margin-bottom: 50px;
  max-width: 720px;
}

.section-title-wrap.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(5, 177, 139, 0.2);
}

.section-badge i {
  font-size: 0.9rem;
}

.section-badge.badge-white {
  background: rgba(255, 255, 255, 0.12);
  color: #00D4A2;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-badge.badge-ent {
  background: var(--ent-accent-light);
  color: var(--ent-accent);
  border-color: rgba(2, 132, 199, 0.2);
}

.section-heading {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--primary);
}

.section-heading span.highlight {
  color: var(--accent);
  position: relative;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-heading {
    font-size: 1.85rem;
  }
  .section-desc {
    font-size: 0.98rem;
  }
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  body {
    padding-bottom: 72px; /* ensure content not blocked by mobile bottom pill */
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .section-heading {
    font-size: 1.6rem;
  }
  .section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ==========================================================================
   BUTTONS (SMILICO PILL STYLE WITH SLIDING ICON)
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-transform: capitalize;
  border-radius: var(--radius-pill);
  padding: 16px 54px 16px 28px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-normal);
  z-index: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(5, 177, 139, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--primary);
  transition: var(--transition-normal);
  z-index: -1;
  border-radius: var(--radius-pill);
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(3, 29, 79, 0.3);
  padding: 16px 28px 16px 54px;
}

.btn-icon-capsule {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition-normal);
}

.btn-primary:hover .btn-icon-capsule {
  right: calc(100% - 44px);
  background: var(--accent);
}

/* Button Secondary / Outline */
.btn-secondary {
  color: var(--primary);
  background: var(--white);
  border: 1.5px solid var(--border-color);
  padding: 15px 30px;
}

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

.btn-outline-white {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 15px 30px;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-sm {
  padding: 11px 36px 11px 20px;
  font-size: 0.88rem;
}
.btn-sm .btn-icon-capsule {
  width: 20px;
  height: 20px;
  right: 12px;
  font-size: 10px;
}
.btn-sm:hover {
  padding: 11px 20px 11px 36px;
}
.btn-sm:hover .btn-icon-capsule {
  right: calc(100% - 32px);
}

/* ==========================================================================
   TOP BAR & FLOATING HEADER
   ========================================================================== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-items {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-item i {
  color: var(--accent);
}

.topbar-emergency {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 177, 139, 0.15);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(5, 177, 139, 0.3);
  color: var(--white);
  font-weight: 600;
}

.topbar-emergency i {
  color: #00D4A2;
  animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 768px) {
  .topbar {
    padding: 6px 0;
    font-size: 0.78rem;
  }
  .topbar-content {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
  .topbar-items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }
  .topbar-item {
    font-size: 0.76rem;
    text-align: center;
  }
  .topbar-emergency {
    font-size: 0.76rem;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .topbar-items .topbar-item:first-child span {
    font-size: 0.72rem;
  }
}

/* Main Header Floating Navbar */
.main-header {
  position: sticky;
  top: 16px;
  z-index: 1000;
  padding: 0 16px;
  margin-top: 14px;
  transition: var(--transition-normal);
}

.header-container {
  max-width: 1420px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(3, 29, 79, 0.06);
  transition: var(--transition-normal);
  gap: 16px;
}

.header-scrolled .header-container {
  box-shadow: var(--shadow-lg);
  padding: 6px 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-text-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  user-select: none;
}

.brand-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-title-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.brand-title-main .word-jaipur {
  color: var(--primary);
  font-weight: 800;
}

.brand-title-main .word-ent {
  color: var(--ent-accent);
  font-weight: 800;
}

.brand-title-main .word-sep {
  color: #94A3B8;
  font-weight: 500;
  font-size: 0.95em;
  padding: 0 1px;
}

.brand-title-main .word-dental {
  color: var(--accent);
  font-weight: 800;
}

.brand-title-main .word-clinic {
  color: var(--primary);
  font-weight: 700;
}

.brand-subtitle-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1px;
  display: block;
}

/* Footer & Dark Background Brand Logo */
.site-footer .brand-text-logo,
.brand-footer-logo,
.admin-header .brand-text-logo {
  display: inline-flex;
  margin-bottom: 8px;
}

.site-footer .brand-title-main,
.brand-footer-logo .brand-title-main,
.admin-header .brand-title-main {
  font-size: 1.35rem;
}

.site-footer .brand-title-main .word-jaipur,
.brand-footer-logo .brand-title-main .word-jaipur,
.admin-header .brand-title-main .word-jaipur {
  color: #FFFFFF;
}

.site-footer .brand-title-main .word-ent,
.brand-footer-logo .brand-title-main .word-ent,
.admin-header .brand-title-main .word-ent {
  color: #38BDF8;
}

.site-footer .brand-title-main .word-sep,
.brand-footer-logo .brand-title-main .word-sep,
.admin-header .brand-title-main .word-sep {
  color: #94A3B8;
}

.site-footer .brand-title-main .word-dental,
.brand-footer-logo .brand-title-main .word-dental,
.admin-header .brand-title-main .word-dental {
  color: #05B18B;
}

.site-footer .brand-title-main .word-clinic,
.brand-footer-logo .brand-title-main .word-clinic,
.admin-header .brand-title-main .word-clinic {
  color: #FFFFFF;
}

.site-footer .brand-subtitle-tag,
.brand-footer-logo .brand-subtitle-tag,
.admin-header .brand-subtitle-tag {
  color: #34D399;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  margin-top: 3px;
}

@media (max-width: 1280px) {
  .brand-title-main {
    font-size: 1.12rem;
    gap: 3px;
  }
  .brand-subtitle-tag {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
}

.site-logo img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

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

.nav-link i.dropdown-caret {
  font-size: 0.72rem;
  transition: transform 0.25s;
}

.nav-item:hover .nav-link i.dropdown-caret {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition-normal);
  z-index: 100;
  white-space: nowrap;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.dropdown-link i {
  font-size: 1rem;
  color: var(--accent);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-link:hover {
  background: var(--accent-light);
  color: var(--accent);
  transform: translateX(4px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.call-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.call-pill i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.call-pill:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile Hamburger */
.mobile-toggle-btn {
  display: none;
  background: var(--bg-subtle);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(3, 29, 79, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  overflow: hidden; /* Prevents off-canvas drawer from expanding page width */
  transition: var(--transition-normal);
}

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

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: min(340px, 85vw);
  background: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-close-btn {
  background: var(--bg-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
}

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

@media (max-width: 1280px) {
  .header-container {
    padding: 8px 16px;
    gap: 10px;
  }
  .nav-menu {
    gap: 2px;
  }
  .nav-link {
    padding: 7px 10px;
    font-size: 0.88rem;
    gap: 4px;
  }
  .call-pill {
    padding: 6px 12px;
    font-size: 0.84rem;
  }
  .btn-sm {
    padding: 9px 34px 9px 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1120px) {
  .call-pill {
    display: none;
  }
  .nav-link {
    padding: 7px 8px;
    font-size: 0.86rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu, .call-pill { display: none; }
  .mobile-toggle-btn { display: flex; }
}

@media (max-width: 768px) {
  .main-header {
    padding: 0 10px;
    margin-top: 8px;
    top: 8px;
  }
  .header-container {
    padding: 6px 14px;
    gap: 8px;
  }
  .header-actions .btn {
    display: none !important; /* Hide long button to make header fit perfectly; mobile bottom bar handles this */
  }
  .brand-title-main {
    font-size: 1.05rem;
    gap: 3px;
  }
  .brand-subtitle-tag {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
  }
  .mobile-toggle-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    display: flex;
  }
}

@media (max-width: 420px) {
  .header-container {
    padding: 5px 10px;
  }
  .brand-title-main {
    font-size: 0.94rem;
    gap: 2px;
  }
  .brand-subtitle-tag {
    font-size: 0.50rem;
    letter-spacing: 0.06em;
  }
  .mobile-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .brand-title-main {
    font-size: 0.85rem;
  }
  .mobile-toggle-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

/* ==========================================================================
   HERO SECTION (SMILICO STYLE)
   ========================================================================== */
.hero-section {
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: stretch;
  gap: 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.16;
  color: var(--primary);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #009670 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .text-ent {
  color: var(--ent-accent);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-rating-stars {
  color: #F59E0B;
  font-size: 14px;
}

.trust-item-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.trust-item-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  height: 100%;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  background: #E2E8F0;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Split Story Section (About & Profile Grids) */
.split-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: stretch;
}

.split-story-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-story-media {
  display: flex;
  width: 100%;
  height: 100%;
}

.split-story-media-box {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  position: relative;
  background: #E2E8F0;
}

.split-story-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .split-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-story-media-box {
    min-height: 360px;
    max-height: 440px;
  }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(3, 29, 79, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  top: 12%;
  left: -25px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 8%;
  right: -20px;
  animation-delay: 1.5s;
}

.floating-badge-3 {
  bottom: 22%;
  left: -20px;
  animation-delay: 0.8s;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.badge-icon.icon-navy {
  background: rgba(3, 29, 79, 0.1);
  color: var(--primary);
}

.badge-icon.icon-blue {
  background: var(--ent-accent-light);
  color: var(--ent-accent);
}

.badge-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.badge-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .floating-badge-1 { left: 0; }
  .floating-badge-2 { right: 0; }
  .floating-badge-3 { left: 0; }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 24px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.22;
    margin-bottom: 16px;
  }
  .hero-lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    gap: 12px;
    margin-bottom: 28px;
  }
  .hero-trust-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-image-wrapper {
    min-height: 280px;
    max-height: 380px;
  }
}

@media (max-width: 540px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .floating-badge {
    display: none !important;
  }
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   SPECIALTY SPLIT SECTION (ENT vs DENTAL HERO GATEWAY)
   ========================================================================== */
.specialty-gateway-section {
  position: relative;
  margin-top: -30px;
  z-index: 10;
  padding-bottom: 60px;
}

.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.specialty-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
  transition: height 0.3s;
}

.specialty-card.card-ent::before {
  background: var(--ent-accent);
}

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

.specialty-card.card-ent:hover {
  border-color: var(--ent-accent);
}

.specialty-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.specialty-icon-box {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--dental-accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: transform 0.4s;
}

.card-ent .specialty-icon-box {
  background: var(--ent-accent-light);
  color: var(--ent-accent);
}

.specialty-card:hover .specialty-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.specialty-tag {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.specialty-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.specialty-card p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.specialty-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 26px;
}

.specialty-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.specialty-feature-item i {
  color: var(--accent);
  font-size: 14px;
}

.card-ent .specialty-feature-item i {
  color: var(--ent-accent);
}

.specialty-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.doctor-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doctor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.card-ent .doctor-avatar {
  border-color: var(--ent-accent);
}

.doctor-preview-info h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.doctor-preview-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .specialty-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STATS COUNTER BAR
   ========================================================================== */
.stats-ribbon-section {
  background: var(--primary);
  color: var(--white);
  padding: 45px 0;
  position: relative;
  overflow: hidden;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(5, 177, 139, 0.18);
  color: #00D4A2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}

.stat-content p {
  font-size: 0.9rem;
  color: #94A3B8;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stat-item::after { display: none !important; }
}

@media (max-width: 540px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SERVICES SECTION & CATEGORY TABS
   ========================================================================== */
.services-tab-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tab-btn.active i {
  color: var(--accent);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.service-card:hover::after {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.3s;
}

.service-card.ent-service .service-icon-box {
  background: var(--ent-accent-light);
  color: var(--ent-accent);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
}

.service-tag-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.service-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
  line-height: 1.3;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Symptom Quick Filter Box (Smilico Premium Theme) */
.symptom-search-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.symptom-search-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--ent-accent) 100%);
}

.symptom-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.symptom-search-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.symptom-header-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.symptom-search-title h4 {
  color: var(--primary);
  font-size: 1.16rem;
  font-weight: 700;
  margin: 0 0 3px 0;
}

.symptom-search-title p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.symptom-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.symptom-reset-btn:hover {
  background: #ef4444;
  color: #fff;
}

.symptom-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.symptom-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(3, 29, 79, 0.03);
}

.symptom-tag-btn i {
  font-size: 0.95rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.symptom-tag-btn i.icon-ent {
  color: var(--ent-accent);
}

.symptom-tag-btn i.icon-dental {
  color: var(--accent);
}

/* Tag Hover effect */
.symptom-tag-btn:hover {
  background: var(--white);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(5, 177, 139, 0.16);
}

.symptom-tag-btn.ent-tag:hover {
  border-color: var(--ent-accent);
  color: var(--ent-accent);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.16);
}

.symptom-tag-btn:hover i {
  transform: scale(1.22) rotate(4deg);
}

/* Active / Selected state */
.symptom-tag-btn.active {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 8px 24px rgba(5, 177, 139, 0.35);
  transform: translateY(-2px);
}

.symptom-tag-btn.ent-tag.active {
  background: var(--ent-accent) !important;
  color: var(--white) !important;
  border-color: var(--ent-accent) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
}

.symptom-tag-btn.active i {
  color: var(--white) !important;
}

.service-symptoms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.symptom-tag {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
  cursor: default;
}

.symptom-tag:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(5, 177, 139, 0.3);
  transform: translateY(-1px);
}

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

.service-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.service-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
}

.service-modal-btn:hover {
  color: var(--accent);
}

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BEFORE / AFTER INTERACTIVE COMPARISON SLIDER
   ========================================================================== */
.before-after-section {
  background: var(--white);
}

.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.transformation-media-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.transformation-image-box {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  background: #E2E8F0;
  min-height: 420px;
}

.transformation-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.transformation-image-box:hover img {
  transform: scale(1.03);
}

.transformation-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.case-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.case-feature-item i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 3px;
}

.case-feature-item h5 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.case-feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .comparison-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .transformation-image-box {
    min-height: 320px;
    max-height: 420px;
  }
}

/* ==========================================================================
   DOCTORS SECTION (SMILICO DOCTOR CARDS)
   ========================================================================== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.doctor-image-box {
  position: relative;
  aspect-ratio: 1/1.12;
  overflow: hidden;
  background: #E2E8F0;
}

.doctor-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-image-box img {
  transform: scale(1.05);
}

.doctor-specialty-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(3, 29, 79, 0.9);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.doctor-specialty-badge i {
  color: var(--accent);
}

.doctor-info-box {
  padding: 26px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doctor-name {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.doctor-degrees {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.doctor-bio-short {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
}

.doctor-meta-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  padding: 12px 14px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.doctor-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.doctor-meta-item i {
  color: var(--accent);
  width: 16px;
}

.doctor-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

@media (max-width: 640px) {
  .doctors-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  transition: var(--transition-normal);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
  transition: transform 0.3s;
}

.feature-box:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(6deg);
}

.feature-box h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.feature-box p {
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APPOINTMENT BOOKING ENGINE (INTERACTIVE FORM + BACKEND)
   ========================================================================== */
.booking-section {
  background: linear-gradient(135deg, var(--primary) 0%, #03173d 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.booking-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.booking-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.booking-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.booking-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.booking-highlight-item i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(5, 177, 139, 0.2);
  color: #00D4A2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.booking-highlight-item span {
  font-weight: 600;
  font-size: 0.98rem;
}

.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
}

.booking-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.booking-form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

@media (max-width: 991px) {
  .booking-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .booking-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .booking-content h2 {
    font-size: 1.85rem;
  }
  .booking-form-card {
    padding: 20px 14px;
    border-radius: var(--radius-lg);
  }
  .booking-form-title {
    font-size: 1.35rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-group-full {
    grid-column: span 1;
  }
}

/* ==========================================================================
   CLINIC TOUR & GALLERY SECTION (LIGHTBOX INTEGRATION)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 29, 79, 0.9) 0%, rgba(3, 29, 79, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  opacity: 0;
  transition: var(--transition-normal);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 16px;
}

.gallery-overlay h5 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 0;
}

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

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.testimonial-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  font-size: 15px;
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10B981;
  background: #ECFDF5;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h5 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */
.faqs-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-search-box {
  margin-bottom: 30px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-color);
  background: var(--white);
  font-size: 1.02rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.faq-search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-fast);
}

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

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.faq-icon-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
}

.faq-item.active .faq-body {
  padding-bottom: 22px;
}

.faq-body p {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   LOCATION & EMERGENCY STRIP
   ========================================================================== */
.emergency-banner {
  background: linear-gradient(135deg, #0B2559 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

.emergency-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.emergency-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  animation: pulseLogo 1.5s infinite;
}

.emergency-text h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.emergency-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  margin: 0;
}

@media (max-width: 768px) {
  .emergency-banner {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
  }
  .emergency-info {
    gap: 14px;
  }
  .emergency-icon-ring {
    width: 48px;
    height: 48px;
    font-size: 20px;
    flex-shrink: 0;
  }
  .emergency-text h3 {
    font-size: 1.25rem;
  }
  .emergency-text p {
    font-size: 0.90rem;
  }
  .emergency-banner div[style*="display: flex"] {
    width: 100% !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .emergency-banner .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 0.92rem !important;
  }
}

/* ==========================================================================
   FOOTER (SMILICO DEEP NAVY THEME)
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #94A3B8;
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 20px 0;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-widget-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: #00D4A2;
  transform: translateX(5px);
}

.footer-timing-table {
  width: 100%;
  font-size: 0.9rem;
}

.footer-timing-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-timing-row span:first-child {
  color: #E2E8F0;
  font-weight: 600;
}

.footer-timing-row span:last-child {
  color: var(--accent);
  font-weight: 700;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 4px;
}

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

.footer-credit {
  color: #94A3B8;
  font-size: 0.88rem;
}

.footer-credit a {
  color: #00D4A2;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   STICKY FLOATING ACTION BUTTONS (WHATSAPP & CALL NOW)
   ========================================================================== */
.floating-actions-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.floating-action-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}

.floating-action-btn:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background: #25D366;
}

.fab-call {
  background: var(--primary);
  border: 2px solid var(--white);
}

.fab-tooltip {
  position: absolute;
  right: 64px;
  background: var(--primary-dark);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  pointer-events: none;
}

.floating-action-btn:hover .fab-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sticky Bottom Booking Pill */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 850;
  border-top: 1px solid var(--border-color);
}

.mobile-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
  }
  .floating-actions-bar {
    bottom: 74px;
    right: 16px;
  }
}

/* ==========================================================================
   MODAL POPUP SYSTEM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 29, 79, 0.7);
  backdrop-filter: blur(8px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-normal);
  position: relative;
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: #E2E8F0;
}

.modal-body {
  padding: 30px;
}

@media (max-width: 768px) {
  .modal-backdrop {
    padding: 12px;
  }
  .modal-dialog {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
  .modal-header {
    padding: 16px 18px;
  }
  .modal-body {
    padding: 18px;
  }
}

/* ==========================================================================
   RESPONSIVE HELPER GRIDS FOR INNER PAGES
   ========================================================================== */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.doctor-profile-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-color);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 45px;
  align-items: center;
  margin-bottom: 40px;
}

.doctor-timing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.94rem;
}

@media (max-width: 860px) {
  .doctor-profile-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .doctor-timing-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.modal-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .modal-two-col-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  margin-bottom: 30px;
}

.contact-timing-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-color);
}

@media (max-width: 768px) {
  .contact-info-card,
  .contact-timing-card,
  .contact-form-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }
}

