body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  height: 70px;
}

main {
  flex: 1;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
}

.contact_header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact_subtitle {
  font-size: 1rem;
  opacity: 0.7;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.contact_layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.contact_left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.contact_info_card {
  background-color: #ffffff07;
  border: 1px solid rgba(0, 128, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact_info_card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact_form_card {
  flex: 2;
}

.contact_info_item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact_info_item i {
  color: green;
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact_info_label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact_info_item p:last-child {
  opacity: 0.7;
  font-size: 0.875rem;
}

.contact_social_item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}

.contact_social_item i {
  font-size: 1.2rem;
  color: green;
}

.contact_social_item:hover {
  color: green;
}

.contact_form_card form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form_group label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form_group input,
.form_group textarea {
  width: 100%;
  padding: 10px 14px;
  background-color: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: aliceblue;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
}

.form_group input::placeholder,
.form_group textarea::placeholder {
  opacity: 0.4;
}

.form_group input:focus,
.form_group textarea:focus {
  outline: 2px solid rgba(0, 128, 0, 0.499);
  border-color: rgba(0, 128, 0, 0.499);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

#message {
  min-height: 180px;
}

/* FAQ */
.faq_section {
  margin-top: 5rem;
}

.faq_heading {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.faq_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq_card {
  background-color: #ffffff07;
  border: 1px solid rgba(0, 128, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
}

.faq_card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.faq_card p {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact_layout {
    flex-direction: column;
  }

  .contact_left,
  .contact_form_card {
    width: 100%;
  }

  .faq_grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .section-container {
    padding: 40px 20px;
  }
}

/* Light mode */
.light-mode .contact_info_card,
.light-mode .faq_card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 128, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.light-mode .form_group input,
.light-mode .form_group textarea {
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #212121;
}

.light-mode .contact_subtitle,
.light-mode .contact_info_item p:last-child,
.light-mode .faq_card p {
  color: #212121;
}