:root {
  --primary: #0d2b45;
  --green: #2e7d32;
  --green-light: #66bb6a;
  --text: #6b7280;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.navbar-brand img {
  height: 70px;
}

.nav-link {
  color: var(--primary);
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  background: var(--green);
  border-radius: 999px;
  bottom: 4px;
  content: "";
  height: 2px;
  left: 0.5rem;
  position: absolute;
  right: 0.5rem;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.nav-link.active {
  font-weight: 700;
  pointer-events: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  transform: scaleX(0);
}

.btn-contact {
  padding: 12px 24px;
}

.hero-section {
  padding: 80px 0;
  background:
    linear-gradient(
      90deg,
      rgba(248, 250, 252, 0.96) 0%,
      rgba(248, 250, 252, 0.78) 42%,
      rgba(248, 250, 252, 0.08) 72%
    ),
    #f8fafc url("../img/hero-pharmacienne.png") no-repeat center center;
  background-size: cover;
}

.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}

.hero-section p {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 30px;
}

.hero-btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 14px;
  padding: 16px 28px;
}

.hero-btn i {
  font-size: 1.1rem;
  line-height: 1;
}

.hero-btn-primary {
  border-color: var(--green);
  background: var(--green);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
  background: #256b29;
  border-color: #256b29;
}

.hero-btn-outline {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.hero-btn-outline:hover,
.hero-btn-outline:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.hero-image {
  border-radius: 20px;
}

.page-hero {
  background: linear-gradient(90deg, #f4f8fb 0%, #ffffff 68%);
  padding: 72px 0;
}

.page-hero h1 {
  color: var(--primary);
  font-size: 3rem;
  font-weight: 800;
  margin: 18px 0;
  max-width: 760px;
}

.page-hero p {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 650px;
}

.section-label {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-section {
  background: var(--primary);
  color: white;
  padding: 50px 0;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
}

.stat-item i {
  color: var(--green-light);
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--green);
  font-weight: 700;
}

.section-title h2 {
  color: var(--primary);
  margin: 25px 0 25px 0;
  font-weight: 700;
  font-size: 2.55rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.service-icon {
  align-items: center;
  background: rgba(102, 187, 106, 0.18);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  height: 92px;
  justify-content: center;
  margin-bottom: 24px;
  width: 92px;
}

.service-icon i {
  font-size: 2.45rem;
  line-height: 1;
}

.service-card h3 {
  color: var(--primary);
}

.service-card a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.about-section {
  background: linear-gradient(90deg, #f4f8fb 0%, #ffffff 62%);
  padding: 92px 0;
}

.about-section h2 {
  color: var(--primary);
  font-size: 2.55rem;
  font-weight: 700;
  margin-bottom: 30px;
  max-width: 560px;
}

.about-logo {
  max-width: 440px;
  width: 100%;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}

.check-list li {
  align-items: center;
  color: #333;
  display: flex;
  font-size: 1.05rem;
  gap: 12px;
  margin-bottom: 13px;
}

.check-list li::before {
  align-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  content: "\F26E";
  display: inline-flex;
  flex: 0 0 22px;
  font-family: "bootstrap-icons";
  font-size: 0.78rem;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.about-btn {
  align-items: center;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(46, 125, 50, 0.2);
  display: inline-flex;
  font-weight: 700;
  gap: 14px;
  padding: 15px 28px;
}

.about-btn i {
  font-size: 1.1rem;
  line-height: 1;
}

.partners-section {
  padding: 90px 0;
}

.partners-slider-wrap {
  margin-top: 48px;
  padding: 0 52px;
  position: relative;
}

.partners-slider {
  width: 100%;
}

.partners-slider .swiper-slide {
  align-items: center;
  display: flex;
  height: 78px;
  justify-content: center;
}

.partner-logo {
  display: block;
  max-height: 58px;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.95;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  width: 100%;
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.partners-nav {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--primary);
  display: inline-flex;
  font-size: 1.35rem;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  z-index: 2;
}

.partners-nav:hover {
  color: var(--green);
}

.partners-prev {
  left: 0;
}

.partners-next {
  right: 0;
}

.offices-section {
  padding: 80px 0 96px;
}

.office-card {
  background: white;
  border: 1px solid rgba(13, 43, 69, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 43, 69, 0.08);
  height: 100%;
  overflow: hidden;
}

.office-card-content {
  padding: 34px;
}

.office-badge {
  align-items: center;
  background: rgba(102, 187, 106, 0.18);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  height: 74px;
  justify-content: center;
  margin-bottom: 22px;
  width: 74px;
}

.office-badge i {
  font-size: 2rem;
  line-height: 1;
}

.office-card h2 {
  color: var(--primary);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.office-address,
.office-phone {
  align-items: flex-start;
  color: #333;
  display: flex;
  gap: 12px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.office-address i,
.office-phone i {
  color: var(--green);
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.office-map {
  height: 320px;
}

.office-map iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

footer {
  background: var(--primary);
  color: white;
  padding: 70px 0 30px;
}

footer h5 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.footer-logo {
  height: 70px;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 30px 30px 0;
}

footer p {
  color: rgba(255, 255, 255, 0.86);
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.footer-socials a {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-size: 1rem;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  width: 38px;
}

.footer-socials a:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-office {
  margin-bottom: 22px;
}

.footer-office strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer-office p {
  line-height: 1.55;
  margin-bottom: 0;
}

.footer-contact-item {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--green-light);
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .hero-section {
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .page-hero {
    text-align: center;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .page-hero p {
    margin: 0 auto;
  }

  .hero-image {
    margin-top: 40px;
  }

  .about-section {
    text-align: center;
  }

  .partners-slider-wrap {
    padding: 0 36px;
  }
}
