/*=============================
  Banner Image Css Start
===============================*/
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.swiper-container {
  position: relative;
  top: 85px;
  width: 100%;
  height: 85vh; /* Adjust the height as needed */
  overflow-x: hidden;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  /* align-items: center;
  justify-content: center; */
}

.banner-image .slider-content {
  position: relative;
  top: 10vh;
  z-index: 1;
}

.banner-image .slider-content h1 {
  font-size: 45px;
  font-weight: 700;
  animation: slideDown 1s ease-out;
}

.banner-image .slider-content p {
  font-size: 25px;
  font-weight: 300;
  animation: slideUp 1s ease-out;
}

.banner-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.3); */
  z-index: 0;
}

/* Media query for screens smaller than 1300px */
@media (max-width: 1366px) {
  .banner-image .slider-content h1 {
    font-size: 35px; /* Adjust font size for smaller screens */
  }

  .banner-image .slider-content p {
    font-size: 20px; /* Adjust font size for smaller screens */
  }
}

/* Media query for screens smaller than 992px */
@media (max-width: 1024px) {
  .banner-image .slider-content h1 {
    font-size: 30px; /* Adjust font size for smaller screens */
  }

  .banner-image .slider-content p {
    font-size: 18px; /* Adjust font size for smaller screens */
  }
}

/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
  .banner-image .slider-content h1 {
    font-size: 25px; /* Adjust font size for smaller screens */
  }

  .banner-image .slider-content p {
    font-size: 16px; /* Adjust font size for smaller screens */
  }
}

/* Media query for screens smaller than 576px */
@media (max-width: 576px) {
  .banner-image .slider-content h1 {
    font-size: 20px; /* Adjust font size for smaller screens */
  }

  .banner-image .slider-content p {
    font-size: 14px; /* Adjust font size for smaller screens */
  }
}
/*=============================
  Banner Image Css End
===============================*/

/*=============================
  Projects Estimated Section Css Start
===============================*/
.projects-estimated-section {
  position: relative;
  height: 300px;
  /* Adjust the height as needed */
  overflow: hidden;
  /* Hide any overflow */
}

.project-estimated-margin {
  margin-top: 85px;
}

.projects-estimated-section .bg-cover {
  position: absolute;
  /* Position absolutely within the parent */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Ensure the entire image covers the section */
  background-position: center;
  display: flex;
  align-items: center;
  overflow-x: auto;
  justify-content: space-evenly;
}

.projects-estimated-section .bg-cover::before {
  content: "";
  position: absolute;
  /* Keep it positioned absolutely */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Optional: Dark overlay */
  z-index: 0;
  pointer-events: none;
  /* Ensure it doesn't interfere with scrolling */
}

.projects-estimated-section .couter-content {
  position: relative;
  font-family: "Inter", sans-serif;
  z-index: 1;
  /* Ensure content is above the overlay */
  color: white;
  min-width: 250px;
  max-width: 250px;
  text-align: center;
  padding: 20px;
  margin-inline: 10px;
  background: rgba(211, 44, 44, 0.6);
  border-radius: 20px;
}

.projects-estimated-section .couter-content h4 {
  font-size: 30px;
  font-weight: 600;
}

.projects-estimated-section .couter-content p {
  font-size: 20px;
  font-weight: 600;
}

/*=============================
  Projects Estimated Section Css End
===============================*/

/*=============================
  Why Choose Our Services Section Css Start
===============================*/
.why-choose-us {
  margin-block: 100px;
  background-color: #ffffff;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
}

.text-content .detail-section {
  margin-top: 2px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.text-content h2 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
}

.text-content .detail-section .col-md-5 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

.why-choose-us .image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* margin-left: auto; */
}

.why-choose-us .image-wrapper img {
  width: 491px;
  height: 240px;
  border-radius: 39px;
  object-fit: cover;
}

@media (min-width: 1400px) {
  .image-wrapper .image1 {
    margin-left: 100px;
  }
  .image-wrapper .image2 {
    margin-right: 100px;
  }
}

@media (max-width: 1050px) {
  .text-content .detail-section {
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .why-choose-us .image-wrapper img {
    width: 100%;
    /* Make images take full width */
    max-width: 100%;
    /* Ensure images do not exceed their container */
    height: auto;
    /* Adjust height automatically */
    object-fit: cover;
  }
}

/*=============================
  Why Choose Our Services Section Css End
===============================*/

/*=============================
  Construction Estimating Services Section Css Start
===============================*/
/* Add fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Add text slide-up animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.5s ease-in-out;
}

/* Add fade-out animation */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-out {
  animation: fadeOut 0.5s ease-in-out;
  opacity: 0;
  display: none;
}

.services-section {
  padding-top: 60px;
  padding-bottom: 20px;
  background-color: #f4f2f2;
}

.services-section h2 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
}

.image-details {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 20px;
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
}

.main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 40px;
}

#service-details {
  flex: 1;
  /* Ensure service details take available space */
  max-width: 100%;
  text-align: left;
}

#service-details h3 {
  font-size: 30px;
  font-weight: 600;
  line-height: 45px;
}

#service-details p {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.thumbnails {
  display: flex;
  justify-content: start;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 100%;
}

.thumbnail-wrapper {
  max-width: 100px;
  cursor: pointer;
  transition: transform 0.3s;
}

.thumbnail-wrapper p {
  font-size: 11px;
  font-weight: 600;
  line-height: 12px;
  text-align: center;
  margin-top: 8px;
}

.thumbnail {
  width: 100px;
  height: 100px;
  border-radius: 30px;
  object-fit: cover;
}

.thumbnail-wrapper:hover {
  transform: scale(1.05);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .image-details {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #service-details {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-image {
    height: auto;
  }

  #service-details h3 {
    font-size: 25px;
    line-height: 35px;
  }

  #service-details p {
    font-size: 18px;
    line-height: 28px;
  }

  .thumbnails {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .services-section h2 {
    font-size: 28px;
  }

  #service-details h3 {
    font-size: 22px;
    line-height: 32px;
  }

  #service-details p {
    font-size: 16px;
    line-height: 26px;
  }

  .thumbnails {
    gap: 0px;
  }

  .thumbnail-wrapper p {
    font-size: 10px;
  }

  .thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }
}
/*=============================
  Construction Estimating Services Section Css End
===============================*/

/*=============================
  CTA Section Css Start
===============================*/
.cta-section {
  display: flex;
  height: 300px; /* Adjust height as needed */
  position: relative;
}

.cta-section .cover-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.cta-content {
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  color: white;
}
.cta-text {
  margin-left: 80px;
}
.cta-text h2 {
  font-size: 30px;
  font-weight: 700;
}

.cta-text p {
  font-size: 16px;
  margin: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .cta-content {
    width: 80%; /* Adjust width for medium screens */
  }
  .cta-text {
    margin-left: 0; /* Adjust margin for medium screens */
    text-align: center;
  }
  .cta-text h2 {
    font-size: 26px; /* Adjust font size for medium screens */
  }
  .cta-text p {
    font-size: 14px; /* Adjust font size for medium screens */
  }
}

@media (max-width: 900px) {
  .cta-content {
    width: 100%; /* Full width for small screens */
    justify-content: center; /* Center content horizontally */
  }
  .cta-text {
    margin-left: 0; /* Remove margin for small screens */
    text-align: center; /* Center text for small screens */
  }
  .cta-text h2 {
    font-size: 24px; /* Adjust font size for small screens */
  }
  .cta-text p {
    font-size: 14px; /* Adjust font size for small screens */
  }
}

@media (max-width: 576px) {
  .cta-text h2 {
    font-size: 20px; /* Further reduce font size for the smallest screens */
  }
  .cta-text p {
    font-size: 12px; /* Further reduce font size for the smallest screens */
  }
}
/*=============================
  CTA Section Css End
===============================*/

/*=============================
  Project Track Section CSS Start
===============================*/
.project-track-section {
  margin-top: 100px;
}

.project-track-section h1 {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
}

.project-track-section p {
  font-size: 20px;
  font-weight: 400;
}

.single-list {
  display: flex;
  gap: 50px;
  align-items: center;
}

.single-list .img-wrapper {
  background-color: #d32c2c;
  padding: 5px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 10px;
}

.single-list .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.single-list h3 {
  font-size: 25px;
  font-weight: 500;
}

.single-list p {
  font-size: 15px;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .project-track-section h1 {
    font-size: 28px; /* Reduce font size for smaller screens */
  }

  .project-track-section p {
    font-size: 18px; /* Reduce font size for smaller screens */
  }

  .single-list {
    flex-direction: column; /* Stack items vertically */
    gap: 20px; /* Reduce gap between items */
    text-align: center; /* Center text for smaller screens */
  }

  .single-list .img-wrapper {
    width: 100px; /* Reduce image wrapper width */
    height: 80px; /* Reduce image wrapper height */
  }

  .single-list h3 {
    font-size: 22px; /* Reduce font size for smaller screens */
  }

  .single-list p {
    font-size: 14px; /* Reduce font size for smaller screens */
  }
}

@media (max-width: 576px) {
  .project-track-section h1 {
    font-size: 24px; /* Further reduce font size */
  }

  .project-track-section p {
    font-size: 16px; /* Further reduce font size */
  }

  .single-list .img-wrapper {
    width: 80px; /* Further reduce image wrapper width */
    height: 60px; /* Further reduce image wrapper height */
  }

  .single-list h3 {
    font-size: 20px; /* Further reduce font size */
  }

  .single-list p {
    font-size: 12px; /* Further reduce font size */
  }
}
/*=============================
  Project Track Section CSS End
===============================*/

/*=============================
  Achievement Section CSS Start
===============================*/

.achievement-section h1 {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
}

.achievement-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  /* flex-wrap: wrap; */
  /* justify-content: space-between; */
  gap: 100px;
}

.achievement-wrapper img {
  max-width: 150px;
  height: 150px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .achievement-wrapper {
    justify-content: start;
    gap: 50px;
  }
}

/*=============================
  Achievement Section CSS End
===============================*/

/*=============================
  Diverse Industry Experience Section CSS Start
===============================*/

.industry-experience-section {
  position: relative;
  margin-top: 100px;
  overflow: hidden; /* Ensure blur doesn't overflow */
}

.industry-experience-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to left, #eeeded, #e89f9f);
  filter: blur(10px);
  z-index: -1;
}

.industry-experience-section h2 {
  padding-top: 50px;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  position: relative; /* Ensure it stays above the blur */
  z-index: 1;
}

.industry-experience-section .card-container {
  display: flex;
  flex-direction: row;
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
  padding-block: 50px;
  gap: 40px;
  position: relative; /* Ensure it stays above the blur */
  z-index: 1;
  /* height: 550px; */
}

.industry-experience-section .card-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

.industry-experience-section .small-card,
.industry-experience-section .large-card {
  scroll-snap-align: center; /* Snap to center */
}

.industry-experience-section .small-card {
  flex: 0 0 auto; /* Ensure cards don't shrink */
  width: 321px;
  height: 330px;
  background-color: #fff;
  border-radius: 39px;
  margin-top: auto;
  cursor: pointer;
}

.industry-experience-section .small-card img {
  width: 100%;
  height: 149px;
  object-fit: cover;
  border-top-left-radius: 39px;
  border-top-right-radius: 39px;
}

.industry-experience-section .small-card .card-body {
  margin-block: 10px;
  padding-inline: 20px;
}

.industry-experience-section .card-body h5 {
  font-size: 25px;
  font-weight: 700;
}

.industry-experience-section .small-card .card-body p {
  font-size: 13px;
  font-weight: 400;
}

.industry-experience-section .large-card {
  flex: 0 0 auto; /* Ensure cards don't shrink */
  width: 620px;
  height: 350px;
  background-color: #fff;
  border-radius: 39px;
  display: flex;
  flex-direction: row;
}

.industry-experience-section .large-card img {
  width: 270px;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 39px;
  border-bottom-left-radius: 39px;
}

.industry-experience-section .large-card .card-body {
  margin-top: 20px;
  padding-inline: 20px;
}

.industry-experience-section .large-card .card-body p {
  font-size: 20px;
  font-weight: 400;
}

/*=============================
  Diverse Industry Experience Section CSS End
===============================*/

/*=============================
  Precise Estimation Section CSS Start
===============================*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn 0.5s forwards;
}

.slide-up {
  animation: slideUp 0.5s forwards;
}

.precise-estimation h2 {
  margin-top: 80px;
}

.precise-estimation .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
  max-width: 100%;
}
.precise-estimation .steps {
  margin-top: 70px;
  position: relative;
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 290px;
  background: black;
  border-radius: 5px;
}
.dynamic-line {
  position: absolute;
  left: 0;
  width: 3px;
  background: red;
  transition: top 0.3s;
  border-radius: 5px;
}
.step {
  font-size: 1.2em;
  padding: 10px 20px;
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
}
.step.active {
  color: red;
}
.precise-estimation .estimation-content {
  flex: 1;
  max-width: 660px;
  transition: opacity 0.3s;
}
.precise-estimation .estimation-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-block: 12px;
  border-radius: 15px;
}
.precise-estimation .estimation-content h3 {
  font-size: 30px;
  font-weight: 600;
}
.precise-estimation .estimation-content p {
  font-size: 20px;
  font-weight: 400;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .precise-estimation .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps::before {
    height: 240px;
  }
  .precise-estimation .steps {
    width: 100%;
    margin-top: 0;
  }

  .precise-estimation .estimation-content {
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }
  .precise-estimation .estimation-content img {
    height: auto;
  }
}
@media (max-width: 768px) {
  .precise-estimation h1 {
    font-size: 28px;
  }
  .step {
    font-size: 1em;
    padding: 8px 16px;
  }
  .precise-estimation .estimation-content h2 {
    font-size: 24px;
  }
  .precise-estimation .estimation-content p {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .precise-estimation h1 {
    font-size: 24px;
  }
  .step {
    font-size: 0.9em;
    padding: 6px 12px;
  }
  .precise-estimation .estimation-content h2 {
    font-size: 20px;
  }
  .precise-estimation .estimation-content p {
    font-size: 16px;
  }
}

/*=============================
  Precise Estimation Section CSS End
===============================*/

/*=============================
  Happy Clients Section CSS Start 
===============================*/

.happy-clients-section {
  text-align: center;
  margin-top: 50px;
}

.happy-clients-section h1 {
  font-size: 35px;
  font-weight: 700;
}

.happy-client-card {
  display: flex;
  align-items: center;
  gap: 40px;
  overflow-x: auto;
}

.client-card {
  position: relative;
  margin-bottom: 20px;
  /* overflow: hidden; */
}

.client-background {
  position: relative;
  width: 700px;
  height: 460px; /* Adjust height as needed */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.client-text {
  position: absolute;
  bottom: 0;
  left: 50px; /* Adjust as needed */
  text-align: left;
  color: white;
  padding: 20px;
  border-radius: 10px;
  width: calc(100% - 40px); /* Ensure padding is considered */
}

.client-text img {
  margin-left: 345px;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 100%;
  z-index: 10;
}

.client-text .quote {
  font-size: 18px;
  display: flex;
  align-items: center;
  height: 190px;
  margin-left: 40px;
  margin-right: 80px;
  color: black;
}

.client-text .client-info {
  margin-bottom: 70px;
}
.client-info .client-name {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.client-info .client-position {
  font-size: 16px;
  margin: 0;
}

.client-info .client-rating {
  font-size: 16px;
  color: white;
}

/*=============================
  Happy Clients Section CSS End 
===============================*/

/*=============================
  Our Clients Section CSS Start 
===============================*/
.our-clients {
  position: relative;
  overflow: hidden;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.clients-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding-block: 50px;
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent white overlay */
}

.clients-column {
  z-index: 5;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}

.clients-column.left {
  text-align: left;
  gap: 60px;
  transform: translateX(-100%);
}

.clients-column.right {
  text-align: right;
  gap: 60px;
  transform: translateX(100%);
}

.clients-column.left.animate-left {
  opacity: 1;
  transform: translateX(0);
}

.clients-column.right.animate-right {
  opacity: 1;
  transform: translateX(0);
}

.clients-center {
  width: 20%;
  text-align: center;
  display: flex;
  align-items: center;
}

.clients-center h2 {
  font-size: 35px;
  font-weight: 700;
  margin: 0;
  /* color: white; */
}

.clients-column p {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  /* color: white; */
}

@media (max-width: 700px) {
  .clients-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .clients-column {
    width: 100%;
    align-items: center;
  }

  .clients-column.left,
  .clients-column.right {
    text-align: center;
    gap: 30px;
  }

  .clients-center {
    width: 100%;
    margin-block: 20px;
    justify-content: center;
  }

  .clients-center h2 {
    font-size: 30px;
  }

  .clients-column p {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  /* .clients-column.left p {
    margin-left: auto;
  }

  .clients-column.right p {
    margin-right: auto;
  } */

  .clients-column.left p:nth-child(1) {
    margin-left: 120px;
  }

  .clients-column.left p:nth-child(2) {
    margin-left: 80px;
  }

  .clients-column.left p:nth-child(3) {
    margin-left: 40px;
  }

  .clients-column.left p:nth-child(4) {
    margin-left: 0px;
  }

  .clients-column.left p:nth-child(5) {
    margin-left: 40px;
  }

  .clients-column.left p:nth-child(6) {
    margin-left: 80px;
  }

  .clients-column.left p:nth-child(7) {
    margin-left: 120px;
  }

  .clients-column.right p:nth-child(1) {
    margin-right: 120px;
  }

  .clients-column.right p:nth-child(2) {
    margin-right: 80px;
  }

  .clients-column.right p:nth-child(3) {
    margin-right: 40px;
  }

  .clients-column.right p:nth-child(4) {
    margin-right: 0px;
  }

  .clients-column.right p:nth-child(5) {
    margin-right: 40px;
  }

  .clients-column.right p:nth-child(6) {
    margin-right: 80px;
  }

  .clients-column.right p:nth-child(7) {
    margin-right: 120px;
  }
}

/*=============================
  Our Clients Section CSS End 
===============================*/

/*=============================
  Our Construction Estimation Toolbox  Section CSS Start 
===============================*/
.toolbox-section h2 {
  margin-top: 70px;
  text-align: center;
}

.toolbox-section .content-wrapper {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 40px;
}

.toolbox-section .content-wrapper .image-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.toolbox-section .image-wrapper {
  width: 170px;
  height: 170px;
  border-radius: 100%;
  background-color: #EDEDED;
  display: flex;
  justify-content: center;
  align-items: center;
}

.toolbox-section .image-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

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

/*=============================
  Our Construction Estimation Toolbox  Section CSS End 
===============================*/

/*=============================
  FAQ Section CSS Start 
===============================*/

.faq-section {
  margin-top: 20px;
}

.faq-section h1 {
  font-size: 35px;
  font-weight: 700;
}

.faq-wrapper {
  margin-block: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  background: #fff;
  position: relative;
  font-size: 20px;
  font-weight: 500;
}

.icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #d32c2c;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.fas {
  font-size: 12px;
  color: white;
  transform: rotate(270deg);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  margin-inline: 50px;
  padding: 5px;
  text-align: left;
}

.faq-item.active .faq-answer {
  max-height: 400px; /* Adjust as needed */
}

.faq-item.active .fas {
  transform: rotate(360deg);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .faq-wrapper {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }
}

/*=============================
  FAQ Section CSS End 
===============================*/

/*=============================
 Our Working Process Section CSS Start 
===============================*/

.working-process-section {
  margin-top: 50px;
}

.working-process-section .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.working-process-section .working-process-content {
  flex-grow: 1;
  max-width: 50%;
}

.working-process-section .working-process-content h1 {
  font-size: 35px;
  font-weight: 700;
}

.working-process-section .working-process-content p {
  font-size: 20px;
  font-weight: 300;
}

.working-process-section .image-wrapper {
  flex-shrink: 0;
  position: relative;
  overflow: hidden; /* Ensure the image doesn't overflow outside the container */
  width: 567px; /* Set a fixed width for the container */
  height: 628px; /* Set a fixed height for the container */
  border-radius: 39px; /* Ensure border-radius is applied */
}

.working-process-section .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%; /* Increase width to create the sliding effect */
  height: 100%; /* Ensure height matches the container height */
  object-fit: cover;
  animation: moveLeftRight 10s infinite alternate ease-in-out;
}

@keyframes moveLeftRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%); /* Adjust to ensure the image doesn't move too far right */
  }
}

/* Responsive Design */
@media (max-width: 1100px) {
  .working-process-section .content-wrapper {
    flex-direction: column-reverse; /* Reverse the order for smaller screens */
    text-align: center;
  }

  .working-process-section .image-wrapper {
    width: 100%; /* Ensure the image-wrapper takes full width */
    height: 500px;
    border-radius: 50px;
  }

  .working-process-section .image-wrapper img {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 20px; /* Add margin to the bottom of the image */
    animation: none; /* Disable animation for smaller screens */
  }

  .working-process-section .working-process-content {
    max-width: 100%;
  }

  .working-process-section .working-process-content h1 {
    font-size: 28px;
  }

  .working-process-section .working-process-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .working-process-section .working-process-content h1 {
    font-size: 24px;
  }

  .working-process-section .working-process-content p {
    font-size: 16px;
  }

  .working-process-section .image-wrapper {
    height: auto;
  }

  .working-process-section .image-wrapper img {
    border-radius: 20px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .working-process-section .working-process-content h1 {
    font-size: 20px;
  }

  .working-process-section .working-process-content p {
    font-size: 14px;
  }

  .working-process-section .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
}

/*=============================
  Our Working Process Section CSS End 
===============================*/

/*=============================
  Conatct Form CSS Start 
===============================*/

.contact-form-section {
  margin-top: 100px;
  position: relative;
  background: rgba(217, 217, 217, 0.7); /* Add a dark overlay to enhance text visibility */
}

.contact-bg-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: blur(5px); /* Add blur effect to the background */
}

.contact-form-wrapper {
  background: rgba(217, 217, 217, 0.7); /* Semi-transparent white background */
  padding-block: 50px;
}

.contact-form-wrapper h2 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 50px;
}

.wpcf7 .screen-reader-response {
  display: none; /* Hide the top error message listing */
}

.wpcf7-form {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.wpcf7-form-control {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 10px;
  box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-file {
  background: #fff;
}

.wpcf7-form-control.wpcf7-submit {
  background: #d32c2c;
  color: #fff;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px; 
}

.wpcf7-form-control.wpcf7-submit::after {
  content: "\f061";
  font-family: "FontAwesome";
  margin-left: 12px;
  transition: transform 0.3s ease-in-out;
}

.wpcf7-form-control.wpcf7-submit:hover::after {
  transform: translateX(5px);
}

.wpcf7-not-valid-tip {
  color: red; /* Red color for error messages */
  font-size: 14px;
  margin-top: 5px;
  display: block; /* Ensure it appears as a block element below the input */
}

.wpcf7-form-control.wpcf7-file {
  position: relative;
  padding: 20px;
  /* background-color: #f8f8f8;
  text-align: center;
  cursor: pointer; */
}

/* .wpcf7-form-control.wpcf7-file::before {
  content: 'Drag and drop file, or Browse';
  display: block;
  padding-block: 15px;
  color: #555;
  font-size: 16px;
}

.wpcf7-form-control.wpcf7-file input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
} */

input[type="file"] {
  position: relative;
  outline: none;
 
}

input[type="file"]:focus-within::file-selector-button,
input[type="file"]:focus::file-selector-button {
  outline: 2px solid #d32c2c;
  outline-offset: 2px;
}

input[type="file"]::file-selector-button {
  width: 136px;
  color: transparent;
}

/* Faked label styles and icon */
input[type="file"]::before {
  position: absolute;
  pointer-events: none;
  top: 30px;
  left: 26px;
  height: 20px;
  width: 20px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d32c2c'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");}

input[type="file"]::after {
  position: absolute;
  pointer-events: none;
  top: 29px;
  left: 47px;
  color: #d32c2c;
  content: "Upload File";
}

input[type="file"]::file-selector-button {
  border-radius: 4px;
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
  margin-right: 16px;
  transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
  background-color: #f3f4f6;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
  background-color: #e5e7eb;
}

.wpcf7-form .exceed-limit-text {
  color: #d32c2c;
}

.wpcf7-form .wpcf7-response-output {
  position: absolute;
  color: #d32c2c;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  bottom: 0px;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: green;
}
.wpcf7-form p:nth-child(8) {
  margin-block: auto;
}

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-list-item label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.wpcf7-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .wpcf7-form p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%; /* Ensure full width for the container */
  }

  .wpcf7-form p {
    flex: 0 0 48%; /* Each label takes up about half the width */
    display: flex;
    flex-direction: column;
  }

  /* .wpcf7-form-control.wpcf7-file {
    width: 600px;
  } */
}
.wpcf7-form p:nth-child(6),
.wpcf7-form p:nth-child(9) {
  flex: 0 0 100%; /* Full width for message and file fields */
}
  
@media (max-width: 767px) {
  .wpcf7-form p label {
    flex: 0 0 100%; /* Full width for each label on smaller screens */
  }

  .text-field,
  .text-area,
  .file-field {
    flex: 0 0 100%; /* Full width for input fields on smaller screens */
  }
}
/*=============================
  Conatct Form CSS End 
===============================*/