/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background is #000000 */
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Brand color for hero background if image isn't full bleed */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and content */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-contact__hero-content {
  position: relative; /* Ensure content is above image wrapper in DOM flow */
  z-index: 2;
  max-width: 800px;
  color: #ffffff;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* White text on dark background */
}

.page-contact__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles & Descriptions */
.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff; /* Default for dark background sections */
}

.page-contact__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0; /* Slightly lighter for descriptions */
}

/* General Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

.page-contact__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border-color: #C30808;
}

.page-contact__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand color for secondary button text */
  border-color: #017439;
}

.page-contact__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Contact Info Section */
.page-contact__contact-info-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for this section */
  color: #333333; /* Dark text for light background */
}

.page-contact__contact-info-section .page-contact__section-title {
  color: #017439; /* Brand color for title on light background */
}

.page-contact__contact-info-section .page-contact__section-description {
  color: #555555;
}

.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__info-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-contact__info-card p {
  margin-bottom: 15px;
}

.page-contact__contact-detail a {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-contact__contact-detail a:hover {
  text-decoration: underline;
}

.page-contact__social-links {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-contact__social-links li a {
  color: #ffffff;
  background-color: #017439;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-contact__social-links li a:hover {
  background-color: #005a2d;
}

/* Why Support Section */
.page-contact__why-support-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for this section */
  color: #ffffff;
}

.page-contact__why-support-section .page-contact__section-title,
.page-contact__why-support-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on brand color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-contact__feature-card .page-contact__card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #FFFF00; /* Use yellow for highlights on dark background */
}

.page-contact__learn-more-btn {
  margin-top: 40px;
  background-color: #FFFF00; /* Yellow button on green background */
  color: #017439; /* Green text on yellow button */
  border-color: #FFFF00;
}

.page-contact__learn-more-btn:hover {
  background-color: #e0e000;
  border-color: #e0e000;
}


/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter form background */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #cccccc;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #017439;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.5);
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__submit-btn {
  width: auto;
  margin-top: 20px;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

.page-contact__faq-section .page-contact__section-title {
  color: #017439;
}

.page-contact__faq-section .page-contact__section-description {
  color: #555555;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-contact__faq-item summary {
  display: block; /* For details tag */
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #017439;
  position: relative;
  user-select: none;
  background-color: #eaf7f0; /* Light green background for question */
  border-bottom: 1px solid #e0e0e0;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-question { /* For div based FAQ if not using details */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #017439;
  background-color: #eaf7f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-contact__faq-question:hover {
  background-color: #e0f0e7;
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-left: 15px;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle, /* For details tag */
.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}