:root {
  --green-950: #123d31;
  --green-900: #1b4f3f;
  --green-700: #2d6b52;
  --green-500: #6c9872;
  --cream: #f7f5ed;
  --paper: #fffdf7;
  --gold: #e1b84c;
  --maroon: #874b4d;
  --ink: #20372e;
  --muted: #6e7c74;
  --line: #dfe5dc;
  --shadow: 0 18px 50px rgba(18, 61, 49, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: system-ui, sans-serif; line-height: 1.7; }
body.lang-ta, body.lang-ta p, body.lang-ta a, body.lang-ta span, body.lang-ta button, body.lang-ta input, body.lang-ta label { font-family: "Noto Sans Tamil", system-ui, sans-serif; }
body.lang-ml, body.lang-ml p, body.lang-ml a, body.lang-ml span, body.lang-ml button, body.lang-ml input, body.lang-ml label { font-family: "Noto Sans Malayalam", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-700); }
h1, h2, h3, h4 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.08; }
body.lang-ta h1, body.lang-ta h2, body.lang-ta h3, body.lang-ta h4 { font-family: "Noto Sans Tamil", system-ui, sans-serif; font-weight: 600; }
body.lang-ml h1, body.lang-ml h2, body.lang-ml h3, body.lang-ml h4 { font-family: "Noto Sans Malayalam", system-ui, sans-serif; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
h3 { font-size: 1.55rem; }
.topbar { padding: .35rem 0; background: var(--green-950); color: #f5eed5; font-size: .76rem; font-weight: 500; letter-spacing: .04em; }
.site-nav { padding: 0.55rem 0; background: rgba(255, 253, 247, .98); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(18, 61, 49, 0.05); }
.navbar-brand { color: var(--green-950); letter-spacing: .02em; line-height: 1.15; }
.navbar-brand strong { display: block; font-size: 0.98rem; font-weight: 700; color: #0d3328; }
.navbar-brand small { display: block; margin-top: .18rem; color: #2d6b52; font-size: .56rem; font-weight: 700; letter-spacing: .14em; }
.brand-mark { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 2px solid #cad8c9; border-radius: 50%; color: var(--green-700); font-size: 1.65rem; flex-shrink: 0; }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid #cad8c9; flex-shrink: 0; }
.nav-link { color: #0d3328 !important; font-size: 0.86rem; font-weight: 600; padding: .35rem .42rem !important; white-space: nowrap; transition: color 0.15s ease-in-out; }
.nav-link:hover, .nav-link.active { color: #1b6348 !important; font-weight: 700; }
.dropdown-item { font-size: 0.88rem; font-weight: 600; color: #0d3328; padding: .45rem 1rem; }
.dropdown-item:hover, .dropdown-item:focus { background-color: var(--cream); color: #1b6348; }
.btn { border-radius: 999px; font-weight: 700; white-space: nowrap; }
.btn-primary { --bs-btn-bg: var(--green-900); --bs-btn-border-color: var(--green-900); --bs-btn-hover-bg: var(--green-950); --bs-btn-hover-border-color: var(--green-950); font-size: 0.82rem; padding: 0.4rem 0.85rem !important; }
.btn-outline-primary { --bs-btn-color: var(--green-900); --bs-btn-border-color: #a8bbaa; --bs-btn-hover-bg: var(--green-900); --bs-btn-hover-border-color: var(--green-900); }
.hero-section { overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0 6rem; background: var(--cream); }
.hero-section h1 { max-width: 760px; margin: 1.4rem 0 1rem; color: var(--green-950); }
.hero-tagline { margin: .5rem 0 .8rem; color: var(--green-700); font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 600; font-style: italic; }
body.lang-ta .hero-tagline, body.lang-ml .hero-tagline { font-style: normal; }
.hero-tamil { margin-bottom: .6rem; color: var(--green-700); font-size: 1.4rem; font-weight: 600; }
.hero-copy { max-width: 580px; color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .35rem; color: var(--maroon); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow i { color: var(--green-700); font-size: 1.4rem; line-height: 0; }
.trust-note, .form-note { color: var(--muted); font-size: .78rem; }
.hero-art { position: relative; min-height: 470px; padding: 12px; border-radius: 48% 48% 20% 20%; background: #d7dfcf; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-art img, .hero-placeholder { width: 100%; height: 100%; min-height: 446px; border-radius: 44% 44% 16% 16%; object-fit: cover; }
.hero-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--green-900); background: radial-gradient(circle at 30% 20%, #f6e5a9, transparent 28%), linear-gradient(145deg, #9eb996, #376b54); font-size: 1.1rem; text-align: center; }
.hero-placeholder i { font-size: 5rem; color: #f9f1cf; }
.hero-caption { position: absolute; right: -1rem; bottom: 2rem; max-width: 180px; padding: 1rem; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-family: "Instrument Serif", serif; font-size: 1.1rem; transform: rotate(-5deg); }
body.lang-ta .hero-caption, body.lang-ml .hero-caption { font-family: inherit; font-size: 1rem; font-weight: 500; }
.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green-950); color: #f7f5ed; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin: .7rem 0 0; }
.section-heading.light h2 { color: #fffdf7; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--green-700); font-weight: 700; }
.light-link { color: #f4dd8f; }
.feature-card, .treatment-grid-card, .post-card, .profile-card, .quote-card, .side-card, .form-card { display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover, .post-card:hover, .treatment-grid-card:hover { color: inherit; box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card h2, .feature-card h3, .treatment-grid-card h2, .post-card h2 { margin: .4rem 0 .7rem; color: var(--green-950); }
.feature-card p, .treatment-grid-card p, .post-card p, .profile-card p { color: var(--muted); }
.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--green-900); background: #e3eedf; font-size: 1.35rem; }
.tamil-label { display: block; margin-top: 1rem; color: var(--green-700); font-size: .82rem; font-weight: 600; }
.arrow { display: block; margin-top: 1.4rem; color: var(--maroon); }
.mini-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.mini-card:hover { color: inherit; box-shadow: var(--shadow); }
.mini-card i { color: var(--green-700); font-size: 1.2rem; }
.mini-card strong { display: block; margin-bottom: .3rem; }
.mini-card p { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.treatment-card { display: block; min-height: 220px; padding: 1.6rem; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.07); }
.treatment-card:hover { color: inherit; background: rgba(255,255,255,.13); }
.treatment-card h3 { margin: 1rem 0 .7rem; color: #fff; }
.treatment-card p { color: #c7d6cb; }
.treatment-category { display: inline-block; color: var(--maroon); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-green .treatment-category { color: #f4dd8f; }
.post-date { color: var(--maroon); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cta-band { padding: 3.5rem 0; background: var(--maroon); color: #fff; }
.cta-band h2 { margin: .55rem 0 0; }
.cta-band .eyebrow { color: #f4dd8f; }
.page-hero { padding: 5.5rem 0; background: var(--cream); }
.page-hero h1 { margin: .75rem 0 .5rem; color: var(--green-950); }
.page-hero p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.rich-copy { color: #405149; font-size: 1.05rem; }
.callout, .disclaimer { display: flex; gap: 1rem; padding: 1.25rem; border-left: 3px solid var(--gold); background: #fff8df; }
.callout i { color: var(--maroon); font-size: 1.5rem; }
.callout h3 { margin: 0 0 .3rem; }
.callout p, .disclaimer { margin: 0; color: var(--muted); }
.side-card { position: sticky; top: 100px; box-shadow: var(--shadow); }
.side-card h3 { margin: 1rem 0 .5rem; }
.side-card p { color: var(--muted); }
.check-list { padding: 0; list-style: none; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; margin: .9rem 0; }
.check-list i { margin-top: .35rem; color: var(--green-700); }
.profile-card img, .profile-placeholder { width: 100%; height: 260px; margin-bottom: 1.3rem; border-radius: 15px; object-fit: cover; }
.profile-placeholder, .gallery-placeholder { display: grid; place-items: center; color: var(--green-700); background: #e1ebdc; font-size: 4rem; }
.profile-card h2 { margin: .3rem 0; }
.profile-role { margin: 0 !important; color: var(--maroon) !important; font-size: .85rem; font-weight: 600; }
.profile-card small { color: var(--muted); }
.treatment-grid-card { background: var(--cream); }
.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-pill { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .82rem; }
.filter-pill.active, .filter-pill:hover { border-color: var(--green-900); color: #fff; background: var(--green-900); }
.gallery-item { overflow: hidden; padding: 0; border: 0; border-radius: 20px; background: var(--cream); text-align: left; }
.gallery-item img, .gallery-placeholder { display: block; width: 100%; height: 260px; object-fit: cover; }
.gallery-item > span:last-child { display: block; padding: .9rem 1rem; font-weight: 600; }
.quote-card { background: var(--cream); }
.stars { color: var(--gold); }
.quote-card blockquote { margin: 1.2rem 0; font-family: "Instrument Serif", serif; font-size: 1.55rem; line-height: 1.25; }
.quote-card footer strong, .quote-card footer small { display: block; }
.quote-card footer small { color: var(--muted); }
.search-bar { display: flex; gap: .75rem; }
.search-bar input { border-color: var(--line); border-radius: 999px; }
.search-bar button { width: 56px; }
.form-card { padding: clamp(1.25rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.form-label { font-weight: 600; }
.form-control, .form-select { border-color: var(--line); border-radius: 12px; }
.form-control:focus, .form-select:focus { border-color: var(--green-500); box-shadow: 0 0 0 .25rem rgba(108,152,114,.15); }
.required { color: var(--maroon); }
.field-error { color: #a43d3d; font-size: .8rem; }
.contact-list > div { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-list i { color: var(--green-700); font-size: 1.35rem; }
.contact-list strong, .contact-list a { display: block; }
.contact-list span { color: var(--muted); }
.contact-list strong { color: var(--ink); }
.article-body { color: #405149; font-size: 1.1rem; }
.article-body .lead { color: var(--green-700); font-size: 1.35rem; }
.article-meta { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.empty-state { padding: 2.5rem; border: 1px dashed #b8c8ba; border-radius: 16px; color: var(--muted); background: var(--cream); text-align: center; }
.empty-page { padding: 9rem 0; }
.site-footer { padding: 4.5rem 0 1.5rem; color: #c8d7ce; background: var(--green-950); }
.site-footer h6 { color: #f4dd8f; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { display: block; margin: .35rem 0; color: #e2ebe4; font-size: .9rem; }
.site-footer p { color: #b4c6ba; font-size: .9rem; }
.footer-brand { display: flex; align-items: center; gap: .75rem; color: #fff; font-family: "Instrument Serif", serif; font-size: 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); color: #a8bbb0; font-size: .78rem; }
.footer-bottom a { display: inline; color: #c8d7ce; }
.floating-actions { position: fixed; z-index: 20; right: 1.2rem; bottom: 1.2rem; display: flex; flex-direction: column; gap: .65rem; }
.floating-actions a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.float-whatsapp { background: #1f9d62; }
.float-call { background: var(--green-900); }
.messages-wrap { position: relative; z-index: 2; margin-top: 1rem; }
@media (max-width: 767px) {
  .topbar .container span:last-child { display: none; }
  .hero-section { padding-top: 3.5rem; }
  .hero-art { min-height: 350px; }
  .hero-art img, .hero-placeholder { min-height: 326px; }
  .hero-caption { right: .5rem; bottom: 1rem; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 1.8rem; }
  .section-heading h2 { margin-bottom: 0; }
  .page-hero { padding: 4rem 0; }
  .page-hero h1 { font-size: 3rem; }
  .side-card { position: static; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .gallery-item img, .gallery-placeholder { height: 170px; }
}
.tamil-label:empty { display: none; }

/* ─── Modern Homepage Redesign (Sivaraj Siddha Aesthetic) ─── */
.home-slider-section { position: relative; overflow: hidden; }
#homeHeroCarousel .carousel-item { height: 520px; min-height: 520px; position: relative; overflow: hidden; background: #ffffff; }
.slide-media-wrap { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.slide-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; opacity: 1 !important; filter: brightness(0.90) contrast(1.05) saturate(0.95) !important; }
.slide-media-wrap::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(0,0,0,0.12) !important; pointer-events: none; }
.slide-bg-fallback { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #0e2a22 0%, #174839 50%, #22624d 100%); }
.slide-overlay { display: none !important; }
#homeHeroCarousel .carousel-caption { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); padding: 0; z-index: 3; }
.slide-content { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; border-radius: 0; padding: 0; box-shadow: none; }
.slide-content-card { background: rgba(14, 42, 34, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(225, 184, 76, 0.38); border-radius: 24px; padding: 2.2rem 2.4rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.slide-badge { background: rgba(225,184,76,0.18); border: 1px solid rgba(225,184,76,0.45); color: #f9e7a8; font-size: 0.85rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; }
.slide-title { color: #ffffff !important; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.16; margin-bottom: 0.85rem; text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6); }
body.lang-ta .slide-title, body.lang-ml .slide-title { font-weight: 700; }
.slide-subtitle { color: #e8f0ea; font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 660px; margin-bottom: 1.6rem; line-height: 1.6; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
#homeHeroCarousel .carousel-indicators { bottom: 20px; z-index: 3; margin-bottom: 0; }
#homeHeroCarousel .carousel-indicators button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #ffffff; background-color: rgba(255,255,255,0.4); opacity: 0.8; margin: 0 5px; transition: all 0.3s ease; }
#homeHeroCarousel .carousel-indicators button.active { width: 32px; border-radius: 999px; background-color: var(--gold); border-color: var(--gold); opacity: 1; }
#homeHeroCarousel .carousel-control-prev, #homeHeroCarousel .carousel-control-next { width: 50px; height: 50px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border-radius: 50%; margin: 0 1.2rem; backdrop-filter: blur(8px); opacity: 0.75; transition: all 0.25s ease; z-index: 3; }
#homeHeroCarousel .carousel-control-prev:hover, #homeHeroCarousel .carousel-control-next:hover { background: rgba(255,255,255,0.3); opacity: 1; }

/* Quick Info Strip */
.quick-info-strip { position: relative; z-index: 10; margin-top: -24px; padding-bottom: 1.5rem; }
.quick-info-box { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: #ffffff; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(18,61,49,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; height: 100%; text-decoration: none !important; color: inherit; }
.quick-info-box:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(18,61,49,0.12); border-color: var(--green-500); }
.quick-icon-wrap { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; display: grid; place-items: center; background: #e8f2ea; color: var(--green-900); font-size: 1.3rem; }
.quick-icon-wrap.bg-whatsapp { background: #e3f7ed; color: #1f9d62; }
.quick-title { display: block; font-size: 0.74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.quick-value { display: block; font-size: 1.05rem; color: var(--green-950); font-weight: 700; }
.quick-desc { display: block; font-size: 0.88rem; color: var(--green-700); font-weight: 500; }

/* Heritage Section */
.heritage-visual-badge { background: linear-gradient(145deg, #174839, #0e2a22); color: #ffffff; border-radius: 24px; padding: 2.8rem 2rem; text-align: center; box-shadow: var(--shadow); }
.heritage-visual-badge i { font-size: 3.4rem; color: var(--gold); margin-bottom: 0.8rem; display: inline-block; }
.heritage-visual-badge h3 { color: #ffffff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.heritage-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.stat-pill { display: flex; align-items: center; padding: 0.75rem 1rem; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; font-size: 0.85rem; font-weight: 600; color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.mini-feature-box { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; height: 100%; }
.mini-icon { width: 38px; height: 38px; min-width: 38px; border-radius: 10px; background: #edf5ef; color: var(--green-700); display: grid; place-items: center; font-size: 1.1rem; }

/* Heritage Gallery Carousel Slider (sivarajsiddha.com style) */
.heritage-gallery-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-950);
  border: 2px solid transparent;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.heritage-gallery-slider:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 184, 76, 0.5);
  box-shadow: 0 18px 38px rgba(18, 61, 49, 0.35);
}
.heritage-gallery-slider .carousel-inner {
  border-radius: 18px;
  overflow: hidden;
  height: 340px;
}
.heritage-gallery-slider .carousel-item {
  height: 340px;
}
.heritage-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
}
.heritage-gallery-slider:hover .heritage-slider-img {
  transform: scale(1.06);
  filter: brightness(1.04);
}
.heritage-gallery-slider .carousel-control-prev,
.heritage-gallery-slider .carousel-control-next {
  width: 42px;
  height: 42px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 61, 49, 0.78);
  border-radius: 50%;
  margin: 0 10px;
  opacity: 0.85;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(225, 184, 76, 0.4);
}
.heritage-gallery-slider .carousel-control-prev:hover,
.heritage-gallery-slider .carousel-control-next:hover {
  background: var(--green-900);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

/* Medicine Cards (Product Showcase) */
.medicine-card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; }
.medicine-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bad3be; }
.medicine-img-wrap { position: relative; width: 100%; height: 200px; background: #f3f6f1; overflow: hidden; }
.medicine-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.medicine-card:hover .medicine-img { transform: scale(1.05); }
.medicine-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--green-700); background: radial-gradient(circle at 50% 40%, #edf5eb, #dbe8db); gap: 0.4rem; }
.medicine-img-placeholder i { font-size: 3rem; color: var(--green-500); }
.medicine-price-badge { position: absolute; bottom: 10px; right: 10px; background: var(--green-950); color: var(--gold); font-weight: 700; font-size: 0.9rem; padding: 0.35rem 0.8rem; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.22); }
.medicine-body { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }
.medicine-title { font-size: 1.12rem; font-weight: 700; color: var(--green-950); margin-bottom: 0.4rem; }
.medicine-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.5; margin-bottom: 1rem; }

/* Homepage Service Cards (Exact Match to Reference Card Model) */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card-link:hover .service-card {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 58, 42, 0.12);
  border-color: rgba(11, 58, 42, 0.2);
}
.service-card-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f2f7f3;
  position: relative;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.service-card-link:hover .service-card-img {
  transform: scale(1.05);
}
.service-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #edf5ef, #dbe8db);
  color: var(--green-700);
  font-size: 2.8rem;
}
.service-card-body {
  padding: 1.35rem 1.4rem 1.6rem 1.4rem;
  background: #ffffff;
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b3a2a;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.service-card-desc {
  font-size: 0.95rem;
  color: #5c6c63;
  line-height: 1.55;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  #homeHeroCarousel .carousel-item { height: 440px; min-height: 440px; }
  .quick-info-strip { margin-top: 1rem; }
  .heritage-stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  #homeHeroCarousel .carousel-item { height: 380px; min-height: 380px; }
  #homeHeroCarousel .carousel-control-prev, #homeHeroCarousel .carousel-control-next { display: none; }
  .heritage-gallery-box { height: 230px; max-height: 230px; }
}