.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default to Text Main from custom palette */
  background-color: var(--background-color, #08160F); /* Default to Background from custom palette */
}

.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;
  text-align: center;
  padding: 80px 0;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 8px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

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

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

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-contact__cta-button--small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Text Main */
  font-weight: 700;
}

.page-contact__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

/* Introduction Section */
.page-contact__introduction-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F); /* Deep Green */
  color: #F2FFF6;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B); /* Card BG */
}

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

.page-contact__channel-card {
  background-color: var(--light-bg, #ffffff);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333; /* Dark text for light background */
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__channel-icon {
  width: 100%;
  max-width: 150px; /* Adjust max-width for content images */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__channel-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #11A84E; /* Main color */
  font-weight: 600;
}

.page-contact__channel-description {
  font-size: 0.95rem;
  margin-bottom: 25px;
  color: #555555;
  flex-grow: 1;
}

/* Common Issues Section */
.page-contact__common-issues-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F);
  color: #F2FFF6;
}

.page-contact__issue-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-contact__issue-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #11A84E; /* Accent with main color */
}

.page-contact__issue-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
}

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

.page-contact__faq-item {
  background-color: var(--background-color, #08160F);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #F2FFF6;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  background-color: var(--background-color, #08160F);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-question:hover {
  background-color: #0d2218;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

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

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F);
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 30px;
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color, #2E7A4E);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  background-color: #0d2218;
  color: #F2FFF6;
  font-size: 1rem;
  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 {
  outline: none;
  border-color: #2AD16F;
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

/* Responsive styles */
@media (max-width: 992px) {
  .page-contact__channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 0;
    min-height: 400px;
  }

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

  .page-contact__hero-description {
    font-size: 1rem;
  }

  .page-contact__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-contact__text-block,
  .page-contact__issue-description,
  .page-contact__faq-answer {
    font-size: 0.95rem;
  }

  .page-contact__channel-card,
  .page-contact__issue-item,
  .page-contact__faq-item,
  .page-contact__contact-form {
    padding: 20px;
  }

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

  .page-contact__channel-icon {
    max-width: 120px;
    min-width: 200px !important;
  }

  .page-contact__cta-button {
    width: 100% !important;
    max-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__channel-card .page-contact__cta-button--small {
    width: auto !important; /* Allow small buttons to not take full width if they are shorter */
    max-width: 100% !important;
  }

  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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__video-section {
    padding-top: 10px !important; /* body đã xử lý header-offset */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__main-title {
    font-size: 2rem;
  }
  .page-contact__hero-description {
    font-size: 0.9rem;
  }
  .page-contact__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
}

/* Color contrast adjustments for specific sections if needed */
.page-contact__dark-section {
  color: #F2FFF6; /* Text Main for dark backgrounds */
}

.page-contact__light-bg {
  color: #333333; /* Dark text for light backgrounds */
}