* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* ============================ */
.Services-five {
  margin-top: 80px;
  background-image: url("../Assets/allimages/contact/contactnadezhdaventure.jpg");
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  justify-content: start;
  align-items: center;
  animation: scroll 20s linear infinite;
  cursor: pointer;
}

.slider img {
  min-width: 150px; /* Adjust the width as needed */
  max-width: 150px;
  height: 100px;
  padding: 10px; /* Add some spacing between the images */
}

.tooltip-container {
  position: relative;
}

.tooltiptext {
  visibility: hidden;
  background: white;
  color: black;
  /* font-weight: 900; */
  position: absolute;
  top: 25%;
  left: 25%;
  padding: 7px;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}
/* Show the tooltip text when hovering */
.tooltip-container:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
/* Keyframes for continuous scrolling effect */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Zoom effect on hover */
.slider img:hover {
  transform: scale(1.1); /* Slight zoom on hover */
  transition: transform 0.3s ease;
}

/* =======================================   */

.contact_container {
  width: 100%;
  /* height: 86vh; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 25px;
  /* align-items: stretch; */
  /* flex-direction: row; */
}
.contact_subchild-img {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.contact_subchild-img::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url(../Assets/allimages/contact/nadezhda_ventures-Map.png);
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  z-index: -1;
}

.contact_subchild {
  /* position: relative; */
  /* z-index: 1; */
  /* width: 40%; */
  /* max-width: 790px; */
  /* padding: 8% 0 0; */
  backdrop-filter: blur(10px);
}

.contact_subchild1 h5 {
  font-size: 60px;
}

.contact_subchild1 h2 {
  font-size: 2.5em;
}
.callingno {
  line-height: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact_subchild1 h1 {
  font-size: 8rem;
  line-height: 0.9;
  color: #aa3235;
}

.callingno h3 {
  font-size: 30px;
  /* font-weight: 500; */
  color: #000000;
  text-shadow: 1px 1px 1px #ffffff79;
  font-family: "Cedarville Cursive", cursive;
  font-weight: 400;
  font-style: normal;
}

.callingno h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

/* form content*/

.form-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* font-family: sans-serif; */
  /* height: 100vh; */
  min-width: 500px;
}

#formHalfFields {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  row-gap: 10px;
}
#formSubmitImg {
  /* width: 100%; */
  height: 70%;
  position: absolute;
  /* top: 0; */
  object-fit: contain;
  display: none;
}

.inner-cont {
  background-color: #ffffff26;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 15px; /* Reduced padding */
  max-width: 485px; /* Reduced max-width */
  width: 100vw;
  /* height: 70vh; */
  position: relative;
}

.heading {
  color: #000000;
  font-size: 20px; /* Reduced font size */
  margin-bottom: 10px;
}

.subheading {
  color: #666;
  font-size: 18px; /* Reduced font size */
  margin-bottom: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  /* line-height: 35px; */
}

.form-group {
  margin-bottom: 10px; /* Reduced margin */
  width: 100%;
}
#formHalfFields .form-group {
  width: 49% !important;
}

#formHalfFields .form-group:last-child {
  width: 100% !important;
}

.form-group label {
  display: block;
  font-size: 16px; /* Reduced font size */
  margin-bottom: 4px;
}

.required {
  color: red;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px; /* Reduced padding */
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px; /* Reduced font size */
}

.contact-form textarea {
  resize: vertical;
}

.form-btn {
  text-align: center;
}

.submit-button {
  background-color: #aa3235;
  border: none;
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 19px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 40%;
}

.submit-button:hover {
  color: black;
}

label {
  font-weight: 549;
}

#project-duration {
  height: 35px; /* Adjust this value to match the email input field height */
}
@media (max-width: 1024px) {
  .contact_subchild1 h1 {
    display: flex;
    font-size: 4rem;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .callingno h3 {
    text-align: center;
  }
  .contact_subchild-img {
    width: 100%;
  }
}

/* Mobile devices (max-width: 767px) */
@media (max-width: 767px) {
  .contact_subchild {
    padding: 26% 1% 0;
  }

  .contact_subchild1 h1 {
    font-size: 4.5rem;
  }

  .contact_subchild1 h2 {
    font-size: 2rem;
  }

  .callingno h2 {
    font-size: 2.5rem;
  }

  .callingno h3 {
    font-size: 24px;
  }

  .inner-cont {
    width: 90vw;
    padding: 10px;
  }

  .heading {
    font-size: 24px;
  }

  .subheading {
    font-size: 16px;
  }

  .form-right {
    min-width: 100%;
    height: auto;
    padding: 20px;
  }

  #formHalfFields .form-group {
    width: 100% !important;
  }

  #formHalfFields .form-group:last-child {
    width: 100% !important;
  }

  .submit-button {
    width: 80%;
    padding: 12px;
    font-size: 16px;
  }
}
