#map {
  width: 650px;
  height: 400px;
  margin-left: 20px;
}

.contact-us-section {
  padding: 202px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-form h1 {
  margin-top: 0;
  font-size: 35px;
  line-height: 29px;
  margin-bottom: 20px;
}

.contact-form h1,
.contact-form p {
  color: white; /* Adjust as needed */
}

.contact-form {
  width: 100%;
  max-width: 580px;
}

.contact-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 10px;
}

.form-row select {
  outline: none;
}

.input-bottom-line {
  width: 48%; /* Adjusts to fit two fields per row */
  padding: 10px 0;
  box-sizing: border-box;
  font-size: 16px;
  border: none;
  border-bottom: 1px solid #ffffff71;
  background-color: transparent;
  outline: none;
  display: block;
  color: white;
}

.input-bottom-line:focus {
  outline: none; /* Removes the default focus outline */
  border-bottom-color: #ffffff; /* Changes the bottom border color on focus */
}

#contact-us-textarea {
  width: 100%;
  resize: vertical; /* Allows vertical resizing */
}

.input-bottom-line::placeholder {
  /* Styles the placeholder text */
  color: white;
  opacity: 1; /* Ensures the placeholder color is not semi-transparent */
}

.contact-us-select {
  -webkit-appearance: none; /* For WebKit browsers */
  -moz-appearance: none; /* For Mozilla browsers */
  appearance: none; /* Standard syntax */
  background-color: rgba(0, 0, 0, 0);
  color: white;
  border: none;
  border-bottom: 1px solid #ffffff71;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="white"><polygon points="0,0 20,0 10,10"/></svg>'); /* Custom arrow */
  background-repeat: no-repeat;
  background-position: right 10px center; /* Position the arrow to the right */
  background-size: 12px; /* Size of the arrow */
}

.contact-us-select option {
  background-color: black;
}

.form-select-row {
  padding: 10px 0;
}

.contact-form a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid white;
}

.contact-form button {
  background-color: #e4b037e3;
  color: white;
  font-size: 20px;
  font-weight: 900;
  padding: 10px 60px;
  margin-left: auto;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.contact-form button:hover {
  background-color: #e4b037;
}

@media screen and (max-width: 1500px) {
  #map {
    width: 500px;
    height: 350px;
  }
}

@media screen and (max-width: 1050px) {
  #map {
    width: 650px;
    height: 400px;
    margin: 0 0 30px 0;
  }

  .contact-form {
    width: 100%;
    max-width: 650px;
    margin-right: 0;
  }

  .form-row input,
  .form-row select {
    width: 100%; /* Each field takes full width on smaller screens */
  }
}

@media screen and (max-width: 700px) {
  #map {
    width: calc(100vw - 40px);
    height: 300px;
    margin: 0 0 50px 0;
  }

  .contact-form {
    box-sizing: border-box;
    padding: 0 5px;
  }
}
