/* Yathartham Shalyaveda - Stylesheet */

/* --- ROOT CONSTANTS & DESIGN TOKENS --- */
:root {
  --primary-green: #2E7D32;
  --dark-green: #1B5E20;
  --light-green: #A5D6A7;
  --cream-white: #FAFAF5;
  --pure-white: #FFFFFF;
  --text-dark: #1E1E1E;
  --soft-grey: #6B7280;
  --border-light: #E7ECE7;
  --soft-cream: #F4F7F4;
  
  --font-headings: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-premium: 0 10px 40px rgba(46, 125, 50, 0.04);
  --shadow-hover: 0 20px 50px rgba(46, 125, 50, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}

/* --- BASE STYLES & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--pure-white);
  color: var(--text-dark);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--dark-green);
  line-height: 1.25;
}

p {
  color: var(--text-dark);
  font-size: 1rem;
}

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

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

/* --- LAYOUT UTILITIES --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-green);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--soft-grey);
}

/* --- BUTTON SYSTEM & RIPPLE EFFECT --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--pure-white);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

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

.btn-secondary:hover {
  background-color: rgba(46, 125, 50, 0.05);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Ripple effect container */
.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- HEADER & NAVIGATION --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 24px 0;
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background-color: rgba(250, 250, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-glass);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
  transform: rotate(15deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-green);
  font-weight: 500;
}

.nav-menu {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger Menu button (Hidden on Desktop by default) */
.hamburger {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1101;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.hamburger:hover {
  background-color: rgba(46, 125, 50, 0.08);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background-color: var(--dark-green);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.3s ease;
}

/* Hamburger active transformation into X icon */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop Overlay for Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 36, 19, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1095;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--cream-white);
  z-index: 1100;
  box-shadow: -10px 0 30px rgba(0,0,0,0.12);
  transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-logo-text {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-green);
}

.btn-close-drawer {
  font-size: 2.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--soft-grey);
}

.drawer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  display: block;
}

.drawer-link:hover {
  color: var(--primary-green);
}

.drawer-actions {
  margin-top: 30px;
}

/* --- BOTANICAL PARTICLES (BACKGROUNDS) --- */
.leaf-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.leaf-particle {
  position: absolute;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%232E7D32" opacity="0.08" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C12 22 16.5 17.5 16.5 12C16.5 6.5 12 2 12 2Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  will-change: transform;
}

.leaf-1 {
  width: 60px;
  height: 60px;
  top: 15%;
  left: 5%;
  animation: float-leaf-y 8s ease-in-out infinite alternate;
}

.leaf-2 {
  width: 80px;
  height: 80px;
  top: 45%;
  right: 5%;
  animation: float-leaf-x 10s ease-in-out infinite alternate;
}

.leaf-3 {
  width: 50px;
  height: 50px;
  top: 80%;
  left: 20%;
  animation: float-leaf-y 12s ease-in-out infinite alternate;
}

.leaf-4 {
  width: 70px;
  height: 70px;
  top: 25%;
  right: 45%;
  animation: float-leaf-x 11s ease-in-out infinite alternate;
}

@keyframes float-leaf-y {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(25px) rotate(15deg); }
}

@keyframes float-leaf-x {
  0% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(-20px) rotate(-15deg); }
}

/* --- HERO SECTION --- */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(165, 214, 167, 0.1) 0%, rgba(250, 250, 245, 0.4) 50%, var(--pure-white) 100%);
  padding-top: 100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  height: 100%;
}

.hero-content {
  z-index: 5;
}

/* Hero Motto Block (Devanagari Sanskrit/Hindi & English) */
.hero-motto {
  margin-bottom: 24px;
}

.hero-motto-sanskrit {
  font-family: 'Cormorant Garamond', 'Noto Serif Devanagari', 'Mangal', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.25;
  letter-spacing: 1px;
}

.hero-motto-english {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark-green);
}

.hero-subtitle {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  color: var(--primary-green);
  margin-bottom: 18px;
  font-weight: 500;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--soft-grey);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 300px 300px 30px 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(27, 94, 32, 0.06);
  border: 1px solid var(--border-light);
}

.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Floating Glassmorphic Card */
.floating-glass-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: subtle-hover 4s ease-in-out infinite alternate;
}

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

.star-icon {
  width: 32px;
  height: 32px;
}

.card-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1;
}

.card-label {
  font-size: 0.8rem;
  color: var(--soft-grey);
}

/* --- TRUST STRIP --- */
.trust-strip {
  background-color: var(--cream-white);
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  z-index: 5;
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-smooth);
}

.trust-card:hover {
  transform: translateY(-4px);
}

.trust-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(46, 125, 50, 0.08);
  color: var(--primary-green);
}

.trust-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.trust-card h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* --- TREATMENTS SECTION --- */
.treatments-section {
  background-color: var(--pure-white);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.treatment-card {
  background: var(--pure-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--light-green);
}

.card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

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

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

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  padding-top: 50px;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--cream-white);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -28px;
  left: 30px;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.08);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.treatment-card:hover .card-icon {
  background-color: var(--primary-green);
  color: var(--pure-white);
  transform: translateY(-4px);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--dark-green);
}

.card-text {
  font-size: 0.95rem;
  color: var(--soft-grey);
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary-green);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-top: auto;
  align-self: flex-start;
}

.btn-text .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-text:hover {
  color: var(--dark-green);
}

.btn-text:hover .arrow {
  transform: translateX(4px);
}

/* --- DOCTOR PROFILE SECTION --- */
.doctor-section {
  background-color: var(--cream-white);
}

.doctor-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.doctor-image-container {
  display: flex;
  justify-content: center;
}

.doctor-frame {
  position: relative;
  border-radius: 30px;
  overflow: visible;
}

.doctor-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--primary-green);
  border-radius: 30px;
  z-index: 1;
  pointer-events: none;
}

.doctor-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 30px;
  z-index: 2;
  position: relative;
  box-shadow: var(--shadow-premium);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-green);
  color: var(--pure-white);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(27, 94, 32, 0.2);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-num {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.badge-txt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.signature-divider {
  width: 120px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 5px;
  margin: 18px 0 24px 0;
}

.doctor-name {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 8px;
}

.doctor-title {
  font-size: 1.2rem;
  color: var(--primary-green);
  font-weight: 500;
  margin-bottom: 24px;
}

.doctor-quote {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--dark-green);
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--light-green);
}

.doctor-details-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.detail-item {
  border-bottom: 1px solid rgba(46, 125, 50, 0.1);
  padding-bottom: 12px;
}

.detail-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary-green);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1rem;
  color: var(--text-dark);
}

.doctor-motto-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--pure-white);
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: inline-flex;
}

.motto-word {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-green);
}

.motto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--light-green);
}

/* --- WHY CHOOSE US --- */
.why-choose-us-section {
  background-color: var(--pure-white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.why-card {
  padding: 40px;
  background-color: var(--cream-white);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.why-card:hover {
  background-color: var(--pure-white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: var(--light-green);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(46, 125, 50, 0.08);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.why-card:hover .why-icon {
  background-color: var(--primary-green);
  color: var(--pure-white);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--soft-grey);
}

/* Core Divisions Grid (When Heritage Card is removed) */
.about-divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

/* Numeric counters strip */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  border-top: 1px solid var(--border-light);
  padding-top: 60px;
  text-align: center;
}

.counter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-val-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.counter-prefix {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-right: 4px;
}

.counter-number {
  font-family: var(--font-headings);
  font-size: 4rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1;
}

.counter-plus {
  font-family: var(--font-headings);
  font-size: 3rem;
  color: var(--primary-green);
  font-weight: 700;
  vertical-align: top;
}

.counter-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--soft-grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

/* --- CONSULTATION CHANNEL ACCORDION --- */
.consultation-section {
  background-color: var(--cream-white);
}

.consultation-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.consultation-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.consultation-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.accordion-item {
  background-color: var(--pure-white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-item.active {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-premium);
}

.accordion-header {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.accordion-header span {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-green);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.4s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-green);
  transition: var(--transition-fast);
}

/* Horizontal line */
.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

/* Vertical line */
.accordion-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(135deg);
}

.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item.active .accordion-collapse {
  max-height: 200px; /* arbitrary height to slide to */
}

.accordion-body {
  padding: 0 28px 22px 28px;
  font-size: 0.95rem;
  color: var(--soft-grey);
  line-height: 1.6;
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-section {
  background-color: var(--pure-white);
}

.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 10px;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 300%; /* 3 slides */
}

.testimonial-slider .testimonial-card {
  width: 33.333%;
  flex-shrink: 0;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial-card {
  background-color: var(--cream-white);
  border-radius: 24px;
  padding: 50px !important;
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating {
  display: flex;
  gap: 6px;
  color: #FFB300;
  margin-bottom: 24px;
}

.star {
  font-size: 1.4rem;
}

.review-text {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--dark-green);
  line-height: 1.5;
  margin-bottom: 30px;
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.patient-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-green);
}

.patient-name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.patient-condition {
  font-size: 0.8rem;
  color: var(--soft-grey);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

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

.dot.active {
  background-color: var(--primary-green);
  width: 28px;
  border-radius: 10px;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background-color: var(--cream-white);
  border-top: 1px solid var(--border-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

/* Premium Google Maps Placeholder */
.contact-map {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
  min-height: 480px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background-color: #E7EDE7;
  position: relative;
  overflow: hidden;
}

.bg-pattern-map {
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(var(--primary-green) 1.5px, transparent 1.5px), radial-gradient(var(--primary-green) 1.5px, #E7EDE7 1.5px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 94, 32, 0.15);
  padding: 30px;
}

.map-card {
  background-color: var(--pure-white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  max-width: 380px;
  text-align: center;
}

.map-card h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--dark-green);
}

.map-card p {
  font-size: 0.9rem;
  color: var(--soft-grey);
  margin-bottom: 20px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 30px 20px;
  background-color: var(--pure-white);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contact-item-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.contact-item-card:hover {
  transform: translateY(-8px);
  border-color: var(--light-green);
  box-shadow: var(--shadow-hover);
}

.contact-item-card:hover::after {
  transform: scaleX(1);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: rgba(46, 125, 50, 0.06);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-item-card:hover .contact-card-icon {
  background-color: var(--primary-green);
  color: var(--pure-white);
  transform: rotate(15deg) scale(1.1);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-link {
  transition: var(--transition-fast);
}

.contact-link:hover {
  color: var(--primary-green);
}

/* Floating WhatsApp Link styling */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* --- REDESIGNED SECTIONS & LAYOUTS --- */

/* 1. About Us Redesign (Heritage Card & Core Divisions List) */
.about-redesign-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: stretch;
}

.about-heritage-card {
  background-color: var(--dark-green);
  color: var(--pure-white);
  padding: 50px;
  border-radius: 30px;
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-heritage-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.about-heritage-card h3 {
  font-size: 2.2rem;
  color: var(--cream-white);
  margin-bottom: 20px;
}

.about-heritage-card p {
  color: var(--cream-white);
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
}

.about-heritage-card .heritage-quote {
  font-family: var(--font-headings);
  font-style: italic;
  font-size: 1.4rem;
  margin-top: 25px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  color: var(--light-green);
}

.about-divisions-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.about-division-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--cream-white);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.about-division-item:hover {
  background-color: var(--pure-white);
  transform: translateX(8px);
  border-color: var(--light-green);
  box-shadow: var(--shadow-premium);
}

.about-division-number {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
  background-color: rgba(46, 125, 50, 0.06);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.about-division-item:hover .about-division-number {
  background-color: var(--primary-green);
  color: var(--pure-white);
}

.about-division-info h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 6px;
}

.about-division-info p {
  font-size: 0.9rem;
  color: var(--soft-grey);
  line-height: 1.5;
}

/* 2. Testimonials Redesign (3-Column Card Deck) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-grid-card {
  background-color: var(--cream-white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-grid-card:hover {
  transform: translateY(-8px);
  background-color: var(--pure-white);
  border-color: var(--light-green);
  box-shadow: var(--shadow-hover);
}

.testimonial-quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  color: rgba(46, 125, 50, 0.08);
  pointer-events: none;
}

.testimonial-grid-card .review-text {
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--dark-green);
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: left;
}

.testimonial-grid-card .patient-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  border-top: 1px solid rgba(46, 125, 50, 0.08);
  padding-top: 20px;
}

.testimonial-grid-card .patient-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-green);
}

.testimonial-grid-card .patient-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-grid-card .patient-condition {
  font-size: 0.78rem;
  color: var(--primary-green);
  font-weight: 500;
  display: inline-block;
  margin-top: 2px;
}

/* 3. Clinical Locations Hub Panel */
.locations-hub-panel {
  background-color: var(--pure-white);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 480px;
}

.locations-hub-header {
  margin-bottom: 24px;
}

.locations-hub-header h3 {
  font-size: 2rem;
  color: var(--dark-green);
  margin-bottom: 8px;
}

.locations-hub-header p {
  color: var(--soft-grey);
  font-size: 0.95rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.location-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: var(--cream-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.location-card:hover {
  transform: translateY(-3px);
  background-color: var(--pure-white);
  border-color: var(--light-green);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.05);
}

.location-icon-wrapper {
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(46, 125, 50, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.location-icon-wrapper svg {
  width: 16px;
  height: 16px;
}

.location-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.location-info span {
  font-size: 0.75rem;
  color: var(--soft-grey);
}

/* 4. Treatment Card CTA styling adjustments */
.treatment-card .btn-book-treatment {
  margin-top: 15px;
  width: 100%;
  padding: 12px 20px;
  font-size: 0.85rem;
  align-self: stretch;
}


/* --- BOOK APPOINTMENT MODAL --- */
.appointment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 94, 32, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.appointment-modal {
  background-color: var(--cream-white);
  width: 90%;
  max-width: 650px;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

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

.btn-close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--soft-grey);
  transition: var(--transition-fast);
  line-height: 1;
}

.btn-close-modal:hover {
  color: var(--primary-green);
}

.modal-header {
  margin-bottom: 30px;
}

.modal-title {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--soft-grey);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--pure-white);
  color: var(--text-dark);
  transition: var(--transition-fast);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.error-msg {
  font-size: 0.75rem;
  color: #D32F2F;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

/* Submit Button & Spinner */
.btn-submit-appointment {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-spinner {
  width: 20px;
  height: 20px;
  animation: rotate-spinner 2s linear infinite;
  display: none;
}

.btn-spinner .path {
  stroke: var(--pure-white);
  stroke-linecap: round;
  animation: dash-spinner 1.5s ease-in-out infinite;
}

@keyframes rotate-spinner {
  100% { transform: rotate(360deg); }
}

@keyframes dash-spinner {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.btn-submit-appointment.loading span {
  display: none;
}

.btn-submit-appointment.loading .btn-spinner {
  display: block;
}

/* Modal Success State */
.modal-success-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--cream-white);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

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

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--primary-green);
  fill: none;
  animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--primary-green);
  stroke-width: 3;
  stroke-linecap: round;
  animation: stroke-check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke-circle {
  100% { stroke-dashoffset: 0; }
}

@keyframes stroke-check {
  100% { stroke-dashoffset: 0; }
}

.modal-success-state h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.modal-success-state p {
  color: var(--soft-grey);
  max-width: 400px;
}

/* --- FOOTER --- */
.main-footer {
  background-color: var(--pure-white);
  border-top: 2px solid var(--primary-green);
  padding: 80px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.4fr 0.9fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark-green);
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--soft-grey);
  max-width: 320px;
}

.footer-links h4,
.footer-actions h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 24px;
}

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

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.footer-links a:hover {
  color: var(--primary-green);
  padding-left: 4px;
}

.footer-actions p {
  font-size: 0.95rem;
  color: var(--soft-grey);
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 30px 0;
  background-color: var(--cream-white);
}

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

.copyright {
  font-size: 0.85rem;
  color: var(--soft-grey);
}

.footer-subtext {
  font-size: 0.85rem;
  color: var(--soft-grey);
}

.designer-link {
  color: var(--primary-green);
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
  border-bottom: 1px dashed var(--primary-green);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.designer-link:hover {
  color: var(--dark-green);
  border-bottom-style: solid;
}

/* --- ANIMATION / REVEAL SYSTEM --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: reveal-up 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-text {
  opacity: 0;
  animation: reveal-up 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

/* Devanagari Motto Shimmer & Smooth Entrance */
.hero-motto-sanskrit {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 50%, #388E3C 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: motto-shimmer 6s linear infinite, motto-reveal 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes motto-shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@keyframes motto-reveal {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Card Hover Micro-Interactions & Elevate Glow */
.treatment-card,
.publication-card,
.counter-card,
.why-card,
.location-card,
.contact-item-card {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.treatment-card:hover,
.publication-card:hover,
.why-card:hover,
.location-card:hover,
.contact-item-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 16px 36px rgba(46, 125, 50, 0.14);
  border-color: rgba(46, 125, 50, 0.3);
}

.counter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.12);
}

/* Premium Button Hover Sheen Animation */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
}

/* Section Tag Subtle Pulse Animation */
.section-tag {
  display: inline-block;
  animation: tag-pulse 4s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Hero Image Floating Animation */
.hero-image-wrapper {
  animation: float-hero-wrapper 6s ease-in-out infinite alternate;
}

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

/* Triggered classes via JS Intersection Observer */
.fade-in-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-trigger.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- MOBILE RESPONSIVENESS & BREAKPOINTS --- */

/* Desktop Mode Overrides (769px and above) - Strictly Hide Hamburger */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
  .nav-menu {
    display: flex !important;
  }
  .mobile-drawer {
    display: none !important;
  }
}

/* Ultra-wide & Standard Desktops (1440px to 1920px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* Laptops & Small Desktops (1024px to 1439px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.4rem;
  }
  .hero-img {
    height: 440px;
  }
  .doctor-img {
    height: 440px;
  }
}

/* Tablets Landscape (769px to 1023px) */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  .hero-section {
    height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-img {
    height: 480px;
  }
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .floating-glass-card {
    left: 20px;
    bottom: -20px;
  }
  .doctor-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .doctor-image-container {
    order: 2;
  }
  .doctor-frame {
    max-width: 480px;
  }
  .doctor-img {
    height: 460px;
  }
  .consultation-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .consultation-image {
    max-width: 600px;
    margin: 0 auto;
  }
  .consultation-image img {
    height: 380px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-map {
    order: 2;
    min-height: 360px;
  }
  .map-placeholder {
    min-height: 360px;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .footer-actions {
    grid-column: span 1;
  }
  
  /* Overrides for redesigned layouts */
  .about-redesign-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-heritage-card {
    padding: 35px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile & Tablets Portrait (Up to 768px) */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
  .hamburger {
    display: flex !important;
  }
  .nav-menu {
    display: none !important;
  }
  .nav-actions .btn-book-appointment {
    display: none; /* Hide desktop button, show drawer button or maintain inside header? Let's hide it to make space */
  }
  .nav-actions {
    gap: 15px;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .trust-grid {
    justify-content: flex-start;
  }
  .trust-card {
    width: 100%;
  }
  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-actions {
    grid-column: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .appointment-modal {
    padding: 30px 20px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .locations-hub-panel {
    padding: 24px;
  }
}

/* Small Mobiles (320px to 414px) */
@media (max-width: 414px) {
  section {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn,
  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
  .hero-img {
    height: 320px;
  }
  .floating-glass-card {
    padding: 10px 16px;
    left: 10px;
  }
  .card-number {
    font-size: 1.3rem;
  }
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  .doctor-name {
    font-size: 2.2rem;
  }
  .doctor-title {
    font-size: 1.05rem;
  }
  .doctor-quote {
    font-size: 1.3rem;
  }
  .doctor-motto-strip {
    flex-wrap: wrap;
    gap: 10px;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .counters-grid {
    grid-template-columns: 1fr;
  }
  .accordion-header {
    padding: 18px 20px;
  }
  .accordion-header span {
    font-size: 1.15rem;
  }
  .accordion-body {
    padding: 0 20px 18px 20px;
  }
  .testimonial-card {
    padding: 30px 15px !important;
  }
  .review-text {
    font-size: 1.3rem;
  }
  .contact-item-card {
    padding: 16px;
  }
  .contact-item-card p {
    font-size: 0.95rem;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
  .modal-title {
    font-size: 1.7rem;
  }
}

/* --- BREADCRUMBS STYLING --- */
.breadcrumb-container {
  background-color: var(--pure-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary-green);
}

.breadcrumb-separator {
  color: var(--border-light);
}

.breadcrumb-item.active {
  color: var(--primary-green);
  font-weight: 500;
}

/* --- TREATMENT PAGE CONTENT STYLING --- */
.treatment-detail-section {
  padding: 80px 0;
  background-color: var(--soft-cream);
}

.treatment-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.treatment-main-content {
  background-color: var(--pure-white);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
}

.treatment-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.treatment-main-content h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--dark-green);
  margin-bottom: 20px;
  line-height: 1.2;
}

.treatment-meta-box {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.treatment-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary-green);
}

.treatment-main-content h2, 
.treatment-main-content h3 {
  font-family: var(--font-display);
  color: var(--dark-green);
  margin-top: 40px;
  margin-bottom: 16px;
}

.treatment-main-content h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--light-green);
  padding-bottom: 8px;
}

.treatment-main-content h3 {
  font-size: 1.4rem;
}

.treatment-main-content p {
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.treatment-main-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.treatment-main-content li {
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--text-dark);
}

/* Comparison Table */
.treatment-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.treatment-comparison-table th,
.treatment-comparison-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.treatment-comparison-table th {
  background-color: var(--dark-green);
  color: var(--pure-white);
  font-weight: 500;
}

.treatment-comparison-table tr:last-child td {
  border-bottom: none;
}

.treatment-comparison-table tr:nth-child(even) {
  background-color: var(--soft-cream);
}

/* FAQ Accordion in Main Content */
.treatment-faq-container {
  margin-top: 40px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: var(--pure-white);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
}

.sidebar-widget h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark-green);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.sidebar-widget-cta {
  background-color: var(--dark-green);
  color: var(--pure-white);
  text-align: center;
}

.sidebar-widget-cta h3 {
  color: var(--pure-white);
  border-bottom-color: rgba(255,255,255,0.1);
}

.sidebar-widget-cta p {
  color: var(--soft-cream);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.related-treatments-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-treatments-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 12px 16px;
  background-color: var(--soft-cream);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.related-treatments-list a:hover {
  background-color: var(--primary-green);
  color: var(--pure-white);
}

@media (max-width: 1024px) {
  .treatment-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* --- BLOG PAGE STYLING --- */
.blog-hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(165, 214, 167, 0.1) 0%, rgba(250, 250, 245, 0.4) 50%, var(--pure-white) 100%);
  padding: 120px 0 60px 0;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

.blog-card {
  background: var(--pure-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--light-green);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

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

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--soft-grey);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-size: 1.35rem;
  color: var(--dark-green);
  margin-bottom: 12px;
  font-family: var(--font-headings);
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--soft-grey);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card-link {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
}

.blog-card-link:hover {
  color: var(--dark-green);
}

/* --- PUBLICATIONS SECTION STYLES --- */
.publications-section {
  background: linear-gradient(180deg, var(--pure-white) 0%, var(--soft-cream) 100%);
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 70px 0;
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.publication-card {
  background: var(--pure-white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.04);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.09);
  border-color: var(--light-green);
}

.pub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pub-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(46, 125, 50, 0.08);
  color: var(--primary-green);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pub-badge svg {
  width: 12px;
  height: 12px;
}

.pub-format-tag {
  font-size: 0.7rem;
  color: #c53030;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pub-title {
  font-size: 1.15rem;
  font-family: var(--font-headings);
  color: var(--dark-green);
  line-height: 1.3;
  margin-bottom: 10px;
  font-weight: 600;
}

.pub-journal {
  font-size: 0.82rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pub-authors {
  font-size: 0.78rem;
  color: var(--soft-grey);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pub-highlights {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 18px;
  background: var(--cream-white);
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--primary-green);
}

.pub-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-pub-view,
.btn-pub-download {
  flex: 1;
  font-size: 0.8rem;
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: 30px;
}

.pub-see-more-wrapper {
  display: none;
  justify-content: center;
  margin-top: 28px;
}

.pub-toggle-btn {
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .publications-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .publication-card {
    padding: 18px 20px;
  }
  .pub-title {
    font-size: 1.08rem;
  }
  .publications-grid.collapsed .publication-card:nth-child(n+3) {
    display: none !important;
  }
  .pub-see-more-wrapper {
    display: flex;
  }
}

/* --- FOOTER STYLES --- */
.main-footer {
  background-color: #0F2413;
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 0 0;
  font-family: var(--font-body);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo span {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pure-white);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-schedule-info {
  font-size: 0.85rem;
  color: var(--light-green);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-schedule-info strong {
  color: var(--pure-white);
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--light-green);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--pure-white);
  transform: translateX(4px);
}

.footer-bottom {
  background-color: #0A1B0E;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-subtext {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

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

/* --- PERFORMANCE & ACCESSIBILITY OPTIMIZATIONS (PAGESPEED 90+) --- */
.treatments-section,
.doctor-section,
.publications-section,
.why-choose-us-section,
.consultation-section,
.testimonials-section,
.contact-section,
.main-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.hamburger,
.btn-close-drawer,
.btn-close-modal,
.dot,
.pub-toggle-btn {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}




