/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a2e; /* Inherited from body, but explicitly set for safety */
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure some space at the bottom */
}

/* Containers for content sections */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #1a1a2e;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px; /* Match container max-width */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 40px;
}

.page-contact__hero-content {
  margin-top: 40px; /* Space between image and text */
}

.page-contact__hero-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for responsive H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand blue for title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General button styles */
.page-contact__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

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

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

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

.page-contact__btn-login {
  background-color: #EA7C07; /* Specific login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-contact__btn-login:hover {
  background-color: #c46406;
  border-color: #c46406;
}

/* Section styling */
.page-contact__section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

.page-contact__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.2em);
  font-weight: 700;
  text-align: center;
  color: #26A9E0;
  margin-bottom: 40px;
}

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

/* Contact Info Section */
.page-contact__contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-contact__info-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background for dark theme */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-contact__info-icon {
  font-size: 3em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__info-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-contact__info-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-contact__info-text a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-contact__info-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

/* Social Media Section */
.page-contact__social-links-wrapper {
  text-align: center;
}

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

.page-contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.8em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: #26A9E0;
}

/* Office Location Section */
.page-contact__office-details {
  text-align: center;
  margin-top: 30px;
}

.page-contact__office-address {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-contact__office-hours {
  font-size: 1em;
  color: #cccccc;
}

/* Contact Form Section */
.page-contact__form-wrapper {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__form-submit {
  width: 100%;
  padding: 15px;
  background-color: #26A9E0;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit:hover {
  background-color: #1e87c0;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

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

.page-contact__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #f0f0f0;
  font-size: 1em;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
  padding-top: 15px;
  padding-bottom: 25px;
}

/* Commitment Section */
.page-contact__commitment-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a2e;
}

.page-contact__commitment-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
  .page-contact__section-title {
    font-size: clamp(1.6em, 3vw, 2em);
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: clamp(1.6em, 5vw, 2em);
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: clamp(1.4em, 4.5vw, 1.8em);
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .page-contact__btn {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact__hero-section,
  .page-contact__section,
  .page-contact__form-wrapper,
  .page-contact__commitment-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no filter */
  }

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

  /* Mobile video responsiveness (if any, though not explicitly added for this page, general rule applies) */
  .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;
  }

  /* Specific padding for hero section on mobile */
  .page-contact__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  /* Card padding adjustments */
  .page-contact__info-card,
  .page-contact__form-wrapper,
  .page-contact__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding-top: 10px;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: clamp(1.4em, 6vw, 1.8em);
  }
  .page-contact__section-title {
    font-size: clamp(1.2em, 5.5vw, 1.6em);
  }
  .page-contact__info-title {
    font-size: 1.2em;
  }
  .page-contact__info-icon {
    font-size: 2.5em;
  }
}

/* Ensure no filter on images */
.page-contact img {
  filter: none !important;
}