:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #8B0000; /* Đỏ sẫm */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

.page-support {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

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

.page-support h1, .page-support h2, .page-support h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-support h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-support h2 {
  font-size: 2.2em;
  margin-top: 40px;
  color: var(--secondary-color);
}

.page-support h3 {
  font-size: 1.8em;
  color: var(--text-dark);
}

.page-support p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-support ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-support li {
  margin-bottom: 8px;
}

.page-support a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.page-support .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--background-dark); /* Fallback for image loading */
}

.page-support .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-support .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-support .hero-content p {
  color: var(--text-light);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-support .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--background-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support .cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-support .secondary-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support .secondary-button:hover {
  background: var(--primary-color);
  color: var(--background-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Overview Section */
.page-support .overview-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-support .overview-section h2, .page-support .overview-section p {
  text-align: center;
}

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

.page-support .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-support .feature-icon {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support .feature-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* Contact Channels Section */
.page-support .contact-channels-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-support .contact-channels-section h2, .page-support .contact-channels-section p {
  text-align: center;
}

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

.page-support .channel-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .channel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-support .channel-icon {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support .channel-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* Detailed Guide Section */
.page-support .detailed-guide-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-support .detailed-guide-section h2, .page-support .detailed-guide-section p {
  text-align: center;
}

.page-support .guide-category {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.page-support .guide-category h3 {
  text-align: left;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-support .guide-category ul {
  list-style: none;
  padding-left: 0;
}

.page-support .guide-category li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.page-support .guide-category li::before {
  content: '▪';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: -2px;
}

/* FAQ Section */
.page-support .faq-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-support .faq-section h2, .page-support .faq-section p {
  text-align: center;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer p {
  margin-bottom: 10px;
}

.page-support .faq-button {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--background-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support .faq-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-1px);
}

/* Commitment Section */
.page-support .commitment-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

.page-support .commitment-section h2 {
  color: var(--primary-color);
}

.page-support .commitment-section p {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-support .commitment-section li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
}

.page-support .commitment-section li::before {
  content: '✅';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0;
}

.page-support .commitment-section .cta-button {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support h1 {
    font-size: 2.2em;
  }
  .page-support h2 {
    font-size: 1.8em;
  }
  .page-support h3 {
    font-size: 1.5em;
  }
  .page-support .hero-section {
    padding: 40px 15px;
  }
  .page-support .overview-section, .page-support .contact-channels-section, .page-support .detailed-guide-section, .page-support .faq-section, .page-support .commitment-section {
    padding: 40px 0;
  }
  .page-support .feature-grid, .page-support .channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support h1 {
    font-size: 1.8em;
  }
  .page-support h2 {
    font-size: 1.5em;
  }
  .page-support h3 {
    font-size: 1.3em;
  }
  .page-support .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-support .secondary-button {
    padding: 8px 20px;
    font-size: 0.9em;
  }
  .page-support .feature-item, .page-support .channel-item {
    padding: 20px;
  }
  .page-support .feature-icon, .page-support .channel-icon {
    width: 100px;
    height: 100px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-support .guide-category {
    padding: 20px;
  }
  .page-support .commitment-section li {
    font-size: 1em;
    padding-left: 25px;
  }
}

@media (max-width: 480px) {
  .page-support .container {
    padding: 15px;
  }
  .page-support h1 {
    font-size: 1.5em;
  }
  .page-support h2 {
    font-size: 1.3em;
  }
  .page-support h3 {
    font-size: 1.1em;
  }
  .page-support .hero-image {
    margin-bottom: 20px;
  }
  .page-support .hero-image img {
    border-radius: 4px;
  }
  .page-support .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page-support .feature-grid, .page-support .channel-grid {
    grid-template-columns: 1fr;
  }
  .page-support .feature-icon, .page-support .channel-icon {
    width: 80px;
    height: 80px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}