/* ===========================
   Homoeopathic Clinic Website
   THEME: Alternative Therapist
   Warm, Earthy & Nature-Inspired
   Inspired by Wix Template #2187
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
  /* Warm Sage Greens */
  --green-50: #f4f6f0;
  --green-100: #e4e9dc;
  --green-200: #cdd6c0;
  --green-300: #a8b896;
  --green-400: #8ba176;
  --green-500: #6f8a5a;
  --green-600: #5c7349;
  --green-700: #4a5e3a;
  --green-800: #3c4d2f;
  --green-900: #2e3b24;

  /* Warm Terracotta/Clay Accents */
  --gold-50: #fdf8f3;
  --gold-100: #f8eddf;
  --gold-200: #f0d9c0;
  --gold-300: #ddb88a;
  --gold-400: #c4956a;
  --gold-500: #b07d52;
  --gold-600: #966842;
  --gold-700: #7a5436;

  /* Warm Neutrals */
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --text-primary: #2d2a26;
  --text-secondary: #5a5651;
  --text-light: #777168;
  --white: #ffffff;
  --border-color: #e8e3dc;
  --shadow-sm: 0 1px 3px rgba(45,42,38,0.05);
  --shadow-md: 0 4px 16px rgba(45,42,38,0.07);
  --shadow-lg: 0 8px 30px rgba(45,42,38,0.09);
  --shadow-xl: 0 20px 60px rgba(45,42,38,0.12);

  /* Typography */
  --font-heading: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif;
  --font-subheading: 'DM Sans', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
  color: var(--green-800);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--green-600);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--gold-500); }

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--cream);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(250,247,242,0.95);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand .brand-icon {
  width: 44px;
  height: 44px;
  background: var(--green-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.2rem;
}

.navbar-brand .brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--green-800);
  line-height: 1.2;
}

.navbar-brand .brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-links .btn-appointment {
  background: var(--green-600);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 0.5rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links .btn-appointment:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(92,115,73,0.25);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #2e3b24;
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* Background image with Ken Burns slow zoom */
.hero::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: url('/images/hero-nature.jpg') center/cover no-repeat;
  animation: kenBurns 40s ease-in-out infinite alternate;
  will-change: transform;
}

/* Dark overlay for text readability */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,38,22,0.75) 0%,
    rgba(46,59,36,0.65) 40%,
    rgba(60,77,47,0.52) 70%,
    rgba(74,94,58,0.42) 100%
  );
  z-index: 1;
}

@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  50%  { transform: scale(1.06) translate(-0.8%, -0.5%); }
  100% { transform: scale(1.03) translate(0.5%, 0.3%); }
}

.hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1.4rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: var(--gold-200);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  font-weight: 400;
  text-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.hero h1 span {
  color: var(--gold-300);
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  margin-bottom: 2.5rem;
  line-height: 1.85;
  font-family: var(--font-subheading);
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.15);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ===== HERO VISUAL: Animated SVG Scene ===== */
.hero-visual {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-scene {
  width: 400px;
  height: 400px;
  position: relative;
}

/* Soft glow orbs behind the SVG */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0;
  animation: orbPulse 6s ease-in-out infinite;
}
.orb-1 {
  width: 180px; height: 180px;
  background: rgba(168,184,150,0.25);
  top: 10%; left: 5%;
  animation-delay: 0s;
}
.orb-2 {
  width: 140px; height: 140px;
  background: rgba(196,149,106,0.2);
  top: 50%; right: 5%;
  animation-delay: 2s;
}
.orb-3 {
  width: 100px; height: 100px;
  background: rgba(221,184,138,0.2);
  bottom: 15%; left: 25%;
  animation-delay: 4s;
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50%      { opacity: 0.7; transform: scale(1.15); }
}

/* Main SVG */
.hero-nature-svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Breathing rings */
.breath-ring {
  fill: none;
  stroke-width: 1;
}
.ring-outer {
  stroke: rgba(255,255,255,0.06);
  animation: breathe 5s ease-in-out infinite;
}
.ring-inner {
  stroke: rgba(196,149,106,0.08);
  animation: breathe 5s ease-in-out 1.5s infinite;
}
@keyframes breathe {
  0%, 100% { r: 175; stroke-opacity: 0.5; }
  50%      { r: 182; stroke-opacity: 1; }
}

/* Heartbeat / pulse line */
.heartbeat-line {
  fill: none;
  stroke: rgba(196,149,106,0.5);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawPulse 3s ease-in-out infinite;
}
@keyframes drawPulse {
  0%   { stroke-dashoffset: 600; opacity: 0.3; }
  50%  { stroke-dashoffset: 0;   opacity: 0.7; }
  100% { stroke-dashoffset: -600; opacity: 0.3; }
}

/* Tree trunk - grows upward */
.tree-trunk {
  fill: none;
  stroke: rgba(196,149,106,0.6);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: growUp 2.5s ease-out forwards;
}
@keyframes growUp {
  to { stroke-dashoffset: 0; }
}

/* Tree roots */
.tree-root {
  fill: none;
  stroke: rgba(196,149,106,0.35);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: growUp 2s ease-out 1s forwards;
}
.root-lm, .root-rm { animation-delay: 1.3s; stroke-width: 1.5; }

/* Branches - grow outward with stagger */
.tree-branch {
  fill: none;
  stroke: rgba(168,184,150,0.5);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: growUp 1.8s ease-out forwards;
}
.bl-1, .br-1 { animation-delay: 1.2s; }
.bl-2, .br-2 { animation-delay: 1.6s; }
.bl-3, .br-3 { animation-delay: 2.0s; }

/* Heart-shaped canopy */
.heart-canopy {
  fill: rgba(168,184,150,0.15);
  stroke: rgba(255,255,255,0.2);
  stroke-width: 1.5;
  opacity: 0;
  animation: heartAppear 2s ease-out 2.2s forwards, heartGlow 4s ease-in-out 4s infinite;
}
.heart-inner {
  fill: rgba(196,149,106,0.2);
  stroke: rgba(221,184,138,0.35);
  stroke-width: 1;
  opacity: 0;
  animation: heartAppear 1.5s ease-out 2.8s forwards, heartBeat 2s ease-in-out 4.5s infinite;
}
@keyframes heartAppear {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes heartGlow {
  0%, 100% { fill: rgba(168,184,150,0.12); }
  50%      { fill: rgba(168,184,150,0.22); }
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.08); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.05); }
}

/* Leaves on branches - appear then sway */
.tree-leaf {
  fill: rgba(139,161,118,0.45);
  opacity: 0;
  transform-origin: center;
  animation: leafAppear 0.8s ease-out forwards;
}
.tl-1 { animation-delay: 2.0s; }
.tl-2 { animation-delay: 2.2s; }
.tl-3 { animation-delay: 2.4s; }
.tl-4 { animation-delay: 2.1s; }
.tl-5 { animation-delay: 2.3s; }
.tl-6 { animation-delay: 2.5s; }
.tl-7 { animation-delay: 2.6s; }
.tl-8 { animation-delay: 2.7s; }
@keyframes leafAppear {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
/* Ongoing sway after appearing */
.tree-leaf { animation: leafAppear 0.8s ease-out forwards, leafSway 4s ease-in-out infinite; }
.tl-1 { animation-delay: 2.0s, 3.0s; }
.tl-2 { animation-delay: 2.2s, 3.4s; }
.tl-3 { animation-delay: 2.4s, 3.8s; }
.tl-4 { animation-delay: 2.1s, 3.2s; }
.tl-5 { animation-delay: 2.3s, 3.6s; }
.tl-6 { animation-delay: 2.5s, 4.0s; }
.tl-7 { animation-delay: 2.6s, 4.2s; }
.tl-8 { animation-delay: 2.7s, 4.4s; }
@keyframes leafSway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25%      { transform: rotate(3deg) translateY(-2px); }
  75%      { transform: rotate(-2deg) translateY(1px); }
}

/* Health plus symbols - fade in and pulse */
.health-plus line {
  stroke: rgba(255,255,255,0.35);
  stroke-width: 2;
  stroke-linecap: round;
}
.health-plus {
  opacity: 0;
  animation: plusAppear 1s ease-out forwards, plusPulse 3s ease-in-out infinite;
}
.hp-1 { animation-delay: 3.0s, 4.0s; }
.hp-2 { animation-delay: 3.4s, 4.4s; }
.hp-3 { animation-delay: 3.8s, 4.8s; }
@keyframes plusAppear {
  from { opacity: 0; transform: scale(0) rotate(90deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes plusPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* Floating dots / botanical particles */
.svg-dot {
  fill: rgba(255,255,255,0.3);
  animation: dotFloat 6s ease-in-out infinite;
}
.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.8s; }
.dot-3 { animation-delay: 1.6s; }
.dot-4 { animation-delay: 2.4s; }
.dot-5 { animation-delay: 3.2s; }
.dot-6 { animation-delay: 4.0s; }
.dot-7 { animation-delay: 4.8s; }
.dot-8 { animation-delay: 5.6s; }
@keyframes dotFloat {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50%      { opacity: 0.7; transform: translateY(-8px); }
}

/* Drifting leaf shapes */
.drift-leaf {
  fill: rgba(168,184,150,0.3);
  animation: leafDrift 8s ease-in-out infinite;
}
.dl-1 { animation-delay: 0s; }
.dl-2 { animation-delay: 2s; }
.dl-3 { animation-delay: 4s; }
.dl-4 { animation-delay: 6s; }
@keyframes leafDrift {
  0%   { opacity: 0.2; transform: translate(0, 0) rotate(0deg); }
  25%  { opacity: 0.5; transform: translate(8px, -12px) rotate(15deg); }
  50%  { opacity: 0.3; transform: translate(15px, -5px) rotate(30deg); }
  75%  { opacity: 0.5; transform: translate(5px, 8px) rotate(15deg); }
  100% { opacity: 0.2; transform: translate(0, 0) rotate(0deg); }
}

/* ===== HERO BACKGROUND FLOATING LEAVES ===== */
.hero-bg-leaf {
  position: absolute;
  color: rgba(255,255,255,0.06);
  font-size: 1.2rem;
  z-index: 2;
  pointer-events: none;
  animation: bgLeafFloat linear infinite;
}
.hbl-1 { top: 12%; left: 8%;  font-size: 1.4rem; animation-duration: 18s; animation-delay: 0s; }
.hbl-2 { top: 65%; left: 3%;  font-size: 1rem;   animation-duration: 22s; animation-delay: 2s; }
.hbl-3 { top: 30%; left: 45%; font-size: 0.9rem;  animation-duration: 20s; animation-delay: 5s; }
.hbl-4 { top: 75%; left: 55%; font-size: 1.1rem;  animation-duration: 16s; animation-delay: 1s; }
.hbl-5 { top: 20%; right: 12%; font-size: 1.3rem; animation-duration: 24s; animation-delay: 3s; }
.hbl-6 { top: 50%; right: 8%;  font-size: 0.8rem; animation-duration: 19s; animation-delay: 7s; }
.hbl-7 { top: 85%; left: 25%; font-size: 1rem;    animation-duration: 21s; animation-delay: 4s; }
.hbl-8 { top: 10%; left: 70%; font-size: 1.1rem;  animation-duration: 17s; animation-delay: 6s; }

@keyframes bgLeafFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  10% { opacity: 0.08; }
  50% {
    opacity: 0.12;
    transform: translateY(-30px) translateX(20px) rotate(180deg);
  }
  90% { opacity: 0.08; }
  100% {
    opacity: 0;
    transform: translateY(-60px) translateX(-15px) rotate(360deg);
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold-400);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(196,149,106,0.3);
}

.btn-primary:hover {
  background: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,149,106,0.4);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--green-600);
  color: var(--white);
}

.btn-green {
  background: var(--green-600);
  color: var(--white);
}

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

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-green {
  background: #2e3b24;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-green::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: url('/images/hero-nature.jpg') center 60%/cover no-repeat;
  animation: bannerKenBurns 40s ease-in-out infinite alternate;
  filter: blur(3px);
}
.section-green::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,38,22,0.72);
  z-index: 1;
}
.section-green > .container {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-subheading);
  line-height: 1.8;
}

.section-green .section-header h2 { color: var(--white); }
.section-green .section-header p { color: rgba(255,255,255,0.75); }
.section-green .section-header .section-label { color: var(--gold-300); }

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

/* Alternate accent color on every other service card top bar */
.service-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--gold-400), var(--green-500));
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .card-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem;
  background: var(--green-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 1.4rem;
  transition: var(--transition);
}

.service-card:hover .card-icon {
  background: var(--green-600);
  color: var(--white);
  border-radius: 20px;
}

.service-card h4 {
  margin-bottom: 0.75rem;
  color: var(--green-800);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== ABOUT SECTION ===== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(145deg, var(--green-100), var(--green-200));
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--gold-200), transparent);
  border-radius: 50%;
  top: 15%;
  right: 10%;
  opacity: 0.4;
}

.about-image-placeholder i {
  position: relative;
  z-index: 1;
}

.about-image-placeholder span {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  margin-top: 1rem;
  font-family: var(--font-subheading);
  color: var(--green-500);
}

.about-doctor-photo {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.about-doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-doctor-photo:hover img {
  transform: scale(1.03);
}

.about-stats {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 2rem;
}

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

.about-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--green-700);
}

.about-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-secondary);
  font-family: var(--font-subheading);
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.about-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.about-features li i {
  color: var(--green-500);
  font-size: 1rem;
}

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

/* Staggered layout: offset every other card for visual interest */
.testimonial-card:nth-child(even) {
  transform: translateY(1.5rem);
}

.testimonial-card:nth-child(even):hover {
  transform: translateY(calc(1.5rem - 4px));
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.25rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold-300);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  font-family: var(--font-subheading);
  font-style: italic;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author .author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gold-400);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author .author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-author .author-label {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Alternate blog card image gradient for visual variety */
.blog-card:nth-child(3n+2) .blog-card-image {
  background: linear-gradient(145deg, var(--gold-100), var(--cream-dark));
}

.blog-card:nth-child(3n+3) .blog-card-image {
  background: linear-gradient(145deg, var(--green-50), var(--green-100));
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(145deg, var(--green-100), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.blog-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(255,255,255,0.4));
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-card h4 {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h4 a {
  color: var(--green-800);
}

.blog-card h4 a:hover {
  color: var(--gold-500);
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-600);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.blog-card .read-more:hover {
  gap: 0.75rem;
  color: var(--gold-500);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: #2e3b24;
  color: var(--white);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: url('/images/hero-nature.jpg') center 40%/cover no-repeat;
  animation: bannerKenBurns 35s ease-in-out infinite alternate;
  filter: blur(2px);
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,38,22,0.68);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2.25rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.cta-section p {
  opacity: 0.8;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-subheading);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ===== APPOINTMENT FORM ===== */
.appointment-section {
  padding: 4rem 0;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

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

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

.form-group label .required {
  color: #c44a4a;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--cream);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--green-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(111,138,90,0.1);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5651' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===== BLOG DETAIL ===== */
.blog-detail {
  padding: 3rem 0;
}

.blog-detail-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.blog-detail-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-content {
  font-family: var(--font-subheading);
  font-size: 1.05rem;
  line-height: 2;
}

.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content ul, .blog-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content strong {
  color: var(--green-800);
}

.blog-content blockquote {
  border-left: 4px solid var(--gold-400);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gold-50);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: #2e3b24;
  color: var(--white);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
}

/* Background image with subtle Ken Burns */
.page-banner::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: url('/images/hero-nature.jpg') center/cover no-repeat;
  animation: bannerKenBurns 30s ease-in-out infinite alternate;
  will-change: transform;
}

/* Darker overlay for inner pages */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30,38,22,0.80) 0%,
    rgba(46,59,36,0.70) 50%,
    rgba(60,77,47,0.60) 100%
  );
  z-index: 1;
}

@keyframes bannerKenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08) translate(-0.5%, 0.5%); }
}

/* Floating particles on page banners */
.banner-particle {
  position: absolute;
  color: rgba(255,255,255,0.06);
  z-index: 2;
  pointer-events: none;
  animation: bannerParticleFloat linear infinite;
}
.bp-1 { top: 15%; left: 8%;  font-size: 1.2rem; animation-duration: 14s; animation-delay: 0s; }
.bp-2 { top: 60%; left: 75%; font-size: 0.9rem; animation-duration: 18s; animation-delay: 2s; }
.bp-3 { top: 25%; right: 10%; font-size: 1.1rem; animation-duration: 16s; animation-delay: 4s; }
.bp-4 { top: 70%; left: 35%; font-size: 1rem;   animation-duration: 20s; animation-delay: 1s; }

@keyframes bannerParticleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) rotate(0deg) scale(0.8);
  }
  15% { opacity: 0.1; }
  50% {
    opacity: 0.15;
    transform: translateY(-20px) translateX(15px) rotate(180deg) scale(1.1);
  }
  85% { opacity: 0.1; }
  100% {
    opacity: 0;
    transform: translateY(-40px) translateX(-10px) rotate(360deg) scale(0.8);
  }
}

.page-banner .container {
  position: relative;
  z-index: 3;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.page-banner p {
  opacity: 0.8;
  font-family: var(--font-subheading);
  font-size: 1.05rem;
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

.page-banner .breadcrumb a {
  color: var(--white);
}

/* ===== ABOUT PAGE ===== */
.about-detail-section {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.mv-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--green-500);
}

.mv-card.vision {
  border-top-color: var(--gold-400);
}

.mv-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.mv-card h3 i {
  color: var(--gold-400);
}

.mv-card p {
  color: var(--text-secondary);
  font-family: var(--font-subheading);
  line-height: 1.85;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-info-card .info-icon {
  width: 50px;
  height: 50px;
  background: var(--green-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #2d2a26;
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 0;
}

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

.footer-brand .brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.85;
  opacity: 0.7;
}

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

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-300);
  padding-left: 5px;
}

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

.footer-contact-item i {
  color: var(--gold-400);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ===== ADMIN STYLES ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f5f2ed;
}

.admin-sidebar {
  width: 260px;
  background: #2d2a26;
  color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-brand h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.admin-sidebar-brand small {
  color: var(--gold-300);
  font-size: 0.75rem;
}

.admin-nav {
  list-style: none;
  padding: 1rem 0;
}

.admin-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.admin-nav li a i {
  width: 20px;
  text-align: center;
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  padding: 2rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1.25rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.admin-header h1 {
  font-size: 1.5rem;
  color: var(--green-800);
}

.admin-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.admin-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

/* Admin Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card .stat-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-card .stat-icon.green {
  background: var(--green-100);
  color: var(--green-600);
}

.stat-card .stat-icon.gold {
  background: var(--gold-100);
  color: var(--gold-500);
}

.stat-card .stat-icon.blue {
  background: #e3f2fd;
  color: #1565c0;
}

.stat-card .stat-icon.purple {
  background: #f3e5f5;
  color: #7b1fa2;
}

.stat-card .stat-info h3 {
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.stat-card .stat-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--cream);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  font-weight: 600;
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.admin-table tr:hover {
  background: var(--cream);
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-pending {
  background: #fff3cd;
  color: #856404;
}

.badge-confirmed {
  background: var(--green-100);
  color: var(--green-700);
}

.badge-cancelled {
  background: #fecaca;
  color: #991b1b;
}

.badge-completed {
  background: #e3f2fd;
  color: #1565c0;
}

.badge-published {
  background: var(--green-100);
  color: var(--green-700);
}

.badge-draft {
  background: #f3f4f6;
  color: #6b7280;
}

/* Admin login */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2e3b24 url('/images/hero-nature.jpg') center/cover no-repeat;
  position: relative;
}
.admin-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,38,22,0.75);
}

.admin-login-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.admin-login-card h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.admin-login-card .login-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ===== 404 & ERROR PAGES ===== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.error-page h1 {
  font-size: 5rem;
  color: var(--green-300);
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===== WHY HOMOEOPATHY / BENEFITS CARDS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.benefit-card .benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: var(--green-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 1.3rem;
}

.benefit-card h4 {
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-card .step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.25rem;
  background: var(--green-600);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.step-card h4 {
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== DOCTOR CARDS ===== */
.doctor-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.doctor-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid var(--green-200);
}

.doctor-card-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--green-200);
}

.doctor-card-avatar i {
  font-size: 3rem;
  color: var(--green-600);
}

.doctor-card h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.doctor-card .doctor-specialization {
  color: var(--green-600);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.doctor-card .doctor-qualification {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.doctor-card .doctor-experience-badge {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.doctor-card .doctor-fee {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.doctor-card .doctor-fee span {
  color: var(--text-light);
}

.doctor-card-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}

.btn-outline-light:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.doctors-empty {
  padding: 4rem 0;
}

.doctors-empty i {
  font-size: 3rem;
  color: var(--green-300);
  margin-bottom: 1rem;
}

.doctors-empty p {
  color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-preview {
    gap: 3rem;
  }

  /* Navbar: switch to mobile menu at 1024px */
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links .btn-appointment {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .section { padding: 4rem 0; }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero { min-height: 450px; }
  .hero .container { padding-top: 4rem; padding-bottom: 3rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { max-width: 100%; }
  
  .hero-visual {
    display: none;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .about-preview,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid,
  .testimonials-grid,
  .blog-grid,
  .mission-vision-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Remove stagger on single-column layout */
  .testimonial-card:nth-child(even) {
    transform: none;
  }
  .testimonial-card:nth-child(even):hover {
    transform: translateY(-4px);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .admin-sidebar {
    display: none;
  }
  
  .admin-main {
    margin-left: 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 1rem;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 { font-size: 2rem; }
  
  .form-container {
    padding: 1.5rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.text-green { color: var(--green-600); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--green-700);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-100);
}
.legal-content h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal-content p, .legal-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li {
  margin-bottom: 0.4rem;
}
.legal-content .last-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 41, 30, 0.97);
  color: #e0e0e0;
  padding: 1rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}
.cookie-consent-content {
  max-width: 960px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-consent-content p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}
.cookie-consent-content p a {
  color: var(--gold-300);
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Footer legal links */
.footer-legal-links {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}
.footer-legal-links a {
  color: inherit;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-divider {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ccc;
  font-size: 1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.footer-social a:hover {
  transform: translateY(-2px);
  color: #fff;
}
.footer-social a[aria-label="Facebook"]:hover { background: #1877f2; }
.footer-social a[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social a[aria-label="YouTube"]:hover { background: #ff0000; }
.footer-social a[aria-label="Twitter"]:hover { background: #1da1f2; }
.footer-social a[aria-label="WhatsApp"]:hover { background: #25d366; }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9990;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #333;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .whatsapp-float .whatsapp-tooltip { display: none; }
}

/* Blog Featured Image */
.blog-featured-image {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}
.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== REDUCED MOTION ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero::before,
  .page-banner::before,
  .cta-section::before,
  .section-green::before {
    animation: none !important;
    transform: none !important;
  }
  .hero-bg-leaf,
  .hero-orb,
  .banner-particle,
  .breath-ring,
  .heartbeat-line,
  .tree-trunk,
  .tree-root,
  .tree-branch,
  .heart-canopy,
  .heart-inner,
  .tree-leaf,
  .health-plus,
  .svg-dot,
  .drift-leaf {
    animation: none !important;
    opacity: 1 !important;
  }
  .tree-trunk,
  .tree-root,
  .tree-branch {
    stroke-dashoffset: 0 !important;
  }
  .heartbeat-line {
    stroke-dashoffset: 0 !important;
    opacity: 0.5 !important;
  }
}
