/* ===== CSS VARIABLES ===== */
:root {
  --primary-green: #2acb35;
  --dark-green: #4C9369;
  --bg-light: #F6F9E2;
  --dark-text: #222222;
  --medium-text: #404040;
  --body-text: #888888;
  --footer-bg: #222426;
  --white: #ffffff;
  --border-light: #e0e0e0;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--body-text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dark-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-green); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  line-height: 1.3;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
p { margin-bottom: 1rem; }
ul { list-style: none; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark-green);
  padding: 0 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.navbar-brand:hover { color: var(--bg-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--primary-green);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary:hover {
  background: #24b02e;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,203,53,0.35);
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 28px;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--primary-green);
  color: var(--white);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark-green) 0%, #3a7a55 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  max-width: 700px;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero .btn-primary { background: var(--primary-green); padding: 14px 36px; font-size: 1rem; }

/* Hero variant for subpages */
.page-hero {
  background: linear-gradient(135deg, var(--dark-green), #3a7a55);
  color: var(--white);
  padding: 50px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; font-size: 2.2rem; }
.page-hero .breadcrumb {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.9); }

/* ===== SECTIONS ===== */
section { padding: 60px 0; }
.section-light { background: var(--bg-light); }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p {
  color: var(--body-text);
  max-width: 600px;
  margin: 0 auto;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== CARDS / GRID ===== */
.grid {
  display: grid;
  gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card-body p {
  font-size: 0.9rem;
  color: var(--body-text);
  margin-bottom: 12px;
}
.card-link {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link:hover { color: var(--dark-green); }

/* ===== SERVICE CARDS ===== */
.service-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--medium-text);
}
.testimonial-card .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--dark-text);
}
.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--body-text);
}

/* ===== DOCTOR / CREDENTIALS ===== */
.credentials {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.credentials .text { flex: 1; min-width: 300px; }
.credentials .image { flex: 0 0 350px; }
.credentials .image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-top: 16px;
  border-left: 4px solid var(--primary-green);
}

/* ===== STATS ===== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-item .number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
}
.stat-item .label {
  font-size: 0.9rem;
  color: var(--body-text);
}

/* ===== FEATURES LIST ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--dark-green);
}
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; margin-bottom: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-green), #3a7a55);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  border-radius: 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ===== BLOG ===== */
.blog-card .card-img { height: 200px; }
.blog-card .card-body h3 { font-size: 1.05rem; }

/* ===== ARTICLE / BLOG POST ===== */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.article h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.3;
}
.article h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--dark-green);
}
.article h3 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
.article p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
  color: var(--medium-text);
}
.article ul, .article ol {
  padding-left: 24px;
  margin-bottom: 1.2rem;
}
.article li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--medium-text);
}
.article ol li { list-style: decimal; }
.article img {
  border-radius: var(--radius);
  margin: 24px 0;
}
.article strong { color: var(--dark-text); }
.article blockquote {
  border-left: 4px solid var(--primary-green);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--medium-text);
}

/* ===== CONTACT INFO ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.contact-card {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { margin-bottom: 4px; }
.contact-card a { color: var(--dark-green); font-weight: 600; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark-green);
}
.faq-item p { margin-bottom: 0; }

/* ===== TEAM ===== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role {
  color: var(--dark-green);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ===== PRODUCTS ===== */
.product-card img {
  height: 260px;
  object-fit: contain;
  padding: 16px;
  background: var(--bg-light);
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); }

/* ===== MAP ===== */
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.footer p { font-size: 0.9rem; line-height: 1.7; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--primary-green); }
.footer-contact p { margin-bottom: 8px; }
.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== BOOKING PLACEHOLDER ===== */
.booking-placeholder {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}
.booking-placeholder h2 { margin-bottom: 16px; }
.booking-placeholder p { font-size: 1.1rem; margin-bottom: 24px; }

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 40px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark-green);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-links.active { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: block; }
  .navbar { position: sticky; }
  .navbar .container { position: relative; }

  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 2rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .credentials { flex-direction: column; }
  .credentials .image { flex: none; width: 100%; }
  .stats-row { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }

  .article h1 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
  .btn-primary { padding: 10px 24px; font-size: 0.9rem; }
  .card-body { padding: 16px; }
}
