/* ==========================================================================
   Narayaneeyam Ayurveda Institute of Panchakarma and Research Centre
   Premier Authentic Vedic Healthcare - Global Standard Stylesheet
   ========================================================================== */

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

:root {
  --primary-deep: #123524;
  --primary-green: #1b4d33;
  --primary-light: #2d6a4f;
  --accent-gold: #c59b27;
  --accent-gold-light: #dfb74a;
  --accent-gold-soft: #fbf5e6;
  --accent-terracotta: #b85d38;
  --bg-cream: #fbf9f5;
  --bg-sand: #f4eee3;
  --bg-sage: #eff5f1;
  --text-dark: #1b241e;
  --text-muted: #536259;
  --text-light: #819287;
  --border-light: #e4dcce;
  --border-green: #cbe0d3;
  --white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(18, 53, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 53, 36, 0.10);
  --shadow-lg: 0 20px 45px rgba(18, 53, 36, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', 'Playfair Display', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Typography & Helper Elements
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-deep);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.text-gold { color: var(--accent-gold); }
.text-green { color: var(--primary-green); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  background: var(--accent-gold-soft);
  border: 1px solid rgba(197, 155, 39, 0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-tag::before, .section-tag::after {
  content: "✦";
  font-size: 0.65rem;
  color: var(--accent-gold);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fae092;
}
.section-tag.light::before, .section-tag.light::after {
  color: #fae092;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .subtext {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.section {
  padding: 3.5rem 0;
  position: relative;
}

.section.alt-bg {
  background-color: var(--bg-sand);
}

.section.green-bg {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #17422a 100%);
  color: var(--white);
}

.section.green-bg .section-header p,
.section.green-bg > .container > p {
  color: rgba(255, 255, 255, 0.85);
}

.section.green-bg .section-header h2, 
.section.green-bg .section-header h3, 
.section.green-bg .section-header h4 {
  color: var(--white);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-deep) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27, 77, 51, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 77, 51, 0.35);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, #d8ac34 0%, var(--accent-gold) 100%);
  color: #122117;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(197, 155, 39, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ebd076 0%, #d8ac34 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 155, 39, 0.45);
}

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

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

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-deep);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
  background-color: var(--primary-deep);
  color: #dfede3;
  font-size: 0.76rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-item svg {
  color: var(--accent-gold);
  width: 13px;
  height: 13px;
}

.topbar-badge {
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #fae092;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(18, 53, 36, 0.08);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
  background: var(--white);
  padding: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2px;
}

.brand-badge {
  color: var(--accent-gold);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-header .container {
  max-width: 1320px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-sage);
  border: 1px solid var(--border-green);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-phone-pill svg {
  color: var(--primary-green);
}

.nav-phone-pill:hover {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
}

.nav-phone-pill:hover svg {
  color: #fff;
}

.btn-header {
  padding: 0.42rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-sage);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px 7px;
  box-shadow: 0 2px 8px rgba(18, 53, 36, 0.08);
  flex-shrink: 0;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.hamburger:hover, .hamburger:active {
  background: var(--accent-gold-soft);
  border-color: var(--accent-gold);
  transform: scale(1.04);
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 22px;
  background-color: var(--primary-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 320px;
  height: 100%;
  background: var(--bg-cream);
  z-index: 2001;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

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

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-deep);
  padding: 0.4rem 0;
}

.mobile-nav-links a.active {
  color: var(--accent-gold);
}

/* ==========================================================================
   Hero Section with Full Background Video & Compact One-Shot Viewport
   ========================================================================== */
/* ==========================================================================
   Hero Section with Full Background Video & Majestic Viewport
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: #0b1f14;
  color: var(--white);
  padding: 5.5rem 0 4.8rem;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 28, 18, 0.82) 0%, rgba(10, 28, 18, 0.65) 45%, rgba(10, 28, 18, 0.25) 75%, rgba(10, 28, 18, 0.05) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 840px;
}

.hero .section-tag {
  display: inline-block;
  background: rgba(14, 40, 26, 0.9);
  border: 1.5px solid var(--accent-gold);
  color: #fae092;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--white);
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: none;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 6px 28px rgba(0, 0, 0, 0.85);
}

.hero-title span {
  color: #fae092;
  display: inline;
  font-weight: 800;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 6px 28px rgba(0, 0, 0, 0.85);
}

.hero-lead {
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 1.8rem;
  line-height: 1.65;
  max-width: 740px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 4px 18px rgba(0, 0, 0, 0.85);
}

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

.hero-buttons .btn {
  padding: 0.75rem 1.65rem;
  font-size: 0.94rem;
}

.hero-buttons .btn-gold {
  box-shadow: 0 4px 18px rgba(197, 155, 39, 0.4);
}

.hero-buttons .btn-outline-white {
  background: rgba(14, 40, 26, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.hero-buttons .btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-deep);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  max-width: 840px;
}

.stat-item {
  background: rgba(11, 31, 20, 0.72);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.stat-item h3 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fae092;
  margin-bottom: 0.2rem;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.stat-item p {
  color: #f2f7f4;
  font-size: 0.82rem;
  margin-bottom: 0;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3.5rem 0 2.8rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

/* ==========================================================================
   Cards, Grids & Features
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

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

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

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 53, 36, 0.9);
  color: var(--accent-gold-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 1.8rem;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 0;
  margin-bottom: 0.8rem;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Doctor Card */
.doctor-card {
  background: var(--white) !important;
  color: var(--text-dark) !important;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(18, 53, 36, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(18, 53, 36, 0.14);
  border-color: var(--accent-gold);
}

.doctor-img {
  height: 380px;
  width: 100%;
  object-fit: contain;
  object-position: center center;
  background: #f4f6f4;
  transition: transform 0.4s ease;
  display: block;
}

.doctor-card:hover .doctor-img {
  transform: scale(1.02);
}

.doctor-info {
  padding: 1.8rem 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--white) !important;
}

.doctor-card h3,
.doctor-card .doctor-name,
.doctor-info .doctor-name {
  font-family: var(--font-heading) !important;
  font-size: 1.42rem !important;
  color: #123524 !important;
  margin-bottom: 0.35rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  display: block !important;
  visibility: visible !important;
}

.doctor-card .doctor-spec,
.doctor-info .doctor-spec {
  color: var(--accent-gold) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.65rem !important;
  display: block !important;
  visibility: visible !important;
}

.doctor-card .doctor-deg,
.doctor-info .doctor-deg {
  display: inline-block !important;
  background: var(--bg-sage) !important;
  color: var(--primary-green) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 1rem !important;
  width: fit-content !important;
  border: 1px solid var(--border-green) !important;
  visibility: visible !important;
}

.doctor-card p,
.doctor-info p {
  color: #3b4d42 !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  margin-bottom: 1.2rem !important;
  display: block !important;
  visibility: visible !important;
}

.doctor-contact-bar {
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 0.85rem;
}

/* ==========================================================================
   Panchakarma 5-Step Process (Interactive / Visual Animation)
   ========================================================================== */
#about {
  padding: 3.5rem 0 1.5rem 0;
}

#panchakarma-process {
  padding: 2rem 0 3.5rem 0;
}

.five-karma-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}

.karma-box {
  background: var(--white);
  border: 1px solid rgba(18, 53, 36, 0.12);
  border-top: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem 1.3rem;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 14px rgba(18, 53, 36, 0.04);
  display: flex;
  flex-direction: column;
}

.karma-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(18, 53, 36, 0.09);
  border-color: rgba(197, 155, 39, 0.5);
  border-top-color: var(--accent-gold);
}

.karma-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(18, 53, 36, 0.08);
}

.karma-step {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.karma-target-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.55rem;
  background: var(--bg-sage);
  color: var(--primary-green);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-green);
}

.karma-box:hover .karma-target-pill {
  background: var(--primary-deep);
  color: #fae092;
  border-color: var(--primary-deep);
}

.karma-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.karma-subtitle {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  display: block;
}

.karma-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.karma-footer {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(18, 53, 36, 0.1);
}

.karma-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
}

.karma-box:hover .karma-link {
  color: var(--accent-gold);
  transform: translateX(3px);
}

/* ==========================================================================
   Timings & Center Highlight Cards
   ========================================================================== */
.timing-banner {
  background: linear-gradient(135deg, #244c33 0%, var(--primary-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.timing-badge {
  background: var(--accent-gold);
  color: #122117;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
}

.timing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.timing-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.timing-item h5 {
  color: var(--accent-gold-light);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.timing-item p {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* ==========================================================================
   Multi-Location Directory (Hospital, Corp, Institute)
   ========================================================================== */
.location-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.location-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.location-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
}

.location-pill.main {
  background: #e7f4ec;
  color: var(--primary-green);
  border: 1px solid #bce1c9;
}

.location-pill.corp {
  background: #fdf3e7;
  color: #a45a16;
  border: 1px solid #f6d8b3;
}

.location-pill.inst {
  background: #f5efff;
  color: #633399;
  border: 1px solid #dac2fb;
}

.location-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.location-address {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   Package Pricing & Inpatient Programs
   ========================================================================== */
.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.package-card.popular {
  border: 2px solid var(--accent-gold);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.package-tag-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #122117;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.package-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.package-duration {
  color: var(--accent-terracotta);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.package-features {
  margin: 1.5rem 0 2rem;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.package-features li svg {
  color: var(--primary-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Testimonial & Research Callouts
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 2.6rem 2.2rem;
  box-shadow: 0 6px 22px rgba(18, 53, 36, 0.05);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #ffd700 50%, var(--accent-gold) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-9px) scale(1.015);
  box-shadow: 0 22px 45px rgba(18, 53, 36, 0.12);
  border-color: var(--accent-gold);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
  margin-bottom: 1rem;
  width: fit-content;
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-gold-light);
  line-height: 1;
  font-family: var(--font-serif);
  margin-bottom: 0.3rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .quote-icon {
  transform: scale(1.15) rotate(-5deg);
  color: var(--accent-gold);
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--border-light);
}

.patient-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-sage);
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-deep);
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.patient-details h5 {
  font-size: 1.02rem;
  color: var(--primary-deep);
  margin-bottom: 0.15rem;
}

.patient-details span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-deep);
  color: #e2ede5;
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--accent-gold);
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #bfd4c7;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 1rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #bfd4c7;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: #bfd4c7;
}

.footer-contact-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-social-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-btn:hover {
  background: var(--accent-gold);
  color: #122117;
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border-color: transparent;
}

.social-icon-btn.facebook:hover {
  background: #1877F2;
  color: #fff;
  border-color: transparent;
}

.social-icon-btn.youtube:hover {
  background: #FF0000;
  color: #fff;
  border-color: transparent;
}

.social-icon-btn.whatsapp:hover {
  background: #25D366;
  color: #fff;
  border-color: transparent;
}

.social-icon-btn.maps:hover {
  background: #4285F4;
  color: #fff;
  border-color: transparent;
}

/* Official Leadership & Doctor Message Card */
.message-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  box-shadow: 0 10px 35px rgba(18, 53, 36, 0.08);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: var(--transition);
}

.message-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 15px 45px rgba(18, 53, 36, 0.12);
}

.message-card-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
}

@media (max-width: 900px) {
  .message-card-inner {
    grid-template-columns: 1fr;
  }
}

.message-card-photo {
  position: relative;
  background: #f4f6f4;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-card-photo img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center center;
  background: #f4f6f4;
  display: block;
}

.message-card-content {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .message-card-content {
    padding: 1.4rem 1rem !important;
  }
}

.message-badge {
  display: inline-block;
  background: var(--accent-gold-soft);
  color: var(--primary-deep);
  border: 1px solid rgba(197, 155, 39, 0.35);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.message-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--primary-deep);
  margin-bottom: 0.3rem;
}

.message-role {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.message-subrole {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.message-quote {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #2b3930;
  margin-bottom: 1rem;
}

.message-quote p {
  margin-bottom: 0.85rem;
  color: #2b3930;
}

.message-highlight-quote {
  background: var(--bg-sage);
  border-left: 4px solid var(--accent-gold);
  padding: 0.9rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-deep);
  margin: 1.2rem 0;
  font-size: 0.94rem;
}

.hindi-transcript-toggle {
  background: none;
  border: 1px dashed var(--accent-gold);
  color: var(--primary-green);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.hindi-transcript-toggle:hover {
  background: var(--accent-gold-soft);
}

.hindi-transcript-content {
  display: none;
  margin-top: 1rem;
  padding: 1.2rem;
  background: #fbf9f4;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.92rem;
  line-height: 1.8;
  color: #333;
}

.hindi-transcript-content.active {
  display: block;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #9cb5a5;
}

/* ==========================================================================
   Inquiry Modal Popup (8-Second Trigger)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 38, 25, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.modal-header {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-green) 100%);
  color: var(--white);
  padding: 1.5rem 1.8rem;
  position: relative;
  flex-shrink: 0;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.modal-header p {
  color: #c9e0d1;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.5rem 1.8rem;
  max-height: 75vh;
  overflow-y: auto;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(27, 77, 51, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   WhatsApp Floating Button & Mobile Bottom Bar
   ========================================================================== */
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  padding: 0.75rem 1.4rem 0.75rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-floating svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.whatsapp-floating:hover {
  background: #20bd5a;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  border: 2px solid #25D366;
  animation: pulseAnim 2s infinite;
  pointer-events: none;
  left: 0;
  top: 0;
}

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

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  z-index: 1999;
  padding: 0.6rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

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

/* Page Banner (For Inner Pages) */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 5.5rem 0 4.8rem;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.8rem;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
}

.page-banner p {
  color: #f2f8f4;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--accent-gold-light);
}

.breadcrumbs a {
  color: #dfede4;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: span 3;
  }
}

@media (max-width: 1140px) {
  .nav-links, .nav-actions .btn, .nav-actions .nav-phone-pill {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .five-karma-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .five-karma-grid > div:last-child {
    grid-column: span 2;
  }
  .mobile-bottom-bar {
    display: block;
  }
  .whatsapp-floating {
    bottom: 5rem;
    right: 1.2rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
  }
  body {
    padding-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none !important;
  }
  .container {
    padding: 0 0.75rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
  }
  .site-header .container {
    padding: 0 0.65rem !important;
  }
  .navbar {
    height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 46px);
  }
  .brand-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .brand-title {
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-sub {
    font-size: 0.54rem;
    gap: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-badge {
    font-size: 0.54rem;
  }
  .nav-actions {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .hamburger {
    display: flex !important;
    width: 38px;
    height: 38px;
    padding: 7px 6px;
    flex-shrink: 0;
  }
  .section {
    padding: 2.2rem 0 !important;
  }
  .section-header {
    margin-bottom: 1.8rem;
  }
  .hero {
    min-height: auto;
    padding: 3.5rem 0 2.5rem;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .hero-lead {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  .stat-item {
    padding: 0.8rem 0.6rem;
  }
  .stat-item h3 {
    font-size: 1.25rem;
  }
  .stat-item p {
    font-size: 0.72rem;
  }
  .five-karma-grid {
    grid-template-columns: 1fr;
  }
  .five-karma-grid > div:last-child {
    grid-column: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .modal-overlay {
    padding: 0.5rem;
  }
  .modal-content {
    border-radius: 12px;
    max-width: 100%;
    max-height: 94vh;
  }
  .modal-header {
    padding: 1rem 0.85rem;
  }
  .modal-header h3 {
    font-size: 1.15rem;
  }
  .modal-header p {
    font-size: 0.78rem;
  }
  .modal-close {
    top: 0.65rem;
    right: 0.65rem;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .modal-body {
    padding: 1rem 0.85rem;
  }
  .form-group {
    margin-bottom: 0.8rem;
  }
  .form-control {
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
  }
  .appointment-form-card {
    padding: 1.25rem 0.85rem !important;
  }
  .footer {
    padding: 2.2rem 0 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .footer-grid > div:last-child {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem !important;
  }
  .site-header .container {
    padding: 0 0.45rem !important;
  }
  .navbar {
    height: 52px;
    gap: 0.3rem;
  }
  .brand {
    gap: 0.35rem;
    max-width: calc(100% - 44px);
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.82rem;
  }
  .brand-sub {
    font-size: 0.50rem;
    gap: 0.15rem;
  }
  .hamburger {
    width: 36px;
    height: 36px;
    padding: 6px 5px;
  }
  .section {
    padding: 1.8rem 0 !important;
  }
  .hero-title {
    font-size: 1.65rem;
  }
}
