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

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

.page-contact__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-contact__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Pull content up over image slightly for better visual flow */
  position: relative;
  z-index: 1;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.3); /* Glow */
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2C14E; /* Primary */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__intro-text,
.page-contact__section-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-contact__contact-channels-section,
.page-contact__faq-section,
.page-contact__commitment-section {
  padding: 40px 0;
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Primary */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__channel-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__contact-form {
  text-align: left;
  margin-top: 20px;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  color: #F2C14E; /* Primary */
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border */
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
  border-radius: 5px;
  box-sizing: border-box;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact a[class*="button"],
.page-contact a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.6);
}

.page-contact__btn-secondary {
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Primary */
  border: 2px solid #F2C14E; /* Primary */
}

.page-contact__btn-secondary:hover {
  background-color: #F2C14E; /* Primary */
  color: #111111; /* Card BG */
}

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

.page-contact__social-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-contact__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact__social-icon:hover {
  transform: scale(1.1);
}

.page-contact__hotline-number {
  font-size: 2em;
  color: #FFD36B; /* Auxiliary */
  font-weight: bold;
  margin-top: 20px;
}

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

.page-contact__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Primary */
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #2a2a2a;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B; /* Auxiliary */
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 0 25px 18px;
  color: #FFF6D6; /* Text Main */
  font-size: 1.05em;
}

.page-contact__faq-answer p {
  margin: 0;
}

.page-contact__faq-answer a {
  color: #FFD36B; /* Auxiliary */
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  color: #F2C14E; /* Primary */
}

.page-contact__commitment-section .page-contact__section-description {
  margin-bottom: 40px;
}

.page-contact__cta-button {
  margin-top: 20px;
}

/* General image responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button container responsive styles */
.page-contact__btn-container,
.page-contact__social-links,
.page-contact__form-group {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-contact__container {
    padding: 20px 30px;
  }

  .page-contact__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-contact__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-contact__section-title {
    font-size: clamp(1.6em, 3.8vw, 2.5em);
  }

  .page-contact__intro-text,
  .page-contact__section-description,
  .page-contact__card-text,
  .page-contact__faq-answer {
    font-size: 1em;
  }
}

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

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

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

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

  .page-contact__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
    border-radius: 8px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-contact__intro-text,
  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-contact__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 15px;
  }

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

  .page-contact__channel-card {
    padding: 25px 20px;
    border-radius: 8px;
  }

  .page-contact__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  .page-contact__card-text {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

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

  /* Mobile button specific styles */
  .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: 12px 15px !important;
    font-size: 1em;
  }

  .page-contact__social-links {
    gap: 15px;
  }

  .page-contact__social-icon {
    width: 45px;
    height: 45px;
  }

  .page-contact__hotline-number {
    font-size: 1.8em;
  }

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

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

  .page-contact__commitment-section .page-contact__section-description {
    margin-bottom: 30px;
  }

  /* Forced mobile image styles */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  /* Placeholder for homepage specific sections, as required by the prompt, even if not present on contact page */
  /* Top carousel (if present) */
  .page-contact__hero-carousel-section { /* No specific rules needed if not present on contact page, but included for completeness as per prompt requirement */ }

  /* Guide box + five vertical team cards (if present) */
  .page-contact__guide-box { /* Not present on contact page, placeholder for requirement */ }
  .page-contact__guide-grid { /* Not present on contact page, placeholder for requirement */ }
  .page-contact__guide-card { /* Not present on contact page, placeholder for requirement */ }

  /* home_content box (if present) */
  .page-contact__home-content-box { /* Not present on contact page, placeholder for requirement */ }
  .page-contact__home-content-inner { /* Not present on contact page, placeholder for requirement */ }

  /* Blog card section (if present) */
  .page-contact__blog-section { /* Not present on contact page, placeholder for requirement */ }
  .page-contact__blog-grid { /* Not present on contact page, placeholder for requirement */ }
}