/* Start Of Hero */
.hero {
  width: 100%;
  height: 100%;
  min-height: 90vh !important;
  padding: 0 10%;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(
      to right,
      rgba(16, 26, 27, 0.9),
      rgba(16, 26, 27, 0.7) 60%
    ),
    url(../images/contact.webp);

  display: flex;
  justify-content: space-around;
  align-items: center;
}
.cta-section {
  position: relative;

  width: 50%;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: left;
}
.cta-section h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 60.02px;
  margin: 0;
  z-index: 30;
}
.light {
  font-family: Montserrat;
  font-size: 40px;
  font-weight: 300;
  line-height: 60.02px;
  text-align: left;
}
.cta-section p {
  font-size: 20px;
  font-weight: 300;
  line-height: 30.01px;
  text-align: left;
  z-index: 30;
}
.buttons {
  width: 100%;
  display: flex;
  justify-content: left;

  gap: 60px;
  padding: 0 10px;
  z-index: 30;

  font-family: Montserrat;
  font-size: 23.99px;
  font-weight: 300;
  line-height: 29.24px;
  text-align: left;
}
.buttons a {
  border-radius: 35px;
  padding: 10px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out,
    border-color 0.3s ease-in-out;
}
.buttons a:first-child {
  border: 5px #2b3637 solid;
}
.buttons a:first-child:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: black;
}
.buttons a:nth-child(2) {
  border: none;
  background-color: #216065;
}
.buttons a:nth-child(2):hover {
  background-color: var(--red);
}
.shape {
  position: absolute;
  width: 400px;
  height: 100%;
  top: 55%; /* Center vertically */
  left: 30%; /* Center horizontally */
  transform: translate(-50%, -65%); /* Use translate to perfectly center */
}
.shape_1 {
  z-index: 10;

  /* Custom offsets */
  transform: translate(-50%, -70%) translate(40px, -20px); /* Custom offsets: 20px right and 10px up */
}
.shape_2 {
  z-index: 20;
}
/* End Of Hero */
.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  width: 400px;
  height: 500px;
  background: #232d2d;
  padding: 40px 50px;
  border-radius: 60px;
  gap: 10px;
  box-shadow: -11px 19px 15.5px 0px #00000080;
  margin-bottom: 10vh;
}

.contact-info {
  width: 100%;
  height: 50px;
  display: flex;
  gap: 15px;
  justify-content: start;
  align-items: center;
  margin: 5px 0;
  z-index: 30;
}
.contact-info img {
  height: 20px;
  width: 25px;
}
.contact-info a {
  text-decoration: underline;
  color: white;
  cursor: pointer;
}
.contact-info a:hover {
  color: var(--red);
}

input {
  outline: none;
  width: 100%;
  height: 30px;
  border: none;
  background-color: transparent;
  border-bottom: 1px #ffffff solid;
  font-family: Montserrat;
  font-size: 19.17px;
  font-weight: 400;
  line-height: 23.37px;
  text-align: left;
  color: #9ca4a5;
}
textarea {
  height: 200px;
  width: 100%;
  resize: vertical;
  outline: none;
  background-color: transparent;
  border: 1px #ffffff solid;
  border-radius: 20px;
  font-family: Montserrat;
  font-size: 19.17px;
  font-weight: 400;
  line-height: 23.37px;
  text-align: left;
  color: #9ca4a5;
  padding: 10px;
}
label,
input::placeholder {
  font-family: Montserrat;
  font-size: 19.17px;
  font-weight: 400;
  line-height: 23.37px;
  text-align: left;
  color: #9ca4a5;
}
form button {
  margin: auto;
  width: 50%;
  height: 50px;

  padding: 12px 58px;

  border-radius: 24px;
  opacity: 0px;
  border: none;

  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Montserrat;
  font-size: 16.85px;
  font-weight: 300;
  line-height: 20.54px;
  text-align: left;
  background-color: #ffffff;
  color: black;
  transition: all 0.2s ease-in-out;
  box-shadow: 3.47px 3.91px 6.03px 0px #060b0c;
}
form button:hover {
  background-color: var(--red);
  color: white;
}
form button[disabled="true"] {
  color: #9ca4a5;
  background-color: var(--gray);
}
@media (max-width: 1150px) {
  .hero {
    justify-content: space-between;
  }
}

@media (max-width: 1060px) {
  .hero {
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 10vh;
    padding-top: 10vh;
  }

  .cta-section {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: left;
  }
  .cta-section h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 50.02px;
    margin: 0;
  }
  .light {
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 300;
    line-height: 50.02px;
    text-align: left;
  }
  .cta-section p {
    font-size: 24px;
    font-weight: 300;
    line-height: 32.01px;
    text-align: left;
  }
  .buttons {
    width: 100%;
    display: flex;
    justify-content: left;

    gap: 30px;
    padding: 0 10px;
    margin-top: 20px;
  }
  .buttons a {
    border-radius: 35px;
    padding: 10px 45px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .contact-form {
    width: 100% !important;
    padding: 40px 20px !important;
  }
  .hero {
    background-position: bottom;

    padding: 0 5%;
    padding-top: 10vh;
  }
  .shape {
    width: 350px;

    top: 75%; /* Center vertically */
    left: 40%; /* Center horizontally */
    transform: translate(-50%, -80%); /* Use translate to perfectly center */
  }
  .shape_1 {
    z-index: 10;

    /* Custom offsets */
    transform: translate(-50%, -80%) translate(40px, -20px); /* Custom offsets: 20px right and 10px up */
  }
  .shape_2 {
    z-index: 20;
  }

  .cta-section {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: left;
  }
  .cta-section h1 {
    font-family: Montserrat;
    font-size: 30px;
    font-weight: 700;
    line-height: 36.57px;
    text-align: left;
  }
  .light {
    font-family: Montserrat;
    font-size: 30px;
    font-weight: 300;
    line-height: 36.57px;
    text-align: left;
  }
  .cta-section p {
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 300;
    line-height: 24.38px;
    text-align: left;
  }
  .buttons {
    width: 100%;
    display: flex;
    justify-content: left;

    gap: 20px;
    padding: 0;
    font-family: Montserrat;
    font-size: 13.43px;
    font-weight: 300;
    line-height: 13.93px;
    text-align: left;
  }
  .buttons a {
    border-radius: 35px;
    padding: 8px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 450px) {
  .contact-form {
    width: 100% !important;
    padding: 40px 20px !important;
  }
  .shape {
    width: 280px;

    top: 65%; /* Center vertically */
    left: 40%; /* Center horizontally */
    transform: translate(-50%, -70%); /* Use translate to perfectly center */
  }
  .shape_1 {
    z-index: 10;

    /* Custom offsets */
    transform: translate(-50%, -70%) translate(40px, -20px); /* Custom offsets: 20px right and 10px up */
  }
  .shape_2 {
    z-index: 20;
  }
}

#alert {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.alert-success {
  background-color: #4caf50; /* Green */
  color: white;
}

.alert-error {
  background-color: #f44336; /* Red */
  color: white;
}
