/* ═══════════════════════════════════════════
   Genericart Medicine Store — Main Stylesheet
   Domain: dhanorigenericart.co.in
   ═══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a2a3a;
  background: #f8f9fa;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── VARIABLES ── */
:root {
  --blue:  #0066a6;
  --bDark: #004d7a;
  --green: #1db954;
  --gDark: #17a34a;
  --bg-light: #f4f8fc;
  --border: #dde8f0;
  --text-muted: #5a6a7a;
}

/* ── HEADER ── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  border-bottom: 2px solid #e0edf6;
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.hdr-logo { display: flex; align-items: center; gap: 10px; }
.hdr-logo img { height: 36px; }
.hdr-logo span { font-size: 0.78rem; color: #555; line-height: 1.3; }
.hdr-logo strong { display: block; color: var(--blue); font-size: 0.86rem; }
.hdr-right { display: flex; align-items: center; gap: 6px; }
.hdr-nav { display: flex; align-items: center; gap: 14px; margin-right: 12px; }
.hdr-nav a {
  font-size: 0.8rem; font-weight: 600; color: #4a5a6a;
  transition: color 0.2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.hdr-nav a:hover, .hdr-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.hdr-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  padding: 10px 16px; border-radius: 50px;
  font-weight: 700; font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.hdr-btn:hover { background: var(--gDark); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  margin-top: 58px;
  background: linear-gradient(150deg, #004d7a 0%, #0066a6 55%, #1a7a45 100%);
  color: #fff;
  padding: 52px 20px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,185,84,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  margin-bottom: 20px;
  position: relative;
}
.hero h1 {
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 4px;
  position: relative;
}
.hero-sub {
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 14px;
  font-weight: 600;
}
.hero p {
  font-size: 0.97rem;
  opacity: 0.88;
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
}
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 14px 26px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-wa:hover { background: var(--gDark); transform: translateY(-2px); }
.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 26px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-call:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.stats {
  display: flex; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  position: relative;
}
.stat-num { font-size: 1.9rem; font-weight: 800; }
.stat-lbl { font-size: 0.74rem; opacity: 0.72; }

/* ── SECTION COMMON ── */
.sec { padding: 52px 20px; }
.sec-w { max-width: 960px; margin: auto; }
.sec-hd { text-align: center; max-width: 560px; margin: 0 auto 36px; }
.sec-hd h2 {
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  font-weight: 800; color: var(--bDark);
  margin-bottom: 8px;
}
.sec-hd p { color: var(--text-muted); font-size: 0.93rem; }
.bar {
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px; margin: 0 auto 12px;
}

/* ── HOW IT WORKS ── */
.how-bg { background: #fff; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.how-card {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,60,100,0.08); }
.how-icon { font-size: 2rem; margin-bottom: 12px; }
.how-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: var(--bDark); }
.how-card p  { font-size: 0.82rem; color: var(--text-muted); }

/* ── PRICE TABLE ── */
.cmp-bg { background: #e6f2fa; }
.cmp-box {
  max-width: 620px; margin: auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,60,100,0.1);
}
.cmp-head {
  display: grid; grid-template-columns: 1fr 1fr;
  text-align: center; font-weight: 700; font-size: 0.9rem;
}
.ch-g { background: var(--blue); color: #fff; padding: 14px 10px; }
.ch-b { background: #e0e0e0; color: #333; padding: 14px 10px; }
.cmp-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}
.cmp-row:last-of-type { border: none; }
.cmp-row div { padding: 13px 12px; text-align: center; font-size: 0.86rem; }
.cv { font-weight: 700; color: var(--gDark); }
.bv { color: #888; }
.cn { font-size: 0.72rem; color: #999; display: block; margin-top: 2px; }
.cmp-foot {
  background: #e8f8ee; text-align: center;
  padding: 14px; font-weight: 700;
  color: var(--gDark); font-size: 0.88rem;
}

/* ── WHY US ── */
.why-bg { background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.why-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-light);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,60,100,0.07); }
.why-ico { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.why-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.why-card p  { font-size: 0.8rem; color: var(--text-muted); }

/* ── BRANDS ── */
.mfg-bg { background: var(--bg-light); }
.mfg-pills {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
  max-width: 640px; margin: auto;
}
.mfg-pill {
  background: #fff; border: 1px solid #ccd9e5;
  border-radius: 8px; padding: 11px 22px;
  font-weight: 700; font-size: 0.88rem; color: var(--bDark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mfg-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,60,100,0.08); }
.cert-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
  margin-top: 20px;
}
.cert-chip {
  background: #e8f8ee; border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.78rem; font-weight: 700; color: var(--gDark);
}

/* ── FAQ ── */
.faq-bg { background: #fff; }
.faq-list { max-width: 700px; margin: auto; }
.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 700; font-size: 0.9rem; color: var(--bDark);
  -webkit-user-select: none;
  user-select: none;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(0,102,166,0.04); }
.faq-arrow { font-style: normal; transition: transform 0.25s; display: inline-block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-body { max-height: 240px; }
.faq-body p {
  padding: 0 18px 16px;
  font-size: 0.86rem; color: var(--text-muted);
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(150deg, #004d7a 0%, #0066a6 55%, #1a7a45 100%);
  padding: 52px 20px; text-align: center; color: #fff;
}
.cta-band h2 {
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 800; margin-bottom: 10px;
}
.cta-band p { opacity: 0.88; margin-bottom: 24px; font-size: 0.95rem; }
.cta-content { max-width: 520px; margin: auto; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 15px 30px; border-radius: 50px;
  font-weight: 700; font-size: 0.97rem;
  transition: background 0.2s, transform 0.15s;
}
.cta-wa:hover { background: var(--gDark); transform: translateY(-2px); }
.cta-ph {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 15px 30px; border-radius: 50px;
  font-weight: 700; font-size: 0.97rem;
  transition: background 0.2s, transform 0.15s;
}
.cta-ph:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ── FOOTER ── */
.footer {
  background: #0b1a28; color: rgba(255,255,255,0.6);
  padding: 40px 20px 20px;
}
.ftr-grid {
  max-width: 960px; margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}
.footer h4 { color: #fff; font-size: 0.86rem; margin-bottom: 10px; font-weight: 700; }
.footer p, .footer a { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer a:hover { color: var(--green); }
.ftr-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.ftr-row span { flex-shrink: 0; font-size: 0.9rem; margin-top: 1px; }
.ftr-links { display: flex; flex-direction: column; gap: 4px; }
.ftr-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.ftr-links a:hover { color: var(--green); }
.ftr-bottom {
  max-width: 960px; margin: 24px auto 0;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 0.74rem; color: rgba(255,255,255,0.3);
}

/* ── FLOAT WA BUTTON ── */
.wa-fab {
  position: fixed; bottom: 18px; right: 18px; z-index: 200;
  width: 54px; height: 54px;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(29,185,84,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(29,185,84,0.6); }

/* ── CONTACT PAGE ── */
.contact-hero { padding: 56px 20px 48px; }
.contact-hero h1 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  margin-bottom: 10px;
}
.contact-hero p { font-size: 1rem; }

.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}
.qc {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,60,100,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.qc:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,60,100,0.1); }
.qc-icon { font-size: 2.2rem; margin-bottom: 12px; }
.qc h3 { font-size: 0.95rem; font-weight: 700; color: var(--bDark); margin-bottom: 4px; }
.qc p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.qc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.85rem;
  padding: 10px 22px; border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
}
.qc-link:hover { transform: translateY(-1px); }
.qc-wa { background: var(--green); color: #fff; }
.qc-wa:hover { background: var(--gDark); }
.qc-call { background: var(--blue); color: #fff; }
.qc-call:hover { background: var(--bDark); }
.qc-dir { background: #f0f0f0; color: #333; }
.qc-dir:hover { background: #e0e0e0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,60,100,0.06);
}
.contact-form-box h2 {
  font-size: 1.25rem; font-weight: 800;
  color: var(--bDark); margin-bottom: 6px;
}
.contact-form-box > p {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: #3a4a5a; margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d0dce6;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1a2a3a;
  background: #fafcfe;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,166,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue), var(--bDark));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,102,166,0.3);
}

.contact-map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,60,100,0.06);
  display: flex;
  flex-direction: column;
}
.contact-map-box iframe {
  width: 100%; flex: 1; min-height: 280px; border: none;
}
.map-info {
  background: #fff;
  padding: 20px 22px;
}
.map-info h3 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--bDark); margin-bottom: 8px;
}
.map-info-row {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 6px;
  font-size: 0.82rem; color: var(--text-muted);
}
.map-info-row span { flex-shrink: 0; }

/* ── 404 PAGE ── */
.page-404 {
  margin-top: 58px;
  min-height: calc(100vh - 58px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.page-404 h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.page-404 h2 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--bDark); margin-bottom: 10px;
}
.page-404 p {
  color: var(--text-muted); font-size: 0.95rem;
  max-width: 400px; margin: 0 auto 28px;
}
.btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-home:hover { background: var(--bDark); transform: translateY(-2px); }

/* ── MOBILE TWEAKS ── */
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hdr-logo span { display: none; }
  .hdr-nav { display: none; }
  .hdr-btn { padding: 9px 13px; font-size: 0.8rem; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: stretch; }
  .btn-wa, .btn-call, .cta-wa, .cta-ph { justify-content: center; }
  .stats { gap: 18px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .quick-cards { grid-template-columns: 1fr; }
}
