/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #F4F7FB;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -80px; /* Overlap image slightly for visual appeal */
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.page-contact__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 30px;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 15px;
}

.page-contact__section-title--white {
  color: #ffffff;
}

.page-contact__section-description {
  font-size: 17px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

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

.page-contact__method-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-contact__method-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 25px;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background: #2F6BFF; /* Primary Color */
  color: #ffffff;
}

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

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

.page-contact__form-label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  font-size: 16px;
  color: #1F2D3D;
  background-color: #ffffff;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #6FA3FF; /* Secondary Color */
  opacity: 0.7;
}

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

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

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

.page-contact__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-contact__faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #ffffff;
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #1F2D3D;
}

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

.page-contact__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
}

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

/* Call to Action Section */
.page-contact__cta-section {
  padding: 80px 0;
  background: #2F6BFF; /* Primary Color */
  text-align: center;
}

.page-contact__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button Gradient */
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.6);
}

.page-contact__btn-secondary {
  background-color: #ffffff; /* Card BG */
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__btn-secondary:hover {
  background-color: #F4F7FB; /* Background */
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__contact-form,
  .page-contact__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-contact__hero-content {
    margin-top: -40px; /* Adjust overlap for mobile */
    padding: 30px 20px;
  }

  .page-contact__main-title {
    font-size: 32px;
  }

  .page-contact__hero-description,
  .page-contact__section-description {
    font-size: 16px;
  }

  .page-contact__section-title {
    font-size: 28px;
  }

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

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }

  .page-contact__faq-question {
    font-size: 16px;
    padding: 18px 20px;
  }

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

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

  /* Ensure all images are responsive */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Specific top padding for hero/video sections */
  .page-contact__hero-section {
    padding-top: 10px !important;
  }
}