/* style/customer-service.css */
.page-customer-service {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background: var(--secondary-color); /* Matches body background: #1A1A2E */
}

/* Ensure content is not hidden by fixed header */
.page-customer-service__hero-banner {
  padding-top: 120px; /* Desktop spacing for fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #1A1A2E, #0d0d0d); /* Dark gradient for hero */
  color: #ffffff;
  text-align: center;
}

.page-customer-service__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-customer-service__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  font-weight: 700;
}

.page-customer-service__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-customer-service__hero-description a {
  color: #FFD700;
  text-decoration: none;
}

.page-customer-service__hero-description a:hover {
  text-decoration: underline;
}

.page-customer-service__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-customer-service__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.05em;
  border: 2px solid transparent;
}

.page-customer-service__btn--primary {
  background: #FFD700; /* Gold */
  color: #1A1A2E; /* Dark blue for contrast */
  border-color: #FFD700;
}

.page-customer-service__btn--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-customer-service__btn--secondary {
  background: transparent;
  color: #FFD700; /* Gold text */
  border-color: #FFD700;
}

.page-customer-service__btn--secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.page-customer-service__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-customer-service__section {
  padding: 60px 20px;
  text-align: center;
}

.page-customer-service__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  font-weight: 700;
}

.page-customer-service__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-customer-service__section-description a {
  color: #FFD700;
  text-decoration: none;
}

.page-customer-service__section-description a:hover {
  text-decoration: underline;
}

.page-customer-service__container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-customer-service__method-card {
  background: #2A2A4A; /* Darker blue for cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A3A5A;
}

.page-customer-service__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-customer-service__method-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: #FFD700; /* Gold background for icon */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-customer-service__method-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-customer-service__method-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-customer-service__method-text {
  font-size: 1em;
  color: #c0c0c0;
  margin-bottom: 25px;
}

.page-customer-service__method-text a {
  color: #FFD700;
  text-decoration: none;
}

.page-customer-service__method-text a:hover {
  text-decoration: underline;
}

.page-customer-service__faq-section {
  background: #1A1A2E;
}

.page-customer-service__faq-list {
  margin-top: 40px;
  text-align: left;
}

/* FAQ容器样式 */
.page-customer-service__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #2A2A4A;
  border: 1px solid #3A3A5A;
}

/* FAQ默认状态 - 答案隐藏 */
.page-customer-service__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #c0c0c0;
  font-size: 1.05em;
  line-height: 1.7;
}

/* FAQ展开状态 - 🚨 Sử dụng!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-customer-service__faq-item.active .page-customer-service__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: #1A1A2E;
  border-top: 1px solid #3A3A5A;
  border-radius: 0 0 8px 8px;
}

.page-customer-service__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-customer-service__faq-answer a:hover {
  text-decoration: underline;
}

.page-customer-service__faq-answer .page-customer-service__btn--small {
  margin-top: 15px;
}

/* Vấn đề (Câu hỏi) kiểu dáng */
.page-customer-service__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #2A2A4A;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  border-radius: 8px;
}

.page-customer-service__faq-question:hover {
  background: #3A3A5A;
}

.page-customer-service__faq-question:active {
  background: #3A3A5A;
}

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

/* Chuyển đổi biểu tượng */
.page-customer-service__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  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: 30px;
  height: 30px;
}

.page-customer-service__faq-item.active .page-customer-service__faq-toggle {
  color: #ffffff;
  transform: rotate(180deg);
}

.page-customer-service__commitment-section {
  background: #0d0d0d; /* Very dark background */
  color: #f0f0f0;
}

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

.page-customer-service__commitment-item {
  background: #1A1A2E; /* Dark blue background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #3A3A5A;
}

.page-customer-service__commitment-icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: #FFD700; /* Gold background */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-customer-service__commitment-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.page-customer-service__commitment-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold title */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-customer-service__commitment-text {
  font-size: 0.95em;
  color: #c0c0c0;
}

.page-customer-service__commitment-text a {
  color: #FFD700;
  text-decoration: none;
}

.page-customer-service__commitment-text a:hover {
  text-decoration: underline;
}

.page-customer-service__tips-section {
  background: #1A1A2E;
  color: #f0f0f0;
}

.page-customer-service__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-customer-service__tips-list li {
  background: #2A2A4A;
  border: 1px solid #3A3A5A;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-customer-service__tips-list li .text--highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-customer-service__final-cta {
  font-size: 1.2em;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #FFD700;
  font-weight: bold;
}

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

.text--highlight {
  color: #FFD700;
}

/* 🚨 Mobile Responsive Design */
@media (max-width: 1024px) {
  .page-customer-service__hero-title {
    font-size: 2.8em;
  }

  .page-customer-service__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-customer-service__hero-banner {
    padding-top: 100px; /* Mobile spacing for fixed header */
    padding-bottom: 40px;
  }

  .page-customer-service__hero-title {
    font-size: 2.2em;
  }

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

  .page-customer-service__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-customer-service__btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-customer-service__section {
    padding: 40px 15px;
  }

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

  .page-customer-service__section-description {
    font-size: 0.95em;
  }

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

  .page-customer-service__method-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-customer-service__method-icon {
    width: 50px;
    height: 50px;
  }

  .page-customer-service__method-title {
    font-size: 1.3em;
  }

  .page-customer-service__faq-question {
    padding: 18px 20px;
  }

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

  .page-customer-service__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-customer-service__faq-answer {
    padding: 0 20px;
    font-size: 0.95em;
  }

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

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

  .page-customer-service__commitment-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .page-customer-service__commitment-icon {
    width: 40px;
    height: 40px;
  }

  .page-customer-service__commitment-title {
    font-size: 1.2em;
  }

  .page-customer-service__tips-list li {
    padding: 15px;
    font-size: 1em;
  }

  .page-customer-service__final-cta {
    font-size: 1.1em;
  }

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

/* 🚨 Mobile image adaptation */
@media (max-width: 768px) {
  .page-customer-service img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-customer-service__section,
  .page-customer-service__card,
  .page-customer-service__container,
  .page-customer-service__hero-banner,
  .page-customer-service__method-card,
  .page-customer-service__commitment-item,
  .page-customer-service__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific adjustment for hero container padding on mobile */
  .page-customer-service__hero-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Base image styles */
.page-customer-service img {
  max-width: 100%;
  height: auto;
  display: block;
}