/* Design System Variables */
:root {
  --primary: #2563eb;       /* Electric Blue */
  --primary-hover: #1d4ed8; /* Darker Electric Blue */
  --primary-light: #eff6ff; /* Ice Blue Background */
  --navy: #0f172a;          /* Slate/Navy Header & Dark Text */
  --navy-light: #1e293b;    /* Secondary Dark Text */
  --teal: #0d9488;          /* Accent Green/Teal for highlights */
  --teal-light: #f0fdfa;   /* Light Teal Background */
  --bg-body: #f8fafc;       /* Cool white/slate background */
  --bg-card: #ffffff;
  --text-main: #334155;     /* Dark grey for body text */
  --text-muted: #64748b;    /* Slate grey for subtext */
  --border: #e2e8f0;        /* Light grey borders */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 1rem 0;
  border-radius: 2px;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.8em;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-badge {
  display: inline-block;
  padding: 0.35em 0.8em;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background-color: var(--navy);
  color: #fff;
}

.btn-secondary:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.05rem;
}

/* Header Top Info Area (Aesthetic matching rbadentalcare.com) */
.header-top-info {
  background-color: #ffffff;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.header-top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-logo-area {
  display: flex;
  align-items: center;
}

.site-logo-area img {
  height: 55px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.header-info-cards {
  display: flex;
  gap: 2rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-card-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
}

.info-card-content {
  display: flex;
  flex-direction: column;
}

.info-card-content span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.info-card-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  margin-top: 1px;
}

.info-card-content h4 a {
  transition: color 0.3s;
}

.info-card-content h4 a:hover {
  color: var(--primary);
}

.nabh-badge-area {
  display: flex;
  align-items: center;
}

.badge-tag {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Main Dropdown Navigation Bar (100% width light gray layout matching screenshot) */
.main-header-bar {
  background-color: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Nav Menu Dropdowns */
.nav-menu-dropdown ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu-dropdown > ul > li {
  position: relative;
  padding: 0.35rem 0;
}

.nav-menu-dropdown a {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  margin: 0 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 4px;
  transition: color 0.3s, background-color 0.3s;
}

.nav-menu-dropdown a:hover {
  color: #0284c7;
  background-color: #f1f5f9;
}

/* Active Menu Tab (Soft Blue Background Block matching screenshot) */
.nav-menu-dropdown a.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

.caret-icon {
  font-size: 0.7rem;
  opacity: 0.8;
  transition: transform 0.3s;
}

.nav-menu-dropdown li:hover .caret-icon {
  transform: rotate(180deg);
}

/* Dropdown Submenus */
.nav-menu-dropdown .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 6px 6px;
  padding: 0.5rem 0;
  min-width: 240px;
  z-index: 1000;
  flex-direction: column;
  border-top: 3px solid #0284c7;
}

.nav-menu-dropdown .submenu li {
  width: 100%;
  padding: 0;
}

.nav-menu-dropdown .submenu a {
  color: #334155;
  padding: 0.65rem 1.5rem;
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
  border-radius: 0;
}

.nav-menu-dropdown .submenu a:hover {
  color: #0284c7;
  background-color: #f1f5f9;
}

.nav-menu-dropdown .has-submenu:hover .submenu {
  display: flex;
}

/* Practo-style CTA Button on far right */
.header-cta-button {
  display: flex;
  align-items: center;
}

.btn-practo-style {
  background-color: #0ea5e9;
  color: #ffffff;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-practo-style:hover {
  background-color: #0284c7;
  transform: translateY(-1px);
}

/* Responsive navigation toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.8rem 0;
}

.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 24px;
  height: 2px;
  background-color: #334155;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}/* Hero Section */
.hero {
  padding: 6rem 0;
  background: radial-gradient(circle at 80% 20%, #eff6ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-text-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-text-content h1 span {
  color: var(--primary);
  background: linear-gradient(to right, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form Card */
.hero-form-container {
  display: flex;
  justify-content: flex-end;
}

.form-card {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 420px;
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.form-group label .required {
  color: red;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  background-color: var(--bg-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: #fff;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
  content: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .active {
  color: var(--navy);
  font-weight: 600;
}

/* Trust Features */
.trust-features {
  padding: 4rem 0;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* About Doctor */
.about-doctor {
  padding: 6rem 0;
}

.about-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.doctor-image-wrapper {
  position: relative;
  background: linear-gradient(135deg, #f0f6ff 0%, #dbeafe 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
  height: 480px;
}

.doctor-img {
  height: 95%;
  width: auto;
  object-fit: contain;
}

.doctor-experience-tag {
  position: absolute;
  bottom: 24px;
  right: -24px;
  background-color: var(--primary);
  color: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 180px;
}

.exp-number {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.doctor-sub {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.doctor-role {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.doctor-bio-p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.doctor-bullet-list {
  margin-bottom: 2.5rem;
}

.doctor-bullet-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.doctor-bullet-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--teal);
}

.about-ctas {
  display: flex;
  gap: 1rem;
}

/* Services */
.services-section {
  padding: 6rem 0;
}

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

.service-card {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

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

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

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.read-more-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more-link:hover {
  color: var(--primary-hover);
}

/* Pricing Table */
.pricing-section {
  padding: 6rem 0;
}

.pricing-card-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.pricing-table-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 3rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.pricing-table th, 
.pricing-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background-color: var(--primary-light);
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-heading);
}

.pricing-table td {
  font-weight: 500;
}

.pricing-table td:nth-child(2) {
  color: var(--primary);
  font-weight: 700;
}

.pricing-table tbody tr:hover {
  background-color: #f8fafc;
}

.pricing-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Why Us */
.why-us {
  padding: 6rem 0;
}

.why-container {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 5rem;
  align-items: center;
}

.why-features-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.why-feature-item {
  display: flex;
  gap: 1.25rem;
}

.why-feature-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.why-feature-desc h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.why-feature-desc p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-image-side {
  position: relative;
}

.image-box-decor {
  position: relative;
}

.why-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.badge-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.badge-overlay i {
  color: var(--teal);
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
}

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

.testimonial-card {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.rating-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--navy-light);
  margin-bottom: 1.5rem;
}

.testimonial-author h5 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

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

/* FAQs */
.faqs-section {
  padding: 6rem 0;
}

.faq-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.faq-intro-side h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.faq-intro-side p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.faq-list-side {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-heading);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-toggle-icon {
  font-size: 0.9rem;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-details {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h5 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--text-muted);
}

.contact-text a:hover {
  color: var(--primary);
}

.contact-map-side {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-height: 380px;
}

/* Success Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal.open .modal-content {
  transform: scale(1);
}

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

.modal-icon {
  font-size: 4rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.modal-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: var(--navy);
  color: #cbd5e1;
  padding: 5rem 0 2rem 0;
}

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

.footer-brand h5,
.footer-links h5,
.footer-treatments h5 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #94a3b8;
}

.footer-links ul,
.footer-treatments ul {
  display: grid;
  gap: 0.75rem;
}

.footer-links a,
.footer-treatments a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover,
.footer-treatments a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-admin-link a {
  color: #64748b;
}

.footer-admin-link a:hover {
  color: #cbd5e1;
}

.text-white { color: #fff; }
.text-gray { color: #94a3b8; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-form-container {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image-side {
    display: flex;
    justify-content: center;
  }
  
  .doctor-img {
    max-width: 480px;
    height: 400px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-container {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header-info-cards {
    display: none;
  }
  
  .nabh-badge-area {
    display: none;
  }
  
  .header-top-flex {
    justify-content: center;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--navy);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu-dropdown.open {
    display: block;
  }
  
  .nav-menu-dropdown ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  .nav-menu-dropdown li {
    width: 100%;
  }
  
  .nav-menu-dropdown a {
    padding: 0.85rem 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-menu-dropdown .submenu {
    position: static;
    display: none;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    padding: 0.5rem 0;
    border-radius: 0;
    width: 100%;
    border-top: none;
  }
  
  .nav-menu-dropdown .submenu a {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 3rem;
  }
  
  .nav-menu-dropdown .submenu a:hover {
    color: #fff;
    background-color: transparent;
  }
  
  .nav-menu-dropdown .has-submenu.active .submenu {
    display: block;
  }
  
  .header-social-links {
    display: none;
  }
  
  .hero-text-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-table-card {
    padding: 1.5rem;
  }
  
  .pricing-table th, 
  .pricing-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }
  
  .why-container {
    grid-template-columns: 1fr;
  }
  
  .about-ctas, .hero-actions {
    flex-direction: column;
  }
  
  .doctor-experience-tag {
    right: 0;
    bottom: -12px;
  }
}

/* Homepage Hero Image Slider */
.hero-slider-container {
  width: 100%;
  height: 440px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  flex-direction: column;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  color: #fff;
  padding: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  z-index: 3;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background-color: #fff;
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .hero-slider-container {
    height: 380px;
    margin-top: 2rem;
  }
}

/* Social media & WhatsApp Floating widgets styling */
.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 99;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.whatsapp-float i {
  font-size: 1.5rem;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

.whatsapp-float span {
  display: inline-block;
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem;
  }
  .whatsapp-float span {
    display: none;
  }
}

/* Thin Top Alert Bar styling */
.top-thin-alert-bar {
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
  font-family: var(--font-heading);
}

.alert-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.alert-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.alert-btn {
  background-color: #ffffff;
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.alert-btn:hover {
  background-color: #f1f5f9;
}

/* Revamped Hero Section Layout */
.hero-header-style,
.hero-covid-style {
  position: relative;
  min-height: 560px;
  background-image: url("/assets/dentist-safety.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  padding: 7rem 0 13rem 0;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}

.hero-header-content,
.hero-covid-content {
  position: relative;
  z-index: 2;
}

.hero-text-wrap {
  max-width: 650px;
  text-align: left;
}

.hero-text-wrap h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #ffffff;
  font-family: var(--font-heading);
}

.hero-text-wrap .accent-title {
  font-size: 4.8rem;
  font-weight: 900;
  color: #38bdf8;
  margin: 0 0 1.5rem 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
}

.hero-btn-group {
  display: flex;
  gap: 1rem;
}

.btn-hero-primary {
  background-color: #0284c7;
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.btn-hero-primary:hover {
  background-color: #0369a1;
}

.btn-hero-outline {
  border: 2px solid #0284c7;
  color: #38bdf8;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}

.btn-hero-outline:hover {
  background-color: #0284c7;
  color: #ffffff;
}

/* Feature overlay cards grid overlaying bottom of hero */
.hero-overlay-grid-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  transform: translateY(50%);
}

.hero-overlay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.grid-card {
  padding: 2.2rem 1.8rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  justify-content: space-between;
}

.card-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.8;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.grid-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.grid-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0 0 1.25rem 0;
}

.card-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  width: fit-content;
  transition: background-color 0.3s, border-color 0.3s;
}

.card-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.card-cyan {
  background-color: #0284c7;
}

.card-navy {
  background-color: #0f172a;
}

/* Hours List Grid in card 2 */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.25rem;
}

.hour-row span:first-child {
  font-weight: 600;
}

.phone-highlight {
  font-size: 1.3rem;
  font-weight: 800;
  color: #38bdf8;
  margin: 0 0 0.5rem 0;
}

/* Floating Patient Stories button */
.floating-patient-stories {
  position: fixed;
  bottom: 20px;
  right: 210px;
  background-color: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  z-index: 99;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  font-family: var(--font-heading);
}

.floating-patient-stories:hover {
  background-color: #059669;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

/* Compensate padding on section under hero grid card overlay */
.trust-features {
  padding-top: 10rem !important;
}

/* Responsive adjustments for new hero styles */
@media (max-width: 991px) {
  .hero-header-content,
  .hero-covid-content {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    text-align: center;
  }
  .hero-text-wrap {
    max-width: 100%;
  }
  .hero-btn-group {
    justify-content: center;
  }
  .hero-doctor-photo-wrap {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
  .hero-overlay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-header-style,
  .hero-covid-style {
    padding-bottom: 18rem;
  }
  .trust-features {
    padding-top: 15rem !important;
  }
  .floating-patient-stories {
    right: 1.5rem;
    bottom: 5.5rem; /* Stacked above WhatsApp float on mobile */
  }
}

@media (max-width: 768px) {
  .hero-text-wrap h2 {
    font-size: 1.75rem;
  }
  .hero-text-wrap .accent-title {
    font-size: 3rem;
  }
  .hero-subtext {
    font-size: 1rem;
  }
  .hero-overlay-grid {
    grid-template-columns: 1fr;
  }
  .hero-header-style,
  .hero-covid-style {
    padding-bottom: 48rem;
    padding-top: 4rem;
  }
  .trust-features {
    padding-top: 45rem !important;
  }
}

/* ==========================================================================
   Gallery Page Styles & Media Grid
   ========================================================================== */
.gallery-filter-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.gallery-filter-btn {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1.35rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.gallery-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.gallery-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.gallery-item-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.gallery-media-thumb {
  position: relative;
  width: 100%;
  height: 230px;
  background: #0f172a;
  overflow: hidden;
}

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

.gallery-item-card:hover .gallery-media-thumb img {
  transform: scale(1.05);
}

.gallery-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.gallery-media-thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gallery-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.gallery-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.gallery-item-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.gallery-item-caption {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.gallery-zoom-btn {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

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

