/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so text should be light */
  background-color: transparent; /* Main content background is transparent, relying on body's dark background */
}

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

.page-contact__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast with body */
  color: #ffffff;
}

.page-contact__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Using primary brand color for hero background */
  background-image: linear-gradient(rgba(38, 169, 224, 0.8), rgba(38, 169, 224, 0.8)), url('[GALLERY:hero_contact:1920x1080:contact_us,support,online_betting,customer_service,bộ_04_trong_lô_đề]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-contact__hero-image {
  display: none; /* Hide the image in hero section, use as background */
}

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

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

.page-contact__direct-contact-section {
  padding: 60px 0;
  background-color: #121212;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address,
.page-contact__phone-number {
  margin-top: 15px;
  font-size: 1em;
  color: #f0f0f0;
  word-break: break-all;
}

.page-contact__form-area {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.page-contact__form-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1; /* Make background image subtle */
  z-index: 0;
}

.page-contact__form-title {
  font-size: 2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-contact__form-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-contact__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__btn-primary:hover {
  background-color: #1e87c0;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__other-channels-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-contact__social-media-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #26A9E0;
}

.page-contact__social-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

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

.page-contact__address-card,
.page-contact__hours-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__card-text {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
}

.page-contact__hours-list {
  list-style: none;
  padding: 0;
  color: #f0f0f0;
}

.page-contact__hours-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.page-contact__hours-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #121212;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-contact__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-contact__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #cccccc;
}

.page-contact__faq-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
}

.page-contact__why-choose-section {
  padding: 60px 0 80px;
  background-color: #1a1a1a;
}

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

.page-contact__benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__benefit-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__benefit-text {
  color: #cccccc;
}

.page-contact__large-cta {
  font-size: 1.3em;
  padding: 15px 35px;
  margin-top: 30px;
}

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact__hero-section {
    padding: 60px 0;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__direct-contact-section,
  .page-contact__other-channels-section,
  .page-contact__faq-section,
  .page-contact__why-choose-section {
    padding: 40px 0;
  }
  .page-contact__contact-methods,
  .page-contact__address-hours,
  .page-contact__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card,
  .page-contact__address-card,
  .page-contact__hours-card,
  .page-contact__benefit-card,
  .page-contact__form-area {
    padding: 25px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 10px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* Mobile image and video responsive adaptation */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset to hero on mobile */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__method-title,
  .page-contact__card-title,
  .page-contact__benefit-title {
    font-size: 1.3em;
  }
  .page-contact__form-title {
    font-size: 1.8em;
  }
  .page-contact__social-link {
    font-size: 0.9em;
  }
  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }
  .page-contact__large-cta {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}