/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  background-color: #000000; /* Body background is dark */
  color: #ffffff; /* Default text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* Desktop padding */
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #0d0d0d; /* Slightly lighter dark background for hero */
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-contact__hero-content {
  max-width: 800px;
  margin-top: 20px;
}

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

.page-contact__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box; /* For button responsiveness */
}

.page-contact__cta-button:hover {
  background-color: #d16b06;
}

/* General Section Styling */
.page-contact__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: 600;
}

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

/* Contact Methods Section */
.page-contact__contact-methods-wrapper {
  background-color: #000000; /* Ensure this section also uses dark background */
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 400px; /* Ensure cards have some height */
}

.page-contact__method-card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-contact__method-card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-contact__method-card-info {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-contact__method-card .page-contact__cta-button {
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #26A9E0; /* Brand color for secondary CTA */
}

.page-contact__method-card .page-contact__cta-button:hover {
  background-color: #1e87b7;
}

/* FAQ Section */
.page-contact__faq-section {
  text-align: left; /* Align text left for readability */
  background-color: #000000; /* Ensure this section also uses dark background */
}

.page-contact__faq-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

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

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  position: relative;
}

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

.page-contact__faq-question {
  flex-grow: 1;
  color: #26A9E0; /* Brand color for questions */
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: #ffffff;
}

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

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

.page-contact__faq-answer a.page-contact__cta-button {
  margin-top: 10px;
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Office Location Section */
.page-contact__location-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-contact__location-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__location-address {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 30px;
}

/* Final CTA Section */
.page-contact__cta-section {
  background-color: #1a1a1a; /* Darker background for final CTA */
  padding: 60px 20px;
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-contact__cta-section .page-contact__section-description {
  color: #f0f0f0;
}

.page-contact__cta-buttons-group {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-contact__cta-buttons-group .page-contact__cta-button {
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-contact__cta-buttons-group .page-contact__cta-button--login {
  background-color: transparent;
  border: 2px solid #EA7C07; /* Login color border */
  color: #EA7C07;
}

.page-contact__cta-buttons-group .page-contact__cta-button--login:hover {
  background-color: #EA7C07;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px; /* Still small top padding */
  }

  .page-contact__hero-title {
    font-size: 2rem;
  }

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

  .page-contact__section {
    padding: 30px 15px;
  }

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

  .page-contact__contact-methods {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }

  .page-contact__method-card {
    min-height: auto;
  }

  .page-contact__method-card-title {
    font-size: 1.3rem;
  }

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

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

  .page-contact__cta-buttons-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-contact__cta-button,
  .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;
  }
  
  .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;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Images and Videos Responsive */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .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; /* Ensure no overflow */
  }

  .page-contact__video-section {
    padding-top: 10px !important;
  }
}