/* style/contact.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

.page-contact {
  background-color: #08160F; /* Nền tối theo quy định */
  color: #F2FFF6; /* Chữ sáng trên nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng đệm nhỏ, không dùng var(--header-offset) */
  box-sizing: border-box;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 không cố định quá lớn */
  font-weight: 700;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề phụ */
  text-align: center;
  margin-bottom: 25px;
}

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

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

.page-contact__channel-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.2); /* Glow effect */
}

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
  width: 200px; /* Kích thước hiển thị */
  height: 200px; /* Kích thước hiển thị */
}

.page-contact__channel-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__channel-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%); /* Button color */
  color: #ffffff; /* White text on button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-contact__contact-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-contact__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
}

.page-contact__list-item strong {
  color: #F2C14E; /* Gold for emphasis */
}

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

.page-contact__step-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-contact__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid #57E38D; /* Glow */
}

.page-contact__step-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-contact__step-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__support-image-wrapper {
  margin-top: 60px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
}

.page-contact__support-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-contact__commitment-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  color: #F2FFF6; /* Text Main */
}

.page-contact__commitment-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-contact__commitment-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  font-weight: 600;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* Hide default marker for summary */
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-contact__faq-question:hover {
  background-color: #13994A; /* Slightly lighter green on hover */
}

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #57E38D; /* Glow */
  line-height: 1;
}

.page-contact__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-contact__faq-image-wrapper {
  margin-top: 40px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
}

.page-contact__faq-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__cta-section {
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 20px;
  margin-top: 60px;
  border-radius: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-contact__cta-button {
  margin-top: 30px;
  font-size: 1.2rem;
  padding: 15px 35px;
}

.page-contact__cta-image-wrapper {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.page-contact__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-section,
  .page-contact__section {
    padding: 40px 15px;
  }

  .page-contact__channels-grid,
  .page-contact__process-steps,
  .page-contact__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-contact__channel-icon {
    width: 150px;
    height: 150px;
  }
}

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

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

  .page-contact__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important; /* body đã xử lý padding-top */
  }

  .page-contact__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-contact__hero-image,
  .page-contact__channel-icon,
  .page-contact__support-image,
  .page-contact__faq-image,
  .page-contact__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__section,
  .page-contact__channel-card,
  .page-contact__step-card,
  .page-contact__commitment-item,
  .page-contact__faq-item,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__cta-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__channels-grid,
  .page-contact__process-steps,
  .page-contact__commitment-grid {
    flex-direction: column; /* Đảm bảo các phần tử xếp chồng trên di động */
    gap: 15px;
  }

  .page-contact__cta-button {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

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

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

@media (max-width: 480px) {
  .page-contact__hero-section,
  .page-contact__section {
    padding: 20px 10px;
  }

  .page-contact__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-contact__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .page-contact__btn-primary,
  .page-contact__cta-button {
    font-size: 1rem;
    padding: 10px 15px;
  }
}