.service-hero-container{
    background: url(../../images/resource/dallas-pools-contractor-services.webp) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding: 154px 0;
}

.service-content h4 a,
.service-content p a{
    z-index: 200 !important;
}


.bratcome-text ul li a::before {
    position: absolute;
    content: "/";
    left: 88px !important;
}

.custom-hero-container{
    background: url(../../images/resource/dallas-pools-contractor-service.webp) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding: 154px 0;
}

.active{
    width: 100%;
    background-color: #0096c7 !important;
    color: white;
}

.active a{
    color: white !important;
}

.remodeling-hero-container{
    background: url(../../images/resource/dallas-pools-contractor-service-2.webp) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding: 154px 0;
}

.remodeling-hero-container-2 {
    background: url(../../images/service/pool-remodeling-renovation-service-2.webp) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
    padding: 63px 30px 57px;
    margin-bottom: 40px;
}

.deck-hero-container{
    background-image: url(../../images/resource/dallas-pools-contractor-service-3.webp);
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding: 154px 0;
}

.deck-hero-container-2{
    background: url(../../images/service/pool-deck-patio-installation-service-2.webp) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
    padding: 63px 30px 57px;
    margin-bottom: 40px;
}

.water-hero-container{
    background-image: url(../../images/resource/dallas-pools-contractor-service-4.webp);
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding: 154px 0;
}

.water-hero-container-2{
    background-image: url(../../images/service/spa-water-feature-service-2.webp) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
    padding: 63px 30px 57px;
    margin-bottom: 40px;
}

.cleaning-hero-container{
    background-image: url(../../images/resource/dallas-pools-contractor-service-5.webp);
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding: 154px 0;
}

.cleaning-hero-container-2{
    background-image: url(../../images/service/pool-cleaning-services-2.webp) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
    padding: 63px 30px 57px;
    margin-bottom: 40px;
}

.maintenance-hero-container{
    background-image: url(../../images/resource/dallas-pools-contractor-service-6.webp);
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding: 154px 0;
}

.maintenance-hero-container-2{
    background-image: url(../../images/service/pool-equipment-maintenance-service-2.webp) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
    padding: 63px 30px 57px;
    margin-bottom: 40px;
}

.bratcome-text ul .slash a::before{
    left: 64px !important;
}

.row{
    row-gap: 20px !important;
}

/* why choose us modern section */

.why-choose-modern {
  background: linear-gradient(135deg, #16334b 0%, #0096c7 100%);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.why-choose-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-header .subtitle {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
  opacity: 0.9;
}

.section-header .title {
  font-size: 40px;
  color: #ffffff;
  font-weight: 700;
  margin: 10px 0 15px;
}

.section-header .description {
  color: #e6f5fb;
  font-size: 17px;
  line-height: 28px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.choose-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 40px 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.choose-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.choose-card:hover::before {
  opacity: 1;
}

.choose-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.choose-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.choose-card:hover .choose-icon {
  background: #ffffff;
  color: #0096c7;
  transform: scale(1.1);
}

.choose-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.choose-card p {
  font-size: 15px;
  line-height: 25px;
  color: #e0f3fa;
}

/* Simple floating animation for icons */
@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.choose-icon i {
  animation: floatIcon 3s ease-in-out infinite;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .section-header .title {
    font-size: 32px;
  }
  .why-choose-modern {
    padding: 70px 0;
  }
}

/* services aniamted  */

.widget-slogan-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #16334b 0%, #0096c7 100%);
  border-radius: 10px;
  padding: 12px 0;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0, 150, 199, 0.4);
}

.slogan-track {
  display: flex;
  white-space: nowrap;
  animation: scrollText 25s linear infinite;
}

.slogan-item {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0 50px;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(0, 150, 199, 0.8);
  transition: transform 0.3s ease, color 0.3s ease;
}

.slogan-item:hover {
  color: #00c2ff;
  transform: scale(1.05);
}

/* 🔁 Marquee keyframes */
@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ✨ Optional glowing line effect at top and bottom */
.widget-slogan-box::before,
.widget-slogan-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00c2ff, transparent);
  animation: glowLine 1s linear infinite;
}

.widget-slogan-box::before {
  top: 0;
}

.widget-slogan-box::after {
  bottom: 0;
  animation-delay: 1s;
}

@keyframes glowLine {
  0% {
    opacity: 0.3;
    transform: scaleX(0);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.3;
    transform: scaleX(0);
  }
}



@media (max-width:768px) {
    .bratcome-text ul .slash a::before {
        left: 64px !important;
    }

}

@media (max-width: 426px) {
    .bratcome-text ul .slash a::before {
        left: 57px !important;
    }

    .bratcome-text ul li a::before {
        left: 80px !important;
    }

    .widget-categories-menu ul li a{
        font-size: 20px;
    }

    .widget-contact-title h4{
        font-size: 32px;
    }

    .widget-download-btn a{
        font-size: 22px;
    }

    .service-details-title h4 {
        font-size: 34px;
    }

}

@media (max-width: 376px) {
    .bratcome-text ul .slash a::before {
        left: 52px !important;
    }

    .bratcome-text ul li a::before {
        left: 72px !important;
    }

    .widget-categories-menu ul li a{
        font-size: 18px;
    }

    .widget-contact-title h4 {
        font-size: 28px;
    }

    .widget-contact-content h4 {
        font-size: 26px;
    }

    .service-details-title h4 {
        font-size: 30px;
    }

    .service-list-title h4{
        font-size: 22px;
    }

}

@media (max-width: 320px) {
    .widget-categories-menu ul li a {
        font-size: 16px !important;
    }

    .widget-contact-title h4 {
        font-size: 24px;
    }

    .widget-contact-content h4 {
        font-size: 22px;
    }

    .widget-download-btn a,
    .service-list-title h4 {
        font-size: 18px;
    }

    .service-details-title h4 {
        font-size: 24px;
    }

    .service-detials-discription p,
    .service-detials-list span {
        font-size: 14px;
    }


}
