.margin-b-10 {
  margin-bottom: 10px;
}

.input-style {
  height: 55px;
  border-radius: 0.75rem !important;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #d0d0d0;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  transition: border-color 0.2s;
}

/* Base background color for the form area */
.estimate-content {
  background: #e4e3e3;
  border-radius: 0 0 8px 8px;
  padding: 23px;
  border: none;
}

/* Highlight input fields when they are focused */
.input-style:focus {
  outline: none;
  border-bottom-color: #0d6efd;
  /* Modern blue */
}

/* Style for the 'SEND' button */
.cmn-btn {
  color: #fff;
  border: none;
  font-size: 16px;
  /* text-transform: uppercase;*/
  transition: background-color 0.2s;
  cursor: pointer;
}

.form-btn {
  width: 70%;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
}

.cmn-btn:hover {
  background-color: #0b5ed7;
}

/* Style for the 'Call Now' section */
.widget-area .call {
  text-align: center;
  background-color: #c82127 !important;
  /* Matching modern blue for consistency */
  color: white;
  padding: 20px;
  border-radius: 8px;
  font-size: 18px;
  margin-top: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.widget-area .call h3 {
  margin-bottom: 5px;
}

.widget-area .call a {
  color: white;
  text-decoration: none;
  transition: transform 0.2s;
}

.widget-area .call a:hover {
  transform: scale(1.05);
}

/* Placeholder color */
::placeholder {
  color: #a0a0a0;
}

.service-header-action {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.quote {
  margin-right: 20px;
  padding: none !important;
  cursor: pointer;
}

.call-num {
  font-size: 20px;
  margin-left: 5px;
  font-weight: 500;
  color: #c82127;
}

.custom-call-us-underline {
  position: relative;
  display: inline;
  background: linear-gradient(0deg, #c82127, #c82127);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 3px;
  padding-bottom: 5px;
}

.custom-call-us-underline:hover {
  background-size: 0px;
}

.breadcrumb {
  font-size: 16px;
  color: #c82127;
  font-weight: bold;
}

.breadcrumba {
  cursor: pointer;
}

.icon-wrapper {
  background-color: transparent !important;
  margin-bottom: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .service-details {
    margin-top: 0;
    position: static;
  }
}

@media (max-width: 767px) {
  .estimate-content,
  .widget-area .call {
    border-radius: 6px;
  }

  .service-header-action {
    display: flex;
    align-items: center;
  }

  .quote {
    margin-right: 5px;
    margin-bottom: 3px !important;
    font-size: 14px !important;
    padding: 2px 10px !important;
  }
}

/* Banner styles */
.banner-container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/img/pestsbg.png");
  /* Replace with the path to your icon */
  background-repeat: repeat;
  /* This will tile the background image */
  opacity: 0.05;
  /* Adjust opacity to make the icons more subtle */
  z-index: 0;
}

.banner-content {
  display: flex;
  align-items: center;
  padding-bottom: 50px;
}

.banner-text {
  max-width: 55%;
  text-align: left;
  color: #d22f27;
}

.banner-text h2 {
  font-weight: bold;
  color: #d22f27;
  margin-bottom: 0.5em;
}

.banner-text p {
  color: #555;
  margin-top: 10px;
  font-size: 18px;
}

.banner-text h5 {
  color: #000;
  font-weight: 100;
}

.banner-text h1 {
  font-size: 40px !important;
}

/* Image styles */
.banner-image {
  text-align: right;
  padding: 40px 0;
}

.banner-image img {
  width: 90%;
  padding-right: 50px;
}

.service-details-area {
  margin-top: 250px;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose-text {
  font-weight: normal;
  font-size: 17px;
}

.why-choose {
  margin-bottom: 40px;
    margin-top: 20px;
}

.details-project {
  padding-bottom: 20px;
}

.we-do-text {
  margin-bottom: 30px;
  /* text-align: justify;*/
}

/* Media Queries - small*/
@media (max-width: 767px) {
  .banner-text h1 {
    font-size: 28px !important;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    margin-top: 60px !important;
  }

  .banner-text {
    max-width: 100%;
  }

  .banner-image {
    max-width: 100%;
    text-align: center;
    margin-top: -50px;
    padding: 20px 0;
  }

  .service-details-area {
    margin-top: 140px !important;
  }
  .why-choose-ul li {
    display: flex;
  }
}

.image-overlay-container {
  position: relative;
  text-align: center;
  color: white;
  padding-top: 50px;
  padding-bottom: 50px;
}

.image-overlay-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
  opacity: 85%;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
}

.overlay-text h1 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.overlay-text span {
  font-size: 23px;
  line-height: 1.6;
}

.details-project-inner-image {
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
}

.details-project-inner-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}

.position-image-right {
  justify-content: flex-start;
  padding-left: 50px;
}

.highlight-section {
  display: flex;
  flex-direction: row;
}

.service-details-area .details-item .details-choose img {
  padding-top: 0px !important;
}

/* Media Query for mobile devices */
@media (max-width: 768px) {
  .details-project-inner-image {
    justify-content: center;
    /* Center the images on mobile */
    padding: 20px 0;
    /* Adjust padding for mobile */
  }

  .details-project-inner-image img {
    width: 80px;
    /* Slightly smaller images on mobile */
    height: 80px;
  }

  .position-image-right {
    justify-content: center;
    /* Center these images as well */
    padding: 20px 0;
    /* Consistent padding for mobile */
  }

  /* If the text is too large, adjust the font size for mobile */
  .details-project-inner h3 {
    /*font-size: 18px;*/
    /* Smaller heading size on mobile */
  }

  .details-project-inner p {
    font-size: 18px;
    /* Smaller paragraph size on mobile */
  }

  .highlight-section {
    flex-direction: column-reverse;
  }

  /*  .overlay-text {
    width: 90%;
    font-size: 18px;
  }*/

  .overlay-text {
    padding: none;
    width: 90%;
    font-size: 18px;
  }

  .overlay-text h1 {
    font-size: 23px;
    width: 90%;
  }

  .overlay-text span {
    font-size: 15px;
  }

  .image-overlay-container img {
    /* transform: scale(1.2);*/ /* Scales up the image by 20% */
    transform-origin: center center; /* Ensures the zoom effect centers */
  }
}

@media (max-width: 481px) {
  .why-choose-item {
    display: flex !important;
    align-items: center;
  }

  .why-choose-item .icon-wrapper img {
    width: 75px !important; /* Consistent icon size */
    height: auto !important;
    margin-top: 20px;
    margin-left: 15px;
  }

  .why-choose-item .text-wrapper {
    text-align: center; /* Center text below the icon */
    padding-left: 35px;
    display: flex;
    flex-wrap: wrap;
  }

  .icon-wrapper {
    width: 150px !important; /* Maintain icon wrapper size */
    height: 86px !important;

  }

  .why-choose {
    border: none; /* Assuming you don't want the red border in the final design */
  }

  .why-choose-text {
    display: flex;
    text-align: justify;
  }
}

@media (min-width: 768px) {
  .why-choose-item .icon-wrapper img {
    width: 75px !important;
    height: auto !important;
    margin-bottom: 10px !important;
    margin-top: 18px;
    margin-left: 25px;
  }

  .icon-wrapper {
    width: 100px !important;
    height: 86px !important;
  }
}

.how-we-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
}

.how-we-section p {
  font-size: 18px;
}

.how-we-section h3 {
  color: #c82127;
}

@media (max-width: 768px) {
  .how-we-section p {
    text-align: justify;
  }
}

.how-we-section > div {
  flex: 1 1 48%;
  min-height: 100px;
  padding-bottom: 20px;
}
