/* 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: transparent; /* Body background handled by shared.css */
}

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

.page-contact__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #f8f8f8; /* Light background for sections */
  color: #333333;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-intro,
.page-contact__section-outro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-contact__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
}

.page-contact__form-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-contact__form-wrapper {
  flex: 1;
}

.page-contact__form-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #f9f9f9;
}

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

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

.page-contact__submit-button {
  align-self: flex-start;
  background-color: #017439;
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__submit-button:hover {
  background-color: #005a2e;
}

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-contact__info-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-10px);
}

.page-contact__info-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__info-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-contact__info-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-contact__info-link {
  color: #FFFF00; /* Highlight link color */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__info-link:hover {
  color: #e0e000;
  text-decoration: underline;
}

.page-contact__social-media {
  margin-top: 60px;
  text-align: center;
}

.page-contact__social-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 15px;
}

.page-contact__social-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__social-link {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: #005a2e;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
}

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

.page-contact__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #333333;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-question-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-contact__faq-answer p {
  margin: 0 0 15px 0;
  padding-top: 15px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(0deg); /* Or change to '-' */
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
}

.page-contact__commitment-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-contact__commitment-text {
  flex: 1;
  text-align: left;
}

.page-contact__commitment-text .page-contact__section-title {
  text-align: left;
}

.page-contact__commitment-text .page-contact__section-intro,
.page-contact__commitment-text .page-contact__section-outro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-contact__commitment-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23017439" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-contact__commitment-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__commitment-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__form-content,
  .page-contact__commitment-content {
    flex-direction: column;
  }
  .page-contact__form-image-wrapper,
  .page-contact__commitment-image-wrapper {
    margin-top: 40px;
  }
  .page-contact__commitment-text .page-contact__section-title,
  .page-contact__commitment-text .page-contact__section-intro,
  .page-contact__commitment-text .page-contact__section-outro {
    text-align: center;
  }
  .page-contact__commitment-list {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }
  .page-contact__commitment-list li {
    background-position: center left;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__container {
    padding: 0 15px !important;
  }
  .page-contact__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro,
  .page-contact__section-outro {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__faq-section,
  .page-contact__commitment-section {
    padding: 40px 0;
  }
  .page-contact__form-content {
    gap: 20px;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__submit-button {
    width: 100%;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__social-icons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__faq-question-title {
    font-size: 1em;
  }
  .page-contact__faq-toggle {
    font-size: 1.2em;
  }
  /* Ensure images and containers are fully responsive on mobile */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__video-section {
    padding-top: var(--header-offset, 120px) !important; /* With !important as required */
  }
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}