.page-contact {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d0d0d; /* Inherited from shared.css, explicitly setting for clarity */
  line-height: 1.6;
}

.page-contact__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_bg:1920x1080:new88,contact,support,gold_black,vietnam]') no-repeat center center/cover;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent */
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.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;
}

.page-contact__cta-button--primary {
  background: #FFD700;
  color: #1A1A1A;
}

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

.page-contact__cta-button--secondary {
  background: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__cta-button--secondary:hover {
  background: #333333;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__channels-section, 
.page-contact__form-section, 
.page-contact__faq-section, 
.page-contact__commitment-section, 
.page-contact__social-media-section {
  padding: 60px 20px;
  background-color: #1A1A1A;
  color: #f0f0f0;
  margin-bottom: 0;
}

.page-contact__channels-section:nth-of-type(odd), 
.page-contact__commitment-section:nth-of-type(odd) {
  background-color: #0d0d0d;
}

.page-contact__channels-container, 
.page-contact__form-container, 
.page-contact__faq-container, 
.page-contact__commitment-container, 
.page-contact__social-media-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-contact__channels-title, 
.page-contact__form-title, 
.page-contact__faq-main-title, 
.page-contact__commitment-title, 
.page-contact__social-media-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__channels-intro, 
.page-contact__form-intro, 
.page-contact__faq-intro, 
.page-contact__commitment-intro, 
.page-contact__commitment-outro, 
.page-contact__social-media-intro {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__channel-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3a3a3a;
}

.page-contact__channel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-contact__channel-name {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__channel-description {
  font-size: 1em;
  color: #b0b0b0;
  margin-bottom: 25px;
}

.page-contact__channel-button {
  display: inline-block;
  padding: 12px 25px;
  background: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__channel-button:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

.page-contact__contact-form {
  background-color: #2a2a2a;
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #3a3a3a;
}

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

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

.page-contact__form-input, 
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #3a3a3a;
  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__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #FFD700;
  color: #1A1A1A;
  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);
}

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

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

/* FAQ容器样式 */
.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a3a3a;
}

/* FAQ默认 trạng thái - 答案 ẩn */
.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;
  padding: 0 25px;
  opacity: 0;
  color: #b0b0b0;
}

/* FAQ mở rộng trạng thái - 🚨 Sử dụng !important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important;
  opacity: 1;
  background: #1A1A1A;
  border-top: 1px solid #3a3a3a;
  border-radius: 0 0 8px 8px;
}

/* Câu hỏi kiểu */
.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: #3a3a3a;
}

.page-contact__faq-question:active {
  background: #4a4a4a;
}

/* Tiêu đề câu hỏi kiểu */
.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện nhấp */
}

/* Chuyển đổi biểu tượng */
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn chặn biểu tượng chặn sự kiện nhấp */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #FFD700;
  border-radius: 50%;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #1A1A1A;
  background-color: #FFD700;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-contact__commitment-list li {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFD700;
  color: #e0e0e0;
}

.page-contact__commitment-list li strong {
  color: #FFD700;
  font-size: 1.1em;
}

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

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

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

.page-contact__social-link img {
  
  
  margin-bottom: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

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

  .page-contact__channels-title,
  .page-contact__form-title,
  .page-contact__faq-main-title,
  .page-contact__commitment-title,
  .page-contact__social-media-title {
    font-size: 2em;
  }
}

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

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

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

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

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__social-media-section {
    padding: 40px 15px;
  }

  .page-contact__channels-title,
  .page-contact__form-title,
  .page-contact__faq-main-title,
  .page-contact__commitment-title,
  .page-contact__social-media-title {
    font-size: 1.8em;
  }

  .page-contact__channels-intro,
  .page-contact__form-intro,
  .page-contact__faq-intro,
  .page-contact__commitment-intro,
  .page-contact__commitment-outro,
  .page-contact__social-media-intro {
    font-size: 0.95em;
  }

  .page-contact__channel-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__channel-icon {
    width: 80px;
    height: 80px;
  }

  .page-contact__channel-name {
    font-size: 1.5em;
  }

  .page-contact__contact-form {
    padding: 30px;
  }

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

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

  .page-contact__form-submit-button {
    padding: 12px 15px;
    font-size: 1.1em;
  }

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

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

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

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

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

  .page-contact__commitment-list {
    margin: 30px auto;
  }

  .page-contact__commitment-list li {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-contact__social-links {
    gap: 20px;
  }

  .page-contact__social-link img {
    
    
  }
  
  /* Image responsive overrides */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__social-media-section,
  .page-contact__hero-container,
  .page-contact__channels-container,
  .page-contact__form-container,
  .page-contact__faq-container,
  .page-contact__commitment-container,
  .page-contact__social-media-container,
  .page-contact__channel-item,
  .page-contact__contact-form,
  .page-contact__faq-item,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    /* Padding already set on sections, remove from containers to prevent double padding */
    padding-left: 0;
    padding-right: 0;
  }
}