/* style/contact.css */
.page-contact {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-contact__section-padding {
  padding: 60px 20px;
}

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

.page-contact__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

.page-contact__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-contact__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-contact__text-secondary {
  color: #A7D9B8;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Adjusted for contrast with dark background */
  border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-contact__link-text {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-contact__link-text:hover {
  color: #2AD16F;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
  margin-top: -120px; /* Pull content up slightly over the image for better visual flow, without overlapping text on image */
}

.page-contact__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-contact__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Channel Section */
.page-contact__dark-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

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

.page-contact__channel-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__channel-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-contact__channel-description {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__channel-button {
  width: 100%;
  max-width: 250px;
}

/* Commitment Section */
.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-contact__commitment-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  font-size: 16px;
  color: #F2FFF6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__commitment-item strong {
  color: #57E38D;
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #0A4B2C;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-item summary:hover {
  background-color: #1E3A2A;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D;
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8;
  line-height: 1.6;
}

/* Register CTA Section */
.page-contact__register-cta-section {
  text-align: center;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Contact Form Section */
.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #0A4B2C;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  color: #F2FFF6;
  margin-bottom: 8px;
  font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #1E3A2A;
  background-color: #08160F;
  color: #F2FFF6;
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8;
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #57E38D;
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

.page-contact__form-submit-btn {
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Address Section */
.page-contact__address-info {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  line-height: 1.8;
}

.page-contact__address-info p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #F2FFF6;
}

.page-contact__address-info strong {
  color: #57E38D;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__hero-image-wrapper {
    min-height: 400px;
  }

  .page-contact__hero-image {
    min-height: 400px;
  }

  .page-contact__hero-content {
    margin-top: -80px;
  }

  .page-contact__channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-contact__commitment-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-contact__section-padding {
    padding: 40px 15px;
  }

  .page-contact__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .page-contact__hero-image-wrapper {
    min-height: 300px;
  }

  .page-contact__hero-image {
    min-height: 300px;
  }

  .page-contact__hero-content {
    margin-top: -60px;
  }

  .page-contact__hero-title {
    font-size: clamp(30px, 7vw, 48px);
  }

  .page-contact__hero-description {
    font-size: clamp(16px, 3vw, 18px);
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__hero-cta-group,
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__introduction-section,
  .page-contact__channels-section,
  .page-contact__commitment-section,
  .page-contact__faq-section,
  .page-contact__register-cta-section,
  .page-contact__form-section,
  .page-contact__address-section,
  .page-contact__channel-card,
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__channel-icon {
    width: 150px;
    height: auto;
  }

  .page-contact__form-submit-btn {
    max-width: 100%;
  }

  .page-contact__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px;
  }

  .page-contact__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-image-wrapper {
    min-height: 250px;
  }

  .page-contact__hero-image {
    min-height: 250px;
  }

  .page-contact__hero-content {
    margin-top: -40px;
  }

  .page-contact__hero-title {
    font-size: clamp(24px, 8vw, 36px);
  }

  .page-contact__hero-description {
    font-size: clamp(15px, 4vw, 16px);
  }

  .page-contact__channel-card {
    padding: 25px;
  }

  .page-contact__contact-form {
    padding: 25px;
  }
}