/* Services Page Styles */
.services-hero {
  position: relative;
  height: 350px;
  background: url("/images/services-hero/Main Service Page Hero Image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  color: white;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
}

.blue-text {
  color: #005e82;
  font-size: larger;
}

.black-text {
  color: #000;
  font-size: larger;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    2px 15px 15px rgba(0, 0, 0, 0.95),
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.6),
    2px 2px 3px rgba(0, 0, 0, 1);
}

.btn-call-now {
  display: inline-block;
  padding: 16px 35px;
  border: none;
  border-radius: 0;
  background: #005e82;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.btn-call-now:hover {
  background: #58858d;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.service-image {
  margin-bottom: 22px;
}

.service-content {
  padding-bottom: 35px;
}

.our-services-section {
  padding: 40px 0;
  background: url("/images/service-hero/blue background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  /* margin: 20px; */
}

/* .services-header {
    margin-bottom: 50px;
} */

.section-title-small {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.section-title-small .line {
  width: 50px;
  height: 2px;
  background: #005e82;
  margin: 0 15px;
}

.section-title-small .text {
  color: #005e82;
  font-size: larger;
  font-weight: 600;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #1f2937;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #4b5563;
  margin-top: 0.25rem;
  /* margin-bottom: 1.75rem; */
}

.services-header .section-title,
.services-header .section-subtitle {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.services-navigation {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.nav-arrows {
  display: flex;
  gap: 10px;
}

.nav-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: white;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  padding: 0;
  box-sizing: border-box;
}

.nav-arrow:hover {
  border-color: #005e82;
  color: #005e82;
  transform: scale(1.1);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.next-arrow {
  background: #005e82;
  color: white;
  border-color: #005e82;
}
.next-arrow:hover {
  color: #fff;
}
.services-carousel {
  overflow: hidden;
}

.services-container {
  display: flex;
  gap: 0;
  transition: transform 0.3s ease;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-container::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 350px;
  background: white;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-right: 1px solid #005e82;
  position: relative;
  margin: 5px;
}

.service-card:last-child {
  border-right: none;
}

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

.service-image {
  height: 250px;
  overflow: hidden;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.service-image a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-image a:hover img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-title {
  color: #0f766e;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-title-link {
  color: #005e82;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-title-link:hover {
  color: #58858d;
  text-decoration: none;
}

.service-description {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.service-link {
  color: #005e82;
  text-decoration: none;
  font-weight: 600;
}

.service-link:hover {
  text-decoration: underline;
}

.contact-cta-section {
  position: relative;
  height: 50vh;
  background: url("/images/services images/Rectangle 12475.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.cta-content {
  color: white;
  z-index: 2;
  text-align: center;
  /* text-shadow: 0 4px 12px rgba(0,0,0,0.8), 0 2px 6px rgba(0,0,0,0.6); */
}

.cta-small-text {
  font-size: 1rem;
  margin-bottom: 15px;
  opacity: 0.95;
  font-weight: 400;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
  line-height: 1.1;
  /* text-shadow: 0 4px 15px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7); */
  color: white;
}

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

.btn-service {
  background: #005e82;
  color: white;
  padding: 20px 30px;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline {
  background: #005e82;
  color: white;
  padding: 20px 30px;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-service:hover {
  background: #58858d;
  color: white;
  text-decoration: none;
  transform: translateY(-3px);
  /* box-shadow: 0 6px 12px rgba(0,0,0,0.3); */
}

.btn-outline:hover {
  background: white;
  color: #005e82;
  text-decoration: none;
  transform: translateY(-3px);
  /* box-shadow: 0 6px 12px rgba(0,0,0,0.2); */
}

.statistics-section {
  background: #005e82;
  padding: 20px 0;
  margin-top: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.stat-item {
  text-align: center;
  color: white;
  border-right: 1px solid white;
  padding: 12px 10px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 2rem;
  opacity: 0.9;
}

.trust-section {
  padding: 80px 0;
  background: #eafcff;
}

.trust-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
  color: #1f2937;
  line-height: 1.25;
}

.trust-text {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.75;
  color: #374151;
  text-align: center;
  font-size: 1.02rem;
}

.trust-text p {
  margin-bottom: 20px;
}

.boxed p,
.boxed-container p,
.container p {
  font-size: 17px;
}

.boxed h1,
.boxed h2,
.boxed-container h1,
.boxed-container h2,
.container h1,
.container h2 {
  margin: 10px 0;
}

.footer-cta-section {
  padding: 0;
  margin: 50px;
}

.footer-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
  /* ensure equal heights */
  border-radius: 10px;
  overflow: hidden;
}

.footer-cta-grid > .footer-cta-item {
  height: 100%;
}

.logo-section {
  background: #eafcff;
  padding: 60px 20px;
  text-align: center;
  color: white;
  height: 100%;
  place-items: center;
  display: flex;
  align-items: center;
  place-content: center;
}

.logo-section img {
  max-width: 100%;
  height: auto;
}

.footer-logo {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.phone-section {
  background: #58858d;
  padding: 40px 20px;
  text-align: left;
  color: white;
  height: 100%;
}

.phone-label {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.phone-number:hover {
  color: white;
  text-decoration: none;
}

.address-section {
  background: #005e82;
  padding: 40px 20px;
  text-align: left;
  height: 100%;
}

.address-label {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.address-text {
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.hero-content {
  color: white;
  z-index: 2;
  position: relative;
}

.cta-content {
  color: white;
  z-index: 2;
  position: relative;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(47, 125, 125, 0.2),
    rgba(61, 140, 140, 0.15)
  );
  z-index: 1;
}

.contact-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.contact-cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-card {
  flex: 0 0 350px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid rgba(80, 194, 194, 0.1);
}

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

.btn-service:hover {
  background: #3d8c8c;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-call-now:hover {
  background: #58858d;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .trust-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* .address-section {
    text-align: center;
  } */

  .services-container {
    flex-direction: column;
  }

  .service-card {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .trust-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .services-container {
    padding: 0 12px;
  }

  .service-card {
    flex: 0 0 320px;
  }

  .service-image {
    height: 220px;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .trust-title {
    font-size: 2rem;
  }

  .service-card {
    flex: 0 0 300px;
  }

  .service-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* .services-navigation {
    display: none;
  } */
}

@media (max-width: 1024px) and (min-width: 769px) {
  .our-services-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .services-container {
    gap: 10px;
    padding: 0 12px;
  }

  .service-card {
    flex: 0 0 320px;
    margin: 8px;
  }

  .service-image {
    height: 220px;
  }

  .section-title-small .line {
    width: 40px;
  }

  /* Enforce single-row 3-column layout at 1024px */
  .footer-cta-section .container .footer-cta-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    text-align: left;
    gap: 0 !important;
    width: 100% !important;
  }

  .footer-cta-grid > .footer-cta-item {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .footer-cta-grid > .footer-cta-item * {
    max-width: 100% !important;
  }

  .footer-cta-section {
    margin: 12px;
  }

  .footer-cta-section .container {
    padding-left: 6px;
    padding-right: 6px;
  }

  .logo-section,
  .phone-section,
  .address-section {
    padding: 16px 8px;
  }

  .logo-section img {
    width: 217px !important;
  }

  .phone-label {
    font-size: 0.72rem;
  }

  .phone-number {
    font-size: 1.05rem;
  }

  .address-label {
    font-size: 0.72rem;
  }

  .address-text {
    font-size: 0.82rem;
  }

  .services-navigation {
    display: flex !important;
  }

  /* .hero-content {
            margin-top: 200px !important;
        } */
}

@media (max-width: 768px) {
  .services-hero {
    height: 430px !important;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .services-container {
    flex-direction: column;
    padding: 0 10px;
  }

  .service-card {
    flex: 1 1 auto;
    width: 100%;
    margin: 8px 0;
    border-right: 0;
  }

  .service-image {
    height: 190px;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* .hero-content {
            margin-top: 120px !important;
        } */
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-description {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  /* .services-hero {
    height: 630px;
  } */

  .hero-subtitle {
    font-size: 16px;
  }

  .service-image {
    height: 170px;
  }
}

@media (max-width: 767px) {
  .cta-section {
    width: 100% !important;
    height: auto !important;
    min-height: 260px;
    padding: 24px 0;
  }

  .cta-actions {
    gap: 12px;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .services-hero {
    height: 440px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  /* .hero-content {
            margin-top: 120px !important;
        } */

  .our-services-section {
    padding: 30px 0;
  }

  .our-services-section .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .services-container {
    gap: 8px;
    padding: 0 8px;
  }

  .service-card {
    flex: 0 0 300px;
    margin: 6px;
  }

  .service-image {
    height: 200px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-title-small .line {
    width: 40px;
  }

  .services-navigation {
    display: flex;
  }

  /* .services-hero {
    height: 600px;
  } */

  .footer-cta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta-section {
    margin: 30px;
  }
}

.cta-section {
  position: relative;
  padding: 30px 0;
  overflow: hidden;
  background: #005e82;
  min-height: 200px;
  margin-top: 0;
  margin-bottom: 30px;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/services-hero/carpet cleaners nassau CTA img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.services-container {
  max-width: 1140px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

.cta-box {
  position: relative;
  margin: 0 auto;
  max-width: 600px;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  z-index: 3;
}
.cta-box h2 span{
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

.cta-box p strong{
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

.cta-eyebrow {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(0, 0, 0, 0.6);
}

.cta-eyebrow::before,
.cta-eyebrow::after {
  content: "";
  display: block;
  height: 2px;
  width: 80px;
  background: #ffffff;
  border-radius: 2px;
}

.cta-title {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.7);
}

.cta-description {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 30px;
  line-height: 1.5;
  opacity: 0.9;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.85);
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.btn-cta-primary {
  background: #005e82;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 30px;
}

.btn-cta-primary:hover {
  background: #58858d;
  color: #ffffff;
}

.btn-cta-outline {
  background: #005e82;
  color: #ffffff;
  border: 2px solid #005e82;
  padding: 10px 24px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 30px;
}

.btn-cta-outline:hover {
  background: #58858d;
  color: #ffffff;
}

.cta-accent {
  position: absolute;
  z-index: 3;
  background: #005e82;
  box-shadow: inset 0 0 0 6px #ffffff;
}

.cta-accent--tl {
  top: 0;
  left: 0;
  width: 140px;
  height: 200px;
  transform: translate(-40%, -40%) rotate(45deg);
  box-shadow:
    0 6px 18px rgba(67, 0, 101, 0.35),
    inset 0 0 0 6px #ffffff;
}

.cta-accent--br {
  bottom: 0;
  right: 0;
  width: 140px;
  height: 200px;
  transform: translate(40%, 40%) rotate(45deg);
  box-shadow:
    0 -6px 18px rgba(67, 0, 101, 0.35),
    inset 0 0 0 6px #ffffff;
}

@media (max-width: 767px) {
  .cta-accent {
    display: none;
  }
}

.cta-accent-white {
  position: absolute;
  z-index: 4;
  background: #ffffff;
}

.cta-accent-white--tl {
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  transform: translate(-20%, -20%) rotate(45deg);
}

.cta-accent-white--br {
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  transform: translate(20%, 20%) rotate(45deg);
}


.services-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  overflow: hidden;
}

.services-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.services-track .svc-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.svc-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.svc-card-image {
  padding: 18px 18px 0 18px;
}

.svc-frame {
  position: relative;
  border: 2px solid #005e82;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
}

/* .svc-frame::before,
    .svc-frame::after {
        content: "";
        position: absolute;
        width: 22px;
        height: 22px;
        border: 2px solid #005E82;
        z-index: 2;
        pointer-events: none;
    }

    .svc-frame::before {
        top: 6px;
        left: 6px;
        border-right: none;
        border-bottom: none;
    } */

.svc-frame::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

.svc-frame a {
  display: block;
  width: 100%;
  height: 100%;
}

.svc-frame img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transition: transform 0.3s ease;
}

.svc-frame:hover img {
  transform: scale(1.05);
}

.svc-card-body {
  padding: 22px 24px 28px;
}

.svc-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.svc-card-title a {
  color: #005e82;
  text-decoration: none;
}

.svc-card-title a:hover {
  color: #58858d;
}

.svc-card-desc {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.svc-card-link {
  color: #005e82;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.svc-card-link:hover {
  color: #58858d;
  /* text-decoration: underline; */
}

@media (max-width: 992px) {
  .services-track .svc-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .services-track .svc-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 767px) {
  .cta-title {
    font-size: 28px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-section {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 30px 15px !important;
    margin: 20px 0 !important;
  }

  .cta-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .cta-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    width: 100% !important;
  }
}
