/*=============================
  Services Detail CSS Start 
===============================*/

.service-detail-section {
  padding-top: 150px;
}

.service-detail-section .service-detail-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
}

.service-detail-section .service-detail-content h1 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-detail-section .service-detail-content p {
  font-size: 20px;
  font-weight: 400;
}

.service-detail-section .service-detail-img {
  min-width: 621px;
  height: 450px;
}

.service-detail-section .service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-detail-section .service-detail-container {
    flex-direction: column-reverse;
    align-items: center;
  }

  .service-detail-section .service-detail-img {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
  }

  .service-detail-section .service-detail-content h1 {
    font-size: 28px;
  }

  .service-detail-section .service-detail-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .service-detail-section .service-detail-container {
    gap: 20px;
  }

  .service-detail-section .service-detail-content h1 {
    font-size: 24px;
  }

  .service-detail-section .service-detail-img {
    min-width: 100%;
  }

  .service-detail-section .service-detail-img img {
    width: 100%;
    border-radius: 15px;
  }

  .service-detail-section .service-detail-content p {
    font-size: 16px;
  }

  .service-detail-section .service-detail-img img {
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .service-detail-section {
    padding-top: 100px;
  }

  .service-detail-section .service-detail-container {
    gap: 20px;
  }

  .service-detail-section .service-detail-content h1 {
    font-size: 20px;
  }

  .service-detail-section .service-detail-content p {
    font-size: 14px;
  }
}
/*=============================
  Services Detail CSS End 
===============================*/
/*=============================
  Get a Quote Section CSS Start 
===============================*/
.quote-section {
  position: relative;
  height: 210px;
  background-color: #f2f2f2;
}

.quote-section img {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.quote-section .text-center {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
}

/*=============================
  Get a Quote Section CSS End 
===============================*/
/*=============================
  Seo Content Section CSS Start 
===============================*/
.seo-content-section {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.seo-content-section h1 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 800px;
  text-align: center;
}

.seo-content-section p {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
}

/*=============================
  Seo Content Section CSS End 
===============================*/
/*=============================
  Call At Section CSS Start 
===============================*/
.call-at-section {
  margin-top: 100px;
  position: relative;
  height: 297px;
}

.call-at-section .img1 {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.call-at-section .img2 {
  position: absolute;
  object-fit: cover;
  width: 50%;
  height: 100%;
  z-index: -1;
}

.call-at-section .content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  font-size: 30px;
  font-weight: 600;
  color: white;
}

@media (max-width: 1530px) {
  .call-at-section .img2 {
    width: 50%;
  }
}
@media (max-width: 1230px) {
  .call-at-section .img2 {
    width: 60%;
  }
}
@media (max-width: 832px) {
  .call-at-section .img2 {
    width: 100%;
  }
  .call-at-section .content {
    font-size: 20px;
    font-weight: 500;
  }
}
/*=============================
  Call At Section CSS End 
===============================*/
/*=============================
  Sub Services Section CSS start 
===============================*/
.sub-services-section h2 {
  margin-top: 100px;
  text-align: center;
}

.sub-services-section .cards-container {
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.single-card {
  width: 360px;
  height: 450px;
  perspective: 1000px; /* Ensure 3D effect */
  position: relative; /* Ensure absolute positioning of child elements */
}

.single-card .card-front,
.single-card .card-back {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  backface-visibility: hidden; /* Hide the back face when not visible */
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.6s;
}

.single-card .card-front {
  background-color: #d32c2ccc;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  padding-inline: 20px;
}

.single-card .card-back {
  background-color: rgba(225, 225, 225, 0.8);
  color: #000000;
  transform: rotateY(180deg); /* Rotate the back side */
  padding: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 400  ;
}

.single-card:hover .card-front {
  transform: rotateY(180deg);
}

.single-card:hover .card-back {
  transform: rotateY(0deg);
}
/*=============================
  Sub Services Section CSS End 
===============================*/