/* Season Pharmacia – Design tokens & shared utilities */

:root {
  --color-primary: #00BED3;
  --color-secondary: #00D700;
  --color-primary-dark: #0495A5;
  --color-text: #333333;
  --color-text-muted: #6E6E6E;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --color-card-bg: #f0faf8;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-header: 0 2px 10px rgba(0, 91, 124, 0.08);

  --font-family: 'Poppins', sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* ── Common border radius ── */
.rounded-theme-sm { border-radius: var(--radius-sm); }
.rounded-theme-md { border-radius: var(--radius-md); }
.rounded-theme-lg { border-radius: var(--radius-lg); }
.rounded-theme-xl { border-radius: var(--radius-xl); }
.rounded-theme-full { border-radius: var(--radius-full); }

/* ── Common buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  border-radius: var(--radius-md);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

.btn-primary-lg {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-primary-lg:hover {
  background-color: var(--color-primary-dark);
}

.btn-whatsapp {
  background-color: #fff;
  color: var(--color-primary-dark);
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background-color: #fff;
}

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.border-primary { border-color: var(--color-primary); }
.shadow-theme { box-shadow: var(--shadow-md); }

.text-gradient {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Links ── */
.link-primary {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.link-primary:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
.page-container {
  max-width: 1280px;
  margin: 0 auto ;
  padding-left: 1rem;
  padding-right: 1rem;
}
/* ── Section headings ── */
.section-label {
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-title {
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.25;
}

/* ── Cards ── */
.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card__image {
   
  display: flex;
  align-items: center;
  justify-content: center;
 
}

.product-card__image img {
  border-radius: 20px 20px 0 0;
  max-height: 280px;
  width: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card {
  border: 2px solid rgba(0, 215, 0, 0.35);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f0faf8 0%, #e8f6fc 100%);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card {
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* ── Hero ── */
.hero-section {
  background-image : url('../images/hereo-bg.webp');
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-medicines.svg') center bottom / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 133, 178, 0.15) 0%, rgba(9, 133, 178, 0.55) 100%);
  pointer-events: none;
}

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.5)),
    url('../images/CTA-bg.webp') center / cover no-repeat;
}

.cta-card {
  text-align: center;
}

.cta-card .section-title {
  color: #ffffff;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-actions .btn {
  min-width: 180px;
  justify-content: center;
  padding: 15px;
}

.cta-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.cta-phone-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-phone-btn:hover {
  background: #ffffff;
  color: var(--color-primary);
}

/* ── Contact section ── */
 
/* ── Product card image area ── */
.product-img-wrap {
 width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-img-wrap img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.why-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.why-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 255, 247, 0.9));
  border: 1px solid rgba(0, 215, 0, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.why-card__icon {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(0, 133, 178, 0.12), rgba(0, 215, 0, 0.08));
  border: 1px solid rgba(0, 133, 178, 0.16);
}

.why-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: 1rem;
}

.why-card__text {
  margin-top: 0.85rem;
  color: #475569;
  line-height: 1.8;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 45, 59, 0.55), rgba(7, 45, 59, 0.55)),
    url('../images/contact-cta-bg.webp') center/cover no-repeat;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 133, 178, 0.22);
}

.contact-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 215, 0, 0.22);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.contact-panel .section-title {
  color: var(--color-primary-dark);
}

.contact-panel__meta {
  color: var(--color-text-muted);
}

.contact-panel__address {
  margin-top: 1rem;
  color: var(--color-primary);
}

.contact-panel__actions {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-panel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 215, 0, 0.3);
  background: #f8fffb;
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.contact-panel__button:hover {
  background: #e8fff0;
  transform: translateY(-1px);
}

/* ── About image ── */
.about-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  min-height: 280px;
  box-shadow: var(--shadow-md);
}

/* ── Header ── */
.site-header {
  box-shadow: var(--shadow-header);
}

.nav-link {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-primary);
  border-radius: 8px;
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.mobile-nav-toggle:hover {
  background-color: rgba(9, 133, 178, 0.08);
}

.mobile-nav {
  border-top: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
  background-color: #fff;
}

.mobile-nav.is-open {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .mobile-nav,
  .mobile-nav-toggle {
    display: none !important;
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: color var(--transition);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary);
}

/* ── Footer ── */
.site-footer {
  background: #006e7a;
  background: linear-gradient(179deg, rgba(0, 110, 122, 1) 0%, rgba(10, 182, 201, 1) 100%);
}

.footer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

 
.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition), opacity var(--transition);
}

.footer-link:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  transition: opacity var(--transition), transform var(--transition);
}

.footer-icon-link:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition), transform var(--transition);
  width: 28px;
  height: 28px;
}

.footer-social-icon:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
}

/* ── Mobile menu ── */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 320px;
}

/* ── WhatsApp icon color ── */
.whatsapp-icon {
  color: #25D366;
}

/* Back button for product pages */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color var(--transition), transform var(--transition);
}

.back-btn svg {
  display: block;
}

.back-btn:focus {
  outline: 2px solid rgba(9,133,178,0.12);
  outline-offset: 2px;
}

.back-btn:hover {
  color: var(--color-primary-dark);
  transform: translateX(-2px);
}

/* Compact mobile layout — desktop and tablet styles are unchanged. */
@media (max-width: 639px) {
  /* Keep the vertical rhythm compact between site sections. */
  main .py-16 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  main .py-12 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  main .py-10 {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  main .mt-20 {
    margin-top: 2.5rem !important;
  }

  main .mt-16 {
    margin-top: 2.5rem !important;
  }

  main .mb-16 {
    margin-bottom: 2.5rem !important;
  }

  main .mb-12,
  main .mt-12 {
    margin-bottom: 2rem !important;
  }

  main .mt-12 {
    margin-top: 2rem !important;
  }

  /* Reduce heading and paragraph sizes without affecting desktop typography. */
  main h1.text-4xl,
  main .text-4xl {
    font-size: 2rem !important;
  }

  main h2,
  main .text-3xl {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  main h3,
  main .text-xl {
    font-size: 1.125rem !important;
    line-height: 1.35 !important;
  }

  main .text-lg {
    font-size: 1rem !important;
  }

  main .text-base {
    font-size: 0.9375rem !important;
  }

  main p {
    line-height: 1.6;
  }

  /* Tighten repeated text, card, and image groups. */
  main .space-y-8 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.25rem !important;
  }

  main .space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem !important;
  }

  main .space-y-4 > :not([hidden]) ~ :not([hidden]),
  main .space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem !important;
  }

  .product-card__body,
  .why-card {
    padding: 1.25rem;
  }

  .product-card__body {
    gap: 0.5rem;
  }

  .why-card__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .why-card__title {
    margin-top: 0.75rem;
  }

  .why-card__text {
    margin-top: 0.5rem;
    line-height: 1.6;
  }

  .about-img {
    min-height: 220px;
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .contact-panel__actions {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }

  .btn-primary-lg,
  .btn-whatsapp,
  .cta-actions .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }
}
