/* style/contact.css */

/* --- General Page Styling --- */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Explicitly setting for clarity based on body default */
}

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

.page-contact__section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__heading {
  font-size: 2.5em;
  color: #26A9E0; /* Primary brand color for headings */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-contact__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Adjust for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-contact__dark-section {
  background-color: #26A9E0; /* Primary brand color for dark sections */
  color: #ffffff;
}

.page-contact__dark-section .page-contact__heading,
.page-contact__dark-section .page-contact__text-block,
.page-contact__dark-section .page-contact__hero-title,
.page-contact__dark-section .page-contact__hero-description {
  color: #ffffff;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

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

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  z-index: 1;
}

/* --- CTA Buttons --- */
.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 300px; /* Limit button width for better wrapping */
  width: 100%; /* Ensure buttons take full width within max-width */
}

.page-contact__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-contact__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-contact__dark-section .page-contact__btn-secondary {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.page-contact__dark-section .page-contact__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

/* --- Channel Cards Section --- */
.page-contact__channels-section {
  background-color: #26A9E0; /* Primary brand color */
  padding-bottom: 100px;
}

.page-contact__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__channel-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 250px; /* Max width for consistency */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Min image size requirement */
}

.page-contact__channel-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__channel-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-contact__email-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact__email-link:hover {
  color: #EA7C07;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-contact__social-btn {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 120px;
  width: 100%;
}

.page-contact__social-btn:hover {
  background-color: #1a7fb3;
}

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

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

.page-contact__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-item summary {
  list-style: none; /* Hide default marker for details tag */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−'; /* Change to minus sign when open */
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

/* --- Commitment Section --- */
.page-contact__commitment-section {
  background-color: #26A9E0;
  color: #ffffff;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    min-height: 500px;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-contact__heading {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-contact__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__channels-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-contact__channel-title {
    font-size: 1.5em;
  }

  .page-contact__channel-description {
    font-size: 0.9em;
  }

  .page-contact__social-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .page-contact__social-btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 8px 15px;
    font-size: 0.85em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-contact__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9em;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__channel-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure video sections also respect padding-top for header offset */
  .page-contact__video-section { /* Assuming a video section might exist */
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-contact__video-wrapper, /* If using a wrapper for aspect ratio */
  .page-contact__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}