.contact-section {
  background-color: #ffffff;
  width: 100%;
  padding: 4rem 0;
  position: relative;
}

.contact-section-content {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.faq-section {
  width: 100%;
  background: #e4f1f3;
  border-radius: 16px;
  padding: 2.5rem;
  height: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c95a0;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.accordion {
  color: var();
  border: 2px solid #2c95a0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.tab {
  position: relative;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
.tab input:checked ~ .tab-content {
  max-height: 10rem;
}

.tab-label,
.tab-close {
  display: flex;
  color: #257d87;
  cursor: pointer;
}

.tab input:checked + .tab-label,
.tab-close {
  color: #fff;
}

.tab-label {
  justify-content: space-between;
  padding: 1rem;
  transition: background-color 0.3s ease;
}

.tab-label:hover {
  background-color: #2c94a045;
}

.tab input:checked + .tab-label {
  background-color: #2c95a0;
}

.tab-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.tab input:checked + .tab-label::after {
  transform: rotate(270deg) translateY(-10px);
}
.tab-content p {
  margin: 0;
  padding: 1rem;
}
.tab input:not(:checked) + .tab-label:hover::after {
  animation: bounce 1s infinite;
}

.contact-form-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c95a0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.contact-header p {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}

.contact-form {
  background: #e4f1f3;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c95a0;
  box-shadow: 0 0 0 3px rgba(12, 159, 162, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  background: #2c95a0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: #257d87;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 159, 162, 0.3);
}

@media (max-width: 1200px) {
  .contact-section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-section {
    width: 100%;
    order: 1;
    padding: 2rem;
  }

  .contact-form-section {
    width: 100%;
    order: 2;
  }

  .contact-header h2 {
    font-size: 1.7rem;
  }

  .contact-form {
    padding: 2rem;
  }

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

@media (max-width: 600px) {
  .contact-section {
    padding: 3rem 0;
  }

  .faq-section {
    padding: 1.5rem;
  }

  .faq-section h2 {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-header h2 {
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .contact-section-content {
    padding: 0 0.5rem;
  }

  .faq-section {
    padding: 1.25rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-header h2 {
    font-size: 1.4rem;
  }

  .faq-section h2 {
    font-size: 1.4rem;
  }
}
