.sliders {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f8f6f1;
  color: #00396c;
}
.home-mobile {
  display: none;
}
.top-text {
  position: absolute;
  top: calc(33% - 150px);
  left: 35vw;
  font-family: "Poppins", sans-serif;
  font-size: 9.7pt;
  z-index: 10;
  text-align: center;
  color: #00396c;
}
.mid-text {
  position: absolute;
  top: 45%;
  right: 10vw;
  width: 28vw;
  font-family: "Poppins", sans-serif;
  font-size: 11pt;
  z-index: 10;
  text-align: center;
  color: #00396c;
}
.arrow-text {
  position: absolute;
  top: 50%;
  right: 0vw;
  width: 28vw;
  font-family: "Poppins", sans-serif;
  font-size: 9.7pt;
  z-index: 10;
  text-align: center;
  color: #00396c;
}
.slider-arrow {
  position: absolute;
  top: calc(35% - 150px);
  left: 35%;
  transform: translateX(-50%);
  z-index: 10;
  width: 50%;
  display: flex;
  justify-content: flex-end;
  padding: 0 20px;
}

.slider-arrow img {
  width: 25%;
  max-width: 150px;
}
.socialButton1 {
  position: absolute;
  bottom: 35%;
  right: -12%;
  transform: translateX(-50%);
  z-index: 10;
}

.social-btn-1 {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  margin-bottom: 10%;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.social-btn-1 img {
  width: 15%;
  max-width: 13vw;
  height: auto;
  display: block;
}
.social-btn-1:hover {
  transform: scale(1.1);
}

.scrollButton {
  position: absolute;
  bottom: 5%;
  left: 70%;
  transform: translateX(-50%);
  z-index: 10;
  width: max-content;
}

.scroll-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.scroll-btn:hover {
  transform: scale(1.1);
}

.scroll-btn:focus {
  outline: none;
  box-shadow: none;
}

.scroll-btn img {
  width: 100%;
  max-width: 13vw;
  height: auto;
  display: block;
}

.search-container {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  z-index: 10;
  padding: 0 20px;
  border: none;
}

.custom-search {
  position: relative;
  width: min(500px, 90%);
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  box-shadow: 10px 10px #ffc73c;
  background-color: #f8f6f1;
}

.custom-search-wrapper {
  position: relative;
  flex-grow: 1;
}

.custom-search input {
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  border-radius: 20px 0 0 20px;
  border: 2px solid #00396c;
  border-right: none;
  background-color: #f8f6f1;
  color: #00396c;
  margin: 0;
}

.custom-search label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  transition: 0.2s ease all;
  font-size: 10.9pt;
  font-family: "Poppins", sans-serif;
}

.custom-search input:focus + label,
.custom-search input:not(:placeholder-shown) + label {
  opacity: 0;
}

.custom-search button {
  width: 80px; /* Fixed width instead of vw */
  border-radius: 0 20px 20px 0;
  border: 2px solid #00396c;
  color: #00396c;
  padding: 5px;
  margin: 0;
  background-color: #f8f6f1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom-search .search-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.custom-search .search-icon:hover {
  transform: scale(2.1);
}

.custom-search button:hover {
  border: #000 2px solid;
}

.custom-search label strong {
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  font-size: 12pt;
}

/* Carousel styles */
.carousel-inner {
  width: 100%;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 1200px) {
  .search-container {
    left: 55%;
  }
  .slider-arrow {
    top: calc(28% - 100px); /* Adjust spacing for mobile */
  }
  .arrow-text {
    right: 3vw;
  }
  .mid-text {
    top: 50%;
    line-height: 16px;
  }
}
@media (max-width: 900px) {
  .top-text {
    display: none;
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .slider-arrow {
    top: calc(35% - 80px);
    left: 45%;
  }
  .arrow-text {
    font-size: 8pt;
  }

  .slider-arrow img {
    width: 20%;
    min-width: 60px;
  }

  .mid-text {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 30%;
    font-size: 7pt;
    line-height: 14px;
  }
  .custom-search {
    height: 60px; /* Smaller height on mobile */
  }

  .custom-search input,
  .custom-search label {
    font-size: 14px;
  }

  .custom-search button {
    width: 60px;
  }

  .custom-search .search-icon {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 576px) {
  .slider-arrow {
    top: calc(32% - 60px);
    left: 40%;
  }

  .slider-arrow img {
    width: 18%;
    min-width: 50px;
  }
  .arrow-text {
    display: none;
  }
  .slider-arrow {
    display: none;
  }
  .mid-text {
    display: none;
  }
}
@media (max-width: 480px) {
  .socialButton1 {
    right: -10%;
  }

  .social-btn-1 img {
    width: 30%;
  }
  .social-btn-1 {
    margin-bottom: 15%;
  }

  .home-mobile {
    display: block;
  }
  .homepage1 {
    display: none;
  }
  .homepage2 {
    display: none;
  }
  .search-container {
    width: 100%;
  }
  .custom-search {
    height: 50px; /* Smaller height on mobile */
    width: min(500px, 80%);
    right: 10%;
  }
  .custom-search .search-icon:hover {
    transform: none;
  }
  .scrollButton {
    left: 85%;
    bottom: 2%;
  }
  .custom-search {
    box-shadow: 8px 8px #ffd700;
  }
  .mid-text {
    display: none;
    width: 50%;
    top: 45%;
    left: 30%;
    right: auto;
    font-size: 8pt;
  }

  .mid-text.position-1 {
    top: 45%;
    left: 30%;
    display: block;
  }

  .mid-text.position-2 {
    top: 80%;
    left: 50%;
    transform: translateY(-100%);
  }
  .top-text {
    display: block;
    position: absolute;
    top: calc(28% - 75px);
    left: 10px;
    width: 60%;
    font-size: 8pt;
    z-index: 10;
    text-align: left;
  }
  .slider-arrow {
    display: block;
    top: calc(32% - 60px);
    left: 75%;
  }
  .slider-arrow img {
    width: 40%;
  }
  .arrow-text {
    display: block;
    position: absolute;
    top: 45%;
    right: 40vw;
    width: 28vw;
    font-size: 8pt;
    z-index: 10;
    text-align: center;
  }
  .custom-search input {
    font-size: 9pt;
  }
  .custom-search label {
    font-size: 9pt;
  }
  .custom-search label strong {
    font-size: 9pt;
  }
}

/* css - pop-pup-overlay */

#pop-pup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
  display: none;
}
.form-popup-container {
  display: none;
}
.popup-container {
  display: flex;
  margin-top: 15%;
  justify-content: center;
  height: 100%;
}
.popup-box {
  display: block;
  width: 270pt;
  height: 150pt;
  margin-left: 2%;
  margin-right: 2%;
  background-color: #00396c;
  padding: 0%;
  border-radius: 9pt;
}
.popup-box-content {
  width: 85%;
  margin: 0 auto;
  height: 70%;
}
.popup-close-button {
  display: flex;
  justify-content: right;
  margin-top: 1%;
}
.popup-close-button button {
  background-color: transparent;
  border: none;
}
.popup-close-button button img {
  height: 20pt;
}
.popup-text {
  color: #f8f6f1;
  height: 80%;
  font-size: 15pt;
  text-align: center;
}
.popup-end-service-button {
  display: flex;
  justify-content: center;
}
.popup-end-service-button button {
  color: #00396c;
  background-color: #f8f6f1;
  border: none;
  border-radius: 9pt;
  height: 25pt;
  width: 50%;
  font-weight: bold;
}

#form-popup-request-service {
  height: 100%;
  margin-top: 2%;
}
.form-popup-content {
  font-family: "Poppins", sans-serif;
  margin-top: 50%;
  display: block;
  margin: auto;
  background-color: #00396c;
  height: 95%;
  width: 35%;
  border-radius: 9pt;
}
.popup-box1 {
  width: 100%;
  height: 100%;
}
.popup-content {
  width: 100%;
  height: 100%;
}
.popup-message1 {
  width: 100%;
  height: 100%;
}
.form-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.contact-form {
  width: 100%;
  margin: auto;
  height: 100%;
  margin-top: 5%;
}

.form-container {
  width: 100%;
  height: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 9.7pt;
}
.contact-form input {
  margin-top: 2%;
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
  height: 30pt;
  border-radius: 5pt;
}
.contact-form .drop-down {
  margin-top: 2%;
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
  height: 30pt;
  border-radius: 5pt;
}
.contact-form .form-inputmsg {
  margin-top: 2%;
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
  height: 20%;
  border-radius: 5pt;
}
.contact-form .form-submit {
  margin-left: 2%;
  margin-right: 2%;
}
.popup-form-submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
}
.popup-form-submit-btn button {
  font-family: "Poppins", sans-serif;
  width: 30%;
  height: 30pt;
  color: #f8f6f1;
  background-color: #ffc107;
  font-weight: bold;
  border: none;
  border-radius: 5pt;
}

.close-btn-form-popup button {
  border: none;
  background-color: transparent;
  height: 15pt;
  margin-top: 2%;
}

.close-btn-form-popup {
  width: 100%;
  display: flex;
  justify-content: right;
}

.popup-container-thank-msg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15%;
  height: 20%;
  width: 100%;
}
.popup-form-thanking-msg-close-btn {
  display: flex;
  justify-content: right;
}
.popup-form-thanking-msg-close-btn button {
  border: none;
  background-color: transparent;
}
.popup-box-thank-msg {
  width: 30%;
  height: 100%;
  text-align: center;
  background-color: #00396c;
  color: #f8f6f1;
  font-size: 15pt;
  border-radius: 15pt;
}
.popup-content-thank-msg {
  width: 100%;
}
.popup-message11 {
  width: 100%;
}

@media (max-width: 1024px) {
  .popup-box {
    height: 250pt;
  }
  .popup-box-content {
    height: 90%;
  }
  .popup-end-service-button button {
    width: 100%;
  }
  .form-popup-content {
    width: 70%;
  }
  .popup-container-thank-msg {
    height: 25%;
    margin-top: 30%;
  }
  .popup-box-thank-msg {
    width: 60%;
  }
  .pop-thanks-text {
    margin-top: 10%;
  }
}
@media (max-width: 400px) {
  .form-popup-content {
    width: 85%;
  }
  .popup-container-thank-msg {
    height: 30%;
    margin-top: 35%;
  }
  .popup-box-thank-msg {
    width: 70%;
  }
}
