/* =============================================================
   SHAN PHARMA — Stylesheet
   Theme: Medical (Blue + Green), clean, modern, mobile-first.
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #0a6ebd;          /* Medical blue */
  --primary-dark: #074d85;
  --primary-soft: #e3f2fd;
  --secondary: #2e7d32;        /* Healthy green */
  --secondary-dark: #1b5e20;
  --secondary-soft: #e8f5e9;
  --accent: #ff9800;
  --bg: #ffffff;
  --bg-soft: #f6fafd;
  --bg-alt: #eef6fb;
  --text: #1a2233;
  --muted: #5b6b7d;
  --border: #e3e9ef;
  --shadow-sm: 0 4px 16px rgba(10,110,189,.08);
  --shadow-md: 0 12px 30px rgba(10,110,189,.12);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: .25s ease;
  --container: 1180px;
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base / Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; margin: 0 0 .6rem; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); color:#fff; box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); color:#fff; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.logo:hover { color: var(--primary); }
.logo-mark { display: inline-flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.15rem; letter-spacing: .5px; }
.logo-text small { font-size: .72rem; color: var(--muted); margin-top: 2px; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: .96rem;
}
.main-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.main-nav .nav-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.main-nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #f0f8ff 0%, #e7f6ee 100%);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .82rem;
  margin-bottom: 16px;
}
.hero .hl {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 1.1rem; color: #344358; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.trust-strip {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: .92rem;
}
.trust-strip li { display: flex; align-items: center; gap: 6px; }
.trust-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: .8rem;
}

.hero-card {
  position: relative;
  height: 440px;
}
.hero-bg-blob {
  position: absolute;
  inset: 20px;
  background: radial-gradient(circle at 30% 30%, var(--primary-soft), transparent 60%),
              radial-gradient(circle at 70% 70%, var(--secondary-soft), transparent 60%);
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  animation: blobMorph 12s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  0%   { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
  100% { border-radius: 60% 40% 50% 60% / 40% 60% 40% 60%; }
}
.floating-card {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  animation: floaty 4s ease-in-out infinite;
}
.floating-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.floating-card strong { display:block; font-size: .95rem; }
.floating-card small { color: var(--muted); font-size: .78rem; }
.card-1 { top: 18%; left: 6%; }
.card-2 { top: 8%; right: 8%; animation-delay: 1s; }
.card-3 { bottom: 10%; left: 22%; animation-delay: 2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- Generic Sections ---------- */
.section { padding: 80px 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.service-icon { margin-bottom: 14px; }
.service-card.highlight {
  background: linear-gradient(180deg, #fff, #fff7ed);
  border-color: #ffe2bf;
}
.service-card h3 small {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .5px;
  margin-top: 4px;
}
.bullets { padding-left: 18px; margin: 12px 0 18px; color: var(--muted); }
.bullets li { margin-bottom: 6px; }
.link-arrow {
  font-weight: 600;
  color: var(--primary);
}
.link-arrow:hover { color: var(--primary-dark); }

/* ---------- About Section ---------- */
.about-image {
  position: relative;
  height: 480px;
}
.about-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
}
.stat-card {
  position: absolute;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 180px;
}
.stat-card strong { display:block; font-size: 1.6rem; color: var(--primary); }
.stat-card small { color: var(--muted); font-size: .82rem; }
.stat-card.s1 { top: 12%; left: -10px; }
.stat-card.s2 { top: 45%; right: -10px; }
.stat-card.s3 { bottom: 8%; left: 18%; }

.value-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.value-item span { font-size: 1.6rem; }
.value-item h4 { margin: 6px 0 4px; font-size: 1rem; }
.value-item p { font-size: .88rem; margin: 0; }

/* ---------- Deep Services ---------- */
.deep-services { background: var(--bg); }
.deep-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px dashed var(--border);
}
.deep-row.reverse { grid-template-columns: 1fr 1.4fr; }
.deep-row.reverse .deep-text { order: 2; }
.deep-row:first-of-type { border-top: none; }
.deep-visual {
  font-size: 7rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
  border-radius: var(--radius-lg);
  padding: 60px 0;
}
.check-list { list-style: none; padding: 0; margin: 0 0 18px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: #344358;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice {
  background: #fff7ed;
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  border-radius: 6px;
  color: #6b4a17;
}

/* ---------- Booking ---------- */
.booking { background: var(--bg-alt); }
.booking-info .contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--text);
}
.contact-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.contact-card .ic.blue { background: var(--primary-soft); color: var(--primary); }
.contact-card .ic.green { background: var(--secondary-soft); color: var(--secondary); }
.contact-card strong { display:block; }
.contact-card small { color: var(--muted); font-size: .82rem; }

.booking-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.booking-form h3 { margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: .98rem;
  background: #fbfdff;
  transition: border var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,110,189,.15);
}
.form-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}
.form-msg {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .9rem;
  display: none;
}
.form-msg.success { display: block; background: var(--secondary-soft); color: var(--secondary-dark); }
.form-msg.error { display: block; background: #fdecea; color: #b3261e; }

/* ---------- Testimonials ---------- */
.t-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.t-card p { color: var(--text); font-style: italic; }
.t-card footer { margin-top: 12px; }
.t-card footer strong { display: block; }
.t-card footer small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition);
}
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: var(--primary-soft); }
.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.contact-list .ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-list .ic.blue { background: var(--primary-soft); color: var(--primary); }
.contact-list .ic.green { background: var(--secondary-soft); color: var(--secondary); }
.contact-list strong { display: block; }
.contact-list p { margin: 4px 0 0; }

.map-wrap iframe { box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0d2233;
  color: #cfd8e3;
  padding: 60px 0 20px;
  margin-top: 0;
}
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .logo.light .logo-text strong { color: #fff; }
.site-footer .logo.light .logo-text small { color: #9eb3c5; }
.site-footer .logo.light { color: #fff; }
.site-footer .muted { color: #9eb3c5; margin-top: 12px; max-width: 380px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #cfd8e3; }
.footer-links a:hover { color: #fff; }
.copyright {
  border-top: 1px solid #1c3a55;
  padding-top: 20px;
  text-align: center;
  font-size: .88rem;
  color: #9eb3c5;
}
.copyright p { margin: 0; color: inherit; }

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover { transform: translateY(-3px); color: #fff; }
.whatsapp-fab .fab-text { font-size: .9rem; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .grid-2,
  .deep-row,
  .deep-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .deep-row.reverse .deep-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .about-image { height: 380px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
  }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-cta { text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .value-grid { grid-template-columns: 1fr; }
  .booking-info .contact-cards { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 50px 0 60px; }
  .whatsapp-fab .fab-text { display: none; }
  .whatsapp-fab { padding: 14px; }
  .stat-card.s1 { top: 6%; left: 6%; }
  .stat-card.s2 { top: 42%; right: 6%; }
  .stat-card.s3 { bottom: 6%; left: 24%; }
}
