.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text for dark body background */
  background-color: #000; /* Body background from shared.css */
}

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

.page-contact__hero-section {
  padding: 120px 0 80px; /* Desktop padding-top for fixed header */
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:contact:3win_nổ_hủ,liên_hệ_chính,hero_banner]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-contact__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Primary brand color */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: #FFD700; /* Primary brand color */
  color: #000000; /* Dark text for primary button */
}

.page-contact__btn-primary:hover {
  background: #e0b000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
  background: #8B0000; /* Secondary brand color */
  color: #ffffff; /* Light text for secondary button */
}

.page-contact__btn-secondary:hover {
  background: #6a0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #e0e0e0;
}

.page-contact__info-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-contact__method-card {
  background: #1a1a1a; /* Darker background for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
  color: #ffffff; /* Light text for dark card background */
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.page-contact__method-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-contact__method-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-contact__method-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__method-link:hover {
  color: #e0b000;
  text-decoration: underline;
}

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

.page-contact__social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

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

.page-contact__form-section {
  padding: 80px 0;
  background-color: #000; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: #1a1a1a; /* Darker background for form */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #333;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #888;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 18px;
  background: #FFD700;
  color: #000000; /* Dark text for submit button */
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  background: #e0b000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__why-contact-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-contact__reason-item {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #333;
  color: #ffffff;
}

.page-contact__reason-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__reason-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-contact__reason-text {
  font-size: 1em;
  color: #cccccc;
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #000; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1a1a1a; /* Darker background for question */
  border: 1px solid #333;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-contact__faq-question:hover {
  background: #2a2a2a;
  border-color: #555;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #e0b000;
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #2a2a2a; /* Slightly lighter background for answer */
  border-radius: 0 0 10px 10px;
  border: 1px solid #333; /* Ensure border consistency */
  border-top: none;
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important;
  opacity: 1;
}

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

.page-contact__commitment-section {
  padding: 80px 0 100px;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-contact__commitment-item {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #333;
  color: #ffffff;
}

.page-contact__commitment-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-contact__commitment-text {
  font-size: 1em;
  color: #cccccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__hero-description,
  .page-contact__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 100px 0 60px; /* Mobile padding-top for fixed header */
  }

  .page-contact__main-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-contact__cta-button {
    width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-contact__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__why-contact-section,
  .page-contact__faq-section,
  .page-contact__commitment-section {
    padding: 60px 0;
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

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

  .page-contact__method-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__method-title {
    font-size: 1.4em;
  }

  .page-contact__contact-form {
    padding: 30px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 15px;
  }

  .page-contact__form-label {
    font-size: 1em;
  }

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

  .page-contact__submit-button {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-contact__reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-contact__reason-item {
    padding: 25px;
  }

  .page-contact__reason-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__reason-title {
    font-size: 1.3em;
  }

  .page-contact__faq-list {
    margin: 30px auto 0;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

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

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

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-contact__commitment-points {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-contact__commitment-item {
    padding: 25px;
  }

  .page-contact__commitment-title {
    font-size: 1.3em;
  }

  /* Ensure all images are responsive */
  .page-contact img {
    max-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;
  }
}

/* Universal image styles for responsiveness */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contrast Fixes */
.page-contact__light-bg {
  background-color: #f8f8f8; /* A very light background */
  color: #333333; /* Dark text for light background */
}

.page-contact__dark-bg {
  background-color: #000; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}