/* Contact */
.contact {
  padding: 30vh 2rem 16vh 2rem;
  margin-bottom: 0px;
  background-color: #fde2cf;
  text-align: center;
  display: flex;
  gap: 5em;
  justify-content: center;
  align-items: center;
}

.contact-left {
  width: 35vw;
  text-align: left;
}

.contact-left h1 {
  color: rgb(143, 33, 33);
  font-size: 72px;
  line-height: 1.1em;
  width: 50%;
}

.contact-left p {
  font-size: 18px;
  line-height: 1.6em;
  margin: 1em 0;
}

.contact-right {
  position: relative;
  width: 38vw;
  height: 100%;
  border: 1px solid #ed6325;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2em;
  padding: 36px;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  padding: 16px 24px;
  border-radius: 24px;
  font-weight: 400;
  font-size: 16px;
  background: rgb(247, 247, 247);
  color: rgb(5, 5, 5);
  border: none;
  outline: none;
}

.submitBtn {
  background: #ed6325;
  width: 100%;
  border: none;
  line-height: 1.4em;
  border-radius: 24px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: rgb(255, 255, 255);
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submitBtn:hover {
  opacity: 0.8;
}

.loader {
  display: none;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

button:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.successPanel {
  position: absolute;
  display: none;
  z-index: 100;
  justify-content: center;
  align-items: center;
  background: #fde2cf;
  width: 100%;
  height: 100%;
  border-radius: 28px;
}

.successIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ed6325;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.check {
  font-size: 28px;
  color: white;
}

/* FAQs */
.faq {
  background: #ed6325;
  width: 92.7vw;
  height: fit-content;
  justify-self: center;
  margin: 1.5em 0;
  border-radius: 32px;
  padding: 5em 7em;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.faq h2 {
  font-size: 72px;
  line-height: 1.1em;
  color: #fde2cf;
}

.faqContent {
  background: #fde2cf;
  padding: 24px 38px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 60%;
  height: fit-content;
}

.faqItem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  line-height: 1.4em;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.faqQues {
  font-size: 20px;
  font-weight: 500 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faqQues span {
  transition: transform 0.3s ease;
  font-size: 24px;
}

.faqAns {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqItem.active .faqAns {
  max-height: 300px; /* Increased to accommodate text */
  opacity: 1;
  margin-top: 1.1em;
  padding-bottom: 10px;
}

.faqItem.active .faqQues span {
  transform: rotate(45deg);
}

@media (max-width: 1055px) {
  .contact {
    padding: 30vh 3rem 10vh 3rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-left { width: 50vw; text-align: left; }
  .contact-right { width: 100%; }
}

@media (max-width: 867px) {
  .contact-left h1 { width: 70%; }
  .faq { padding: 5em 3em; }
}

@media (max-width: 707px) {
  .contact { padding: 30vh 2rem 10vh 2rem; }
  .contact-left { width: 70vw; }
  .contact-left h1 { width: 80%; }
  .faq { padding: 5em 1.2em; }
  .faqContentContainer { flex-direction: column; }
  .faqContent { width: 98%; margin-top: 1.2em; align-self: center; }
}

@media (max-width: 525px) {
  .faqContent { padding: 24px 10px; }
  .faqItem { padding: 20px 6px; }
  .faqQues { font-size: 16px; }
  .faqAns { font-size: 14px; line-height: 1.5em !important; }
}

@media (max-width: 465px) {
  .contact { padding: 30vh 1.5rem 10vh 1.5rem; }
  .contact-left { width: 100%; }
  .contact-left h1 { width: 100%; }
}