/* Contact Section Styles */

.contact01 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 5vw, 5rem);
  row-gap: 0;
  justify-content: start;
  align-items: start;
}

.form-box {
  width: 100%;
  padding: clamp(1rem, 5vw, 3rem);

  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: start;
  align-items: start;

  background-color: var(--clr-bg);
  border-radius: 30px;
}
.form-box > * {
  width: 100%;
}
form {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: start;
  align-items: start;
}
.form-group > label {
  font-weight: 600;
}
.form-group > input,
.form-group > textarea {
  width: 100%;
  padding: 1rem;
  border: solid 1px var(--clr-2);
}
.form-group > input:hover,
.form-group > textarea:hover {
  border: solid 1px var(--clr-3);
}
.form-group > input::placeholder,
.form-group > textarea::placeholder {
  color: var(--clr-shadow);
}

.form-group:nth-child(1),
.form-group:nth-child(4) {
  grid-column-start: 1;
  grid-column-end: 3;
}

form > button {
  grid-column-start: 1;
  grid-column-end: 3;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: start;
  align-items: start;
}
.faq-item {
  width: 100%;
  padding: clamp(1rem, 5vw, 3rem);

  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: start;
  align-items: start;

  background-color: var(--clr-bg);
  border-radius: 30px;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.faq-question h4 {
  margin: 0;
  flex: 1;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact01 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: start;
    align-items: start;
  }
  .form-box,
  .faq-item {
    border-radius: 20px;
  }
}
