@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    background-color: #fff;
    overflow-x: hidden;
    }

p {
    font-size: 18px;
    color: #646464;
}

.container{
  max-width: 1200px;}

html {
  scroll-behavior: smooth; /* Optional: adds a nice sliding effect */
  scroll-padding-top: 70px; /* Replace 80px with the height of your menu bar */
}

.container-fluid, .container-fluid-left, .container-fluid-right {
  margin-right: 0;
  margin-left: 0;
  padding-right: 60px;
  padding-left: 60px
}

:root {
  --ticker-speed: 30s;
  --ticker-gap: 2rem;
}

.wp-logo-ticker-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1170px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem 0;
}

.wp-logo-ticker-container .ticker-row {
  display: flex;
  user-select: none;
  gap: var(--ticker-gap);
  overflow: hidden;
  background: #ffffff;
  /* border: 1px solid #e2e8f0; */
  border-radius: 8px;
  padding: 1.25rem 0;
  /* box-shadow: 0 1px 3px rgba(0,0,0,0.04); */
}

.wp-logo-ticker-container .ticker-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--ticker-gap);
  min-width: 100%;
  animation: scroll-left var(--ticker-speed) linear infinite;
}

.wp-logo-ticker-container .ticker-row.reverse .ticker-track {
  animation: scroll-right var(--ticker-speed) linear infinite;
}

.wp-logo-ticker-container .ticker-row:hover .ticker-track {
  animation-play-state: paused;
}

.wp-logo-ticker-container .ticker-item {
  display: flex;
  align-items: center;
  justify-content: center; /* Centers the logo perfectly between the vertical lines */
  white-space: nowrap;
  padding: 0 2rem 0px 0px;        /* Even padding on both sides of the logo */
  /* border-right: 1px solid #e2e8f0; */
}

/* .wp-logo-ticker-container .ticker-track .ticker-item:last-child {
  border-right: none;
} */

.wp-logo-ticker-container .ticker-item img {
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  margin: 0 !important;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - var(--ticker-gap))); }
}

@keyframes scroll-right {
  0% { transform: translateX(calc(-100% - var(--ticker-gap))); }
  100% { transform: translateX(0); }
}

.main-header {
    background: linear-gradient(to bottom, #f5f5f5, #ffffff);
  }

  .main-header-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    padding: 5px 5%;
    max-width: 1450px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

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

  /* Placeholder styling for logo - replace with your actual img tag */
  .logo img {
    height: 100px;
    object-fit: contain;
  }

  .navbar {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: auto;
  }

  .nav-link {
    text-decoration: none;
    display: block;
    color:#008438;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
  }

  .nav-link.active {
    background-color: #008438;
    color: #ffffff;
  }

  .nav-link:hover:not(.active) {
    background-color: #e6f3eb;
  }

  .contact-group {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 1.05rem;
  }

  .contact-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #7a7a7a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Mobile-only quick action row (Phone / Explore / Email) — hidden on desktop */
  .mobile-quick-actions {
    display: none;
  }

  /* Mobile-only nav dropdown revealed by "Explore" — hidden on desktop */
  .mobile-nav-dropdown {
    display: none;
  }

  /* --- HERO SECTION STYLES --- */
  .hero {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
  }

  .hero h1 {
    color: #008438;
    font-size: 46px;
    font-weight: 600;
    line-height: 56px;
    margin: 0 0 25px 0;
  }

  .hero .subheading-text {
    display: block;
    font-size: 20px !important;
    color: #8b8b8a !important;
    font-weight: 400 !important;
  }

  .hero .subtext-mobile {
    color: #718096;
    font-size: 20px;
    margin: 0;
  }

.carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden; /* Crucial for hiding off-screen mobile slides */
  padding: 0 15px;
}

.carousel-track {
  display: flex;
  width: 100%;
  gap: 20px;
}

.carousel-slide {
  flex: 1; /* Desktop: Equal sizing across 3 columns */
}

.card {
  height: 500px;
  border-radius: 24px;
  border: 0px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end; /* Pushes the text container to the bottom */
  position: relative;
  overflow: hidden;
}

/* Sample Background Images */
.card-1 { background-image: url('../images/cleaning-slide-1.jpg'); }
.card-2 { background-image: url('../images/repair-slide-1.jpg'); }
.card-3 { background-image: url('../images/remodel-slide-2.jpg'); }

/* Dark Gradient Overlay for Text Readability */
.card::before {
  content: '';
  position: absolute;
  bottom: 0; /* Anchors the gradient to the bottom */
  top: auto; /* Removes any top anchoring if present */
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(to top, rgba(10, 20, 30, 0.95) 0%, rgba(10, 20, 30, 0.5) 60%, transparent 100%);
  z-index: 1;
}

.card-content {
  position: absolute;
  z-index: 2;
  padding: 20px;
  color: white;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Fixed (not auto) so every card's text starts at the same height
     regardless of how many lines its own copy wraps to — sized generously
     for the longest copy so nothing gets clipped. */
  height: 180px;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.card-content p {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.5;
}

.clone-slide {
  display: none;
}

@media (min-width: 777px) and (max-width: 1024px) {
  .card-content {
    height: 210px;
  }
}

.dragon-difference-section {  background-color: #f9f9f9; padding: 60px 0;}

.reviews-widget-section {  background-color: #fff; padding: 40px 0;}

/* ============================
   "Our Remodel Process" section
   ============================ */
.remodel-process-section {
  background: linear-gradient(to top, #edeff9, #ffffff);
  padding: 60px 0;
}

.myRemodelSwiper {
  width: 100%;
  max-width: 1120px;
  margin: 40px auto 0;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Side gap on mobile + tablet — width (not padding) so Swiper's
   clientWidth-based slide sizing stays accurate and slides don't peek
   past the edges */
@media (max-width: 991px) {
  .myRemodelSwiper {
    width: calc(100% - 40px);
  }
}

.myRemodelSwiper .swiper-wrapper {
  align-items: stretch;
}

.remodel-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgb(232, 232, 232);
  border-radius: 30px;
  overflow: hidden;
}

.remodel-card-body {
  padding: 24px 20px;
}

.remodel-card-body h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  line-height: 26px;
  color: #000;
  font-weight: 600;
}

.remodel-card-body p {
  margin: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.remodel-card-image {
  margin-top: auto;
}

.remodel-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ✨ 1. FIX EQUAL HEIGHTS ✨ */
/* Swiper wrapper needs to allow children to stretch */
.myCardSwiper .swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
}

/* Card fills the stretched slide */
.jellypool-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(232, 232, 232);
    border-radius: 30px;
    overflow: hidden;
}

/* Allow the top feature area to expand so the bottom sections align perfectly */
.card-feature {
    padding: 30px 20px 10px 20px; /* Adjusted padding */
    min-height: 250px; /* Increase/decrease this slightly if your text overflows */
    flex-grow: 0;
}

/* Icon, heading, green divider, subtext — matched to dragonpool.services */
.feature-icon {
    width: 70px;
    margin: 10px 0px;
}

.feature-title {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.feature-title::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background-color: #4CAF50;
    margin-top: 12px;
    border-radius: 2px;
}

.feature-subtitle {
    color: #5e5e5e;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Minimum height keeps the stars roughly aligned across cards without
   forcing a rigid box — if the text needs more room than this it grows
   the box instead of overflowing on top of the stars below it. */
.feature-text {
    color: #646464;
    font-size: 16px;
    min-height: 230px;
}

.card-testimonial {
    border-top: none; /* Removes the divider line */
    padding: 0 20px 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Stretches downward to meet the image */
    text-align: left;
}

.testimonial-text {
    text-align: left;
    margin-bottom: 0;
    font-size: 17px;
    font-style: italic;
    font-weight: 500;
}

/* 4. Keep the author name directly under the testimonial text */
.testimonial-author {
    font-weight: 500;
    font-size: 15px;
    color: #424242;
    text-align: left;
    margin-top: 12px; /* Sits right after the quote instead of being pinned to the bottom */
}

@media only screen and (max-width: 776px) {
    .dragon-accordion-container .testimonial-text {
        font-size: 16px;
    }
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ✨ 2. REPOSITION ARROWS TO BOTTOM RIGHT ✨ */
/* Narrower than the section so the row is centered with breathing room
   on both sides. Padding isn't used here on purpose — Swiper sizes
   slides off this element's clientWidth, and padding would make that
   wider than the wrapper's real content width, causing slides to
   overflow and peek past the edges. */
.myCardSwiper {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    /* Create space at the bottom for the custom arrows */
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Reset default swiper arrow positioning */
.swiper-button-prev,
.swiper-button-next {
    top: auto;
    bottom: 15px; /* Push to bottom */
    margin: 0;
    
    /* Styling to match the dark grey circles in your image */
    background-color: #5d5d5d; 
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

/* Make the inner chevron icons smaller */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

/* Position Next arrow on the far right */
.swiper-button-next {
    right: 20px;
}

/* Position Prev arrow directly to the left of the Next arrow */
.swiper-button-prev {
    left: auto;
    right: 75px; /* Spaced perfectly from the next arrow */
}

@media only screen and (max-width: 776px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 13px;
    }

    .swiper-button-next {
        right: 12px;
    }

    .swiper-button-prev {
        right: 52px;
    }
}

.ic_star {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 2px;
  background-color: #f6a623;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 117.1'%3E%3Cpath d='M64.42 2 80.13 38.7 120 42.26a3.2 3.2 0 0 1 1.82 5.62h0L91.64 74.18l8.9 39A3.19 3.19 0 0 1 98.12 117a3.27 3.27 0 0 1-2.46-.46L61.41 96.1 27.07 116.64a3.18 3.18 0 0 1-4.38-1.09 3.14 3.14 0 0 1-.37-2.38h0l8.91-39L1.09 47.88a3.24 3.24 0 0 1-.32-4.52 3.32 3.32 0 0 1 2.29-1l39.72-3.56L58.49 2a3.24 3.24 0 0 1 5.93 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 117.1'%3E%3Cpath d='M64.42 2 80.13 38.7 120 42.26a3.2 3.2 0 0 1 1.82 5.62h0L91.64 74.18l8.9 39A3.19 3.19 0 0 1 98.12 117a3.27 3.27 0 0 1-2.46-.46L61.41 96.1 27.07 116.64a3.18 3.18 0 0 1-4.38-1.09 3.14 3.14 0 0 1-.37-2.38h0l8.91-39L1.09 47.88a3.24 3.24 0 0 1-.32-4.52 3.32 3.32 0 0 1 2.29-1l39.72-3.56L58.49 2a3.24 3.24 0 0 1 5.93 0Z'/%3E%3C/svg%3E");
        }

.quote-stars {
  margin-bottom: 10px;
}

.quote-stars > span {
  justify-content: flex-start !important;
  margin-left: 0 !important;
}

.logo-big-image img {margin-top: -190px}
.full-width-image {max-width: 500px; width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;}

@media only screen and (max-width: 776px) {
  .logo-big-image img {
    margin-top: -130px;
  }
  .full-width-image {
    max-width: 350px;
  }
}
.hide-desktop {display:none;}

.toogle-sub-txt {font-size:20px; text-align: center !important; color: #8b8b8a; margin-bottom: 30px;}
.service-heading {color: #008438 !important; font-weight: 600; font-size:20px; text-align: center; margin-bottom: 0px;}
.service-selection {padding-bottom:190px !important; background: linear-gradient(to top, #edeff9, #ffffff); }

/* .toogle-heading-txt br {display:none;} */
.toogle-heading-txt{
    font-size: 46px;
    line-height: 56px;
    text-align: center !important;
    font-weight: 500 !important;
    color: #05893d;
    margin-bottom: 5px !important;
}

@media only screen and (max-width: 776px) {
    .toogle-heading-txt {
        font-size: 30px;
        line-height: 40px;
    }

    .toogle-sub-txt {
        font-size: 18px;
    }
}
#custom-popup, #upload-popup {background: #fff; padding: 0px; margin: 5% auto; width: 95%; max-width: 1264px; max-height: 90vh; overflow-y: auto; position: relative; border-radius:8px; scrollbar-width: none; -ms-overflow-style: none;}
#custom-popup::-webkit-scrollbar, #upload-popup::-webkit-scrollbar {display: none;}

#custom-popup .heading-popup, #upload-popup .heading-popup { background-image: linear-gradient(347deg, #008efa, #05893d) !important; padding: 15px 20px; color: #fff; font-size: 16px; font-weight: 600; border-radius: 8px 8px 0px 0px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; }
.popup-body {  padding: 40px;}

/* ============================
   Remodels page - mobile-only header hero text
   ============================ */
.mobile-hero-heading {
  margin: 0 0 10px 0;
  color: #008438;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.mobile-hero-subtext {
  margin: 0 0 15px 0;
  color: #718096;
  font-size: 20px;
  text-align: center;
}

@media only screen and (max-width: 776px) {
  .mobile-nav-shell {
    padding: 20px 20px 40px;
    background: #f5f5f5;
  }
}

/* ============================
   Remodels page - before/after banner
   ============================ */
.remodel-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 3;
  overflow: hidden;
}

.remodel-banner-images {
  display: flex;
  width: 100%;
  height: 100%;
}

.remodel-banner-img-wrap {
  position: relative;
  flex: 1 1 50%;
  overflow: hidden;
}

.remodel-banner-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remodel-banner-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 3px;
  background: linear-gradient(to bottom right, #064f79, #065624);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  opacity: 0.9;
}

.remodel-banner-img-wrap.right-side .remodel-banner-badge {
  left: auto;
  right: 25px;
}

.remodel-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.remodel-banner-overlay-inner {
  pointer-events: auto;
  max-width: 33%;
  width: 90%;
  margin: 0 auto;
  padding: 20px 15px;
  border: 1px solid #ffffff59;
  border-radius: 30px;
  background: #000000ab;
  text-align: center;
}

.remodel-banner .banner-heading {
  display: inline-block;
  margin-bottom: 15px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 36px;
}

.remodel-banner .banner-sub-heading {
  display: inline-block;
  margin-bottom: 15px;
  color: #fff;
  font-size: 18px;
  line-height: 26px;
}

.remodel-banner .upload-btn {
  display: inline-block;
  margin: 0 4px 15px;
  padding: 10px 30px;
  border-radius: 30px;
  background-image: linear-gradient(347deg, #008efa, #05893d);
  background-size: 100% auto;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
}

.remodel-banner .upload-btn.outline-btn {
  background: #fff;
  border: 1px solid #008438;
  color: #008438;
}

.remodel-banner .upload-btn:hover {
  background-image: linear-gradient(135deg, #008efa, #05893d);
}

.remodel-banner .upload-btn.outline-btn:hover {
  border: 1px solid transparent;
  background-image: linear-gradient(347deg, #008efa, #05893d);
  background-position: right center;
  background-size: 100% auto;
  color: #fff;
}

@media only screen and (max-width: 991px) {
  .remodel-banner .banner-heading {
    margin-bottom: 0;
  }

  .remodel-banner .banner-sub-heading {
    display: none;
  }

  .remodel-banner-overlay-inner {
    max-width: 50%;
  }

  .remodel-banner .upload-btn {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 776px) {
  .remodel-banner {
    aspect-ratio: auto;
  }

  .remodel-banner-images {
    flex-direction: column;
  }

  .remodel-banner-img-wrap {
    flex: 1 1 auto;
    aspect-ratio: 4 / 3;
  }

  .remodel-banner-overlay-inner {
    max-width: 50%;
  }

  .remodel-banner .upload-btn {
    margin-bottom: 15px;
  }

  .remodel-banner-badge {
    top: 15px;
    right: 15px;
    left: auto;
  }
}

@media only screen and (max-width: 520px) {
  .remodel-banner-overlay-inner {
    max-width: 55%;
    padding: 10px 15px;
  }

  .remodel-banner .banner-heading {
    font-size: 18px;
    line-height: 28px;
  }

  .remodel-banner .upload-btn {
    display: none;
  }
}

/* ============================
   "Visualize Your Remodel" CTA section
   ============================ */
.visualize-selection {
  background: linear-gradient(to top, #edeff9, #ffffff);
  padding: 60px 0;
}

.visualize-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.visualize-buttons .upload {
  margin-right: 0;
  margin-bottom: 0;
}

/* ============================
   Project Gallery - card carousel
   ============================ */
.project-gallery-section {
  padding: 60px 0 80px;
}

.gallery-carousel-container {
  position: relative;
  max-width: 1170px;
  width: 95%;
  margin: 40px auto 0;
  padding: 10px 0 70px;
  overflow: hidden;
}

.gallery-page-input {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - (2 * 24px)) / 3);
  box-sizing: border-box;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85) 60%);
  box-sizing: border-box;
}

.gallery-card-content h3 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.gallery-card-content p {
  margin: 0;
  color: #ffffffc9;
  font-size: 16px;
  line-height: 1.4;
}

.gallery-arrow {
  position: absolute;
  bottom: 15px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: #5d5d5d;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.gallery-arrow::after {
  font-family: swiper-icons;
  font-size: 18px;
  font-weight: 700;
  font-variant: initial;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none !important;
}

.gallery-arrow-prev::after {
  content: 'prev';
}

.gallery-arrow-next::after {
  content: 'next';
}

.gallery-arrow:hover {
  background-color: #404040;
}

.gallery-arrow-prev {
  right: 75px;
}

.gallery-arrow-next {
  right: 20px;
}

#gallery-page1:checked ~ .gallery-track {
  transform: translateX(0);
}

#gallery-page2:checked ~ .gallery-track {
  transform: translateX(calc(-33.333% - 8px));
}

#gallery-page3:checked ~ .gallery-track {
  transform: translateX(calc(-66.666% - 16px));
}

@media (max-width: 1024px) and (min-width: 768px) {
  .gallery-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  #gallery-page2:checked ~ .gallery-track {
    transform: translateX(calc(-50% - 12px));
  }

  #gallery-page3:checked ~ .gallery-track {
    transform: translateX(calc(-150% - 36px));
  }
}

@media (max-width: 767px) {
  .gallery-card {
    flex: 0 0 100%;
    height: 450px;
  }

  #gallery-page2:checked ~ .gallery-track {
    transform: translateX(calc(-100% - 24px));
  }

  #gallery-page3:checked ~ .gallery-track {
    transform: translateX(calc(-200% - 48px));
  }

  #gallery-page4:checked ~ .gallery-track {
    transform: translateX(calc(-300% - 72px));
  }

  #gallery-page5:checked ~ .gallery-track {
    transform: translateX(calc(-400% - 96px));
  }
}

/* ============================
   Project Gallery - CSS-only lightbox
   ============================ */
.lightbox-panel {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
}

.lightbox-panel:target {
  display: flex;
}

.lightbox-close-area {
  position: absolute;
  inset: 0;
}

.lightbox-content {
  position: relative;
  max-width: 850px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100000;
}

.main-photo-holder {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-photo-holder img {
  display: block;
  max-width: 100%;
  max-height: 65vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff;
  font-size: 46px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  user-select: none;
  transition: background 0.2s;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
}

.prev-arrow {
  left: -70px;
}

.next-arrow {
  right: -70px;
}

@media (max-width: 900px) {
  .nav-arrow {
    padding: 5px 15px;
    font-size: 30px;
  }

  .prev-arrow {
    left: 10px;
  }

  .next-arrow {
    right: 10px;
  }
}

.thumbnail-bar {
  display: flex;
  gap: 8px;
  justify-content: safe center;
  width: 100%;
  max-width: 700px;
  margin-top: 15px;
  padding: 5px 5px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 244, 244, 0.5) rgba(220, 220, 220, 0.03);
}

.thumbnail-bar::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-bar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.thumbnail-bar::-webkit-scrollbar-thumb {
  background: rgba(244, 244, 244, 0.4);
  border-radius: 10px;
}

.thumbnail-bar::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 244, 244, 0.8);
}

.thumb-item {
  flex-shrink: 0;
  width: 60px;
  height: 45px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.thumb-item:hover,
.thumb-item.active-thumb {
  opacity: 1;
  border-color: #00bcd4;
}

.thumb-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 40px;
  text-decoration: none;
}

.lightbox-close-btn:hover {
  color: #00bcd4;
}

@media (max-width: 767px) {
  .prev-arrow {
    left: 5px;
  }

  .next-arrow {
    right: 5px;
  }

  .thumbnail-bar {
    max-width: 100%;
    gap: 6px;
  }

  .thumb-item {
    width: 50px;
    height: 38px;
  }
}

/* Lightbox overlay + shared popup layout */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.open {
  display: flex;
}

.popup-close {
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  flex-shrink: 0;
  padding-left: 15px;
}

.popup-row {
  display: flex;
  gap: 30px;
}

.popup-row > * {
  flex: 1 1 50%;
  min-width: 0;
}

#custom-popup .demo-img img,
#upload-popup .demo-img img {
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

/* Upload Your Pool Photo dropzone */
.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 2px dashed #b9d3f0;
  border-radius: 10px;
  padding: 40px 20px;
  background: linear-gradient(to bottom, #f4f8fd, #eef1fb);
  cursor: pointer;
  text-align: center;
}

.upload-dropzone .upload-icon {
  width: 42px;
  height: 42px;
  color: #1a73e8;
}

.upload-dropzone .select-image-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 30px;
  background-image: linear-gradient(347deg, #008efa, #05893d);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* Upload Your Pool Photo — preview + remove button */
.custom-upload-box {
  position: relative;
}

.custom-upload-box.disabled .upload-dropzone {
  cursor: default;
}

.upload-preview {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
}

.remove-image-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.file-name-display {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #05893d;
  text-align: center;
}

/* Schedule a Design Consultation — material tabs + form */
.material-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.tab-pill {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #333;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-pill.active {
  background: #16406b;
  color: #fff;
  border-color: #16406b;
}

.consult-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.consult-form input,
.consult-form select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d7dde5;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  color: #333;
  font-weight: 500;
}

.consult-form input::placeholder {
  color: #aaaaaa;
  font-weight: 500;
  font-size: 14px;
}

.consult-form select {
  margin-bottom: 20px;
  color: #aaaaaa;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23aaaaaa' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}

.consult-form select:valid {
  color: #333;
}

.form-actions {
  display: flex;
  gap: 15px;
}

.form-actions .upload {
  width: auto;
  margin: 0;
  padding: 12px 28px !important;
}

@media only screen and (max-width: 776px) {
  .popup-row {
    flex-direction: column;
  }

  #custom-popup, #upload-popup {
    width: 95%;
    margin: 20px auto;
  }

  .consult-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .consult-form .form-row input {
    margin-bottom: 15px;
  }

  .visualize-buttons .upload {
    width: 100%;
    max-width: 320px;
  }

  .popup-body {
    padding: 15px;
  }

  /* Show the upload dropzone before the demo photo on mobile */
  #upload-popup .upload-instructions {
    order: -1;
  }

  #upload-popup .form-subtext {
    text-align: center;
  }
}
#custom-popup .demo-img img, #upload-popup .demo-img img {width: 100%;}
#custom-popup .form-subtext, #upload-popup .form-subtext {margin:5px 0px 20px; font-size: 14px; font-weight: 500;}

.upload {border: 1px solid transparent;
    width: 300px;
    text-align: center;
    display: inline-block;
    background-image: linear-gradient(347deg, #008efa, #05893d) !important;
    background-size: 100% auto !important;
    transition: all 0.5s ease !important;
    border-radius: 30px;
    color: #fff !important;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 20px;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px 30px !important;
    text-decoration: none;
  }

.upload:hover{background-image: linear-gradient(135deg, #008efa, #05893d) !important;}

.top-upload-button {text-align:center;}

.top-upload-button .upload span {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 2px; /* Adds a clean gap between "See Reviews" and the stars */
}

.top-upload-button .upload .ic_star {
    width: 16px; 
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 2px;
    background-color: #EEAB36;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 117.1'%3E%3Cpath d='M64.42 2 80.13 38.7 120 42.26a3.2 3.2 0 0 1 1.82 5.62h0L91.64 74.18l8.9 39A3.19 3.19 0 0 1 98.12 117a3.27 3.27 0 0 1-2.46-.46L61.41 96.1 27.07 116.64a3.18 3.18 0 0 1-4.38-1.09 3.14 3.14 0 0 1-.37-2.38h0l8.91-39L1.09 47.88a3.24 3.24 0 0 1-.32-4.52 3.32 3.32 0 0 1 2.29-1l39.72-3.56L58.49 2a3.24 3.24 0 0 1 5.93 0Z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 117.1'%3E%3Cpath d='M64.42 2 80.13 38.7 120 42.26a3.2 3.2 0 0 1 1.82 5.62h0L91.64 74.18l8.9 39A3.19 3.19 0 0 1 98.12 117a3.27 3.27 0 0 1-2.46-.46L61.41 96.1 27.07 116.64a3.18 3.18 0 0 1-4.38-1.09 3.14 3.14 0 0 1-.37-2.38h0l8.91-39L1.09 47.88a3.24 3.24 0 0 1-.32-4.52 3.32 3.32 0 0 1 2.29-1l39.72-3.56L58.49 2a3.24 3.24 0 0 1 5.93 0Z'/%3E%3C/svg%3E");
}

.service-selection { padding-top:100px; padding-bottom: 190px !important; background: linear-gradient(to top, #edeff9, #ffffff);}

@media only screen and (max-width: 776px) {
    .service-selection.container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.upload.outline {
    background: #fff !important;
    border: 1px solid #008438;
    color: #008438 !important;
}

.upload.outline:hover {
    border: 1px solid transparent;
    color: #fff !important;
    background-image: linear-gradient(347deg, #008efa, #05893d) !important;
    background-size: 100% auto !important;
    transition: all 0.5s ease !important;
    background-position: right center !important;
}

.top-upload-button .upload .ic_star {width: 19px; height: 19px; margin-right: 4px;}

 @media (max-width: 1024px) {
    .main-header-inner {flex-direction: column;gap: 30px;}
  }

@media only screen and (max-width: 991px){

    .hide-desktop, .hide-mobile {display:none;}
    /*.header1 #navbar {width: inherit;}*/
}

/* iPad / tablet — same "Explore" hamburger nav as mobile, instead of the
   full desktop menu bar, up through 1024px */
@media only screen and (max-width: 1024px) {
   .navbar {
      display: none;
   }

   .contact-group {
      display: none;
    }

    .mobile-quick-actions {
      display: flex;
      justify-content: space-between;
      width: 100%;
      max-width: 340px;
      margin: 30px auto 0;
    }

    .mobile-nav-dropdown {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      width: 100%;
      margin-top: 20px;
    }

    .mobile-nav-dropdown.open {
      display: flex;
    }

    .mobile-nav-dropdown .nav-link {
      width: 100%;
      max-width: 320px;
      text-align: center;
    }

    .mobile-nav-dropdown .nav-link.active {
      background: none;
      color: #008438;
    }

    .mobile-nav-dropdown .nav-link:hover {
      background: none;
    }

    .quick-action {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      text-decoration: none;
      color: #000;
      font-weight: 700;
      font-size: 0.95rem;
      font-family: inherit;
    }

    .quick-action svg {
      width: 22px;
      height: 22px;
      fill: none;
      stroke: #008438;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .explore-toggle .icon-close {
      display: none;
    }

    .explore-toggle.active .icon-hamburger {
      display: none;
    }

    .explore-toggle.active .icon-close {
      display: block;
    }
}

@media only screen and (max-width: 776px){
   .hide-desktop {display:block;}
   .hide-mobile {display:none;}
   /* .hero .subheading-text has higher specificity (2 classes) than the
      generic .hide-mobile rule above, so it needs its own override here
      or it would win and stay visible on mobile */
   .hero .subheading-text.hide-mobile {display:none;}

   .main-header {
     background: #f5f5f5;
   }

   .main-header-inner {
     justify-content: center;
     text-align: center;
     padding: 20px 5%;
   }

   .logo img {
     height: 140px;
   }

   /* The desktop nav is fully replaced by the mobile quick-action row +
      dropdown (in the hero section) below 776px */
   .navbar {
      display: none;
   }

   .contact-group {
      display: none;
    }

    .mobile-quick-actions {
      display: flex;
      justify-content: space-between;
      width: 100%;
      max-width: 340px;
      margin: 30px auto 0;
    }

    /* Nav dropdown revealed by "Explore" — lives in the hero section so it
       appears below the quick-action row, matching the reference design */
    .mobile-nav-dropdown {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      width: 100%;
      margin-top: 20px;
    }

    .mobile-nav-dropdown.open {
      display: flex;
    }

    .mobile-nav-dropdown .nav-link {
      width: 100%;
      max-width: 320px;
      text-align: center;
    }

    .mobile-nav-dropdown .nav-link.active {
      background: none;
      color: #008438;
    }

    .mobile-nav-dropdown .nav-link:hover {
      background: none;
    }

    .quick-action {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      text-decoration: none;
      color: #000;
      font-weight: 700;
      font-size: 0.95rem;
      font-family: inherit;
    }

    .quick-action svg {
      width: 22px;
      height: 22px;
      fill: none;
      stroke: #008438;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .explore-toggle .icon-close {
      display: none;
    }

    .explore-toggle.active .icon-hamburger {
      display: none;
    }

    .explore-toggle.active .icon-close {
      display: block;
    }

    .hero {
      padding: 20px 20px 40px;
      background: #f5f5f5;
    }

    .hero h1 {
      font-size: 2rem;
      line-height: 1.25;
      margin: 0 0 10px 0;
    }

    .clone-slide {
    display: block; /* Show clone on mobile */
  }

  .carousel-track {
    width: 400%; /* Accommodates 4 slides (3 originals + 1 clone) */
    gap: 0;
    animation: autoSlideSeamless 12s infinite linear;
  }

  .carousel-container {
    padding: 0;
    margin-top: 0px;
  }

  .carousel-slide {
    width: 25%; /* Each slide is 1/4th of the 400% track */
    padding: 0;
  }

  .card {
    /* Matches the mobile-slide images' native 1000x1036 ratio exactly, so
       background-size: cover shows the full photo with no cropping */
    height: auto;
    aspect-ratio: 1000 / 1036;
    border-radius: 0;
    border: none;
  }

  .card-content {
    display: none;
  }

  /* 
    The animation slides to the clone at 100%, 
    then instantly snaps back to 0% (the real Card 1) invisibly 
  */
  @keyframes autoSlideSeamless {
    0%, 25% { transform: translateX(0); }                /* Pause on Slide 1 */
    33.33%, 58.33% { transform: translateX(-25%); }      /* Pause on Slide 2 */
    66.66%, 91.66% { transform: translateX(-50%); }      /* Pause on Slide 3 */
    100% { transform: translateX(-75%); }                /* Slide to Clone, then snap to 0 */
  }

.card-1 { background-image: url('../images/mobile-slide-cleaning.jpg'); }
.card-2 { background-image: url('../images/mobile-slide-repair.jpg'); }
.card-3 { background-image: url('../images/mobile-slide-remodels.jpg'); }
}

@media only screen and (max-width:450px){
    .wpcf7-button.upload {width:90%; font-size:14px !important;}
}

@media (max-width: 768px) {
  :root {
    --ticker-speed: 22s;
  }
  .wp-logo-ticker-container .ticker-item img {
    height: 50px !important;
  }
}

.accordion-container {
  max-width: 100%;
  margin: 2rem auto;
}

details {
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  transition: background-color 0.3s ease;
  background-color: transparent;
  padding: 10px 15px;
}
summary::-webkit-details-marker {
  display: none;
}
.summary-content h3 {
  margin: 0 0 0.25rem 0;
  font-size: 20px;
  color: #000;
  font-weight: 600;
}
.summary-content p {
  margin: 0;
  font-size: 18px;
  color: #646464;
  font-weight: 300;
}
.icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 1rem;
}
.icon::before, .icon::after {
  content: '';
  position: absolute;
  background-color: #0f172a;
  transition: transform 0.3s ease;
}
.icon::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}
.icon::after {
  top: 0;
  left: 11px;
  width: 3px;
  height: 24px;
}
details[open] .icon::after {
  transform: scaleY(0);
}
.details-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-left: 20px;
}
.service-item {
  padding: 10px;
  /* background-color: #ffffff;
  border: 1px solid #e2e8f0; */
  border-radius: 6px;
  color: #334155;
  font-weight: 500;
}

/* Styling for text-only service items */
.service-item.text-layout {
  /* padding: 1.25rem; */
  display: flex;
  align-items: center;
}

.service-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.service-text h4 {
  margin: 0;
  font-size: 16px;
  color: #000;
  font-weight: 600;
}

.service-text p {
  margin: 0;
  font-size: 14px;
  color: #646464;
  line-height: 1.4;
}
@media (min-width: 776px) {
  .details-content {grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 776px) {
  details {padding: 0px 0px 10px;}
  .details-content {padding-left: 20px;}

}

/* ============================
   Mobile accordion version of
   "The Dragon Difference" cards
   ============================ */
.dragon-accordion-container {
  max-width: 100%;
  margin: 2rem auto 0;
  padding: 0 15px;
}

.dragon-accordion-container details {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 12px;
  padding: 0;
}

.dragon-accordion-container summary {
  padding: 16px 20px;
  border-bottom: 1px solid transparent;
}

/* Divider line under the heading row — only visible while open */
.dragon-accordion-container details[open] summary {
  border-bottom: 1px solid #e5e7eb;
}

.dragon-accordion-container .summary-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dragon-accordion-container .summary-content .feature-icon {
  width: 34px;
  height: 34px;
  margin: 0;
  flex-shrink: 0;
}

.dragon-accordion-container .summary-content h3 {
  margin: 0;
  font-size: 18px;
  color: #000;
  font-weight: 600;
}

/* Solid filled triangle arrow that flips when the accordion item is open */
.dragon-accordion-container .icon {
  width: 0;
  height: 0;
  margin-left: 1rem;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #333;
  border-bottom: none;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.dragon-accordion-container .icon::before,
.dragon-accordion-container .icon::after {
  content: none;
}

.dragon-accordion-container details[open] .icon {
  transform: rotate(180deg);
}

.dragon-accordion-container .details-content {
  padding: 14px 20px 20px 20px;
}

.dragon-accordion-container .feature-subtitle {
  margin-top: 0;
}

.dragon-accordion-container .feature-text {
  height: auto;
  min-height: 0;
}

.dragon-accordion-container .card-image {
  margin: 0 -20px -20px -20px;
  width: calc(100% + 40px);
}

.dragon-accordion-container .card-image img {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Switch cleanly between the swiper cards and the accordion at a single
   776px breakpoint, so there's no width range where both are hidden */
@media (max-width: 776px) {
  .dragon-difference-section .myCardSwiper {
    display: none;
  }
  .dragon-difference-section .dragon-accordion-container {
    display: block;
  }
}

@media (min-width: 777px) {
  .dragon-difference-section .dragon-accordion-container {
    display: none;
  }
  .dragon-difference-section .myCardSwiper {
    display: block;
  }
}

/* ============================================================
   Inline pool configurator ("Visualize Your Remodel")
   Matched to dragonpool.services — fonts, colors, radii, spacing
   ============================================================ */
.pool-configurator-inline-shell {
  --pc-muted: #7d8791;
  --pc-border: rgba(217, 228, 231, 0.9);
  --pc-surface-2: #f3f5f7;
  margin-top: 40px;
  text-align: left;
}

.pool-configurator-inline-shell,
.pool-configurator-inline-shell * {
  box-sizing: border-box;
}

.pool-configurator-inline-shell .pool-embed {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(217, 228, 231, 0.9);
  border-radius: 26px;
  box-shadow: 0 0px 5px rgba(11, 39, 46, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.pool-configurator-inline-shell .pc-loading,
.pool-configurator-inline-shell .pc-error {
  padding: 48px 24px;
  text-align: center;
  color: var(--pc-muted);
}

.pool-configurator-inline-shell .pc-body {
  display: grid;
  grid-template-columns: minmax(0, 2.0fr) minmax(300px, 0.8fr);
  gap: 0;
  min-height: auto;
}

.pool-configurator-inline-shell .pc-preview-column {
  padding: 10px;
  border-right: 1px solid var(--pc-border);
  background:
    radial-gradient(circle at top, rgba(53, 101, 158, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfefe 0%, #f7fafb 100%);
}

.pool-configurator-inline-shell .pc-stage {
  position: relative;
  border: 1px solid var(--pc-border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(244, 247, 248, 0.4), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(45deg, rgba(23, 49, 58, 0.02) 0 14px, rgba(23, 49, 58, 0.035) 14px 28px);
  overflow: hidden;
  height: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.pool-configurator-inline-shell .pc-stage-inner {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.pool-configurator-inline-shell .pc-base-image,
.pool-configurator-inline-shell .pc-overlay-image {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pool-configurator-inline-shell .pc-stage-figure {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
  --pc-compare-position: 50%;
}

.pool-configurator-inline-shell .pc-overlay-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pc-compare-position)) 0 0);
}

.pool-configurator-inline-shell .pc-overlay-wrap.pc-overlay-full {
  clip-path: inset(0 0 0 0);
}

.pool-configurator-inline-shell .pc-overlay-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.pool-configurator-inline-shell .pc-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pc-compare-position);
  width: 4px;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.pool-configurator-inline-shell .pc-compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pc-compare-position);
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.pool-configurator-inline-shell .pc-compare-handle::before,
.pool-configurator-inline-shell .pc-compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 3px solid #2f3137;
  border-right: 3px solid #2f3137;
}

.pool-configurator-inline-shell .pc-compare-handle::before {
  left: 18px;
  transform: translateY(-50%) rotate(-135deg);
}

.pool-configurator-inline-shell .pc-compare-handle::after {
  right: 18px;
  transform: translateY(-50%) rotate(45deg);
}

.pool-configurator-inline-shell .pc-compare-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.pool-configurator-inline-shell .pc-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 16px;
}

.pool-configurator-inline-shell .pc-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 68px;
  border: 3px solid transparent;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 6px 18px rgba(11, 39, 46, 0.08);
}

.pool-configurator-inline-shell .pc-thumb.active {
  border-color: #35659e;
  transform: translateY(-2px);
}

.pool-configurator-inline-shell .pc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pool-configurator-inline-shell .pc-sidebar {
  padding: 0 16px 20px;
  background: linear-gradient(180deg, #fafbfc 0%, #f5f7f9 100%);
  overflow: auto;
}

.pool-configurator-inline-shell .pc-section {
  margin-top: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0px 5px rgba(11, 39, 46, 0.1);
  overflow: hidden;
}

.pool-configurator-inline-shell .pc-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  padding: 10px 22px;
  text-align: left;
  font: inherit;
}

.pool-configurator-inline-shell .pc-section-toggle:hover {
  background: #fbfcfd;
}

.pool-configurator-inline-shell .pc-section-title {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-align: center;
  font-family: "Montserrat" !important;
}

.pool-configurator-inline-shell .pc-section-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  flex: 0 0 20px;
  color: #4d4e4e;
  font-size: 30px;
  line-height: 1;
  transition: transform 160ms ease;
}

.pool-configurator-inline-shell .pc-section-chevron::after {
  display: none;
}

.pool-configurator-inline-shell .pc-section-toggle[aria-expanded="true"] .pc-section-chevron {
  transform: rotate(180deg);
}

.pool-configurator-inline-shell .pc-section-body {
  border-top: 1px solid #eef2f4;
  padding: 18px 18px 18px;
}

.pool-configurator-inline-shell .pc-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
}

.pool-configurator-inline-shell .pc-option {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 160ms ease;
  text-align: left;
}

.pool-configurator-inline-shell .pc-option:hover,
.pool-configurator-inline-shell .pc-option:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.pool-configurator-inline-shell .pc-option-thumb {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1.45 / 1;
  border-radius: 0;
  overflow: hidden;
  border: 4px solid transparent;
  background: var(--pc-surface-2);
}

.pool-configurator-inline-shell .pc-option.active .pc-option-thumb {
  border-color: #35659e;
}

.pool-configurator-inline-shell .pc-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pool-configurator-inline-shell .pc-option-copy {
  padding-top: 8px;
}

.pool-configurator-inline-shell .pc-option-title {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #545454;
  line-height: 1.25;
  font-family: "Montserrat" !important;
}

.pool-configurator-inline-shell .pc-option-meta,
.pool-configurator-inline-shell .pc-option-id {
  display: none;
}

/* iOS Safari safety net */
#pool-configurator-inline .pc-thumb,
#pool-configurator-inline .pc-option-thumb {
  background-color: #e9edf2;
}

#pool-configurator-inline .pc-thumb,
#pool-configurator-inline .pc-option,
#pool-configurator-inline .pc-section-toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#pool-configurator-inline .pc-thumb img,
#pool-configurator-inline .pc-option-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#pool-configurator-inline .pc-section-body[hidden] {
  display: none !important;
}

#pool-configurator-inline .pc-overlay-stack {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (max-width: 1100px) {
  .pool-configurator-inline-shell .pc-body {
    grid-template-columns: 1fr;
  }

  .pool-configurator-inline-shell .pc-preview-column {
    border-right: 0;
    border-bottom: 1px solid var(--pc-border);
  }

  .pool-configurator-inline-shell .pc-sidebar {
    max-height: none;
    padding-bottom: 16px;
  }
}

@media (max-width: 1024px) {
  .pool-configurator-inline-shell .pc-body {
    display: flex;
    flex-direction: column;
  }

  .pool-configurator-inline-shell .pc-sidebar {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .pool-configurator-inline-shell .pc-option-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pool-configurator-inline-shell {
    margin-top: 18px;
  }

  .pool-configurator-inline-shell .pc-preview-column {
    padding: 0px;
  }

  .pool-configurator-inline-shell .pc-stage,
  .pool-configurator-inline-shell .pc-stage-inner {
    height: auto;
  }

  .pool-configurator-inline-shell .pc-sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pool-configurator-inline-shell .pc-section-toggle {
    padding: 10px 18px;
  }

  .pool-configurator-inline-shell .pc-section-body {
    padding: 16px;
  }

  .pool-configurator-inline-shell .pc-option-list {
    gap: 12px 10px;
  }
}

@media (max-width: 650px) {
  .pool-configurator-inline-shell .pc-option-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   Contact Us
   ============================================================ */
.contact-section {
  background-color: #f4f4f6;
  background-image: url('../images/contact-background-green.jpg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.contact-info {
  max-width: 480px;
}

.contact-heading-title {
  font-size: 24px;
  line-height: 22px;
  color: #05893d;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.contact-details {
  font-size: 16px;
  color: #646464;
  line-height: 1.6;
  margin: 0 0 25px 0;
}

.contact-details a {
  color: #646464;
  text-decoration: none;
}

.contact-details a:hover {
  color: #05893d;
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #d7dde5;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  color: #333;
  font-weight: 500;
}

.contact-form input::placeholder {
  color: #aaaaaa;
  font-weight: 500;
  font-size: 15px;
}

.contact-form select {
  margin-bottom: 25px;
  color: #aaaaaa;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23aaaaaa' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.contact-form select:valid {
  color: #333;
}

.contact-form .form-actions {
  display: flex;
  gap: 15px;
}

.contact-form .form-actions .upload {
  width: auto;
  margin: 0;
  padding: 14px 30px !important;
}

@media only screen and (max-width: 776px) {
  .contact-section {
    background-image: none;
    min-height: 0;
    padding: 40px 15px;
  }

  .contact-info {
    max-width: 100%;
    text-align: center;
  }

  .contact-heading-title {
    text-align: center;
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-form .form-row input,
  .contact-form input,
  .contact-form select {
    text-align: center;
    margin-bottom: 15px;
  }

  .contact-form .form-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================================
   "One Call. We Do It All." green CTA banner
   ============================================================ */
.green-cta-section {
  background-color: #008438;
  padding: 65px 0;
}

.green-footer-txt {
  margin: 0;
  color: #fff;
}

.green-footer-txt strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.green-footer-txt .green-footer-subtext {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}

.green-footer-txt .space-line {
  display: block;
  font-size: 20px;
  color: #fff;
}

.green-footer-txt .space-line a {
  color: #fff;
  text-decoration: none;
}

.green-footer-txt .space-line a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 776px) {
  .green-cta-section {
    padding: 45px 15px;
  }

  .green-footer-txt strong {
    font-size: 22px;
  }

  .green-footer-txt .green-footer-subtext,
  .green-footer-txt .space-line {
    font-size: 16px;
  }
}

/* ============================================================
   Site footer — About Us / The Dragon Difference + bottom bar
   ============================================================ */
.site-footer {
  background-color: #000;
}

.footer-top {
  background-color: #000;
  padding: 90px 0;
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 0;
}

.footer-col.about-col {
  flex: 0 0 33.3%;
  max-width: 33.3%;
}

.footer-col .widget-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 15px 0;
}

.footer-col p strong {
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  background-color: #000;
  padding: 0 0 40px;
}

.footer-bottom-inner {
  background-color: #05893d;
  border-radius: 16px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-footer {
  display: block;
  flex: 0 0 auto;
}

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

.footer-bottom .copyright {
  color: #fff;
  font-size: 14px;
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
}

.footer-bottom .footer-gap {
  margin-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.social-links li a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.social-links li a:hover {
  background: #fff;
  color: #05893d;
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media only screen and (max-width: 776px) {
  .footer-top {
    padding: 50px 0;
  }

  .footer-columns {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }

  .footer-col.about-col {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .logo-footer {
    order: 1;
  }

  .footer-bottom .copyright {
    order: 2;
  }

  .social-links {
    order: 3;
    justify-content: center;
  }
}

/* ============================================================
   Cleaning page
   ============================================================ */

/* --- Hero banner: entrance animation on first load --- */
.cleaning-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #05893d 25%, #05893d 26%, #00c0a3 71%);
}

.cleaning-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1450px;
  margin: 0 auto;
  padding: 90px 5%;
}

.cleaning-hero-text {
  max-width: 620px;
  flex: 1 1 420px;
  text-align: center;
}

.cleaning-hero-heading {
  margin: 0 0 20px 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  opacity: 0;
  animation: cleaningFadeUp 0.8s ease forwards;
  animation-delay: 0.1s;
}

.cleaning-hero-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 25px;
  opacity: 0;
  animation: cleaningFadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.cleaning-hero-stars .ic_star {
  width: 26px;
  height: 26px;
}

.cleaning-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cleaning-hero-btn {
  display: inline-block;
  padding: 18px 34px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #05893d;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  animation: cleaningFadeUp 0.8s ease forwards;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cleaning-hero-btn:nth-child(1) {
  animation-delay: 0.5s;
}

.cleaning-hero-btn:nth-child(2) {
  animation-delay: 0.7s;
}

.cleaning-hero-btn:hover {
  background-color: #026c2f;
  color: #fff;
}

.cleaning-hero-image {
  flex: 1 1 420px;
  max-width: 620px;
  opacity: 0;
  animation: cleaningFadeInRight 1s ease forwards;
  animation-delay: 0.2s;
}

.cleaning-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@keyframes cleaningFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cleaningFadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media only screen and (max-width: 991px) {
  .cleaning-hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 60px 6%;
  }

  .cleaning-hero-heading {
    font-size: 44px;
  }

  .cleaning-hero-buttons {
    justify-content: center;
  }
}

@media only screen and (max-width: 776px) {
  .cleaning-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cleaning-hero-btn {
    width: 100%;
    max-width: 280px;
  }
}

@media only screen and (max-width: 480px) {
  .cleaning-hero-heading {
    font-size: 32px;
  }

  .cleaning-hero-btn {
    padding: 14px 26px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cleaning-hero-heading,
  .cleaning-hero-btn,
  .cleaning-hero-image {
    animation: none;
    opacity: 1;
  }
}

/* --- Shared section heading treatment (mirrors the reference site's
   h1/h2.service-sub-heading, normalized across both tags) --- */
.cleaning-services-section {
  padding: 70px 0;
}

h1.service-sub-heading,
h2.service-sub-heading {
  margin: 0 0 10px 0;
  color: #000;
  font-size: 34px;
  font-weight: 500;
  line-height: 42px;
}

p.service-sub-heading {
  margin: 0 0 5px 0;
  color: #008438;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.services-txt {
  margin-bottom: 20px;
  color: #8b8b8a;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.cleaning-checklist {
  margin: 0 0 15px 0;
  padding: 0;
  list-style: none;
}

.cleaning-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: #333;
  font-size: 16px;
}

.cleaning-checklist .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #008438;
  font-size: 15px;
  font-weight: 700;
}

.cleaning-continue-reading {
  margin-bottom: 20px;
  padding: 0;
  border-bottom: none;
}

.cleaning-continue-reading summary {
  display: inline-flex;
  padding: 0;
  color: #008438;
  font-weight: 600;
  font-size: 15px;
}

.cleaning-continue-reading .details-content {
  padding: 10px 0 0 0;
  grid-template-columns: auto;
}

.cleaning-continue-reading .details-content p {
  color: #8b8b8a;
  font-size: 15px;
  line-height: 24px;
}

.cleaning-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  background-color: #008438;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.4s ease-in-out;
}

.cleaning-btn:hover {
  transform: scale(1.03);
  color: #fff;
}

/* --- Pricing card --- */
.cleaning-row-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card {
  width: 100%;
  max-width: 320px;
  padding: 40px 30px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.pricing-card-title {
  margin: 0 0 5px 0;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card-note {
  margin: 0 0 5px 0;
  color: #008438;
  font-size: 14px;
}

.pricing-card-amount {
  margin-bottom: 10px;
  color: #008438;
  font-size: 70px;
  font-weight: 600;
}

.pricing-currency {
    font-size: 20px;
    vertical-align: top;
    font-weight: 300;
    display: inline-block;
    padding-top: 10px;
    padding-right: 5px;
}

.pricing-period {
  color: #8b8b8a;
  font-size: 16px;
  font-weight: 400;
  display: block;
}

.pricing-card-feature {
  margin-bottom: 25px;
  color: #646464;
  font-size: 14px;
  line-height: 20px;
}

.pricing-card-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background-color: #008438;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.4s ease-in-out;
}

.pricing-card-btn:hover {
  transform: scale(1.03);
  color: #fff;
}

/* --- Alternating text / media rows --- */
.cleaning-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 70px;
}

.cleaning-row-top {
  align-items: flex-start;
}

.cleaning-row-text,
.cleaning-row-media,
.cleaning-row-pricing {
  flex: 1 1 50%;
  min-width: 0;
}

@media only screen and (max-width: 991px) {
  .cleaning-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    text-align: center;
  }

  .cleaning-row-top {
    align-items: center;
  }

  .cleaning-checklist li {
    justify-content: center;
  }
}

/* --- Before / after comparison slider --- */
.before-after-slider {
  --ba-pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ba-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-before-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-pos);
    width: 3px;
    background: transparent; /* Remove the solid background */
    transform: translateX(-50%);
    pointer-events: none;
    /* Remove the box-shadow from the parent container */
}

/* Top half of the divider line */
.ba-divider::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: calc(50% + 25px); /* Stops exactly at the top edge of your 50px handle */
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Bottom half of the divider line */
.ba-divider::after {
    content: '';
    position: absolute;
    top: calc(50% + 25px); /* Starts exactly at the bottom edge of your 50px handle */
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Your .ba-handle code remains exactly the same below this line */
.ba-handle {
    position: absolute;
    top: 50%;
    left: var(--ba-pos);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; 
    height: 44px;
    border-radius: 50%;
    background: transparent; 
    border: 3px solid #fff; 
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4); 
    color: transparent; 
    pointer-events: none;
}

.ba-handle::before {
    content: '';
    position: absolute;
    left: 8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 9px 7px 0;
    border-color: transparent #fff transparent transparent;
}

.ba-handle::after {
    content: '';
    position: absolute;
    right: 8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 9px;
    border-color: transparent transparent transparent #fff;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.ba-label {
  position: absolute;
  top: 15px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

.ba-label-before {
  left: 15px;
}

.ba-label-after {
  right: 15px;
}

/* --- FAQ accordion (reuses the site's global details/summary look) --- */
.cleaning-faq {
  margin-top: 20px;
  text-align: center;
}

.cleaning-faq .service-heading {
  margin-bottom: 30px;
}

.cleaning-faq details {
  text-align: left;
}

.cleaning-faq summary h4 {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 600;
}