/* Footer nav active color */
.footer-explore .contact a {
  color: var(--accent-color);
}

.hero {
  background: url("/public/contact/contact-us-hero-bg.webp") no-repeat center center/cover;
}

.contact-section {
  padding: 15px;
  /* overflow: hidden; */
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
}

.form-section h3 {
  color: rgb(0, 128, 0);
  font-family: "Handlee", cursive;
  text-transform: uppercase;
  font-size: 1rem;
}

.form-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group,
.form-group-row {
  display: grid;
  gap: 5px;
}

.form-group-row {
  /* grid-template-columns: 1fr 1fr; */
  gap: 15px;
}

input,
textarea {
  padding: 14px;
  border: 1.4px solid #4a4a4a;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}

input:active {
  background-color: transparent;
}
/* input:focus {
  outline: 1px solid green;
} */

textarea {
  resize: none;
  height: 120px;
}
name {
  font-weight: bold;
  color: black;
}

label {
  color: var(--text-black-color);
}

.form-section button {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.info-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.info-section p {
  margin-bottom: 20px;
}

.info-section .gap {
  margin-bottom: 2.5rem;
}

.contact-details {
  display: grid;
  /* gap: 10px; */
}

.detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  /* margin-top: 1rem; */
}

.detail-item i {
  font-size: 1.4rem;
  padding: 1rem;
  background-color: var(--sec-secondary-color);
  border-radius: 100%;
  color: white;
}

.active {
  margin-top: 1.4rem;
}
.active i {
  padding: 1rem 1.2rem;
  background: var(--accent-color);
}

.contact-section img {
  position: absolute;
  bottom: -8rem;
  right: -0.5rem;
  height: 150px;
  z-index: -3;
}

fieldset {
  border: none;
  padding: 0;
}

fieldset label {
  margin-top: 1rem;
}

legend {
  color: var(--text-dark-color);
  font-weight: bold;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .form-section h3 {
    font-size: 1.17em;
  }

  .form-section button {
    width: 60%;
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 0.8rem 0;
    font-size: 1.2rem;
  }

  .contact-section img {
    bottom: -9.8rem;
    right: -3rem;
    height: 230px;
    z-index: -1;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .contact-section {
    padding: 0;
  }

  .contact-container {
    grid-template-columns: 55% 1fr;
    gap: 5rem;
  }

  .form-group-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-section button {
    width: 43%;
  }

  .form-section {
    box-shadow: 0 0 8px rgba(18, 80, 38, 0.119);
    padding: 3rem;
    border-radius: 10px;
    background: var(--text-white-color);
  }

  .contact-section img {
    bottom: -13rem;
    right: -7rem;
    height: 300px;
    z-index: -5;
  }
}
