/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles the main background color */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: rgba(0, 0, 0, 0.7); /* Slightly dark overlay for text readability */
}

.page-contact__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and text */
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* CTA Buttons */
.page-contact__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-contact__cta-buttons--inline {
  justify-content: flex-start;
}

.page-contact__cta-buttons--center {
  margin-top: 40px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-tertiary,
.page-contact__btn-inline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

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

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b8;
}

.page-contact__btn-tertiary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-contact__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__btn-inline {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-contact__btn-inline:hover {
  background-color: #c76a06;
  border-color: #c76a06;
}

/* General Section Styling */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* Contact Methods Section */
.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__reassurance-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  margin-bottom: 20px; /* Spacing between sections */
}

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

.page-contact__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px; /* Ensure cards have some height */
  color: #ffffff; /* Light text for card content */
}

.page-contact__card:hover {
  transform: translateY(-5px);
}

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

.page-contact__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take available space */
}

.page-contact__card-contact-info {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 15px;
}

.page-contact__social-list li {
  margin-bottom: 10px;
}

.page-contact__social-list a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-contact__social-list a:hover {
  color: #1e87b8;
  text-decoration: underline;
}

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

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

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* Hide default marker */
}

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

.page-contact__faq-item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

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

/* Reassurance Section */
.page-contact__reassurance-section {
  background-color: #0a0a0a; /* Darker background for emphasis */
}

.page-contact__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-contact__feature-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__feature-list li img {
  width: 200px; /* Must be at least 200px */
  height: 200px; /* Must be at least 200px */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 10px; /* Changed to square with rounded corners for content image feel */
  background-color: transparent; /* Removed background color, let image fill */
  padding: 0; /* Removed padding */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual padding */
  }

  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-content {
    padding: 0 15px;
  }

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

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

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__btn-tertiary,
  .page-contact__btn-inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add padding to button content */
    padding-right: 15px;
  }

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

  .page-contact__section-description {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__reassurance-section {
    padding: 50px 0;
  }

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

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

  .page-contact__card {
    padding: 25px;
    min-height: unset;
  }

  .page-contact__card-title {
    font-size: 1.4em;
  }

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

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

  .page-contact__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__feature-list li {
    padding: 20px;
  }

  /* All images must be responsive */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All video containers must be responsive */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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;
  }
  .page-contact__video-section {
    padding-top: 10px !important;
  }
}