/* style/contact.css */

/* Base styles for the contact page, adapting to dark body background from shared.css */
.page-contact {
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Body will handle the main background color */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-contact__hero-content {
  position: relative;
  z-index: 10;
  margin-top: -150px; /* Overlap slightly with image for visual flow */
  max-width: 900px;
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-contact__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

/* Section Titles and Descriptions */
.page-contact__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
  padding: 80px 0;
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address,
.page-contact__phone-number {
  color: #57E38D; /* Glow */
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-contact__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Support Topics Section */
.page-contact__support-topics-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-contact__topic-card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-contact__topic-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__topic-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  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;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider for summary background */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-question:hover {
  background-color: #2E7A4E; /* Border */
}

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

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

.page-contact__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05rem;
  background-color: #11271B; /* Card BG */
}

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

.page-contact__why-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-contact__why-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1rem;
}

.page-contact__why-item strong {
  color: #F2FFF6; /* Text Main */
}

.page-contact__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-contact__cta-text {
  font-size: 1.2rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
/* All images basic responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-contact__hero-content {
    margin-top: -100px; /* Adjust overlap for mobile */
  }

  .page-contact__main-title {
    font-size: 2rem; /* Smaller H1 on mobile */
  }

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

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
    margin: 0 auto;
    font-size: 1rem;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-contact__methods-grid,
  .page-contact__topics-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__method-card,
  .page-contact__topic-card {
    padding: 20px;
  }

  .page-contact__method-title,
  .page-contact__topic-title {
    font-size: 1.4rem;
  }

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

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

  .page-contact__why-item {
    font-size: 1rem;
  }

  /* Mobile image, video, and container responsiveness - MUST BE PRESENT */
  .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__contact-methods-section,
  .page-contact__support-topics-section,
  .page-contact__faq-section,
  .page-contact__why-contact-section,
  .page-contact__hero-image-wrapper,
  .page-contact__methods-grid,
  .page-contact__topics-grid,
  .page-contact__faq-list,
  .page-contact__why-list,
  .page-contact__cta-bottom {
    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__hero-section { /* Specific override for hero section padding */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-contact__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure no top padding conflict with body for video/hero section */
  .page-contact__video-section { /* If a video section were present */
    padding-top: 10px !important;
  }
}