.page-contact {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* body đã xử lý padding-top: var(--header-offset) */
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-contact__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* General Section Styles */
.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__social-section,
.page-contact__commitment-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-contact__intro-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Contact Info Cards */
.page-contact__contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-contact__card {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 30px;
  flex: 1 1 calc(33% - 40px);
  max-width: 350px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__card-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-contact__card-link {
  display: inline-block;
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover {
  color: #2AD16F;
}

.page-contact__card-note {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 10px;
}

/* Contact Form */
.page-contact__contact-form {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto 30px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #57E38D; /* Glow */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

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

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 30px;
}

/* FAQ Section */
.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-contact__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  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;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  text-align: left;
}

.page-contact__faq-answer a {
  color: #57E38D;
  text-decoration: none;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

.page-contact__faq-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 30px;
}

/* Social Section */
.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 50%;
  color: #F2FFF6; /* Text Main */
  font-size: 2em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  position: relative;
}

.page-contact__social-icon:hover {
  background-color: #11A84E; /* Main color */
  transform: translateY(-5px);
}

/* Placeholder for social icons - use background images for actual icons */
.page-contact__social-icon--facebook::before {
  content: 'f'; /* Example: use font awesome or SVG for actual icon */
  font-family: 'Font Awesome 5 Brands'; /* This would require Font Awesome to be loaded */
}
.page-contact__social-icon--telegram::before {
  content: 't';
}
.page-contact__social-icon--zalo::before {
  content: 'z';
}
.page-contact__social-icon--youtube::before {
  content: 'y';
}
/* Note: Actual icons should be implemented via SVG or icon fonts for production */

.page-contact__social-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 30px;
}

/* Commitment Section */
.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-contact__commitment-list li {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__commitment-icon {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  line-height: 1;
}

.page-contact__commitment-highlight {
  color: #F2FFF6; /* Text Main */
}

.page-contact__commitment-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 30px;
}

.page-contact__final-call {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  max-width: 800px;
  margin: 40px auto 0 auto;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__card {
    flex: 1 1 calc(50% - 30px);
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .page-contact__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-contact__intro-text,
  .page-contact__description,
  .page-contact__card-text,
  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__faq-question,
  .page-contact__faq-answer,
  .page-contact__commitment-list li p,
  .page-contact__final-call {
    font-size: 1em;
  }

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

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

  .page-contact__card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 25px;
  }

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

  .page-contact__cta-button,
  .page-contact__submit-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-contact__social-links {
    flex-wrap: wrap;
  }

  .page-contact__social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

  /* Mobile responsive images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-image-wrapper,
  .page-contact__form-image,
  .page-contact__faq-image,
  .page-contact__social-image,
  .page-contact__commitment-image,
  .page-contact__container,
  .page-contact__contact-cards,
  .page-contact__card,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__social-links,
  .page-contact__commitment-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-contact__hero-content {
    padding: 0 15px;
  }

  .page-contact__cta-button,
  .page-contact__submit-button,
  .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;
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}