/* ─────────────────────────────────────────────
   SNEHA HERBALS — Custom Stylesheet
   ───────────────────────────────────────────── */

:root {
  --green:      #1b7a30;
  --green-mid:  #27923e;
  --green-dark: #0d4a1a;
  --green-light:#e6f4ea;
  --green-pale: #f2faf4;
  --gold:       #f5a623;
  --gold-light: #fff8e7;
  --red-brand:  #c62828;
  --orange:     #e65100;
  --text-dark:  #111d14;
  --text-mid:   #3d5a44;
  --text-light: #6b876f;
  --white:      #ffffff;
  --off-white:  #f4faf6;
  --shadow-sm:  0 2px 14px rgba(27,122,48,.12);
  --shadow-md:  0 8px 32px rgba(27,122,48,.18);
  --shadow-gold:0 4px 20px rgba(245,166,35,.28);
  --radius:     14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

/* ── TOP BAR ─────────────────────────────── */
.top-bar {
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  font-size: .8rem;
  padding: .45rem 0;
  letter-spacing: .02em;
  border-bottom: 2px solid var(--gold);
}

/* ── NAVBAR ──────────────────────────────── */
#mainNav {
  background: #fff;
  border-bottom: 3px solid var(--green);
  padding: .55rem 0;
  transition: box-shadow .3s;
}
#mainNav.scrolled { box-shadow: 0 4px 24px rgba(27,122,48,.18); }

.nav-logo { height: 54px; object-fit: contain; }

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--green); background: var(--green-light); }

.btn-primary-custom {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .58rem 1.7rem;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 14px rgba(27,122,48,.30);
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,122,48,.42);
  opacity: .93;
}

/* ── WHATSAPP & CALL BUTTONS ─────────────── */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4e);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.50);
}
.btn-call {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(27,122,48,.30);
}
.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,122,48,.45);
}

/* ── HERO ────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #072b10 0%, #0d4a1a 30%, #1b7a30 65%, #27923e 100%);
  padding: 90px 0 110px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(245,166,35,.10) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.08);
}

.badge-pill {
  display: inline-block;
  background: rgba(245,166,35,.22);
  color: #ffd87a;
  border: 1px solid rgba(245,166,35,.45);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: .75rem 0 1rem;
}
.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
}

.hero-stats { gap: 1.5rem; }
.stat-box {
  display: flex;
  flex-direction: column;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.35);
  border-radius: 12px;
  padding: .7rem 1.2rem;
  backdrop-filter: blur(4px);
  min-width: 90px;
  text-align: center;
}
.stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  margin-top: .2rem;
  letter-spacing: .03em;
}

.hero-product-grid {
  position: relative;
  height: 440px;
}
.hero-prod {
  position: absolute;
  border-radius: 16px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.25));
  animation: float 5s ease-in-out infinite;
}
.hero-prod-1 { width: 220px; bottom: 30px; left: 30px; animation-delay: 0s; }
.hero-prod-2 { width: 200px; top: 30px; right: 20px; animation-delay: 1.2s; }
.hero-prod-3 { width: 170px; top: 50%; right: 50%; transform: translate(50%,-50%); animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.hero-prod-3 {
  animation-name: float3;
}
@keyframes float3 {
  0%, 100% { transform: translate(50%,-50%) translateY(0); }
  50%       { transform: translate(50%,-50%) translateY(-14px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; }
.min-vh-70 { min-height: 70vh; }

/* ── SECTION HEADERS ─────────────────────── */
.section-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--green-light), var(--gold-light));
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .32rem 1rem;
  border-radius: 50px;
  margin-bottom: .5rem;
  border: 1px solid rgba(27,122,48,.18);
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}
.section-sub {
  color: var(--text-light);
  font-size: .95rem;
  margin-top: .5rem;
}

/* ── CATEGORY NAV ────────────────────────── */
.category-section { background: var(--green-pale); border-top: 3px solid var(--green-light); }

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  color: var(--text-mid);
  border-radius: 50px;
  padding: .55rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s;
  white-space: nowrap;
}
.cat-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}
.cat-btn.active {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-color: var(--green);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* ── PRODUCT CARDS ───────────────────────── */
.product-item {
  transition: opacity .3s, transform .3s;
}
.product-item.hidden {
  display: none;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: visible;
  position: relative;
  transition: transform .28s, box-shadow .28s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .75rem;
  border-radius: 50px;
  z-index: 2;
  letter-spacing: .04em;
}
.product-badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red-brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 50px;
  z-index: 2;
}
.product-badge-bulk {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e65100;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 50px;
  z-index: 2;
}

.brand-aastha    { background: #e8f5e9; color: #2e7d32; }
.brand-nature    { background: #e3f2fd; color: #1565c0; }
.brand-safe      { background: #e1f5fe; color: #0277bd; }
.brand-supershine{ background: #fff3e0; color: #e65100; }

.product-img-wrap {
  background: linear-gradient(135deg, #eef7f0 0%, #daf0e0 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
  border-bottom: 2px solid var(--green-light);
}
.product-img {
  max-height: 170px;
  width: 100%;
  object-fit: contain;
  transition: transform .3s;
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-body {
  padding: 1.1rem 1.1rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .25rem;
}
.product-variant {
  font-size: .8rem;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.product-desc {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: .75rem;
  flex: 1;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.product-features span {
  font-size: .75rem;
  color: var(--green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ── WHY US ──────────────────────────────── */
.why-section {
  background: linear-gradient(180deg, #fff 0%, var(--green-pale) 100%);
  border-top: 3px solid var(--green-light);
  border-bottom: 3px solid var(--green-light);
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
  border: 1.5px solid var(--green-light);
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.why-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
  color: #fff;
  font-size: 1.55rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgba(27,122,48,.30);
}
.why-card h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  margin-bottom: .5rem;
}
.why-card p { font-size: .88rem; color: var(--text-mid); margin: 0; }

/* ── ABOUT ───────────────────────────────── */
.about-section { background: var(--green-pale); }

.about-img-grid {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
}
.about-img-main {
  width: 68%;
  height: 340px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.about-img-thumb {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 4px solid var(--off-white);
}
.about-badge-float {
  position: absolute;
  bottom: -10px;
  right: 24px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 12px;
  padding: .7rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
  border: 2px solid rgba(245,166,35,.45);
}
.about-badge-float i { font-size: 1.2rem; color: var(--gold); }

.about-text {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: .9rem;
}
.about-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1.5px solid rgba(27,122,48,.22);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 700;
}

/* ── CONTACT ─────────────────────────────── */
.contact-section {
  background: linear-gradient(180deg, #fff 0%, var(--green-pale) 100%);
  border-top: 3px solid var(--green-light);
}
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--green-light);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green); }
.contact-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  font-size: 1.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgba(27,122,48,.28);
}
.contact-info-card h5 { font-family: 'Nunito', sans-serif; font-weight: 800; margin-bottom: .4rem; }
.contact-info-card p { color: var(--text-mid); font-size: .9rem; margin-bottom: .6rem; }
.contact-link {
  color: var(--green);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.contact-link:hover { text-decoration: underline; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--green-light);
  padding: 2.5rem;
}
.contact-form-card h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--text-dark);
}
.form-control {
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  font-size: .9rem;
  padding: .65rem 1rem;
  color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
  outline: none;
}
.form-label { font-size: .85rem; font-weight: 600; color: var(--text-mid); }

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, #0a2110 0%, #041009 100%);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
  border-top: 4px solid var(--gold);
}
.footer-logo { height: 60px; object-fit: contain; }
.footer-about { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.65); }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.footer-social a:hover { background: var(--gold); color: #041009 !important; transform: translateY(-2px); }

.footer-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .7rem;
}
.footer-contact-list li i { color: var(--gold); margin-top: .15rem; flex-shrink: 0; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2.5rem 0 1.5rem; }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.45); padding-bottom: 1.5rem; }

/* ── BACK TO TOP ─────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--green-mid); }

/* ── WHATSAPP FLOAT CHAT ─────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}
.wa-float-btn {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, #25d366, #128c4e);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: .65rem 1.25rem .65rem .85rem;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(37,211,102,.60);
  color: #fff;
  text-decoration: none;
}
.wa-float-btn i { font-size: 1.3rem; }
.wa-float-label {
  font-size: .72rem;
  color: rgba(255,255,255,.8);
  background: rgba(18,140,78,.85);
  border-radius: 50px;
  padding: .18rem .75rem;
  margin-left: .4rem;
  backdrop-filter: blur(4px);
  display: none;
}
@media (max-width: 575px) {
  .wa-float-btn span.wa-text { display: none; }
  .wa-float-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
}

/* ── MODAL ───────────────────────────────── */
.modal-product-img {
  max-height: 280px;
  width: 100%;
  object-fit: contain;
}
.modal-content { border-radius: var(--radius); border: none; }

/* ── RESPONSIVE TWEAKS ───────────────────── */
@media (max-width: 991px) {
  .hero-section { padding: 70px 0 100px; min-height: unset; }
  .about-img-grid { height: 300px; }
  .about-img-main { height: 280px; }
  .about-img-thumb { height: 160px; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 2rem; }
  .stat-num   { font-size: 1.4rem; }
  .contact-form-card { padding: 1.5rem; }
  .category-nav { gap: .4rem; }
  .cat-btn { font-size: .78rem; padding: .45rem .9rem; }
  .about-img-grid { height: 220px; }
  .about-img-main { height: 200px; }
  .about-img-thumb { height: 120px; }
}
