/* Eco-Health Brand Overrides */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

.theme-3.eco-health {
  --primary: #003291;
  --primary-100: #0032911A;
  --primary-hover: #002570;
  --primary-800: #003291;
  --secondary: #038C36;
  --secondary-hover: #027A2F;
  --secondary-100: #038C361A;
  --success: #038C36;
  --primary-gradient: linear-gradient(180deg, #002570 0%, #003291 100%);
  --radial-gradient: radial-gradient(50% 50% at 50% 50%, #0097E6 0%, #003291 100%);
}

.eco-health {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

.eco-health h1,
.eco-health h2,
.eco-health h3,
.eco-health h4,
.eco-health h5,
.eco-health h6,
.eco-health .section-title,
.eco-health .custom-title {
  font-family: 'Poppins', sans-serif;
}

.eco-health .text-eco-green {
  color: #038C36 !important;
}

.eco-health .text-eco-blue {
  color: #0097E6 !important;
}

.eco-health .navbar-brand.logo img,
.eco-health .menu-logo img.logo,
.eco-health .navbar-brand.logo-white img,
.eco-health .menu-logo img.logo-white {
  max-height: 52px;
  width: auto;
  border-radius: 12px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* Contact Section */
.eco-contact-section .contact-info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.eco-contact-section .contact-info-card:hover {
  box-shadow: 0 8px 24px rgba(0, 50, 145, 0.08);
}

.eco-contact-section .contact-info-card .office-badge {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.eco-contact-section .contact-info-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.eco-contact-section .contact-info-card p {
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.7;
}

.eco-contact-section .contact-info-card a {
  color: var(--primary);
  text-decoration: none;
}

.eco-contact-section .contact-info-card a:hover {
  color: #0097E6;
}

.eco-contact-section .map-embed {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--border-color);
}

.eco-contact-section .map-embed iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

.eco-contact-form .form-label {
  font-weight: 500;
  color: #1F2937;
}

.eco-contact-form select.form-control {
  appearance: auto;
}

/* Service sub-list */
.service-item-three .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.service-item-three .service-tags span {
  font-size: 11px;
  background: var(--primary-100);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Strategic approach 5th item centering */
.approach-row-2 .col-lg-4.offset-lg-2 {
  margin-left: 0;
}

@media (min-width: 992px) {
  .approach-row-2 {
    justify-content: center;
  }
}

/* Hero badge */
.eco-health .banner-content .avatar-group p span {
  color: #038C36;
}

/* Footer contact */
.eco-health .footer-support .link {
  word-break: break-word;
}

/* Avatar user icons (fallback when photos unavailable) */
.eco-health .eco-avatar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  background: #E8EEF8;
  color: #003291;
}

.eco-health .eco-avatar-icon i {
  font-size: 1.35rem;
  line-height: 1;
}

.eco-health .eco-avatar-icon-1 {
  background: #E8EEF8;
  color: #003291;
}

.eco-health .eco-avatar-icon-2 {
  background: #E6F5EC;
  color: #038C36;
}

.eco-health .eco-avatar-icon-3 {
  background: #E5F4FC;
  color: #0097E6;
}

.eco-health .eco-avatar-icon-4 {
  background: #E8EEF8;
  color: #003291;
}

/* About section image — 1338 x 1438 */
.eco-health .about-image-three > .img-1 {
  width: 100%;
  max-width: 1338px;
  aspect-ratio: 1338 / 1438;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  display: block;
}

/* Team section — Eco-Health brand background */
.eco-health .team-section-three {
  background-color: #003291;
  background-image: linear-gradient(165deg, #002570 0%, #003291 50%, #025c30 100%);
}

.eco-health .team-section-three .bg-img {
  opacity: 0.08;
}

.eco-health .team-section-three .section-header-three .section-sub-title {
  background: #038C36;
  color: #FFFFFF;
}

.eco-health .team-section-three .section-header-three .section-title {
  color: #FFFFFF;
}

.eco-health .team-section-three .section-header-three .section-title span {
  color: #0097E6;
}

.eco-health .team-item-three {
  display: flex;
  flex-direction: column;
}

.eco-health .team-item-three .team-overlay {
  background: rgba(0, 50, 145, 0.1);
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 380px;
  padding: 0;
  overflow: hidden;
  flex: 1 1 auto;
}

.eco-health .team-item-three:hover .team-content {
  background: #038C36;
}

.eco-health .team-item-three:hover .team-content .custom-title a:hover {
  color: #FFFFFF;
}

.eco-health .team-item-three .eco-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.eco-health .team-item-three .team-content {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 18px 18px;
}

.eco-health .team-item-three .team-content .custom-title {
  margin-bottom: 4px;
  font-size: 18px;
}

.eco-health .team-item-three .team-content .expert {
  color: #038C36;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.eco-health .team-item-three .team-bio {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-600);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eco-health .team-item-three:hover .team-content .team-bio {
  color: rgba(255, 255, 255, 0.92);
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Gallery section */
.eco-gallery-section {
  background: #F5F7FA;
}

.eco-gallery-section .section-title span {
  color: #038C36;
}

.eco-gallery-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
}

.eco-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.eco-gallery-item:hover img {
  transform: scale(1.05);
}

.eco-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 50, 145, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFFFFF;
  font-size: 28px;
}

.eco-gallery-item:hover .eco-gallery-overlay {
  opacity: 1;
}

/* Footer developer credit */
.eco-health .footer-developer {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14px;
  opacity: 0.85;
}

.eco-health .footer-developer a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.eco-health .footer-developer a:hover {
  color: #0097E6;
  text-decoration: underline;
}

/* Service slider — mobile dots indicator */
.eco-health .service-section-three {
  padding-bottom: 56px;
}

@media (max-width: 767.98px) {
  .eco-health .service-slider-three {
    padding-bottom: 36px;
  }

  .eco-health .service-slider-three .slick-dots {
    bottom: -32px;
  }

  .eco-health .service-slider-three .slick-dots li button:before {
    font-size: 10px;
    color: #003291;
    opacity: 0.35;
  }

  .eco-health .service-slider-three .slick-dots li.slick-active button:before {
    color: #038C36;
    opacity: 1;
  }
}

/* Team card clickable + modal */
.eco-health .eco-team-card-clickable {
  cursor: pointer;
}

.eco-health .eco-team-modal .modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.eco-health .eco-team-modal-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 280px;
  margin: 0 auto;
  border: 3px solid #038C36;
}

.eco-health .eco-team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.eco-health .eco-team-modal-label {
  display: inline-block;
  background: #038C361A;
  color: #038C36;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.eco-health .eco-team-modal-bio p {
  font-size: 15px;
  line-height: 1.75;
  color: #1F2937;
  margin-bottom: 14px;
}
