/* ============================================================
   Dr Pharmacy — Common CSS (Navbar + Footer + Shared Utils)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --green: #2DB83D;
  --blue: #1A4FAB;
  --navy: #0D2B6B;
  --light-green: #e8f9eb;
  --light-blue: #e8eef9;
  --white: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --shadow: 0 2px 20px rgba(13, 43, 107, 0.10);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
#mainNavbar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0.7rem 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: padding 0.3s, box-shadow 0.3s;
}

#mainNavbar.scrolled {
  padding: 0.45rem 0;
  box-shadow: 0 4px 30px rgba(13, 43, 107, 0.16);
}

/* Brand */
.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.brand-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  line-height: 1;
}

.brand-text .brand-green {
  color: var(--green);
}

/* Nav links */
.navbar-nav .nav-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--navy) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: all 0.25s;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: var(--light-green);
  color: var(--green) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

/* Call button */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue) !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1.5px solid var(--light-blue);
  transition: all 0.25s;
}

.btn-call:hover {
  background: var(--light-blue);
  border-color: var(--blue);
}

/* CTA button */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--green), #1e9e2c);
  color: white !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 700 !important;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(45, 184, 61, 0.35);
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, var(--blue), var(--navy)) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 79, 171, 0.35);
  color: white !important;
}

/* Toggler */
.navbar-toggler:focus { box-shadow: none; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
#mainFooter {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 75px 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green), #1e9e2c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-brand-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  background: linear-gradient(135deg, #7ceba0, #7eb4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

/* Socials */
.footer-socials { display: flex; gap: 0.5rem; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s;
}

.social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(45, 184, 61, 0.4);
}

/* Footer headings */
.footer-heading {
  color: white;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 2px;
}

/* Footer links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.22s;
}

.footer-links a i {
  font-size: 0.65rem;
  color: var(--green);
  transition: transform 0.22s;
}

.footer-links a:hover {
  color: var(--green);
  padding-left: 4px;
}

.footer-links a:hover i { transform: translateX(3px); }

/* Footer contact */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.fc-icon {
  width: 34px;
  height: 34px;
  background: rgba(45, 184, 61, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.footer-contact-list a:hover { color: var(--green); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
  margin-top: 3.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ══════════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.55);
  animation: wa-bounce 2.5s ease-in-out infinite;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  animation: none;
  color: white !important;
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ══════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(13, 43, 107, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover { background: linear-gradient(135deg, var(--green), #1e9e2c); }

/* ══════════════════════════════════════════════
   PAGE HERO (shared across inner pages)
══════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, #0e6624 100%);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(45, 184, 61, 0.10);
  border-radius: 50%;
  right: -80px;
  top: -100px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  left: -60px;
  bottom: -80px;
  pointer-events: none;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-top: 0.8rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb { position: relative; z-index: 2; }

.breadcrumb-item { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }
.breadcrumb-item a { color: var(--green); text-decoration: none; transition: color 0.2s; }
.breadcrumb-item a:hover { color: #7ceba0; }
.breadcrumb-item.active { color: white; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.4); }

/* ══════════════════════════════════════════════
   SHARED SECTION UTILITIES
══════════════════════════════════════════════ */
.section-tag {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: 560px;
}

/* ══════════════════════════════════════════════
   SHARED BUTTONS
══════════════════════════════════════════════ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--green), #1e9e2c);
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(45, 184, 61, 0.38);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45, 184, 61, 0.48);
  color: white;
}

.btn-blue-custom {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(26, 79, 171, 0.35);
}

.btn-blue-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 79, 171, 0.45);
  color: white;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
}

.btn-white-solid {
  background: white;
  color: var(--navy);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.btn-white-solid:hover {
  transform: translateY(-3px);
  color: var(--green);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 991px) {
  .navbar-collapse { padding: 1rem 0; }
  .navbar-nav { gap: 0 !important; }
  .navbar-nav .nav-link { padding: 0.6rem 0.8rem !important; }
  .navbar-nav .nav-link.active::after { display: none; }
}

@media (max-width: 767px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.35rem; }
  .scroll-top { bottom: 82px; right: 20px; }
  #mainFooter { padding-top: 50px; }
}

/* ══ NAV FEE BADGE ══ */
.nav-fee-badge {
  background: linear-gradient(135deg, #fff3e0, #ffe8cc);
  color: #b45309;
  border: 1.5px solid #fcd34d;
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ══ FOOTER FEE BOX ══ */
.footer-fee-box {
  background: linear-gradient(135deg, rgba(45,184,61,0.15), rgba(26,79,171,0.15));
  border: 1px solid rgba(45,184,61,0.3);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-fee-box i {
  font-size: 1.4rem;
  color: var(--green);
}
.ff-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ff-price {
  color: #7ceba0;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
