/* Base Styles */
.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;
  box-sizing: border-box;
}

.page-contact__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  margin-bottom: 40px;
  text-align: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  overflow: hidden;
}

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

.page-contact__hero-content {
  padding: 40px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient for hero content background */
  color: #ffffff;
  margin-top: -5px; /* Slightly overlap with image for visual continuity */
  position: relative;
  z-index: 1;
  border-radius: 0 0 10px 10px;
}

.page-contact__main-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-contact__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-contact__section-title {
  font-size: 2.2em;
  color: #2F6BFF; /* Main Color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-contact__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #1F2D3D;
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* 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: #FFFFFF; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-icon {
  width: 100%; /* Ensure image fills card */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-description {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-contact__method-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

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

.page-contact__social-icon {
  display: inline-block;
  padding: 10px 20px;
  background-color: #6FA3FF; /* Auxiliary Color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.page-contact__social-icon:hover {
  background-color: #2F6BFF; /* Main Color */
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 6px;
  font-size: 1em;
  color: #000000; /* Custom Color_1776249996415 */
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2F6BFF; /* Main Color */
  outline: none;
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-contact__note-text {
  font-size: 0.9em;
  color: #666666;
  text-align: center;
  margin-top: 20px;
}

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

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  line-height: 1.7;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%); /* Main Color to Auxiliary Color */
  color: #ffffff;
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title,
.page-contact__cta-section .page-contact__text-block {
  color: #ffffff;
}

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

.page-contact__cta-button--secondary {
  background: #ffffff;
  color: #2F6BFF;
}

.page-contact__cta-button--secondary:hover {
  background: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    padding: 30px 15px;
  }

  .page-contact__main-title {
    font-size: 2.4em;
  }

  .page-contact__description {
    font-size: 1.1em;
  }

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

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

  .page-contact__hero-section {
    margin-bottom: 20px;
  }

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

  .page-contact__main-title {
    font-size: 2em !important;
    line-height: 1.3 !important;
    max-width: 100% !important; /* Ensure H1 doesn't overflow */
    box-sizing: border-box !important;
  }

  .page-contact__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-contact__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

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

  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__method-icon {
    height: 180px;
  }

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

  .page-contact__social-icon {
    width: 100%;
    box-sizing: border-box;
  }

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

  .page-contact__form-label {
    font-size: 1em;
  }

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

  .page-contact__submit-button {
    padding: 12px;
    font-size: 1.1em;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

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

  /* Universal image and container responsive styles for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-image,
  .page-contact__method-card,
  .page-contact__faq-item,
  .page-contact__form-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}