/* ============================================================
   style.css — HealthClique Hospital
============================================================ */

/* ============================================================
   1. CSS VARIABLES
============================================================ */
:root {
  --primary:       #398363;
  --primary-dark:  #2c6a50;
  --primary-light: #4fac84;
  --secondary:     #F4FEF9;
  --text:          #272828;
  --text-muted:    #666;
  --white:         #ffffff;
  --border:        #e8e8e8;
  --radius:        10px;
  --radius-lg:     20px;
  --radius-pill:   50px;
  --font:          'Inter', sans-serif;
  --nav-height:    88px;
  --max-width:     1280px;
  --transition:    0.25s ease;
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   3. BUTTONS
============================================================ */
.btn-book {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.5px;
}

.btn-book:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57,131,99,0.35);
}

.btn-book:active { transform: translateY(0); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}

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

/* ============================================================
   4. HEADER / NAVBAR
============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}

#header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.09); }

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon { width: 82px; height: 72px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 62px; height: 62px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand { font-size: 15px; font-weight: 800; letter-spacing: 0.5px; color: var(--text); }
.logo-text .sub   { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; color: #e03c2c; text-transform: uppercase; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links .nav-link:hover        { color: var(--primary); }
.nav-links .nav-link:hover::after { transform: scaleX(1); }
.nav-links .nav-link.active       { color: var(--primary); font-weight: 600; }
.nav-links .nav-link.active::after{ transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 16px 24px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }

.mobile-nav .nav-link {
  display: block;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
  transition: color var(--transition);
}

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

.mobile-nav .btn-book {
  margin-top: 18px;
  display: block;
  text-align: center;
  padding: 14px;
  width: 100%;
}

/* ============================================================
   5. HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  background: #9fcfb5;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(57,131,99,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  opacity: 0.12;
  pointer-events: none;
  overflow: hidden;
}

.hero-lines svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - var(--nav-height));
}

/* Hero content card */
.hero-content {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  /* max-width: 520px; */
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  animation: fadeSlideUp 0.7s ease both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #a8ffd4;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.6; }
}

.hero-heading {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 480px;
  animation: fadeIn 0.9s ease 0.2s both;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-image img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  border-radius: 30px;
  border: 1px solid var(--primary);
}

.hero-img-placeholder {
  width: 100%;
  max-width: 580px;
  height: 500px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  border: 2px dashed rgba(255,255,255,0.35);
}

.placeholder-hint { font-size: 12px; opacity: 0.55; font-family: monospace; }

/* ============================================================
   6. TICKER BANNER
============================================================ */
.ticker {
  background: var(--primary);
  overflow: hidden;
  height: 66px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  width: max-content;
  /* CSS-only infinite scroll — two identical sets side by side */
  animation: ticker-scroll 28s linear infinite;
}

/* Pause on hover for accessibility */
.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-set {
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 0;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  padding: 0 28px;
  letter-spacing: 0.2px;
}

.ticker-icon {
  width: 15px;
  height: 15px;
  opacity: 0.9;
  flex-shrink: 0;
}

.ticker-dot {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================
   7. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px; min-height: auto; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-image { min-height: 320px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; }

  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .btn-book.desktop-only { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero { min-height: calc(80vh - var(--nav-height));}
  .hero-inner   { padding: 36px 20px; }
  .hero-content { padding: 28px 24px; }
  .hero-heading { font-size: 28px; }
  .hero-image   { min-height: 260px; }
  .hero-img-placeholder { height: 280px; }

  .ticker { height: 52px; }
  .ticker-item { font-size: 15px; padding: 0 20px; }
  .ticker-track { animation-duration: 22s; }
}

@media (max-width: 480px) {
  nav { padding: 0 16px; }
  .logo-icon { width: 50px; height: 50px; }
  .logo-text .brand { font-size: 13px; }

  .hero-inner   { padding: 28px 16px; }
  .hero-content { padding: 24px 18px; border-radius: 14px; }
  .badge        { font-size: 10px; padding: 6px 12px; }
  .hero-heading { font-size: 24px; }
  .hero-sub     { font-size: 14px; }
  .hero-actions { flex-direction: column; }

  .ticker-item { font-size: 15px; padding: 0 16px; }
  .ticker-track { animation-duration: 18s; }
}


/* ============================================================
   8. ABOUT / SPECIALIZED TREATMENT SECTION
============================================================ */
.about-section {
  position: relative;
  background: #f3fff9;
  padding: 100px 0 60px;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  left: -120px;
  top: 120px;
  width: 430px;
  height: 430px;
  background: rgba(198, 239, 255, 0.35);
  border-radius: 50%;
  filter: blur(10px);
}

.about-bg-circle {
  position: absolute;
  right: -140px;
  top: 160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 90px solid rgba(240, 231, 222, 0.45);
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 72px;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.about-img-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-img {
  overflow: hidden;
  border-radius: 10px;
  background: #dcefe7;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-large {
  height: 310px;
}

.about-img-small {
  height: 225px;
}

.about-content {
  max-width: 560px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.section-kicker span {
  width: 88px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.about-content h2 {
  font-size: clamp(32px, 2.8vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.7px;
  margin-bottom: 22px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #3f4343;
  margin-bottom: 34px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 42px;
}

.about-list li {
  position: relative;
  padding-left: 42px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 2px;
}

.about-list li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 12px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 2px;
  background: transparent;
}

.about-btn {
  padding: 14px 40px;
  font-size: 17px;
  box-shadow: 0 6px 14px rgba(57, 131, 99, 0.28);
}

/* About responsive */
@media (max-width: 1024px) {
  .about-section {
    padding: 80px 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 64px 0;
  }

  .about-inner {
    padding: 0 20px;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-img-large,
  .about-img-small {
    height: 260px;
  }

  .section-kicker {
    font-size: 13px;
  }

  .section-kicker span {
    width: 52px;
  }

  .about-content p {
    font-size: 16px;
  }

  .about-list li {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .about-inner {
    padding: 0 16px;
  }

  .about-img-large,
  .about-img-small {
    height: 220px;
  }

  .about-list li {
    padding-left: 36px;
  }

  .about-btn {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   9. FEATURE MEDIA COVERAGE SECTION
============================================================ */
.media-section {
  position: relative;
  background: var(--white);
  padding: 70px;
  overflow: hidden;
}

.media-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.media-decor-left {
  left: -150px;
  top: 190px;
  width: 390px;
  height: 390px;
  border: 85px solid rgba(248, 232, 226, 0.45);
}

.media-decor-right {
  right: -170px;
  top: 145px;
  width: 430px;
  height: 430px;
  background: rgba(218, 244, 255, 0.35);
  filter: blur(2px);
}

.media-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.media-title {
  text-align: center;
  font-size: clamp(34px, 2.8vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.7px;
  margin-bottom: 50px;
}

.media-carousel {
  width: 100%;
}

.media-viewport {
  overflow: hidden;
  width: 100%;
}

.media-track {
  display: flex;
  gap: 42px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.media-card {
  flex: 0 0 calc((100% - 42px) / 2);
  background: #f7fffb;
  border: 2px solid rgba(79, 172, 132, 0.35);
  border-radius: 18px;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(57, 131, 99, 0.06);
}

.media-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}

.media-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 48px;
}

.media-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--primary);
  opacity: 0.82;
  cursor: pointer;
  transition: width var(--transition), opacity var(--transition), transform var(--transition);
}

.media-dot.active {
  width: 34px;
  opacity: 1;
}

.media-dot:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Media carousel responsive */
@media (max-width: 1024px) {
  .media-section {
    padding: 78px 0 64px;
  }

  .media-title {
    margin-bottom: 44px;
  }

  .media-track {
    gap: 28px;
  }

  .media-card {
    flex-basis: calc((100% - 28px) / 2);
  }

  .media-card img {
    height: 330px;
  }
}

@media (max-width: 768px) {
  .media-section {
    padding: 64px 0 56px;
  }

  .media-inner {
    padding: 0 20px;
  }

  .media-title {
    font-size: 32px;
    margin-bottom: 34px;
  }

  .media-track {
    gap: 20px;
  }

  .media-card {
    flex: 0 0 100%;
    border-radius: 16px;
  }

  .media-card img {
    height: 360px;
  }

  .media-dots {
    margin-top: 34px;
  }
}

@media (max-width: 480px) {
  .media-inner {
    padding: 0 16px;
  }

  .media-title {
    font-size: 28px;
  }

  .media-card {
    padding: 8px;
  }

  .media-card img {
    height: 300px;
    border-radius: 12px;
  }

  .media-dot {
    width: 10px;
    height: 10px;
  }

  .media-dot.active {
    width: 28px;
  }
}


/* ============================================================
   10. DEPARTMENTS SECTION
============================================================ */
.departments-section {
  position: relative;
  background: #f3fff9;
  padding: 86px 0 96px;
  overflow: hidden;
}

.departments-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.departments-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.departments-kicker span {
  width: 90px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.departments-kicker p {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.departments-title {
  text-align: center;
  font-size: clamp(34px, 2.8vw, 52px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 48px;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.department-card {
  position: relative;
  isolation: isolate;
  background: var(--white);
  border-radius: 20px;
  padding: 42px 38px 38px;
  min-height: 230px;
  border: 1px solid rgba(57, 131, 99, 0.12);
  box-shadow: 0 20px 14px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.department-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(57, 131, 99, 0.12), transparent 45%),
    radial-gradient(circle at top right, rgba(57, 131, 99, 0.12), transparent 34%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.department-card::after {
  content: '';
  position: absolute;
  left: 38px;
  right: 38px;
  top: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 0 0 20px 20px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.department-card:hover {
  transform: translateY(-12px);
  border-color: rgba(57, 131, 99, 0.42);
  box-shadow: 0 18px 36px rgba(57, 131, 99, 0.18);
}

.department-card:hover::before {
  opacity: 1;
}

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

.department-card h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  transition: color 0.35s ease;
}

.department-card p {
  font-size: 16px;
  line-height: 1.4;
  color: #272828;
  margin-bottom: 24px;
  max-width: 360px;
  font-weight: 300;
}

.department-card:hover h3 {
  color: var(--primary);
}

.department-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: #e8f4ef;
  border: 1px solid rgba(57, 131, 99, 0.28);
  color: #3f4543;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.department-card:hover .department-tag {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Departments responsive */
@media (max-width: 1100px) {
  .departments-grid {
    gap: 28px;
  }

  .department-card {
    padding: 34px 28px;
  }

  .department-card p {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .departments-title br {
    display: none;
  }
}

@media (max-width: 768px) {
  .departments-section {
    padding: 68px 0 72px;
  }

  .departments-inner {
    padding: 0 20px;
  }

  .departments-kicker span {
    width: 48px;
  }

  .departments-kicker p {
    font-size: 13px;
  }

  .departments-title {
    font-size: 32px;
    margin-bottom: 38px;
  }

  .departments-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .department-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .departments-inner {
    padding: 0 16px;
  }

  .departments-kicker {
    gap: 10px;
  }

  .departments-kicker span {
    width: 34px;
  }

  .departments-title {
    font-size: 27px;
  }

  .department-card {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .department-card h3 {
    font-size: 22px;
  }

  .department-card p {
    font-size: 16px;
    line-height: 1.35;
  }

  .department-tag {
    font-size: 14px;
  }
}

/* ============================================================
   11. DOCTOR SECTION
============================================================ */
.doctor-section {
  position: relative;
  background: var(--white);
  padding: 92px 0 88px;
  overflow: hidden;
}

.doctor-section.image-left {
  padding-top: 10px;
}

.doctor-decor {
  position: absolute;
  left: -190px;
  top: 110px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(215, 244, 255, 0.45);
  filter: blur(2px);
  pointer-events: none;
}

.doctor-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 74px;
}

.image-left .doctor-inner {
  grid-template-columns: 0.95fr 1.25fr;
}

.doctor-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.doctor-kicker p {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.doctor-kicker span {
  width: 92px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.doctor-content h2 {
  font-size: clamp(36px, 2.8vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.doctor-text {
  max-width: 880px;
}

.doctor-text p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 18px;
}

.doctor-text strong {
  font-weight: 800;
}

.doctor-specialties {
  margin-top: 22px;
}

.doctor-specialties h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  max-width: 960px;
}

.specialty-tags span {
  display: inline-flex;
  align-items: center;
  background: #e8f4ef;
  border: 1px solid rgba(57, 131, 99, 0.28);
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.specialty-tags span:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.doctor-btn {
  margin-top: 42px;
  padding: 15px 40px;
  font-size: 17px;
  box-shadow: 0 6px 14px rgba(57, 131, 99, 0.28);
}

.doctor-image-card {
  position: relative;
  height: 610px;
  border-radius: 20px;
  overflow: hidden;
  background: #dcefe7;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.doctor-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

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

.doctor-image-card:hover img {
  transform: scale(1.045);
}

.doctor-stats {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 2;
  transform: translateX(-50%);
  width: 86%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  color: var(--white);
  text-align: center;
}

.doctor-stat {
  min-width: 150px;
}

.doctor-stat strong {
  display: block;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
}

.doctor-stat span {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 400;
}

.doctor-stat-divider {
  width: 2px;
  height: 78px;
  background: rgba(255, 255, 255, 0.8);
}

/* Optional: use this class if you want image-left layout later */
.doctor-section.image-left .doctor-image-card {
  order: -1;
}

/* Doctor responsive */
@media (max-width: 1100px) {
  .doctor-inner {
    gap: 46px;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .doctor-text p {
    font-size: 18px;
  }

  .specialty-tags span {
    font-size: 16px;
  }

  .doctor-image-card {
    height: 560px;
  }
}

@media (max-width: 900px) {
  .doctor-section {
    padding: 74px 0;
  }

  .doctor-inner {
    grid-template-columns: 1fr;
  }

  .doctor-section.image-left .doctor-image-card {
    order: initial;
  }

  .doctor-image-card {
    max-width: 680px;
    width: 100%;
    height: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .doctor-section {
    padding: 64px 0;
  }

  .doctor-inner {
    padding: 0 20px;
    gap: 38px;
  }

  .doctor-kicker p {
    font-size: 13px;
  }

  .doctor-kicker span {
    width: 64px;
  }

  .doctor-content h2 {
    font-size: 34px;
    margin-bottom: 24px;
  }

  .doctor-text p {
    font-size: 16px;
  }

  .doctor-specialties {
    margin-top: 32px;
  }

  .doctor-specialties h3 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .specialty-tags {
    gap: 12px;
  }

  .specialty-tags span {
    font-size: 15px;
  }

  .doctor-btn {
    margin-top: 34px;
  }

  .doctor-image-card {
    height: 500px;
  }

  .doctor-stats {
    width: 88%;
    bottom: 30px;
    gap: 22px;
  }

  .doctor-stat {
    min-width: 120px;
  }

  .doctor-stat strong {
    font-size: 24px;
  }

  .doctor-stat span {
    font-size: 17px;
  }

  .doctor-stat-divider {
    height: 64px;
  }
}

@media (max-width: 480px) {
  .doctor-inner {
    padding: 0 16px;
  }

  .doctor-content h2 {
    font-size: 29px;
  }

  .doctor-image-card {
    height: 430px;
    border-radius: 18px;
  }

  .specialty-tags span {
    font-size: 14px;
    padding: 7px 10px;
  }

  .doctor-btn {
    width: 100%;
    text-align: center;
  }

  .doctor-stats {
    gap: 14px;
  }

  .doctor-stat {
    min-width: 96px;
  }

  .doctor-stat strong {
    font-size: 21px;
  }

  .doctor-stat span {
    font-size: 14px;
  }

  .doctor-stat-divider {
    height: 54px;
  }
}

/* ============================================================
   12. APPOINTMENT / PROFESSIONAL CARE SECTION
============================================================ */
.appointment-section {
  position: relative;
  background: #f3fff9;
  padding: 86px 0 96px;
  overflow: hidden;
}

.appointment-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  align-items: start;
  gap: 72px;
}

.care-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.care-kicker span {
  width: 90px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.care-kicker p {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.care-title {
  font-size: clamp(34px, 2.5vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 28px;
}

.care-doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.care-doctor-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(57, 131, 99, 0.14);
  border-radius: 14px;
  padding: 12px 12px 30px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.care-doctor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(57, 131, 99, 0.13), transparent 42%),
    radial-gradient(circle at top right, rgba(57, 131, 99, 0.12), transparent 32%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.care-doctor-card::after {
  content: '';
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 0 0 20px 20px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.care-doctor-card:hover,
.care-doctor-card:focus-visible,
.care-doctor-card.selected {
  transform: translateY(-10px);
  border-color: rgba(57, 131, 99, 0.42);
  box-shadow: 0 18px 38px rgba(57, 131, 99, 0.18);
}

.care-doctor-card:hover::before,
.care-doctor-card:focus-visible::before,
.care-doctor-card.selected::before {
  opacity: 1;
}

.care-doctor-card:hover::after,
.care-doctor-card:focus-visible::after,
.care-doctor-card.selected::after {
  transform: scaleX(1);
}

.care-doctor-img {
  position: relative;
  height: 140px;
  background: #f0fff8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.care-doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.45s ease;
}

.care-doctor-card:hover .care-doctor-img img,
.care-doctor-card:focus-visible .care-doctor-img img,
.care-doctor-card.selected .care-doctor-img img {
  transform: scale(1.08);
}

.care-doctor-card h3 {
  position: relative;
  z-index: 2;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.35s ease;
}

.care-doctor-card p {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.care-doctor-card:hover h3,
.care-doctor-card:focus-visible h3,
.care-doctor-card.selected h3 {
  color: var(--primary);
}

/* Appointment form card */
.appointment-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(57, 131, 99, 0.14);
}

.appointment-card-head {
  min-height: 94px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0, 121, 84, 0.92), rgba(0, 121, 84, 0.92)),
    url('appointment-bg.jpg') center / cover no-repeat;
}

.appointment-card-head h3 {
  color: var(--white);
  font-size: clamp(30px, 2vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  text-align: center;
  /* letter-spacing: -0.5px; */
}

.appointment-form {
  padding: 22px 28px 38px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.form-control {
  width: 100%;
  min-height: 60px;
  background: #fbfbfb;
  border: 1px solid #dcdcdc;
  border-radius: 16px;
  padding: 0 22px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

select.form-control {
  cursor: pointer;
}

.form-control:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(57, 131, 99, 0.12);
}

.form-control.is-invalid {
  border-color: #d14a3a;
  background: #fffafa;
}

.form-error {
  display: none;
  margin-top: 8px;
  color: #b6372b;
  font-size: 13px;
  font-weight: 600;
}

.form-control.is-invalid + .form-error {
  display: block;
}

.appointment-submit {
  width: 100%;
  min-height: 64px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 8px;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.appointment-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(57, 131, 99, 0.28);
}

.appointment-submit:active {
  transform: translateY(0);
}

.appointment-status {
  display: none;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.appointment-status.success {
  display: block;
  background: #e8f4ef;
  color: var(--primary-dark);
  border: 1px solid rgba(57, 131, 99, 0.24);
}

.appointment-status.error {
  display: block;
  background: #fff2f0;
  color: #b6372b;
  border: 1px solid rgba(209, 74, 58, 0.24);
}

/* Appointment responsive */
@media (max-width: 1180px) {
  .appointment-inner {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 46px;
  }

  .care-doctors-grid {
    gap: 20px;
  }

  .care-doctor-img {
    height: 150px;
  }

  .care-doctor-card h3 {
    font-size: 18px;
  }
}

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

  .appointment-card {
    max-width: 720px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .appointment-section {
    padding: 68px 0 74px;
  }

  .appointment-inner {
    padding: 0 20px;
    gap: 44px;
  }

  .care-kicker span {
    width: 58px;
  }

  .care-kicker p {
    font-size: 13px;
  }

  .care-title {
    font-size: 32px;
    margin-bottom: 36px;
  }

  .care-doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment-form {
    padding: 34px 26px 38px;
  }

  .appointment-card-head {
    min-height: 108px;
  }

  .form-group label {
    font-size: 16px;
  }

  .form-control {
    min-height: 56px;
    border-radius: 14px;
  }

  .appointment-submit {
    min-height: 58px;
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .appointment-inner {
    padding: 0 16px;
  }

  .care-title {
    font-size: 28px;
  }

  .care-doctors-grid {
    grid-template-columns: 1fr;
  }

  .care-doctor-img {
    height: 190px;
  }

  .appointment-card-head h3 {
    font-size: 28px;
  }

  .appointment-form {
    padding: 30px 20px 34px;
  }
}


/* ============================================================
   13. TESTIMONIALS SECTION
============================================================ */
.testimonials-section {
  position: relative;
  background: var(--white);
  padding: 92px 0 100px;
  overflow: hidden;
}

.testimonials-inner {
  max-width: calc(var(--max-width) + 80px);
  margin: 0 auto;
  padding: 0 32px;
}

.testimonials-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.testimonials-kicker span {
  width: 140px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.testimonials-kicker p {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.testimonials-title {
  text-align: center;
  font-size: clamp(36px, 2.8vw, 56px);
  line-height: 1.14;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 40px;
}

.testimonials-carousel {
  position: relative;
}

.testimonials-viewport {
  /* overflow: hidden; */
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 38px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 76px) / 3);
  background: var(--white);
  border: 1px solid rgba(57, 131, 99, 0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(57, 131, 99, 0.14);
}

.testimonial-top {
  background: #f1fbf6;
  padding: 28px 30px 20px;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-top p {
  font-size: 17px;
  line-height: 1.5;
  color: #2f3232;
  /* margin-bottom: 26px; */
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-stars span {
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

.testimonial-bottom {
  background: var(--white);
  padding: 26px 30px 22px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-user img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-user h3 {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.testimonial-user p {
  font-size: 14px;
  line-height: 1.2;
  color: #444;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(57, 131, 99, 0.24);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.testimonial-arrow span {
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.testimonial-arrow:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(57, 131, 99, 0.32);
}

.testimonial-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.testimonial-arrow-prev {
  left: -26px;
}

.testimonial-arrow-next {
  right: -26px;
}

@media (max-width: 1180px) {
  .testimonials-inner {
    max-width: var(--max-width);
  }

  .testimonials-track {
    gap: 24px;
  }

  .testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
  }

  .testimonial-top p {
    font-size: 18px;
  }

  .testimonial-arrow-prev {
    left: -12px;
  }

  .testimonial-arrow-next {
    right: -12px;
  }
}

@media (max-width: 900px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 72px 0 78px;
  }

  .testimonials-inner {
    padding: 0 20px;
  }

  .testimonials-kicker span {
    width: 58px;
  }

  .testimonials-kicker p {
    font-size: 13px;
  }

  .testimonials-title {
    font-size: 34px;
    margin-bottom: 42px;
  }

  .testimonials-track {
    gap: 18px;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonial-top {
    min-height: auto;
    padding: 24px 22px 18px;
  }

  .testimonial-top p {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .testimonial-bottom {
    padding: 22px;
  }

  .testimonial-user h3 {
    font-size: 18px;
  }

  .testimonial-user p {
    font-size: 15px;
  }

  .testimonial-arrow {
    width: 44px;
    height: 44px;
  }

  .testimonial-arrow span {
    font-size: 24px;
  }

  .testimonial-arrow-prev {
    left: -2px;
  }

  .testimonial-arrow-next {
    right: -2px;
  }
}

@media (max-width: 480px) {
  .testimonials-inner {
    padding: 0 16px;
  }

  .testimonials-title {
    font-size: 28px;
  }

  .testimonial-top p {
    font-size: 16px;
  }

  .testimonial-user img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .testimonial-arrow {
    width: 40px;
    height: 40px;
  }

  .testimonial-arrow span {
    font-size: 22px;
  }
}

/* ============================================================
   14. EMERGENCY CARE SECTION
============================================================ */
.emergency-section {
  background: var(--white);
  padding: 10px 0 86px;
  overflow: hidden;
}

.emergency-inner {
  max-width: calc(var(--max-width) + 80px);
  margin: 0 auto;
  padding: 0 32px;
}

.emergency-card {
  position: relative;
  background: var(--primary);
  border-radius: 14px;
  padding: 42px;
  min-height: 360px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 58px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(57, 131, 99, 0.18);
}

.emergency-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 14px
    );
  opacity: 0.55;
  pointer-events: none;
}

.emergency-card::after {
  content: '';
  position: absolute;
  inset: -100px -80px;
  background:
    radial-gradient(circle at 38% 48%, transparent 0 80px, rgba(255,255,255,0.08) 81px 82px, transparent 83px),
    radial-gradient(circle at 42% 50%, transparent 0 130px, rgba(255,255,255,0.07) 131px 132px, transparent 133px),
    radial-gradient(circle at 48% 48%, transparent 0 185px, rgba(255,255,255,0.055) 186px 187px, transparent 188px),
    radial-gradient(circle at 54% 46%, transparent 0 245px, rgba(255,255,255,0.045) 246px 247px, transparent 248px);
  pointer-events: none;
}

.emergency-content,
.emergency-map {
  position: relative;
  z-index: 2;
}

.emergency-content h2 {
  color: var(--white);
  font-size: clamp(36px, 2.3vw, 58px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}

.emergency-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 24px;
}

.emergency-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.emergency-call,
.emergency-directions {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.emergency-call {
  gap: 7px;
  padding: 0 24px;
  background: #fff4f4;
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.emergency-call svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.emergency-directions {
  padding: 0 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.emergency-call:hover,
.emergency-directions:hover {
  transform: translateY(-3px);
}

.emergency-call:hover {
  background: var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.emergency-directions:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.emergency-map {
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.emergency-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.emergency-map:hover img {
  transform: scale(1.04);
}

/* Emergency responsive */
@media (max-width: 1024px) {
  .emergency-card {
    grid-template-columns: 1fr;
    padding: 50px;
    gap: 40px;
  }

  .emergency-map {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .emergency-section {
    padding: 64px 0 72px;
  }

  .emergency-inner {
    padding: 0 20px;
  }

  .emergency-card {
    padding: 36px 28px;
    border-radius: 14px;
  }

  .emergency-content h2 {
    font-size: 34px;
  }

  .emergency-content p {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .emergency-actions {
    gap: 14px;
  }

  .emergency-call,
  .emergency-directions {
    width: 100%;
    min-height: 56px;
    font-size: 16px;
  }

  .emergency-map {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .emergency-inner {
    padding: 0 16px;
  }

  .emergency-card {
    padding: 32px 20px;
  }

  .emergency-content h2 {
    font-size: 30px;
  }

  .emergency-map {
    height: 230px;
  }
}


/* ============================================================
   15. FAQ SECTION
============================================================ */
.faq-section {
  background: var(--white);
  padding: 12px 0 96px;
  overflow: hidden;
}

.faq-inner {
  max-width: calc(var(--max-width) + 80px);
  margin: 0 auto;
  padding: 0 32px;
}

.faq-title {
  text-align: center;
  font-size: clamp(36px, 3vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.faq-subtitle {
  max-width: 980px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
  color: #333;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.faq-item {
  background: #fbfdfc;
  border: 1px solid rgba(57, 131, 99, 0.28);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.06);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    transform var(--transition);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 131, 99, 0.45);
  box-shadow: 0 10px 24px rgba(57, 131, 99, 0.14);
}

.faq-item.open {
  background: #f7fffb;
  border-color: rgba(57, 131, 99, 0.55);
  box-shadow: 0 14px 30px rgba(57, 131, 99, 0.16);
}

.faq-question {
  width: 100%;
  min-height: 76px;
  border: none;
  background: transparent;
  padding: 0 34px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--text);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition:
    transform var(--transition),
    background var(--transition);
}

.faq-icon::before {
  width: 18px;
  height: 3px;
}

.faq-icon::after {
  width: 3px;
  height: 18px;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--primary);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 72px 34px 36px;
  color: #454545;
  font-size: 18px;
  line-height: 1.65;
  max-width: 1120px;
}

/* FAQ responsive */
@media (max-width: 1024px) {
  .faq-subtitle {
    font-size: 19px;
  }

  .faq-question {
    font-size: 20px;
    min-height: 88px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 68px 0 76px;
  }

  .faq-inner {
    padding: 0 20px;
  }

  .faq-title {
    font-size: 34px;
  }

  .faq-subtitle {
    font-size: 16px;
    margin-bottom: 42px;
  }

  .faq-list {
    gap: 18px;
  }

  .faq-question {
    min-height: 78px;
    padding: 0 22px;
    font-size: 17px;
  }

  .faq-answer p {
    padding: 0 48px 26px 22px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .faq-inner {
    padding: 0 16px;
  }

  .faq-title {
    font-size: 29px;
  }

  .faq-subtitle {
    font-size: 15px;
  }

  .faq-item {
    border-radius: 18px;
  }

  .faq-question {
    font-size: 16px;
    gap: 16px;
  }

  .faq-answer p {
    padding-right: 22px;
  }
}

/* ============================================================
   16. FOOTER SECTION
============================================================ */
.site-footer {
  background: #f3fff9;
  padding: 50px 0 52px;
  overflow: hidden;
}

.footer-inner {
  max-width: calc(var(--max-width) + 80px);
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 0.9fr 1.05fr;
  align-items: start;
  gap: 72px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  display: inline-block;
  max-width: 250px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-contact h3,
.footer-services h3,
.footer-gallery h3 {
  color: var(--primary);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 4px;
}

.footer-contact strong {
  font-weight: 800;
  white-space: nowrap;
}

.footer-contact a {
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 22px;
  list-style: disc;
}

.footer-services li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.footer-services a {
  transition: color var(--transition), padding-left var(--transition);
}

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

.footer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.footer-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.footer-gallery-grid img:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 24px rgba(57, 131, 99, 0.18);
  filter: saturate(1.08);
}

.footer-divider {
  width: 100%;
  height: 1.5px;
  background: #ade9cf;
  opacity: 0.85;
  margin: 50px 0 34px;
}

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

.footer-bottom p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

.social-link svg {
  width: 23px;
  height: 23px;
}

.social-link.instagram {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.facebook {
  background: #4267b2;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(57, 131, 99, 0.22);
  opacity: 0.95;
}

/* Footer responsive */
@media (max-width: 1180px) {
  .footer-top {
    grid-template-columns: 1fr 1.25fr 0.9fr 1fr;
    gap: 42px;
  }

  .footer-logo {
    max-width: 220px;
  }

  .footer-contact p {
    font-size: 17px;
  }

  .footer-services li {
    font-size: 17px;
  }
}

@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 42px;
  }

  .footer-brand {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 68px 0 42px;
  }

  .footer-inner {
    padding: 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-logo {
    max-width: 210px;
  }

  .footer-contact h3,
  .footer-services h3,
  .footer-gallery h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .footer-contact p {
    font-size: 16px;
  }

  .footer-services li {
    font-size: 16px;
  }

  .footer-gallery-grid {
    max-width: 420px;
  }

  .footer-divider {
    margin: 50px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding: 0 16px;
  }

  .footer-logo {
    max-width: 190px;
  }

  .footer-contact p {
    flex-direction: column;
    gap: 0;
    margin-bottom: 10px;
  }

  .footer-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer-socials {
    gap: 12px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 21px;
    height: 21px;
  }
}