/* ========================================================
   Fertizo Pharma — Stylesheet
   ======================================================== */

:root {
  --navy: #1b2559;
  --navy-light: #2a3570;
  --navy-dark: #12183f;
  --red: #ec038d;
  --blue: #3b6fd6;
  --pink: #d6196e;
  --bg-light: #f7f5fa;
  --text-dark: #1b2559;
  --text-gray: #6b7280;
  --white: #ffffff;
  --border-light: #ece9f3;
  --shadow: 0 10px 30px rgba(27, 37, 89, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  box-shadow: 0 10px 20px rgba(27, 37, 89, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-accent {
  background: var(--red);
  color: var(--white);
  width: 100%;
  border: none;
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-accent:hover {
  box-shadow: 0 10px 20px rgba(232, 84, 45, 0.35);
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(27, 37, 89, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 8px;
}

.main-nav > ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  /*! padding: 6px 0; */
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--red);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

/* Dropdown nav */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.has-dropdown .caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--bg-light);
}

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(180deg, #f4f2fa 0%, #f7f5fa 100%);
  padding: 70px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e6ecfb;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}

.hero h1 .highlight {
  color: var(--red);
}

.hero p {
  color: var(--text-gray);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ---------------- Welcome / About ---------------- */

.welcome {
  padding: 90px 0;
}

.welcome .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.welcome-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.welcome-content h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 18px;
}

.welcome-content > p {
  color: var(--text-gray);
  margin-bottom: 34px;
  max-width: 540px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(27, 37, 89, 0.05);
}

.stat-box:nth-child(2) {
  border-left-color: var(--blue);
}

.stat-box:nth-child(3) {
  border-left-color: var(--navy);
}

.stat-box:nth-child(4) {
  border-left-color: var(--red);
}

.stat-box .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
}

.stat-box .stat-label {
  color: var(--text-gray);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* ---------------- Products ---------------- */

.products {
  padding: 90px 0;
  background: var(--white);
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--text-gray);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-card .product-img {
  height: 200px;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .product-body {
  padding: 22px;
}

.product-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-card p {
  color: var(--text-gray);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.learn-more {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
}

.learn-more::after {
  content: " \2192";
}

.product-card-hidden {
  display: none;
}

.products-more-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ---------------- Why Trust Us ---------------- */

.trust {
  background: var(--navy-light);
  color: var(--white);
  padding: 80px 0;
}

.trust .section-heading h2 {
  color: var(--white);
}

.trust .section-heading p {
  color: #c4c9e0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 14px;
  text-align: center;
}

.trust-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.9rem;
  color: var(--white);
  background: #5b67a4;
}

.trust-item span {
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------------- Testimonials ---------------- */

.testimonials {
  padding: 90px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 6px 18px rgba(27, 37, 89, 0.04);
}

.stars {
  color: var(--red);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-card p.quote {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ---------------- Contact ---------------- */

.contact {
  padding: 90px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 50px 40px;
}

.contact-info h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.contact-info > p {
  color: #c4c9e0;
  margin-bottom: 40px;
  max-width: 320px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.contact-detail .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-detail span {
  color: #c4c9e0;
  font-size: 0.88rem;
}

.contact-form {
  background: var(--white);
  padding: 50px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--border-light);
  background: #f7f5fa;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--blue);
  min-height: 20px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-dark);
  color: #c4c9e0;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--pink);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a:hover {
  color: var(--white);
}

.newsletter-form {
  display: flex;
  margin-top: 6px;
}

.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 0.88rem;
}

.newsletter-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 992px) {
  .hero .container,
  .welcome .container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }

  .dropdown-open .dropdown-menu {
    display: block;
  }

  .has-dropdown .caret {
    pointer-events: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   Product Detail Page
   ======================================================== */

.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.breadcrumb-bar a {
  color: var(--text-gray);
}

.breadcrumb-bar a:hover {
  color: var(--red);
}

.breadcrumb-bar span {
  margin: 0 6px;
}

.breadcrumb-bar #breadcrumbCurrent {
  color: var(--navy);
  font-weight: 600;
}

.product-hero {
  background: linear-gradient(180deg, #f4f2fa 0%, #f7f5fa 100%);
  padding: 60px 0;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.product-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-hero-content h1 {
  font-size: 2.1rem;
  color: var(--navy);
  margin: 14px 0 4px;
}

.product-subtitle {
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}

.product-short-desc {
  color: var(--text-gray);
  margin-bottom: 24px;
  max-width: 520px;
}

.product-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.meta-chip {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 18px;
  min-width: 140px;
}

.meta-chip .meta-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.meta-chip .meta-value {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.product-section {
  padding: 64px 0;
}

.product-section.alt-bg {
  background: var(--white);
}

.section-heading-left {
  text-align: left;
  margin-bottom: 28px;
}

.section-heading-left h2 {
  font-size: 1.6rem;
  color: var(--navy);
}

.product-description {
  color: var(--text-gray);
  max-width: 780px;
  line-height: 1.8;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.5;
}

.benefits-list .check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(27, 37, 89, 0.05);
}

.data-table td,
.data-table th {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.data-table td:first-child {
  color: var(--text-dark);
  font-weight: 500;
}

.data-table td:last-child {
  color: var(--red);
  font-weight: 700;
  text-align: right;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.wide-table td {
  text-align: left;
  color: var(--text-gray);
  font-weight: 400;
}

.table-scroll {
  overflow-x: auto;
}

.dummy-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff4ed;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  color: var(--text-gray);
  font-size: 0.88rem;
  max-width: 780px;
}

.product-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.product-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.product-cta p {
  color: #c4c9e0;
  margin-bottom: 26px;
}

@media (max-width: 992px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }
}
