/* 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; /* Ensure consistency with body background */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFCC00;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding: 100px 0 60px 0; /* Adjust padding-top for fixed header */
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  text-align: center;
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  overflow: hidden;
}

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

.page-contact__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-contact__hero-image-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Channels Section */
.page-contact__channels-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333; /* Dark text for light background */
}

.page-contact__channels-section .page-contact__section-title,
.page-contact__channels-section .page-contact__section-intro {
  color: #003366;
}

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

.page-contact__channel-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-contact__channel-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__channel-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #003366;
  color: #ffffff;
  border: 2px solid #003366;
}

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

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

.page-contact__btn-secondary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

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

.page-contact__social-icon {
    font-size: 1em;
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.page-contact__social-icon:hover {
    color: #FFCC00;
}

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-contact__why-contact-section .page-contact__section-title,
.page-contact__why-contact-section .page-contact__section-intro {
  color: #FFCC00;
}

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

.page-contact__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.page-contact__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__feature-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-contact__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333; /* Dark text for light background */
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-intro {
  color: #003366;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  color: #333333;
  background-color: #ffffff;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #003366;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.2);
}

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

.page-contact__form-submit-btn {
  width: auto;
  margin-top: 20px;
  cursor: pointer;
}

.page-contact__privacy-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #666666;
}

.page-contact__privacy-note a {
  color: #003366;
  text-decoration: none;
}

.page-contact__privacy-note a:hover {
  text-decoration: underline;
}

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

.page-contact__faq-section .page-contact__section-title,
.page-contact__faq-section .page-contact__section-intro {
  color: #FFCC00;
}

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

.page-contact__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

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

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

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

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

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

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333; /* Dark text for light background */
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title,
.page-contact__cta-section .page-contact__section-intro {
  color: #003366;
}

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

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding: 80px 0 40px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
  
  .page-contact__hero-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__channels-section,
  .page-contact__why-contact-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 60px 0;
  }

  .page-contact__channels-grid,
  .page-contact__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .page-contact__form-label {
    font-size: 0.95em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.9em;
  }

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

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

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

  .page-contact__faq-title {
    font-size: 1.1em;
  }

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

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

  /* Mobile image and container responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__why-contact-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__channel-title {
    font-size: 1.3em;
  }
  .page-contact__feature-title {
    font-size: 1.2em;
  }
  .page-contact__faq-title {
    font-size: 1em;
  }
}