body {
  background-color: #08160F; /* Nền tối theo yêu cầu */
}

.page-contact {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  line-height: 1.6;
  background-color: #08160F; /* Đảm bảo màu nền chính */
}

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

.page-contact__hero-section {
  padding-top: 10px; /* Nhỏ để tránh trùng với body padding-top */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden; /* Đảm bảo không có nội dung tràn ra */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Giới hạn chiều cao của ảnh hero */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-contact__hero-content {
  max-width: 800px;
  padding: 0 20px;
  position: relative; /* Đảm bảo nội dung không bị ảnh hưởng bởi ảnh nền */
  z-index: 1; /* Đảm bảo văn bản nằm trên ảnh nếu có */
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-contact__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-contact__cta-button:hover {
  opacity: 0.9;
}

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

.page-contact__section-intro {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__contact-methods-section,
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
  margin-bottom: 40px;
}

.page-contact__form-section,
.page-contact__location-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-contact__method-card {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-contact__method-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__method-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-contact__btn-primary:hover {
  opacity: 0.9;
}

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

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2E7A4E; /* Border color as background for social icons */
  color: #F2FFF6; /* Text Main */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__social-icon:hover {
  background-color: #11A84E; /* Main color on hover */
}

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

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

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

.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: 1rem;
  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 {
  border-color: #57E38D; /* Glow */
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  padding: 15px 20px;
  border-radius: 8px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  opacity: 0.9;
}

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

.page-contact__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2C14E; /* Gold */
  position: relative;
  list-style: none;
}

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

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

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-contact__location-section {
  padding-bottom: 80px;
}

.page-contact__location-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.page-contact__address-info {
  flex: 1 1 400px;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

.page-contact__address-info p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__address-info strong {
  color: #F2C14E; /* Gold */
}

.page-contact__map-placeholder {
  flex: 1 1 500px;
  min-height: 300px;
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-contact__note {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
}

/* --- Responsive Styles --- */

/* General responsive for images and containers */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__section,
.page-contact__card,
.page-contact__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Buttons responsive */
.page-contact__cta-button,
.page-contact__btn-primary,
.page-contact__submit-button,
.page-contact a[class*="button"],
.page-contact a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__social-links {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 1024px) {
  .page-contact__hero-image-wrapper {
    max-height: 400px;
  }

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

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

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

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

  .page-contact__faq-question {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px !important; /* Small padding, relying on body for header offset */
    padding-bottom: 40px;
  }

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

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

  .page-contact__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-contact__description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  /* 其他内容模块 */
  .page-contact__contact-methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__location-section {
    padding: 40px 0;
  }

  .page-contact__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-contact__section-intro {
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

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

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

  .page-contact__method-title {
    font-size: 1.3rem;
  }

  .page-contact__method-description {
    font-size: 0.9rem;
  }

  .page-contact__btn-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 0 15px;
  }

  .page-contact__social-icon {
    width: 100%;
    max-width: 250px;
  }

  .page-contact__contact-form {
    padding: 30px 20px;
    margin: 0 15px;
  }

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

  .page-contact__form-label {
    font-size: 0.95rem;
  }

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

  .page-contact__submit-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

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

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

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

  .page-contact__location-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .page-contact__address-info {
    padding: 25px;
  }

  .page-contact__address-info p {
    font-size: 0.95rem;
  }

  .page-contact__map-placeholder {
    min-height: 250px;
  }

  .page-contact__note {
    font-size: 0.85rem;
    padding: 0 15px;
  }

  /* 通用图片与容器 */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }

  /* 按钮与按钮容器 */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-contact__social-links > * {
    width: 100%;
  }
}