/* style/contact.css */

/* Base styles for page-contact */
.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 dark */
}

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  background-color: #0d0d0d; /* Slightly lighter dark background for hero */
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

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

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

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* Responsive font size for H2 */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 30px;
  text-align: center;
}

.page-contact__section-description {
  font-size: 1rem;
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-contact__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Main brand color */
  border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b9;
  border-color: #1e87b9;
}

/* Specific button color for Login */
a[href*="login.html"].page-contact__btn-primary, 
a[href*="login.html"].page-contact__btn-secondary {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #ffffff;
}
a[href*="login.html"].page-contact__btn-primary:hover, 
a[href*="login.html"].page-contact__btn-secondary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}


/* Sections */
.page-contact__channels-section {
  padding: 60px 0;
  color: #333333; /* Light background, dark text */
  background-color: #ffffff; /* Auxiliary color for light section */
}

.page-contact__form-section {
  padding: 60px 0;
  color: #ffffff; /* Dark background, light text */
  background-color: #000000; /* Body background */
}

.page-contact__faq-section {
  padding: 60px 0;
  color: #333333; /* Light background, dark text */
  background-color: #f5f5f5; /* Light grey background */
}

.page-contact__commitment-section {
  padding: 60px 0;
  color: #ffffff;
  background-color: #26A9E0; /* Main brand color background */
  text-align: center;
}

/* Channel Grid */
.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: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 100%; /* Ensure images are not tiny */
  max-width: 250px; /* Max width for icons */
  height: auto;
  margin-bottom: 20px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-contact__card-text {
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__email-link,
.page-contact__phone-link,
.page-contact__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 500;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover,
.page-contact__link:hover {
  text-decoration: underline;
}

/* Contact Form */
.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.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 #444;
  border-radius: 8px;
  background-color: #333;
  color: #ffffff;
  font-size: 1rem;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333333;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95rem;
  color: #555555;
}

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

.page-contact__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-contact__more-faq-link-wrapper {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
  color: #333333;
}

/* Ensure content images are not small */
.page-contact img:not(.page-contact__channel-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important;
    min-height: 450px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-contact__intro-text {
    font-size: 1rem;
  }

  .page-contact__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-contact__section-description {
    font-size: 0.95rem;
  }

  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section {
    padding: 40px 0;
  }

  .page-contact__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-contact__channel-card,
  .page-contact__contact-form {
    padding: 20px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

  /* Force responsive images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Force responsive buttons */
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-contact__btn-primary:last-child, .page-contact__btn-secondary:last-child {
    margin-bottom: 0;
  }

  /* Button containers for stacking */
  .page-contact__hero-content .page-contact__btn-primary {
    display: block;
    margin: 0 auto 10px auto;
  }

  .page-contact__hero-content .page-contact__btn-primary:last-child {
    margin-bottom: 0;
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex; /* Ensure flex context for wrap/column */
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
  }

  .page-contact__channel-card .page-contact__btn-secondary {
    width: auto !important; /* Allow buttons in cards to be smaller than 100% if text is short */
    max-width: fit-content !important;
    padding-left: 20px;
    padding-right: 20px;
  }
}