:root {
  --bg: #f6fbf8;
  --bg-alt: #e7f3ee;
  --text: #16211b;
  --muted: #4f6459;
  --brand: #b3261e;
  --brand-dark: #7d1a14;
  --accent: #0f6a53;
  --white: #ffffff;
  --card-shadow: 0 14px 40px rgba(16, 38, 28, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(179, 38, 30, 0.08),
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 70%,
      rgba(15, 106, 83, 0.13),
      transparent 40%
    ),
    linear-gradient(160deg, #fbfffd 0%, var(--bg) 48%, var(--bg-alt) 100%);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(250, 255, 252, 0.85);
  border-bottom: 1px solid rgba(22, 33, 27, 0.1);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  border-radius: 12px;
  display: grid;
  place-items: center;

  color: var(--white);
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: #1c3429;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-call,
.btn-primary {
  background: linear-gradient(160deg, var(--brand), var(--brand-dark));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(125, 26, 20, 0.25);
}

.btn-secondary {
  color: var(--accent);
  border: 1.6px solid rgba(15, 106, 83, 0.35);
  background: rgba(255, 255, 255, 0.65);
}

.hero {
  padding: 0 0 48px;
}

.hero > .container {
  width: 100%;
  margin: 0;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 700px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(13, 31, 24, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.8s ease,
    transform 5.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 22, 17, 0.8) 0%,
      rgba(8, 22, 17, 0.55) 45%,
      rgba(8, 22, 17, 0.2) 100%
    ),
    linear-gradient(
      180deg,
      rgba(179, 38, 30, 0.18) 0%,
      rgba(15, 106, 83, 0.3) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 92vw);
  max-width: 920px;
  padding: clamp(28px, 4vw, 56px);
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 800;
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.hero .eyebrow {
  color: #bde8d8;
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.16;
  color: var(--white);
}

.hero-copy {
  font-size: 1.04rem;
  max-width: 62ch;
  color: #e5f6ef;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-highlights li {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(189, 232, 216, 0.32);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.48);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.25);
}

.contact a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
}

.section-head {
  text-align: center;
  margin-bottom: 26px;
}

.section-head.left {
  text-align: left;
}

.section-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.services,
.about,
.departments,
.testimonials {
  padding: 42px 0 58px;
}

.contact {
  padding: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.about-card,
.testimonial-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 33, 27, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.about-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.about-collage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.collage-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(22, 33, 27, 0.12);
  box-shadow: var(--card-shadow);
}
.testimonials {
  padding: 0;
}

.testimonials-bg {
  background:
    radial-gradient(
      ellipse at 20% 0%,
      rgba(15, 106, 83, 0.45) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 100%,
      rgba(179, 38, 30, 0.25) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, #0c1f16 0%, #152d20 55%, #0f2218 100%);
  padding: 64px 0 72px;
}

.testi-eyebrow {
  color: #7de8b8 !important;
}

.testi-heading {
  color: #f0faf5 !important;
}

.testi-sub {
  color: rgba(200, 230, 215, 0.7);
  font-size: 0.97rem;
  max-width: 52ch;
  margin: 8px auto 0;
}

.testimonial-slider {
  max-width: 1000px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
}

.testimonial-viewport {
  overflow-x: clip;
  overflow-y: visible;
}

.testimonial-track {
  position: relative;
  min-height: 360px;
}

.testimonial-track .testimonial-card {
  position: absolute;
  top: 0;
  width: min(320px, 32vw);
  min-height: 310px;
  left: 50%;
  transform: translateX(-50%) scale(0.88);
  opacity: 0;
  text-align: center;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition:
    transform 0.48s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.48s ease;
}

.testimonial-track .testimonial-card.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid rgba(22, 33, 27, 0.08);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-track .testimonial-card.is-prev {
  transform: translateX(calc(-50% - 295px)) scale(0.88);
  opacity: 0.4;
  z-index: 2;
}

.testimonial-track .testimonial-card.is-next {
  transform: translateX(calc(-50% + 295px)) scale(0.88);
  opacity: 0.4;
  z-index: 2;
}

.quote-mark {
  display: block;
  color: var(--accent);
  font-size: 3.8rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 2px;
  font-family: "Playfair Display", serif;
}

.testimonial-card.is-active .quote-mark {
  color: var(--accent);
}

.testimonial-card:not(.is-active) .quote-mark {
  color: rgba(125, 232, 184, 0.5);
}

.testimonial-avatar {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid var(--accent);
  margin-bottom: 12px;
  box-shadow: 0 0 0 4px rgba(15, 106, 83, 0.15);
}

.testimonial-copy {
  margin: 0 0 12px;
  color: #3a4b42;
  font-size: 0.94rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-card:not(.is-active) .testimonial-copy {
  color: rgba(220, 240, 230, 0.75);
}

.testimonial-stars {
  margin: 0 0 8px;
  letter-spacing: 3px;
  color: #f4a922;
  font-size: 1rem;
}

.testimonial-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: "Playfair Display", serif;
  color: #1b2b22;
}

.testimonial-card:not(.is-active) h3 {
  color: #e8f5ee;
}

.testimonial-role {
  margin: 4px 0 0;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.testimonial-card:not(.is-active) .testimonial-role {
  color: rgba(125, 232, 184, 0.6);
}

.testimonial-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(125, 232, 184, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #7de8b8;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.testimonial-nav:hover {
  background: rgba(125, 232, 184, 0.14);
  border-color: #7de8b8;
  transform: scale(1.1);
}

.testimonial-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(125, 232, 184, 0.28);
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.testimonial-dot.is-active {
  width: 28px;
  background: #7de8b8;
}

.card-grid,
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.dept-card,
.contact-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(22, 33, 27, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--card-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.dept-card {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 22px;
}

.dept-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dept-accent, var(--accent));
  border-radius: 18px 18px 0 0;
}

/* Department icon circle */
.dept-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(15, 106, 83, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: transform 0.25s ease;
}

.dept-card:hover .dept-icon-wrap {
  transform: scale(1.08);
}

.dept-icon-wrap .dept-icon {
  font-size: 2rem;
  margin: 0;
  line-height: 1;
}

/* Marathi subtitle */
.dept-sub {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 2px 0 0;
  font-style: italic;
  line-height: 1.5;
}

/* Condition tags */
.dept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(22, 33, 27, 0.12);
}

.dept-tags span {
  background: rgba(15, 106, 83, 0.08);
  border: 1px solid rgba(15, 106, 83, 0.22);
  color: #0a5440;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.dept-card:hover .dept-tags span {
  background: rgba(15, 106, 83, 0.14);
}

/* Red variant (surgical / pain departments) */
.dept-red {
  --dept-accent: #b3261e;
}

.dept-red .dept-icon-wrap {
  background: rgba(179, 38, 30, 0.1);
}

.dept-red .dept-tags span {
  background: rgba(179, 38, 30, 0.08);
  border-color: rgba(179, 38, 30, 0.22);
  color: #7d1a14;
}

.dept-red:hover .dept-tags span {
  background: rgba(179, 38, 30, 0.14);
}

/* Cancer card (full accent background) */
.dept-card-accent {
  --dept-accent: #7d1a14;
}

.dept-card-accent .dept-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
}

.dept-card-accent .dept-sub {
  color: rgba(255, 245, 243, 0.82);
}

.dept-card-accent .dept-tags {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.dept-card-accent .dept-tags span {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.dept-card-accent:hover .dept-tags span {
  background: rgba(255, 255, 255, 0.25);
}

.card:hover,
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(16, 38, 28, 0.2);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card h3,
.dept-card h3,
.contact-box h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.service-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(22, 33, 27, 0.14);
}

.card p,
.dept-card p {
  margin: 0;
  color: #30463b;
}

.service-call {
  margin-top: 14px;
  align-self: center;
}

.dept-card-accent {
  background: linear-gradient(165deg, #b3261e 0%, #7d1a14 100%);
  color: var(--white);
}

.dept-card-accent p {
  color: #fff5f3;
}

/* ══════════════════════════════════════
   CONTACT — ENHANCED
══════════════════════════════════════ */
.contact-bg {
  background:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(15, 106, 83, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(179, 38, 30, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, #f0faf5 0%, #e9f4ee 50%, #f6fbf8 100%);
  padding: 64px 0 72px;
  position: relative;
}

.contact-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
  margin-top: 36px;
}

/* 2×2 info card grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(22, 33, 27, 0.1);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 6px 24px rgba(16, 38, 28, 0.09);
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(15, 106, 83, 0.4));
  border-radius: 18px 18px 0 0;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 38, 28, 0.15);
}

.contact-card-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 10px;
}

.contact-card h4 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.contact-card p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

/* Timings panel (right column) */
.contact-timings-panel {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 18px 48px rgba(125, 26, 20, 0.3);
}

.timings-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.timings-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.timings-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
  font-family: "Playfair Display", serif;
}

.timings-note {
  font-size: 0.84rem;
  color: rgba(255, 235, 230, 0.8);
  margin: 0 0 16px;
  line-height: 1.6;
}

.timings-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
}

.timings-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 10px;
}

.timings-list li:last-child {
  border-bottom: none;
}

.timings-label {
  font-size: 0.85rem;
  color: rgba(255, 235, 230, 0.82);
  font-weight: 500;
}

.timings-value {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  text-align: right;
}

.timings-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.timings-actions .btn {
  width: 100%;
  justify-content: center;
}

.timings-maps-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.timings-maps-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.fine {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ══════════════════════════════════════
   FOOTER — RICH MULTI-COLUMN
══════════════════════════════════════ */
.site-footer {
  background: #09160f;
  color: #c4d9cc;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.1fr;
  gap: 48px;
  padding: 56px 0 44px;
}

/* Brand */
.footer-logo-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: #e8f5ee;
}

.footer-logo-link .brand-text strong {
  color: #e8f5ee;
}

.footer-logo-link .brand-text small {
  color: #7aaa8c;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #6a9178;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 30ch;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #a0c8b0;
  font-size: 1rem;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.footer-social-btn:hover {
  background: rgba(15, 106, 83, 0.25);
  border-color: rgba(125, 232, 184, 0.4);
  color: #7de8b8;
}

/* Columns */
.footer-col-title {
  color: #e8f5ee;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #6a9178;
  font-size: 0.92rem;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #bde8d0;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #6a9178;
  line-height: 1.55;
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.95rem;
  margin-top: 1px;
}

.footer-contact-list a {
  text-decoration: none;
  color: #6a9178;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #bde8d0;
}

/* Bottom bar */
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 0;
}

.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bar-inner p {
  margin: 0;
  font-size: 0.82rem;
  color: #3d5c49;
}

.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.section-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 950px) {
  .about-grid,
  .card-grid,
  .dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-track .testimonial-card {
    width: min(270px, 36vw);
  }

  .testimonial-track .testimonial-card.is-prev {
    transform: translateX(calc(-50% - 235px)) scale(0.88);
  }

  .testimonial-track .testimonial-card.is-next {
    transform: translateX(calc(-50% + 235px)) scale(0.88);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .collage-img {
    max-height: 260px;
  }

  .hero-banner {
    min-height: 620px;
  }

  /* Hide inline nav, show hamburger */
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 255, 252, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 33, 27, 0.1);
    box-shadow: 0 12px 32px rgba(16, 38, 28, 0.12);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.35s ease,
      padding 0.35s ease;
    z-index: 49;
  }

  .nav-links a {
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(22, 33, 27, 0.06);
  }

  .nav-links a::after {
    display: none;
  }

  /* Open state */
  .site-header.nav-open .nav-links {
    max-height: 400px;
    padding: 6px 0;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1.5px solid rgba(22, 33, 27, 0.15);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      width 0.3s ease;
    transform-origin: center;
  }

  /* Animate to X when open */
  .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .hero,
  .about,
  .services,
  .departments,
  .testimonials {
    padding: 0px 0 42px;
  }

  .about-grid,
  .card-grid,
  .dept-grid,
  .hero-highlights,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .testimonial-nav {
    display: none;
  }

  .testimonial-viewport {
    overflow: visible;
  }

  .testimonial-track {
    min-height: 0;
  }

  .testimonial-track .testimonial-card {
    position: relative;
    left: auto;
    width: min(330px, 92vw);
    margin: 0 auto;
    transform: none;
    opacity: 0;
    display: none;
    pointer-events: none;
  }

  .testimonial-track .testimonial-card.is-active {
    display: block;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .testimonial-track .testimonial-card.is-prev,
  .testimonial-track .testimonial-card.is-next {
    display: none;
    transform: none;
    opacity: 0;
  }

  .about-collage {
    display: none;
  }

  .hero-banner {
    min-height: 520px;
  }

  .hero-dots {
    left: 28px;
    right: auto;
    bottom: 18px;
  }

  .brand-text small {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ══════════════════════════════════════
   STATS SECTION
══════════════════════════════════════ */
.stats {
  padding: 0 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(125, 26, 20, 0.28);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.stat-num sup {
  font-size: 1rem;
  vertical-align: super;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

/* ══════════════════════════════════════
   SECTION SUBTITLE
══════════════════════════════════════ */
.section-sub {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 56ch;
  margin: 8px auto 0;
}

/* ══════════════════════════════════════
   ABOUT BADGES
══════════════════════════════════════ */
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  background: linear-gradient(
    135deg,
    rgba(15, 106, 83, 0.1),
    rgba(15, 106, 83, 0.18)
  );
  border: 1px solid rgba(15, 106, 83, 0.3);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-nabh {
  background: linear-gradient(135deg, rgba(196, 142, 26, 0.15), rgba(196, 142, 26, 0.25));
  border: 1px solid rgba(196, 142, 26, 0.55);
  color: #a3720e;
}

.stat-nabh {
  background: rgba(255, 255, 255, 0.07);
}

.stat-num-nabh {
  font-size: 1.7rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #ffd97a;
  letter-spacing: 2px;
}

.nabh-badge {
  display: inline-block;
  background: rgba(196, 142, 26, 0.18);
  border: 1px solid rgba(196, 142, 26, 0.5);
  color: #ffd97a;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* ══════════════════════════════════════
   SERVICE ICON
══════════════════════════════════════ */
.service-icon-wrap {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 2px;
}

/* ══════════════════════════════════════
   DEPARTMENT ICON
══════════════════════════════════════ */
.dept-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
  line-height: 1;
}

/* ══════════════════════════════════════
   WHY US SECTION
══════════════════════════════════════ */
.why-us {
  padding: 42px 0 58px;
  background: linear-gradient(
    160deg,
    rgba(15, 106, 83, 0.05) 0%,
    rgba(179, 38, 30, 0.04) 100%
  );
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.why-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 33, 27, 0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(16, 38, 28, 0.18);
}

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  line-height: 1;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--accent);
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ══════════════════════════════════════
   FLOATING CALL BUTTON
══════════════════════════════════════ */
.floating-call {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 100;
  width: 56px;
  height: 56px;
  background: linear-gradient(160deg, var(--brand), var(--brand-dark));
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(125, 26, 20, 0.45);
  display: grid;
  place-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.floating-call:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 36px rgba(125, 26, 20, 0.6);
}

/* ══════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
══════════════════════════════════════ */
@media (max-width: 950px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2),
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
