/* ================================================================
   WELLMATIC HEALTHCARE — Homepage (index.php) CSS v4
   ================================================================ */

/* ── Hero Carousel ───────────────────────────────────────────── */
.hero-slide {
  position: relative;
  width: 100%;
  background: transparent;
  line-height: 0;
  height: auto;
}
.hero-slide img.hero-img,
.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  line-height: 0;
}
@media (max-width: 767.98px) {
  .hero-slide img.hero-img,
  .hero-slide img {
    width: 100%;
    height: auto;
  }
}
.hero-slide__content {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,28,63,.78) 0%, rgba(11,28,63,.15) 65%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: clamp(28px,6vw,90px);
  max-width: 760px;
}
.hero-slide__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--r-pill);
  padding: 4px 14px; margin-bottom: 14px; width: fit-content;
}
.hero-slide__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 700; color: #fff; line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero-slide__sub {
  font-size: clamp(.88rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,.82); margin-bottom: 28px;
  max-width: 480px; line-height: 1.65;
}
.hero-slide__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  border-radius: var(--r-pill);
  padding: 13px 32px; font-size: clamp(.88rem, 1vw, .98rem);
  font-weight: 700; font-family: var(--font-body);
  text-decoration: none; width: fit-content;
  transition: background var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
}
.hero-slide__btn:hover {
  background: var(--gold-dark); color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,.5);
}

/* Placeholder hero */
.hero-slide--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
}
.hero-placeholder-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 28px;
}
.hero-placeholder-tag {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--r-pill); padding: 4px 14px; margin-bottom: 16px; display: inline-block;
}
.hero-placeholder-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem); font-weight: 700; color: #fff;
  margin-bottom: 12px; line-height: 1.1;
}
.hero-placeholder-sub {
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,.72); margin-bottom: 28px;
}

/* Carousel Controls */
.carousel-arrow-icon { width: 26px; height: 26px; }
.carousel-control-prev,
.carousel-control-next {
  width: 46px; height: 46px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border-radius: 50%; margin: 0 12px;
  display: flex; align-items: center; justify-content: center;
  opacity: .9; transition: background var(--t-fast); border: 1px solid rgba(255,255,255,.2);
}
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--gold); opacity: 1; }
.carousel-indicators button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none;
  transition: all var(--t-fast);
}
.carousel-indicators button.active { background: var(--gold); transform: scale(1.3); }

/* ── Trust Strip ─────────────────────────────────────────────── */
.trust-badges-strip {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.trust-badge-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .84rem; font-weight: 600; color: var(--text-body); justify-content: center;
}
.trust-badge-item i { font-size: 1.4rem; color: var(--gold); }

/* ── Categories Grid ─────────────────────────────────────────── */
.categories-grid-section { background: var(--white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width:991px) { .categories-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width:767px) { .categories-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:480px) { .categories-grid { grid-template-columns: repeat(2,1fr); } }

/* ── Health Stats Strip ──────────────────────────────────────── */
.health-strip {
  background: var(--navy);
  padding: 48px 0;
  position: relative; overflow: hidden;
}
.health-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(201,168,76,0.08)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.health-strip-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; text-align: center; position: relative; z-index: 1;
}
@media (max-width:767px) { .health-strip-inner { grid-template-columns: repeat(2,1fr); } }

.health-strip-item__icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 8px; }
.health-strip-item__num {
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 700;
  color: #fff; line-height: 1; margin-bottom: 5px;
}
.health-strip-item__label { font-size: .83rem; color: rgba(255,255,255,.65); font-weight: 500; }

/* ── About Section (Home) ────────────────────────────────────── */
.home-about-section { background: var(--bg-section); }

/* ── Rx Info Banner ──────────────────────────────────────────── */
.rx-info-banner {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  color: #fff;
  display: flex; align-items: center; gap: 24px;
  margin: 10px 0;
  border: 1px solid rgba(201,168,76,.2);
  position: relative; overflow: hidden;
}
.rx-info-banner::after {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  pointer-events: none;
}
.rx-info-banner__icon {
  font-size: 3rem; flex-shrink: 0; color: var(--gold); opacity: .9;
}
.rx-info-banner h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; font-family: var(--font-display); }
.rx-info-banner p  { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.65; margin: 0; }
@media (max-width:575px) {
  .rx-info-banner { flex-direction: column; text-align: center; }
}

/* ── Section BG alternation ──────────────────────────────────── */
.section-white  { background: var(--white); }
.section-light  { background: var(--bg-section); }
