/* 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: 20px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 450px; /* Fixed height for desktop */
  overflow: hidden;
}

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

.page-contact__hero-content {
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
  padding: 40px 20px;
  margin-top: -5px; /* Slight overlap with image for smooth transition */
  position: relative;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-description {
  font-size: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 15px;
}

.page-contact__section-description {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Form Section */
.page-contact__form-section {
  padding: 40px 0;
  background-color: #F4F7FB;
}

.page-contact__contact-form {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
}

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Button responsive base */
  white-space: normal; /* Button text wrap */
  word-wrap: break-word; /* Button text wrap */
}

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

/* Channels Section */
.page-contact__channels-section {
  padding: 40px 0;
  background-color: #F4F7FB;
}

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

.page-contact__channel-card {
  background-color: #FFFFFF; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure image behaves as block */
}

.page-contact__channel-title {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
}

.page-contact__channel-text {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__channel-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Button responsive base */
  white-space: normal; /* Button text wrap */
  word-wrap: break-word; /* Button text wrap */
}

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

.page-contact__phone-number {
  font-size: 18px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-top: 10px;
  margin-bottom: 20px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #6FA3FF; /* Auxiliary Color */
  color: #ffffff;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #2F6BFF;
}

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

.page-contact__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
  font-weight: 600;
}

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

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #f9f9f9;
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #fcfdff;
  border-radius: 0 0 10px 10px;
  color: #1F2D3D;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-contact__container {
    padding: 15px;
  }

  /* Hero Section */
  .page-contact__hero-section {
    margin-bottom: 20px;
    padding-top: 10px !important;
  }

  .page-contact__hero-image-wrapper {
    height: 250px;
  }

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

  .page-contact__hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .page-contact__hero-description {
    font-size: 15px;
  }

  /* Section Titles and Descriptions */
  .page-contact__section-title {
    font-size: 26px;
  }

  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Form Section */
  .page-contact__form-section {
    padding: 20px 0;
  }

  .page-contact__contact-form {
    padding: 20px;
  }

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

  .page-contact__submit-button {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Channels Section */
  .page-contact__channels-section {
    padding: 20px 0;
  }

  .page-contact__channels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-contact__channel-card {
    padding: 20px;
  }

  .page-contact__channel-icon {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__channel-title {
    font-size: 22px;
  }

  .page-contact__channel-text {
    font-size: 15px;
  }

  .page-contact__channel-button {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__social-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .page-contact__social-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

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

  .page-contact__faq-list {
    margin-top: 20px;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-qtext {
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 15px;
  }

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

  .page-contact__faq-answer p {
    font-size: 15px;
  }

  /* General Image and Container Adaptations */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__channels-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button Container Adaptations */
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-contact__social-links {
    padding-left: 0;
    padding-right: 0;
  }
}