.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__dark-bg {
  background-color: var(--secondary-color, #1A1A1A);
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  text-align: center;
  background-image: url('[GALLERY:hero_contact:1920x1080:customer,service,support,contact,team,zb368,khuyenmai]');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-contact__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-contact__hero-section > .page-contact__container {
  position: relative;
  z-index: 2;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__form-section, .page-contact__info-section, .page-contact__faq-section, .page-contact__social-section, .page-contact__cta-bottom-section {
  padding: 80px 0;
}

.page-contact__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #1A1A1A;
}

.page-contact__form-input, .page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1em;
}

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

.page-contact__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__btn-primary:hover {
  background-color: #e0b800;
  color: #ffffff;
}

.page-contact__btn-secondary {
  display: inline-block;
  background-color: #1A1A1A;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #FFD700;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  border-color: #FFD700;
}

.page-contact__form-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__image-caption {
  margin-top: 15px;
  font-style: italic;
  color: #555555;
}

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

.page-contact__info-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

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

.page-contact__info-text {
  margin-bottom: 20px;
}

.page-contact__address-text {
  margin-top: 15px;
  font-style: italic;
}

.page-contact__info-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #FFD700;
  color: #1A1A1A;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

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

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  color: #333333;
}

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

.page-contact__faq-answer p {
  margin-bottom: 15px;
}

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

.page-contact__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__social-link {
  display: block;
  transition: transform 0.3s ease;
}

.page-contact__social-link:hover {
  transform: translateY(-5px);
}

.page-contact__social-link img {
  
  
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  /* No filter to change color */
}

.page-contact__cta-bottom-section {
  text-align: center;
  padding-bottom: 80px;
}

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

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  .page-contact__hero-title {
    font-size: 2.5em;
  }

  .page-contact__hero-description {
    font-size: 1.1em;
  }

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

  .page-contact__form-section, .page-contact__info-section, .page-contact__faq-section, .page-contact__social-section, .page-contact__cta-bottom-section {
    padding: 50px 0;
  }

  .page-contact__form-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-contact__contact-form, .page-contact__form-image-container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__info-item {
    padding: 20px;
  }

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .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__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__social-links {
    flex-wrap: wrap;
    gap: 15px;
  }

  /* Images responsive rules */
  .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,
  .page-contact__form-wrapper,
  .page-contact__info-grid,
  .page-contact__faq-list,
  .page-contact__social-links,
  .page-contact__cta-buttons-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Ensure image containers do not cause overflow */
  .page-contact__form-image-container,
  .page-contact__info-image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}