.contact__container {
  display: flex;
  justify-content: space-between;
  margin: 100px 0;
  gap: 50px;
  flex-wrap: wrap;
}
.contact__hero {
  height: 400px;
  width: 100%;
  background-image: url(/img/contact-us/contact05.jpg);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__hero::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.contact__h1 {
  font-size: 80px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  z-index: 10;
}
.contact__h2 {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 600;
}

.contact__git {
  flex: 0 0 50%;
}

.contact__info {
  flex: 1;
}

.contact__button {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: transparent;
  border: 1px solid black;
}
.contact__button:hover {
  background-color: #f5f5f5;
}

.contact__info-ul {
  list-style: none;
}

.contact__info-li .contact__info-a {
  color: #0159a8;
  text-decoration: none;
}

.contact__info-li .contact__info-a:hover {
  color: #024d8f;
}

/* POPUP CSS */
.contact__popup-h2 {
  font-size: 25px;
  border-bottom: 1px solid #4b4b4b;
  margin-bottom: 25px;
  padding-bottom: 10px;
}

#contact-form-popup {
  /* display: none; */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.801);
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  height: 100vh;
}

.contact__flex-box {
  display: flex;
  justify-content: center;
}

.contact__popup-select {
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.contact__popup-date {
  margin-bottom: 35px !important;
}

#contact-form-popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  padding: 50px;
  background-color: #fff;
  height: 80%;
  overflow-y: scroll;
  border-radius: 5px;
}
#contact-form-popup-content::-webkit-scrollbar {
  width: 5px;
}

#contact-form-popup h2 {
  margin-top: 0;
}

#contact-form-popup form {
  display: flex;
  flex-direction: column;
}

#contact-form-popup label {
  margin-bottom: 10px;
}

#contact-form-popup input,
#contact-form-popup textarea {
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

#contact-form-popup input:focus {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#close-form-btn {
  margin-top: 20px;
  background-color: #ccc;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#close-form-btn:hover {
  background-color: #aaa;
}

/* VISIBLE and HIDDEN */
.form__visible {
  opacity: 1;
  width: 100%;
  visibility: visible;
  transition: opacity 0.3s ease-in-out;
}

.form__hidden {
  opacity: 0;
  visibility: hidden;
  width: 0;
  transition: opacity 0.3s ease-in-out;
}

/* MEDIA QUERIES */
@media (max-width: 794px) {
  .contact__git {
    flex: 0 0 100%;
  }
  .contact__info {
    flex: 0 0 100%;
  }
  .contact__h1 {
    font-size: 60px;
  }
  #contact-form-popup-content {
    width: 500px;
  }
}
@media (max-width: 560px) {
  .contact__h1 {
    font-size: 40px;
  }
  .contact__hero {
    height: 300px;
  }
  .contact__git {
    margin-bottom: 30px;
  }
  #contact-form-popup-content {
    width: 430px;
    padding: 35px;
  }
}
@media (max-width: 470px) {
  #contact-form-popup-content {
    width: 370px;
  }
}
