.page-contact {
  font-family: 'Arial', sans-serif;
  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__dark-section {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Main brand gradient */
  color: #ffffff;
  padding: 60px 0;
}

.page-contact__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
  padding: 60px 0;
}

.page-contact__card {
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D; /* Text Main */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-contact__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: inherit;
}

.page-contact__text-link {
  color: #2F6BFF; /* Main brand color */
  text-decoration: none;
  font-weight: 600;
}

.page-contact__text-link:hover {
  text-decoration: underline;
}

/* HERO SECTION */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-contact__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #ffffff;
}

.page-contact__hero-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-contact__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-contact__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF; /* Main brand color */
  border: 2px solid #2F6BFF; /* Border */
}

.page-contact__btn-secondary:hover {
  background-color: #F4F7FB; /* Background */
  color: #2F6BFF;
  border-color: #6FA3FF; /* Auxiliary color */
}

/* CONTACT INFO SECTION */
.page-contact__info-section {
  padding-bottom: 60px;
}

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

.page-contact__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2F6BFF; /* Main brand color */
}

.page-contact__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-contact__contact-detail {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000; /* Custom Color_1776249996415 */
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-contact__contact-detail::before {
  font-size: 20px;
}

.page-contact__contact-detail:nth-child(1)::before { content: '📧'; }
.page-contact__contact-detail:nth-child(2)::before { content: '📞'; }
.page-contact__contact-detail:nth-child(3)::before { content: '📍'; }

.page-contact__card-button {
  width: 100%;
  margin-top: 15px;
}

/* CONTACT FORM SECTION */
.page-contact__form-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2F6BFF; /* Main brand color */
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
  outline: none;
}

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

.page-contact__form-submit-btn {
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
}

/* FAQ SECTION */
.page-contact__faq-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__faq-item {
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #2F6BFF; /* Main brand color */
  cursor: pointer;
  list-style: none;
  user-select: none;
  position: relative;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-question:hover {
  background-color: #F4F7FB; /* Background */
}

.page-contact__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-contact__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #6FA3FF; /* Auxiliary color */
  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;
  font-size: 16px;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
  max-height: 2000px !important; /* For JS fallback */
}

/* CTA BANNER SECTION */
.page-contact__cta-banner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-contact__cta-banner .page-contact__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-contact__cta-content {
  flex: 1;
  min-width: 300px;
}

.page-contact__cta-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-contact__cta-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-contact__cta-image {
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  display: block;
  margin-left: auto;
}

/* ======================================================= */
/* RESPONSIVE STYLES */
/* ======================================================= */

/* Tablet and Mobile styles */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 42px;
  }

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

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

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

  .page-contact__contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

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

  .page-contact__faq-question {
    font-size: 17px;
  }

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

  .page-contact__cta-image {
    max-width: 100%;
    margin-left: 0;
  }
}

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

  .page-contact__container {
    padding: 0 15px !important;
  }

  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px !important;
  }

  .page-contact__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 30px;
  }

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

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

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

  /* 按钮与按钮容器 */
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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;
  }

  /* 其他内容模块 - Sections */
  .page-contact__dark-section,
  .page-contact__light-bg,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-banner {
    padding: 40px 0 !important;
  }

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

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

  /* 通用图片与容器 */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Contact Grid */
  .page-contact__contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

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

  .page-contact__card-title {
    font-size: 20px;
  }

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

  /* Contact Form */
  .page-contact__contact-form {
    margin-top: 30px;
    padding: 30px;
  }

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

  .page-contact__form-label {
    font-size: 15px;
  }

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

  .page-contact__form-submit-btn {
    padding: 14px 15px;
    font-size: 16px;
  }

  /* FAQ List */
  .page-contact__faq-list {
    margin-top: 30px;
    gap: 15px;
  }

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

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

  /* CTA Banner */
  .page-contact__cta-banner .page-contact__container {
    flex-direction: column;
    gap: 30px;
  }

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

  .page-contact__cta-description {
    font-size: 16px;
  }
}