/* ============================================================
   SANTHIMANDIRAM AYURVEDIC HOSPITAL — Shared Stylesheet
   TO DEVELOPER: Update CSS variables below to change colours
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream:       #f5f0e8;
  --dark-green:  #1c3328;
  --mid-green:   #4a7a3d;
  --light-green: #e4ede0;
  --border:      #dde8d8;
  --text-dark:   #1a2e1a;
  --text-mid:    #5a6a5a;
  --white:       #ffffff;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); font-family: var(--font-sans); color: var(--text-dark); overflow-x: hidden; }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1200px;
  background: var(--dark-green); border-radius: var(--r-pill);
  padding: 10px 20px; display: flex; align-items: center;
  justify-content: space-between; z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.navbar-logo {
  font-family: var(--font-serif); font-size: 20px; font-weight: 500;
  color: var(--white); text-decoration: none; letter-spacing: 0.01em;
}
.navbar-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.navbar-nav a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none;
  padding: 6px 11px; border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
}
.navbar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar-nav a.active { color: var(--white); }
.btn-booknow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark-green); background: var(--white); border: none;
  border-radius: var(--r-pill); padding: 9px 22px; cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.btn-booknow:hover { background: var(--cream); transform: scale(1.02); }

/* ── SECTION HELPERS ─────────────────────── */
.section-tag {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif); font-size: clamp(36px, 4vw, 58px);
  font-weight: 400; line-height: 1.12; color: var(--text-dark);
}
.section-title.white { color: var(--white); }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── BUTTONS ─────────────────────────────── */
.btn-primary {
  font-size: 13px; font-weight: 500; color: var(--dark-green);
  background: var(--white); border: none; border-radius: var(--r-pill);
  padding: 14px 30px; cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.btn-primary:hover { transform: scale(1.02); background: var(--cream); }
.btn-ghost {
  font-size: 13px; font-weight: 500; color: var(--white);
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--r-pill); padding: 14px 30px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.link-arrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--white); }
.link-arrow-dark {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.2s;
}
.link-arrow-dark:hover { color: var(--text-dark); }
.learn-more {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark-green); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
}
.learn-more::after {
  content: ''; display: block; width: 40px; height: 1px;
  background: var(--dark-green); transition: width 0.3s;
}
.learn-more:hover::after { width: 64px; }

/* ── PLACEHOLDER ─────────────────────────── */
/* TO DEVELOPER: Replace any .img-ph div with a real <img> tag */
.img-ph {
  background: linear-gradient(145deg, #c8dcc0 0%, #e4ede0 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(28,51,40,0.25); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; line-height: 1.5;
}

/* ── SLIDER ──────────────────────────────── */
.slider-wrap { overflow: hidden; position: relative; }
.slider-track { display: flex; transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); }
.slide { min-width: 100%; display: flex; justify-content: center; }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #c4d4c4; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s; padding: 0;
}
.dot.active { background: var(--dark-green); transform: scale(1.25); }

/* ── MODALS ──────────────────────────────── */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--r-xl);
  padding: 48px; max-width: 600px; width: 100%; position: relative;
  animation: popIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-sm { max-width: 520px; }
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f0ece4; border: none; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); transition: background 0.2s;
}
.modal-close:hover { background: #e4e0d8; }
.modal-title { font-family: var(--font-serif); font-size: 34px; font-weight: 400; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: var(--text-mid); margin-bottom: 32px; line-height: 1.6; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-option {
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.modal-option:hover { border-color: var(--mid-green); background: #f8fdf6; }
.opt-icon { font-size: 26px; margin-bottom: 10px; }
.opt-label { font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 4px; }
.opt-title { font-family: var(--font-serif); font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.opt-desc { font-size: 12px; color: var(--text-mid); line-height: 1.55; margin-bottom: 18px; }
.btn-wa { width: 100%; padding: 11px; background: #25a244; color: var(--white); border: none; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-wa:hover { background: #1d9039; }
.btn-nri { width: 100%; padding: 11px; background: var(--dark-green); color: var(--white); border: none; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-nri:hover { background: #142820; }

/* ── FORM ────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--font-sans); font-size: 14px;
  color: var(--text-dark); background: var(--cream); outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--mid-green); }
.btn-submit { width: 100%; padding: 14px; background: var(--dark-green); color: var(--white); border: none; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 6px; transition: background 0.2s; }
.btn-submit:hover { background: var(--mid-green); }

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: var(--dark-green); border-radius: 40px 40px 0 0;
  padding: 64px 80px 40px; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-col-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer-address { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--white); line-height: 1.4; margin-bottom: 14px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 6px; display: block; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: rgba(255,255,255,0.9); }
.footer-hours { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-green); margin-top: 12px; display: block; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 8px; margin-bottom: 20px; }
.social-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; }
.social-icon:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.footer-cert { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 10px 14px; }
.cert-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--mid-green); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--white); font-weight: 700; }
.cert-text { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── PAGE HERO (inner pages) ─────────────── */
.page-hero { padding: 160px 40px 80px; max-width: 1200px; margin: 0 auto; }
.page-hero-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 16px; display: block; }
.page-hero-title { font-family: var(--font-serif); font-size: clamp(48px, 6vw, 80px); font-weight: 400; line-height: 1.08; color: var(--text-dark); margin-bottom: 20px; }
.page-hero-sub { font-size: 16px; color: var(--text-mid); max-width: 560px; line-height: 1.7; }

/* ── CARD BASE ───────────────────────────── */
.card { background: var(--white); border-radius: var(--r-xl); box-shadow: 0 2px 24px rgba(0,0,0,0.05); }
