/*------------------------------------------------------------------
  EcoCare Cleaning Services Limited — Brand Asset Display Constraints
  Preserves 100% of original Clenix styles while sizing logo properly.
------------------------------------------------------------------*/

.logo-area img,
.header-menu .logo-area a img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-box-layout1 .footer-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.mobile-menu-nav-back .logo-mobile img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

/* Legal Draft Disclaimer Notice */
.ecocare-draft-notice {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 16px 20px;
  margin-bottom: 30px;
  border-radius: 4px;
  color: #856404;
  font-size: 14px;
  line-height: 22px;
}

/*------------------------------------------------------------------
  EcoCare Hero Video Background (Pixel-Matched to Design Reference)
  Dark directional gradient on left for crisp text contrast;
  100% visible, natural video of uniformed cleaner on right;
  Scalloped wave bottom edge framing the hero into the section below;
  Floating video pause & sound toggle controls;
  Ultra-clean, modern mobile responsiveness.
-------------------------------------------------------------------*/

/* Active Navigation Underline (Matching Reference Header) */
.header-menu.menu-layout1 .template-main-menu > ul > li.active > a {
  color: #14287b !important;
  position: relative;
}
.header-menu.menu-layout1 .template-main-menu > ul > li.active > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 12px;
  height: 3px;
  background-color: #22c55e !important;
  border-radius: 2px;
}

.hero-video-bg-layout {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b1528;
}

.hero-video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

#hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
  pointer-events: none;
}

/* Subtle dark directional gradient on left: ensures 100% text contrast while keeping video on right crystal clear */
.hero-video-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(8, 18, 42, 0.86) 0%,
    rgba(8, 18, 42, 0.74) 38%,
    rgba(8, 18, 42, 0.40) 62%,
    rgba(8, 18, 42, 0.12) 80%,
    rgba(8, 18, 42, 0.02) 100%
  );
  pointer-events: none;
}

.hero-video-bg-layout .slider-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0;
}

.hero-content-wrap {
  position: relative;
  max-width: 650px;
  padding: 105px 0 100px 0;
}

/* Hero Headline */
.hero-headline {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-highlight-green {
  color: #22c55e !important;
  font-weight: 800;
}

/* Subtitle Paragraph */
.hero-paragraph {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.90);
  max-width: 530px;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Call To Action Buttons */
.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background-color: #fed700;
  color: #111111 !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(254, 215, 0, 0.35);
}

.hero-btn-primary:hover {
  background-color: #fcc000;
  color: #111111 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 215, 0, 0.5);
}

.hero-btn-outline {
  background-color: rgba(10, 22, 48, 0.65);
  border: 1.8px solid #22c55e;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(4px);
}

.hero-btn-outline:hover {
  background-color: #22c55e;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.4);
}

/* Responsive Rules for Desktop & Tablets */
@media only screen and (max-width: 1199px) {
  .hero-video-bg-layout {
    min-height: 560px;
  }
  .hero-content-wrap {
    max-width: 580px;
    padding: 85px 0 80px 0;
  }
  .hero-headline {
    font-size: 44px;
  }
}

@media only screen and (max-width: 991px) {
  .hero-video-bg-layout {
    min-height: 500px;
  }
  .hero-content-wrap {
    max-width: 520px;
    padding: 75px 0 70px 0;
  }
  .hero-headline {
    font-size: 36px;
  }
  .hero-paragraph {
    font-size: 15px;
    line-height: 24px;
  }
}

/* Modern, Clean & Sleek Mobile Responsiveness */
@media only screen and (max-width: 767px) {
  .hero-video-bg-layout {
    min-height: 480px;
    padding: 0;
  }
  .hero-video-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 16, 38, 0.70) 0%,
      rgba(7, 16, 38, 0.38) 42%,
      rgba(7, 16, 38, 0.78) 100%
    );
  }
  .hero-content-wrap {
    padding: 50px 0 55px 0;
    max-width: 100%;
    text-align: left;
  }
  .hero-headline {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
  }
  .hero-paragraph {
    font-size: 14.5px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
    max-width: 100%;
  }
  .hero-btn-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 0;
    width: 100%;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    flex: 1 1 0;
    font-size: 13.5px;
    padding: 12px 14px;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
}

@media only screen and (max-width: 480px) {
  .hero-content-wrap {
    padding: 42px 0 46px 0;
  }
  .hero-headline {
    font-size: 28px;
    line-height: 1.18;
  }
  .hero-paragraph {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 20px;
  }
  .hero-btn-group {
    gap: 8px;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    font-size: 13px;
    padding: 11px 12px;
  }
}

@media only screen and (max-width: 360px) {
  .hero-btn-group {
    flex-direction: column;
    gap: 8px;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
  }
  .hero-headline {
    font-size: 24px;
  }
}

@media only screen and (max-width: 360px) {
  .hero-btn-group {
    flex-direction: column;
    gap: 8px;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
  }
  .hero-headline {
    font-size: 24px;
  }
}

/*------------------------------------------------------------------
  THE ECOCARE SIGNATURE REVEAL (Exact 2-Second Motion Identity)
  Warm-white canvas, emerald green signature sweep, directional mask,
  delicate soft-light reflection, pristine rest, and seamless dissolve.
  Timeline:
    0.00–0.35s: Emerald green signature stroke begins sweep
    0.35–1.10s: Logo directional reveal in tandem with sweep & light sheen
    1.10–1.55s: Calm balance & pristine rest state
    1.55–2.00s: Seamless dissolve into homepage hero
------------------------------------------------------------------*/

#preloader {
  background-color: #faf9f6 !important;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #faf9f6 55%, #f4f1ea 100%) !important;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, visibility;
  pointer-events: all;
}

/* 1.55–2.00s: Dissolve seamlessly into homepage hero */
#preloader.preloader-dissolving {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#preloader.preloader-dissolving .signature-logo-frame {
  transform: scale(0.95) !important;
  opacity: 0 !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.40s ease !important;
}

#preloader.preloader-dissolving .signature-stroke-svg {
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
}

/* Signature Stage */
.signature-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  min-height: 140px;
  padding: 20px;
  user-select: none;
}

/* 0.35–1.10s: Logo Directional Reveal */
.signature-logo-frame {
  position: relative;
  display: inline-block;
  z-index: 2;
  overflow: hidden;
  padding: 6px 14px;
  clip-path: inset(0 100% 0 0);
  animation: signatureLogoReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.35s;
  will-change: clip-path, transform, opacity;
}

.signature-logo {
  display: block;
  width: 230px;
  height: auto;
  max-height: 104px;
  object-fit: contain;
  /* Exact uploaded logo preserved: native colors, proportions & typography */
  filter: drop-shadow(0 4px 18px rgba(0, 136, 23, 0.12));
}

@keyframes signatureLogoReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: scale(0.985);
  }
  15% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle Soft-Light Reflection Sweep */
.signature-light-sweep {
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  animation: delicateSweepGlide 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.70s;
  pointer-events: none;
}

@keyframes delicateSweepGlide {
  0% {
    left: -130%;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    left: 210%;
    opacity: 0;
  }
}

/* 0.00–0.35s & 0.35–1.10s: Emerald Green Curved Signature Stroke */
.signature-stroke-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 330px;
  height: 90px;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.signature-stroke-path {
  stroke: #008817;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 2px 6px rgba(0, 136, 23, 0.32));
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: signatureStrokeDraw 1.10s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             signatureStrokeFade 0.30s ease forwards 1.05s;
}

@keyframes signatureStrokeDraw {
  0% {
    stroke-dashoffset: 100;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes signatureStrokeFade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Fully Responsive for Tablets & Mobile */
@media (max-width: 575px) {
  .signature-stage {
    max-width: 270px;
    min-height: 120px;
  }
  .signature-logo {
    width: 185px;
    max-height: 84px;
  }
  .signature-stroke-svg {
    width: 270px;
    height: 72px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .signature-stroke-svg,
  .signature-light-sweep {
    display: none !important;
  }
  .signature-logo-frame {
    clip-path: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #preloader {
    transition: opacity 0.25s ease !important;
  }
}

/* Universal Vector TikTok Glyph Polyfill for FontAwesome 5.0.8 */
.fa-tiktok {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64c.29 0 .58.04.86.12V9.42a6.33 6.33 0 0 0-.86-.06 6.34 6.34 0 0 0-6.34 6.34 6.34 6.34 0 0 0 6.34-6.34V8.92a8.28 8.28 0 0 0 4.87 1.57V7.05a4.83 4.83 0 0 1-1.1-.36Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64c.29 0 .58.04.86.12V9.42a6.33 6.33 0 0 0-.86-.06 6.34 6.34 0 0 0-6.34 6.34 6.34 6.34 0 0 0 6.34-6.34V8.92a8.28 8.28 0 0 0 4.87 1.57V7.05a4.83 4.83 0 0 1-1.1-.36Z'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: -0.125em;
}
.fa-tiktok::before {
  content: "" !important;
}

/* ==========================================================================
   EcoCare Desktop & Mobile Navigation Suite
   - Desktop At Rest: Straight, seamless full-width header bar
   - Desktop Scrolled (.rt-sticky): Sleek floating curved liquid glass capsule
   - Mobile: Floating pill bar at top (far-left logo, far-right toggle)
   - Mobile Open: Full-screen pure white canvas, zero phantom boxes, no overlap
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Desktop Navigation (min-width: 992px)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  /* At Rest: Clean, straight full-width bar (No curved pill, no side margins) */
  .header-menu.menu-layout1:not(.rt-sticky) {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #ebebeb !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    padding: 0 !important;
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    transition: background-color 0.25s ease, border-color 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease !important;
  }

  .header-menu.menu-layout1:not(.rt-sticky) .container {
    max-width: 1240px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .header-menu.menu-layout1:not(.rt-sticky) .logo-area img {
    max-height: 48px !important;
    width: auto !important;
  }

  .header-menu.menu-layout1:not(.rt-sticky) nav.template-main-menu > ul > li > a {
    padding: 34px 18px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #14287b !important;
    position: relative !important;
    transition: color 0.2s ease !important;
  }

  .header-menu.menu-layout1:not(.rt-sticky) nav.template-main-menu > ul > li:hover > a,
  .header-menu.menu-layout1:not(.rt-sticky) nav.template-main-menu > ul > li.active > a {
    color: #008817 !important;
  }

  .header-menu.menu-layout1:not(.rt-sticky) nav.template-main-menu > ul > li.active > a::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 18px !important;
    right: 18px !important;
    height: 3px !important;
    background: #008817 !important;
    border-radius: 3px 3px 0 0 !important;
  }

  /* Sticky On Scroll: Luxurious Floating Curved Liquid Glass Capsule */
  @keyframes glassCapsuleSlideDown {
    0% {
      transform: translate(-50%, -100%);
      opacity: 0.6;
    }
    100% {
      transform: translate(-50%, 0);
      opacity: 1;
    }
  }

  .header-menu.menu-layout1.rt-sticky {
    position: fixed !important;
    top: 16px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 64px) !important;
    max-width: 1280px !important;
    z-index: 9999 !important;
    border-radius: 999px !important;
    /* True Liquid Glass: Highly translucent + deep silky frosted blur */
    background: rgba(255, 255, 255, 0.72) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 16px 42px -6px rgba(15, 23, 42, 0.14),
                inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
                inset 0 -1px 1px 0 rgba(0, 0, 0, 0.04) !important;
    padding: 0 32px !important;
    min-height: 72px !important;
    display: flex !important;
    align-items: center !important;
    animation: glassCapsuleSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) both !important;
  }

  .header-menu.menu-layout1.rt-sticky .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .header-menu.menu-layout1.rt-sticky .logo-area img {
    max-height: 44px !important;
    width: auto !important;
  }

  .header-menu.menu-layout1.rt-sticky nav.template-main-menu > ul > li > a {
    padding: 22px 18px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #14287b !important;
    transition: color 0.2s ease !important;
  }

  .header-menu.menu-layout1.rt-sticky nav.template-main-menu > ul > li:hover > a,
  .header-menu.menu-layout1.rt-sticky nav.template-main-menu > ul > li.active > a {
    color: #008817 !important;
  }

  .header-menu.menu-layout1.rt-sticky nav.template-main-menu > ul > li.active > a::after {
    display: none !important;
  }

  /* Desktop Dropdowns: Matching Liquid Glass */
  .header-menu.menu-layout1 nav.template-main-menu > ul > li ul.dropdown-menu-col-1 {
    background: rgba(255, 255, 255, 0.88) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.95) !important;
    padding: 10px 8px !important;
    min-width: 260px !important;
    overflow: hidden;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .header-menu.menu-layout1 nav.template-main-menu > ul > li ul.dropdown-menu-col-1 li {
    position: relative;
  }

  .header-menu.menu-layout1 nav.template-main-menu > ul > li ul.dropdown-menu-col-1 li:after {
    display: none !important;
  }

  .header-menu.menu-layout1 nav.template-main-menu > ul > li ul.dropdown-menu-col-1 li a {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #14287b !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .header-menu.menu-layout1 nav.template-main-menu > ul > li ul.dropdown-menu-col-1 li a:hover {
    background: rgba(0, 136, 23, 0.08) !important;
    color: #008817 !important;
    transform: translateX(4px);
  }
}

/* --------------------------------------------------------------------------
   2. Mobile Floating Pill Bar & Full-Screen Canvas Drawer (max-width: 991px)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991px) {

  /* ---- Base MeanMenu Overrides (kill navy defaults) ---- */
  .mean-container {
    float: none !important;
    width: 100% !important;
  }
  .mean-container .mean-nav {
    float: none !important;
    background: #ffffff !important;
  }
  .mean-container .mean-nav ul li {
    float: none !important;
    background: transparent !important;
  }
  .mean-container .mean-nav ul li a {
    float: none !important;
    background: transparent !important;
    color: #0b1c3f !important;
  }
  .mean-container .mean-nav ul li a.mean-expand {
    background: #f1f5f9 !important;
  }

  /* ---- Body lock when menu open ---- */
  html.mobile-menu-open,
  body.mobile-menu-open {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
  }

  /* ======================================================
     CLOSED STATE: Floating Glass Pill (logo left, ≡ right)
     ====================================================== */
  .mean-container .mean-bar {
    position: fixed !important;
    top: max(14px, env(safe-area-inset-top, 14px)) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    float: none !important;
    z-index: 99999 !important;
    /* At rest: very subtle frosted glass */
    background: rgba(255, 255, 255, 0.72) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.08) !important;
    backdrop-filter: blur(20px) saturate(160%) brightness(1.08) !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.70) !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
    padding: 0 10px 0 18px !important;
    height: 60px !important;
    min-height: 60px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    transition: background 0.35s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* SCROLLED: Deeper liquid glass — richer blur, stronger shadow, slight tint */
  .mean-container .mean-bar.is-scrolled {
    background: rgba(255, 255, 255, 0.82) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.05) !important;
    backdrop-filter: blur(32px) saturate(200%) brightness(1.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.90) !important;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.14),
                0 2px 8px rgba(15, 23, 42, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 1.00) !important;
  }

  /* ======================================================
     OPEN STATE: Mean-bar becomes full-width header strip
     ====================================================== */
  body.mobile-menu-open .mean-container .mean-bar,
  .mean-container:has(a.meanmenu-reveal.meanclose) .mean-bar {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: none !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07) !important;
    padding: 0 20px !important;
    height: max(76px, calc(env(safe-area-inset-top, 0px) + 76px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
  }

  /* When open, logo becomes a bit larger and more prominent */
  body.mobile-menu-open .mean-container .mean-bar .logo-mobile img,
  .mean-container:has(a.meanmenu-reveal.meanclose) .mean-bar .logo-mobile img {
    max-height: 54px !important;
    width: auto !important;
  }
  .mean-container .mean-bar .mobile-menu-nav-back {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 2 !important;
    text-decoration: none !important;
  }

  .mean-container .mean-bar .mobile-menu-nav-back:before {
    display: none !important;
  }

  .mean-container .mean-bar .logo-mobile {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }

  /* Closed state: compact logo in pill */
  .mean-container .mean-bar .logo-mobile img {
    max-height: 38px !important;
    width: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
  }

  /* Open state: larger, more prominent logo in the header strip */
  body.mobile-menu-open .mean-container .mean-bar .logo-mobile img,
  .mean-container:has(a.meanmenu-reveal.meanclose) .mean-bar .logo-mobile img {
    max-height: 38px !important;
    transform: scale(1.368);
    transform-origin: left center;
    width: auto !important;
  }

  /* ---- Hamburger / Close Button (always far right) ---- */
  .mean-container a.meanmenu-reveal {
    position: absolute !important;
    right: 12px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    float: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    text-indent: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    z-index: 100000 !important;
    box-sizing: border-box !important;
  }

  .mean-container a.meanmenu-reveal:hover {
    background: #e2e8f0 !important;
    transform: translateY(-50%) scale(1.05) !important;
  }

  /* Three bar lines */
  .mean-container a.meanmenu-reveal span {
    display: block !important;
    background: #14287b !important;
    height: 2.5px !important;
    width: 20px !important;
    border-radius: 3px !important;
    margin: 0 !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
  }

  /* ✕ Close state */
  .mean-container a.meanmenu-reveal.meanclose {
    background: #f1f5f9 !important;
    color: #0b1c3f !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mean-container a.meanmenu-reveal.meanclose span {
    display: none !important;
  }

  .mean-container a.meanmenu-reveal.meanclose .mean-close-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #0b1c3f !important;
    line-height: 1 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* ======================================================
     FULL-SCREEN DRAWER (open state)
     ====================================================== */

  /* Hidden when closed */
  .mean-container a.meanmenu-reveal:not(.meanclose) ~ .mean-nav,
  body:not(.mobile-menu-open) .mean-container .mean-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Full-screen white canvas when open */
  .mean-container a.meanmenu-reveal.meanclose ~ .mean-nav,
  body.mobile-menu-open .mean-container .mean-nav {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    /* Clears the full-width header strip (76px) + safe area + breathing room */
    padding-top: calc(max(env(safe-area-inset-top, 0px), 0px) + 94px) !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    padding-bottom: max(40px, env(safe-area-inset-bottom, 40px)) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    float: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* ---- Nav list ---- */
  .mean-container .mean-nav > ul {
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    list-style: none !important;
  }

  /* Greeting label above nav items */
  .mean-container .mean-nav > ul::before {
    content: "Navigation" !important;
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    color: #008817 !important;
    padding-bottom: 10px !important;
    margin-bottom: 4px !important;
    border-bottom: 2px solid #f1f5f9 !important;
  }

  /* Each nav row */
  .mean-container .mean-nav > ul > li {
    position: relative !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
  }

  /* Nav link text */
  .mean-container .mean-nav > ul > li > a {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0b1c3f !important;
    letter-spacing: -0.3px !important;
    text-transform: capitalize !important;
    background: transparent !important;
    padding: 18px 48px 18px 0 !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    transition: color 0.2s ease !important;
    border: none !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .mean-container .mean-nav > ul > li > a:hover {
    color: #008817 !important;
    background: transparent !important;
  }

  /* Active page link */
  .mean-container .mean-nav > ul > li.active > a {
    color: #008817 !important;
    font-weight: 800 !important;
    background: transparent !important;
  }

  /* Chevron arrow (right side) for plain links */
  .mean-container .mean-nav > ul > li:not(.mobile-menu-cta-wrap) > a::after {
    content: "\f054" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    color: #cbd5e1 !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  /* Suppress chevron on items that have expand button */
  .mean-container .mean-nav > ul > li:has(ul) > a::after,
  .mean-container .mean-nav > ul > li:has(.mean-expand) > a::after,
  .mean-container .mean-nav > ul > li.menu-item-has-children > a::after,
  .mean-container .mean-nav > ul > li:nth-child(3) > a::after {
    display: none !important;
    content: none !important;
  }

  .mean-container .mean-nav > ul > li:has(> a.mean-expand) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 38px;
  }
  .mean-container .mean-nav > ul > li:has(> a.mean-expand) > a:not(.mean-expand) {
    grid-area: 1 / 1 / 2 / 3;
  }
  .mean-container .mean-nav > ul > li:has(> a.mean-expand) > ul {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  /* +/- Expand button (Services submenu) */
  .mean-container .mean-nav > ul > li a.mean-expand {
    position: relative !important;
    grid-area: 1 / 2;
    align-self: center;
    top: auto !important;
    transform: none !important;
    right: 0 !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    text-align: center !important;
    background: #f1f5f9 !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #14287b !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    float: none !important;
    width: 38px !important;
  }

  .mean-container .mean-nav > ul > li a.mean-expand:hover {
    background: #e2e8f0 !important;
    color: #008817 !important;
  }

  .mean-container .mean-nav > ul > li a.mean-expand.mean-clicked {
    background: #14287b !important;
    color: #ffffff !important;
  }

  /* Submenu items */
  .mean-container .mean-nav > ul > li ul {
    padding: 4px 0 12px 16px !important;
    background: transparent !important;
    border: none !important;
    float: none !important;
    width: 100% !important;
  }

  .mean-container .mean-nav > ul > li ul li {
    border-bottom: 1px dashed #f1f5f9 !important;
    border-top: none !important;
    background: transparent !important;
    float: none !important;
    width: 100% !important;
  }

  .mean-container .mean-nav > ul > li ul li:last-child {
    border-bottom: none !important;
  }

  .mean-container .mean-nav > ul > li ul li a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    padding: 11px 0 !important;
    text-transform: capitalize !important;
    background: transparent !important;
    border: none !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    text-decoration: none !important;
  }

  .mean-container .mean-nav > ul > li ul li a::after {
    display: none !important;
    content: none !important;
  }

  .mean-container .mean-nav > ul > li ul li a:hover {
    color: #008817 !important;
    transform: translateX(8px);
  }

  /* ---- Bottom CTA "Book Now" pill ---- */
  .mean-container .mean-nav > ul > li.mobile-menu-cta-wrap {
    border-bottom: none !important;
    margin-top: 32px !important;
    padding: 0 !important;
    text-align: center !important;
    float: none !important;
    width: 100% !important;
    background: transparent !important;
  }

  .mean-container .mean-nav > ul > li.mobile-menu-cta-wrap a.mobile-menu-book-btn {
    background: #14287b !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 999px !important;
    padding: 17px 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 28px rgba(20, 40, 123, 0.28) !important;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .mean-container .mean-nav > ul > li.mobile-menu-cta-wrap a.mobile-menu-book-btn::after {
    display: none !important;
    content: none !important;
  }

  .mean-container .mean-nav > ul > li.mobile-menu-cta-wrap a.mobile-menu-book-btn:hover {
    background: #008817 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 32px rgba(0, 136, 23, 0.25) !important;
  }

  .mean-container .mean-nav > ul > li.mobile-menu-cta-wrap .mobile-menu-copyright {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    margin-top: 18px !important;
    text-align: center !important;
  }

  /* ---- Utilities ---- */
  .scrollup {
    z-index: 99 !important;
  }

  body.mobile-menu-open .scrollup,
  html.mobile-menu-open .scrollup {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Zero out any JS-set wrapper padding */
  body.sticky-header #wrapper,
  #wrapper {
    padding-top: 0 !important;
  }
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
  .header-menu.menu-layout1.rt-sticky {
    animation: none !important;
  }
}

/* ==========================================================================
   EcoCare Native Clenix Process Layout (4-Column Refinement)
   ========================================================================== */
@media only screen and (min-width: 992px) {
  .col-lg-3.single-process .process-box-layout1 {
    padding: 0 1rem;
  }
  .col-lg-3.single-process .process-box-layout1:after {
    right: -32px;
    top: 5.5rem;
  }
}

/* ==========================================================================
   Mobile Header Topbar — Hidden on Mobile (prevents white strip)
   ========================================================================== */
@media only screen and (max-width: 991px) {
  /* Hide the original dark-blue topbar on mobile — meanmenu replaces the whole header */
  #header-topbar {
    display: none !important;
  }

  /* Remove the sticky placeholder ghost height on mobile */
  #rt-sticky-placeholder {
    display: none !important;
    height: 0 !important;
  }

  /* Hide the original desktop header nav bar — meanmenu replaces it completely.
     The meanmenu plugin moves #header-menu content into .mean-container so we
     suppress the original shell to eliminate the white gap below the pill. */
  #header-menu {
    display: none !important;
  }

  /* Also hide the wrapper helper .header-area if present */
  .header .header-menu.menu-layout1 {
    display: none !important;
  }
}

/* ==========================================================================
   EcoCare Service Card & Image Uniformity Engine
   Ensures consistent aspect ratio, focal points, zero distortion, and aligned cards
   ========================================================================== */

/* 1. Homepage Service Cards (service-box-layout1) */
.service-box-layout1 {
  display: flex !important;
  flex-direction: column !important;
  height: calc(100% - 30px) !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.service-box-layout1:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 34px rgba(20, 40, 123, 0.12) !important;
}

.service-box-layout1 .item-img {
  position: relative !important;
  width: 100% !important;
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  overflow: hidden !important;
  background-color: #f1f5f9 !important;
}

.service-box-layout1 .item-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 8px 8px 0 0 !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.service-box-layout1:hover .item-img img {
  transform: scale(1.06) !important;
}

.service-box-layout1 .item-middle-content {
  position: relative !important;
  z-index: 2 !important;
}

.service-box-layout1 .item-content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 40px 24px 28px !important;
  background: #ffffff !important;
}

.service-box-layout1 .item-content .item-title {
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
}

.service-box-layout1 .item-content .serivce-list {
  flex: 1 1 auto !important;
  margin-bottom: 20px !important;
}

.service-box-layout1 .item-content .serivce-list ul {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.service-box-layout1 .item-content .serivce-list ul li {
  font-size: 14px !important;
  color: #4b5563 !important;
  padding: 4px 0 4px 22px !important;
  position: relative !important;
  text-align: left !important;
}

/* 2. Service Directory Cards (service-box-layout2) */
.service-box-layout2 {
  position: relative !important;
  width: 100% !important;
  height: 380px !important;
  min-height: 380px !important;
  max-height: 380px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  margin-bottom: 30px !important;
  background-color: #f1f5f9 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.service-box-layout2:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(20, 40, 123, 0.14) !important;
}

.service-box-layout2 .item-img {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  overflow: hidden !important;
}

.service-box-layout2 .item-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.service-box-layout2:hover .item-img img {
  transform: scale(1.08) !important;
}

.service-box-layout2 .item-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, #ffffff 100%) !important;
  border-radius: 0 0 8px 8px !important;
  padding: 45px 20px 20px !important;
  transform: translateY(calc(100% - 95px)) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important;
  z-index: 3 !important;
}

.service-box-layout2:hover .item-content {
  transform: translateY(0) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  padding: 55px 22px 25px !important;
}

.service-box-layout2 .item-content .item-icon {
  position: absolute !important;
  top: -36px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.service-box-layout2 .item-content .item-icon .icon-bg {
  width: 72px !important;
  height: 72px !important;
  line-height: 72px !important;
  border-radius: 50% !important;
  background-color: #14287b !important;
  box-shadow: 0 4px 14px rgba(20, 40, 123, 0.25) !important;
  transition: background-color 0.3s ease !important;
}

.service-box-layout2:hover .item-content .item-icon .icon-bg {
  background-color: #008817 !important;
}

/* 3. Service Detail Hero & Feature Images */
.single-service-box-layout1 .main-img {
  width: 100% !important;
  height: 420px !important;
  max-height: 420px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  margin-bottom: 32px !important;
  background-color: #f1f5f9 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.single-service-box-layout1 .main-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.single-service-box-layout1 .service-content .service-more-content .item-img {
  width: 100% !important;
  height: 280px !important;
  max-height: 280px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  margin-bottom: 24px !important;
  background-color: #f1f5f9 !important;
}

.single-service-box-layout1 .service-content .service-more-content .item-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Responsive Image Breakpoints */
@media (max-width: 767px) {
  .service-box-layout1 .item-img {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }
  .service-box-layout2 {
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
  }
  .single-service-box-layout1 .main-img {
    height: 260px !important;
    max-height: 260px !important;
  }
  .single-service-box-layout1 .service-content .service-more-content .item-img {
    height: 200px !important;
    max-height: 200px !important;
  }
}

/* Scroll-up suppression during mobile navigation */
body.mobile-menu-open #scrollUp,
.mean-container:has(a.meanmenu-reveal.meanclose) ~ #scrollUp {
  display: none !important;
}

/* ==========================================================================
   EcoCare Leadership & Team — Template Image Fitting
   - Preserves Clenix native circular bubble layout, blue disc & bubble graphics
   - Normalizes non-square authentic photos to crisp, perfectly round 250px circles
   - Calibrates vertical focal points to keep faces, smock, and attire centered
   ========================================================================== */
.team-box-layout1 .item-img {
  width: 250px !important;
  height: 250px !important;
  margin: 0 auto 28px !important;
  position: relative !important;
}

.team-box-layout1 .item-img img {
  width: 250px !important;
  height: 250px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.team-box-layout1 .item-img img.ceo-img {
  object-position: center 15% !important;
}

.team-box-layout1 .item-img img.accountant-img {
  object-position: center 12% !important;
}

.team-box-layout1 .item-img img.team-img {
  object-position: center center !important;
}

@media only screen and (max-width: 767px) {
  .team-box-layout1 {
    padding: 0 2rem !important;
  }
}





/* ==========================================================================
   EcoCare Project Showcase & Portfolio Styling
   ========================================================================== */
.project-box-layout1 {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-box-layout1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(20, 40, 123, 0.15);
}

.project-box-layout1 .item-img {
  height: 250px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  background-color: #0b1528;
}

.project-box-layout1 .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.project-box-layout1:hover .item-img img {
  transform: scale(1.06);
}

.project-media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.project-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.project-badge-video {
  background: rgba(220, 38, 38, 0.88);
}

.project-badge-photo {
  background: rgba(20, 40, 123, 0.82);
}

.project-box-layout1 .item-img .hover-icon-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.project-box-layout1:hover .item-img .hover-icon-wrap {
  opacity: 1;
  visibility: visible;
}

.project-box-layout1 .item-img .hover-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #14287b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.project-box-layout1 .item-img .hover-icon:hover {
  background: #287ff9;
  color: #ffffff;
  transform: scale(1.1);
}

.project-box-layout1 .item-content {
  padding: 22px 20px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-box-layout1 .item-content .item-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.project-box-layout1 .item-content .item-title a {
  color: #14287b;
  transition: color 0.2s ease;
}

.project-box-layout1 .item-content .item-title a:hover {
  color: #287ff9;
}

.project-item-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 14px;
  flex-grow: 1;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.project-card-footer .item-tag a {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}

.project-card-footer .item-tag a:hover {
  color: #14287b;
}

.project-read-more {
  font-size: 13px;
  font-weight: 600;
  color: #287ff9;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.project-read-more:hover {
  transform: translateX(3px);
  color: #14287b;
}

/* Single Project Carousel & Video Box */
.single-project-box-layout1 .single-project-slider .slide-item img {
  border-radius: 8px;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

@media only screen and (max-width: 767px) {
  .single-project-box-layout1 .single-project-slider .slide-item img {
    height: 280px;
  }
}

.project-video-showcase {
  background: #0f172a;
  border-radius: 12px;
  padding: 24px;
  margin: 35px 0;
  color: #ffffff;
}

.project-video-showcase .video-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.project-video-showcase .video-heading {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.project-video-showcase .video-player-frame {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.project-video-showcase video {
  width: 100%;
  max-height: 480px;
  display: block;
}

.project-video-switcher {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.project-video-thumb-btn {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #cbd5e1;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.project-video-thumb-btn:hover,
.project-video-thumb-btn.active {
  background: #287ff9;
  border-color: #287ff9;
  color: #ffffff;
}

/* EcoCare Media Lightbox / Modal */
.ecocare-media-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.ecocare-media-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.ecocare-media-modal-container {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.ecocare-media-modal-backdrop.is-active .ecocare-media-modal-container {
  transform: scale(1);
}

.ecocare-media-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ecocare-media-modal-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ecocare-media-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  transition: color 0.2s ease;
}

.ecocare-media-modal-close:hover {
  color: #ffffff;
}

.ecocare-media-modal-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
  max-height: calc(92vh - 120px);
  overflow: hidden;
}

.ecocare-media-modal-body video {
  width: 100%;
  max-height: calc(92vh - 120px);
  object-fit: contain;
  background: #000000;
  outline: none;
}

.ecocare-media-modal-body img {
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 120px);
  object-fit: contain;
}

.ecocare-media-modal-footer {
  padding: 12px 20px;
  background: #1e293b;
  color: #94a3b8;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* EcoCare Booking Confirmation & WhatsApp Dispatch Receipt */
.ecocare-booking-receipt {
  animation: ecocareFadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ecocareFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.ecocare-booking-receipt .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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