.page-contact {
  font-family: 'Arial', sans-serif;
  background-color: #08160F; /* Nền chính */
  color: #F2FFF6; /* Màu chữ chính */
}

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Nhỏ gọn, không phải var(--header-offset) */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: #08160F;
  min-height: 400px;
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.7); /* Card BG with opacity for readability */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-contact__description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-contact__section-intro {
  font-size: 1.05em;
  color: #A7D9B8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-contact__contact-channels {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-contact__channel-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-contact__email-address a,
.page-contact__phone-number a {
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.page-contact__email-address a:hover,
.page-contact__phone-number a:hover {
  text-decoration: underline;
  color: #57E38D;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG, but used as section background here */
  color: #F2FFF6;
}

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

.page-contact__faq-item {
  background-color: #08160F; /* Background color for FAQ item */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  list-style: none;
  outline: none;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-item summary:hover {
  background-color: #13994A;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  color: #57E38D;
  margin-left: 15px;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−';
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.7;
}

.page-contact__feedback-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-contact__feedback-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #F2FFF6;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 22px); /* Account for padding and border */
  padding: 12px 10px;
  border: 1px solid #2E7A4E;
  border-radius: 6px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8;
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2AD16F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

.page-contact__social-media {
  padding: 60px 0 80px 0;
  background-color: #08160F;
}

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

.page-contact__social-icon-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px) scale(1.1);
}

.page-contact__social-icon-link img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }

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

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

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

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

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

  .page-contact__main-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
  }

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

  .page-contact__cta-button {
    padding: 12px 25px;
    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-top: 40px;
    margin-bottom: 15px;
  }

  .page-contact__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__contact-channels,
  .page-contact__faq-section,
  .page-contact__feedback-section,
  .page-contact__social-media {
    padding: 40px 0;
  }

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

  .page-contact__card-title {
    font-size: 1.5em;
  }

  .page-contact__card-text {
    font-size: 0.95em;
  }

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

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

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

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

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px); /* Adjust for padding */
  }

  .page-contact__social-links {
    gap: 20px;
  }
  
  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-contact__social-icon-link img {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .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;
  }
}

/* Ensure contrast for light-bg sections (if any, though current design is dark) */
.page-contact__light-bg {
  background-color: #F2FFF6;
  color: #333333;
}

.page-contact__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-contact__text-contrast-fix {
  color: #333333 !important; /* For text on light backgrounds, if used */
}