/* style/support.css */

/* Biến CSS */
:root {
  --page-support-primary-color: #FFD700; /* Gold */
  --page-support-secondary-color: #000080; /* Dark Blue */
  --page-support-text-dark: #333333;
  --page-support-text-light: #ffffff;
  --page-support-bg-light: #f9f9f9;
  --page-support-bg-dark: #1a1a2e; /* Slightly lighter than secondary for contrast */
  --page-support-accent-color: #0028ff; /* Complementary to primary */
  --page-support-border-color: #e0e0e0;
}

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

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

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

.page-support__section:nth-of-type(even) {
  background-color: var(--page-support-bg-dark);
  color: var(--page-support-text-light);
}

.page-support__section:nth-of-type(even) .page-support__section-title,
.page-support__section:nth-of-type(even) .page-support__section-intro,
.page-support__section:nth-of-type(even) .page-support__faq-question,
.page-support__section:nth-of-type(even) .page-support__faq-answer,
.page-support__section:nth-of-type(even) .page-support__list li,
.page-support__section:nth-of-type(even) .page-support__contact-title,
.page-support__section:nth-of-type(even) .page-support__contact-text,
.page-support__section:nth-of-type(even) .page-support__commitment-list li,
.page-support__section:nth-of-type(even) .page-support__section-text,
.page-support__section:nth-of-type(even) .page-support__resource-title,
.page-support__section:nth-of-type(even) .page-support__resource-text {
  color: var(--page-support-text-light);
}

.page-support__section:nth-of-type(even) .page-support__link {
  color: var(--page-support-primary-color);
}

.page-support__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-support-secondary-color);
  font-weight: bold;
}

.page-support__section:nth-of-type(even) .page-support__section-title {
  color: var(--page-support-primary-color);
}

.page-support__section-intro {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-support__btn--primary {
  background-color: var(--page-support-primary-color);
  color: var(--page-support-secondary-color);
  border: 2px solid var(--page-support-primary-color);
}

.page-support__btn--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  color: var(--page-support-secondary-color);
}

.page-support__btn--secondary {
  background-color: var(--page-support-secondary-color);
  color: var(--page-support-primary-color);
  border: 2px solid var(--page-support-secondary-color);
}

.page-support__btn--secondary:hover {
  background-color: #000066; /* Slightly darker blue */
  color: var(--page-support-primary-color);
}

.page-support__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

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

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

/* Hero Section */
.page-support__hero {
  background: linear-gradient(135deg, var(--page-support-primary-color) 0%, var(--page-support-secondary-color) 100%);
  padding: 80px 0;
  color: var(--page-support-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-support-text-light);
  font-weight: bold;
}

.page-support__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.page-support__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  max-width: 600px;
  opacity: 0.2;
  z-index: 0;
}

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

.page-support__hero .page-support__container {
  position: relative;
  z-index: 1;
}

/* FAQ Section */
.page-support__faq {
  background-color: var(--page-support-bg-light);
  color: var(--page-support-text-dark);
}

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

.page-support__faq-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-support__faq-question {
  font-size: 1.5em;
  color: var(--page-support-secondary-color);
  margin-bottom: 15px;
}

.page-support__faq-answer {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__faq-image-wrapper {
  margin-top: 50px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Technical Support Section */
.page-support__tech-support {
  background-color: var(--page-support-secondary-color);
  color: var(--page-support-text-light);
}

.page-support__tech-support-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-support__tech-support-text {
  flex: 1;
}

.page-support__tech-support-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-support__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-support__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-support__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-support-primary-color);
  font-weight: bold;
}

.page-support__tech-support-image-wrapper {
  flex: 0 0 450px;
}

.page-support__tech-support-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Guides Section */
.page-support__guides {
  background-color: var(--page-support-bg-light);
  color: var(--page-support-text-dark);
}

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

.page-support__guide-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-support__guide-title {
  font-size: 1.8em;
  color: var(--page-support-secondary-color);
  margin-bottom: 15px;
}

.page-support__guide-image-wrapper {
  margin-bottom: 20px;
  height: 200px;
  overflow: hidden;
  border-radius: 5px;
}

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

.page-support__guide-text {
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Contact Section */
.page-support__contact {
  background-color: var(--page-support-bg-dark);
  color: var(--page-support-text-light);
}

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

.page-support__contact-item {
  background-color: var(--page-support-secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__icon {
  font-size: 3em;
  color: var(--page-support-primary-color);
  margin-bottom: 20px;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
}

/* Basic icons, replace with actual icon font/SVG if available */
.page-support__icon--chat::before { content: '💬'; }
.page-support__icon--email::before { content: '📧'; }
.page-support__icon--phone::before { content: '📞'; }

.page-support__contact-title {
  font-size: 1.8em;
  color: var(--page-support-primary-color);
  margin-bottom: 10px;
}

.page-support__contact-text {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__contact-image-wrapper {
  margin-top: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Commitment Section */
.page-support__commitment {
  background-color: var(--page-support-bg-light);
  color: var(--page-support-text-dark);
}

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

.page-support__commitment-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
}

.page-support__commitment-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--page-support-primary-color);
  font-size: 1.2em;
}

.page-support__section-text {
  font-size: 1.1em;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Resources Section */
.page-support__resources {
  background-color: var(--page-support-secondary-color);
  color: var(--page-support-text-light);
}

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

.page-support__resource-card {
  background-color: var(--page-support-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-support__resource-image-wrapper {
  margin-bottom: 20px;
  height: 180px;
  overflow: hidden;
  border-radius: 5px;
}

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

.page-support__resource-title {
  font-size: 1.5em;
  color: var(--page-support-primary-color);
  margin-bottom: 10px;
}

.page-support__resource-text {
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__tech-support-content {
    flex-direction: column;
  }
  .page-support__tech-support-image-wrapper {
    flex: none;
    width: 80%;
    margin-top: 30px;
  }
  .page-support__hero-image-wrapper {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__faq-grid,
  .page-support__guide-grid,
  .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-support__contact-methods {
    flex-direction: column;
    align-items: center;
  }
  .page-support__contact-item {
    width: 90%;
  }
  .page-support__hero-image-wrapper {
    display: none; /* Hide hero image on smaller screens */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-intro {
    font-size: 1em;
  }
  .page-support__faq-question,
  .page-support__guide-title,
  .page-support__contact-title,
  .page-support__resource-title {
    font-size: 1.3em;
  }
}