.page-contact {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0a0a0a;
  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;
}

.page-contact__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(139,0,0,0.8), rgba(255,215,0,0.6)); /* Blend brand colors for hero */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-contact__methods-section,
.page-contact__social-section,
.page-contact__faq-section,
.page-contact__cta-section {
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
  width: 250px; /* Larger icon size */
  height: 187.5px; /* Maintain aspect ratio */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 2px solid #FFD700;
}

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

.page-contact__method-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__email-address,
.page-contact__phone-number {
  font-size: 1.2em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__social-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-contact__btn-primary {
  background-color: #FFD700; /* Primary brand color */
  color: #0a0a0a; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
  border-color: #e6c200;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Primary brand color */
  border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
}

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

.page-contact__social-btn {
  padding: 12px 25px;
  border-radius: 25px;
  color: #ffffff;
  background-color: #8B0000; /* Secondary brand color */
  border: 2px solid #8B0000;
}

.page-contact__social-btn:hover {
  background-color: #a30000;
  border-color: #a30000;
}

.page-contact__social-btn--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}
.page-contact__social-btn--facebook:hover {
  background-color: #2d4373;
  border-color: #2d4373;
}

.page-contact__social-btn--telegram {
  background-color: #0088cc;
  border-color: #0088cc;
}
.page-contact__social-btn--telegram:hover {
  background-color: #006699;
  border-color: #006699;
}

.page-contact__social-btn--zalo {
  background-color: #0084ff;
  border-color: #0084ff;
}
.page-contact__social-btn--zalo:hover {
  background-color: #006ddb;
  border-color: #006ddb;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 215, 0, 0.15); /* Light gold tint for question */
  color: #FFD700;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.25);
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0 !important; /* Important for JS toggle to work */
  overflow: hidden;
  padding: 0 25px; /* Initial padding 0 */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
  font-size: 1em;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px; /* Expanded padding */
}

.page-contact__faq-heading {
  margin: 0;
  color: #FFD700;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__method-icon {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__social-btn {
    width: 100% !important;
    max-width: 300px !important; /* Constrain max-width for buttons on small screens */
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 180px;
    height: 135px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 15px;
  }
  
  /* Image responsiveness for mobile */
  .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;
  }
  .page-contact__cta-buttons,
  .page-contact__hero-buttons,
  .page-contact__social-links {
    flex-wrap: wrap !important;
    gap: 15px !important; /* Adjust gap for mobile buttons */
  }
  .page-contact__hero-buttons > *, .page-contact__cta-buttons > *, .page-contact__social-links > * {
    flex-basis: 100%;
  }
  .page-contact__method-icon {
    max-width: 100% !important;
    width: auto !important; /* Allow auto width to scale with max-width */
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__social-btn {
    font-size: 1em;
    padding: 10px 15px !important;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__email-address,
  .page-contact__phone-number {
    font-size: 1em;
  }
}