.hero {
  padding: 0 !important;
  position: relative;
  height: 50vh;
}

.underline {
  background-color: var(--color-accent);
}

.hero p {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -10%);
  width: 100%;
  text-align: center;
}

.hero img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.info-section {
  padding: 0 240px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 96px;
  flex-wrap: wrap;
}

.info-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.info-content h3 {
  width: 100%;
  text-align: start;
  margin-top: 32px;
  color: var(--color-primary);
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.info p {
  margin-top: 8px;
}

.info a {
  color: var(--color-accent);
}

.info a:hover {
  cursor: pointer;
  color: var(--color-accent);
}

.info img {
  height: 54px;
}

/*------------ Form ------------ */
.honeypot {
  display: none;
}

.contact-section {
  padding: 0 340px;
  background-color: white;
  margin-bottom: 128px;
}

.contact-section span {
  color: red;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.contact-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
}

.contatc-form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 72px;
}

.contatc-form input {
  height: 36px;
  width: 25rem;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #cacaca;
}

.contatc-form textarea {
  width: 100%;
  height: 180px;
  padding: 16px;
  resize: none;
  border: 1px solid #cacaca;
}

.submit-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.submit-form button {
  padding: 8px 12px;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.submit-form button:hover {
  cursor: pointer;
  background-color: gold;
}

.submit-form a {
  color: rgb(201, 15, 15);
  cursor: pointer;
}

.err {
  color: red;
}

.ok {
  color: green;
}

/* ===========================
   Responsives Design (Breakpoints)
   Range: 320px – 1920px
=========================== */

@media (max-width: 1700px) {
  .info-section {
    padding: 0 180px;
  }

  .contact-section {
    padding: 0 240px;
  }
}

@media (max-width: 1440px) {
  .info-section {
    padding: 0 72px;
  }

  .contact-section {
    padding: 0 120px;
  }
}

@media (max-width: 1300px) {
  .info-content h3 {
    font-size: 2.5rem;
  }

  .info-section {
    padding: 0 44px;
  }

  .contact-section {
    padding: 0 44px;
  }
}

@media (min-width: 830px) and (max-width: 1100px) {
  .info img {
    height: 44px;
  }
}

@media (max-width: 1120px) {
  .info-section {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .info-content {
    width: 340px;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .hero {
    height: 40vh;
  }

  .info-section {
    background-color: white;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 40px;
    margin-bottom: 96px;
    flex-wrap: wrap;
    padding: 0 24px;
  }

  .info-content {
    width: unset;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

/* Medium Devices (768px – 991px) */
@media (max-width: 991px) {
  .contatc-form input {
    width: 20rem;
  }
}

/* Small Devices (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .contatc-form textarea {
    height: 168px;
  }
  .contatc-form input {
    width: 15rem;
  }
}

/* Extra Small Smartphones (320px – 575px) */
@media (max-width: 840px) {
  .contatc-form {
    flex-direction: column;
  }

  .contatc-form input {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .contact-section {
    padding: 0 24px;
  }
}
