/* Base styles for the page-contact scope */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-contact__section-title--light {
  color: #ffffff;
}

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

.page-contact__section-description--light {
  color: #f0f0f0;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__cta-button--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-contact__cta-button--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF; /* Border color */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__cta-button--secondary:hover {
  background: #e0f0ff;
  color: #2F6BFF;
}

/* HERO Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F4F7FB; /* Match page background */
}

.page-contact__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
}

.page-contact__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
}

.page-contact__main-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 20px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 40px;
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-contact__method-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(47, 107, 255, 0.2);
}

.page-contact__method-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-contact__method-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address, .page-contact__hotline-info {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 20px;
}

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

.page-contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #2F6BFF;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  overflow: hidden; /* Hide text for icon-only display */
  text-indent: -9999px;
}

.page-contact__social-link::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  text-indent: 0;
}

.page-contact__social-link--facebook::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12c0 5.016 3.657 9.17 8.438 9.879V14.66H8.054v-2.66H10.438V10.1c0-2.327 1.419-3.6 3.49-3.6 1.002 0 1.86.075 2.112.108v2.42h-1.432c-1.129 0-1.346.536-1.346 1.32V12h2.66l-.426 2.66H14.26V21.88C19.043 21.171 22 17.016 22 12c0-5.523-4.477-10-10-10z"/></svg>');
}

.page-contact__social-link--telegram::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.243 8.356L9.673 14.88c-.73.73-1.493 1.02-2.28 1.02-.387 0-.773-.11-1.133-.33L15.22 7.74c.24-.24.58-.33.92-.22.34.11.55.33.66.66l-1.55 7.15c-.11.55-.44.99-.99 1.22l-4.18 2.09c-.55.22-1.1.22-1.66 0-.55-.22-.99-.66-1.22-1.22l-1.02-4.18c-.11-.55.11-1.1.55-1.33l6.56-4.4c.44-.33 1.02-.22 1.33.22.33.44.22 1.02-.22 1.33l-5.05 3.39c-.11.11-.22.22-.33.33l-2.77 1.88c-.11.11-.22.22-.33.33-.11.11-.22.11-.33.11-.11 0-.22 0-.33-.11l-1.66-1.1c-.11-.11-.22-.22-.22-.33 0-.11 0-.22.11-.33l1.88-2.77c.11-.11.22-.22.33-.33l3.39-5.05c.11-.11.22-.22.33-.22.11 0 .22.11.33.22l4.4 6.56c.11.11.11.22.11.33 0 .11-.11.22-.22.33z"/></svg>');
}

.page-contact__social-link--zalo::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.8 11.2l-3.2-3.2c-.2-.2-.5-.2-.7 0s-.2.5 0 .7l2.8 2.8H8c-.3 0-.5.2-.5.5s.2.5.5.5h5.1l-2.8 2.8c-.2.2-.2.5 0 .7s.5.2.7 0l3.2-3.2c.2-.2.2-.5 0-.7z"/></svg>');
}

.page-contact__social-link:hover {
  background: #6FA3FF; /* Auxiliary color */
}

/* Guide Section */
.page-contact__guide-section {
  padding: 80px 0;
  background: #2F6BFF; /* Primary color as dark background */
  color: #ffffff;
}

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

.page-contact__guide-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__guide-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-contact__guide-item p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-contact__guide-list {
  list-style: disc;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-contact__guide-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-contact__guide-list li strong {
  color: #ffffff;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #f5f5f5;
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}

details.page-contact__faq-item .page-contact__faq-answer p {
  margin: 0;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  text-align: center;
  background: #2F6BFF; /* Primary color as dark background */
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-image {
    height: 500px;
  }

  .page-contact__hero-content {
    padding: 40px 20px;
  }

  .page-contact__main-title {
    font-size: clamp(32px, 4vw, 48px);
  }

  .page-contact__hero-description {
    font-size: 18px;
  }

  .page-contact__section-title {
    font-size: 30px;
  }

  .page-contact__section-description {
    font-size: 16px;
  }

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-contact__method-card img {
    
  }

  .page-contact__method-title {
    font-size: 22px;
  }

  .page-contact__guide-title {
    font-size: 20px;
  }

  .page-contact__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
  }

  .page-contact__hero-image {
    height: 300px;
  }

  .page-contact__hero-image img {
    object-fit: contain !important; /* HERO main image mobile: contain */
    aspect-ratio: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-content {
    padding: 30px 15px;
  }

  .page-contact__main-title {
    font-size: clamp(28px, 8vw, 40px); /* Adjust clamp for mobile */
    margin-bottom: 15px;
  }

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

  .page-contact__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

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

  .page-contact__cta-button,
  .page-contact__cta-button--primary,
  .page-contact__cta-button--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,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  .page-contact__contact-methods-section,
  .page-contact__guide-section,
  .page-contact__faq-section,
  .page-contact__commitment-section {
    padding: 40px 0;
  }

  .page-contact__methods-grid,
  .page-contact__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__method-card img {
    
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__method-title {
    font-size: 20px;
  }

  .page-contact__method-text,
  .page-contact__email-address,
  .page-contact__hotline-info,
  .page-contact__guide-item p,
  .page-contact__guide-list li {
    font-size: 15px;
  }

  .page-contact__social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px;
  }

  .page-contact__faq-qtext {
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* General image responsiveness for all images within .page-contact */
  .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;
  }

  /* Product display area (if any, though gameshow is forbidden) */
  .page-contact__products-section { /* Placeholder for potential product grid, preventing overflow */
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Decorative main title + long text SEO area */
  .page-contact__section-title-wrap,
  .page-contact__article-body,
  .page-contact__article-figure {
    text-align: center;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}