/* style/support-online-customer-service.css */

/* Variables for colors based on the scheme */
:root {
  --xn88-primary-dark: #0A192F;
  --xn88-accent-gold: #FFD700;
  --xn88-text-light: #F0F2F5; /* Adjusted for contrast with dark background */
  --xn88-text-dark: #333333; /* Adjusted for contrast with light background */
  --xn88-background-light: #FFFFFF;
  --xn88-link-hover: #b39700; /* Darker gold for hover */
  --xn88-border-color: rgba(255, 215, 0, 0.3);
  --xn88-shadow-color: rgba(0, 0, 0, 0.2);
}

.page-support-online-customer-service {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--xn88-text-light);
  background-color: var(--xn88-primary-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.page-support-online-customer-service__section {
  padding: 80px 0;
  text-align: center;
}

.page-support-online-customer-service__section:nth-of-type(even) {
  background-color: #1a2a40; /* Slightly lighter dark for contrast */
}

.page-support-online-customer-service__hero {
  background: linear-gradient(135deg, var(--xn88-primary-dark) 0%, #1a2a40 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-support-online-customer-service__hero-title {
  font-size: 3.5em;
  color: var(--xn88-accent-gold);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px var(--xn88-shadow-color);
}

.page-support-online-customer-service__hero-subtitle {
  font-size: 1.3em;
  color: var(--xn88-text-light);
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-support-online-customer-service__cta-button {
  display: inline-block;
  background-color: var(--xn88-accent-gold);
  color: var(--xn88-primary-dark);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-support-online-customer-service__cta-button:hover {
  background-color: var(--xn88-link-hover);
  transform: translateY(-3px);
}

.page-support-online-customer-service__hero-image {
  position: absolute;
  bottom: -20px;
  right: -50px;
  width: 400px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.page-support-online-customer-service__section-title {
  font-size: 2.8em;
  color: var(--xn88-accent-gold);
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px var(--xn88-shadow-color);
}

.page-support-online-customer-service__text-content {
  font-size: 1.1em;
  color: var(--xn88-text-light);
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-support-online-customer-service__primary-button {
  display: inline-block;
  background-color: var(--xn88-accent-gold);
  color: var(--xn88-primary-dark);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-support-online-customer-service__primary-button:hover {
  background-color: var(--xn88-link-hover);
  transform: translateY(-2px);
}

.page-support-online-customer-service__image-inline {
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px var(--xn88-shadow-color);
}

/* FAQ Section */
.page-support-online-customer-service__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support-online-customer-service__faq-item {
  background-color: #1a2a40;
  border: 1px solid var(--xn88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px var(--xn88-shadow-color);
}

.page-support-online-customer-service__faq-question {
  color: var(--xn88-accent-gold);
  font-size: 1.2em;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-support-online-customer-service__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-support-online-customer-service__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-support-online-customer-service__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #0A192F;
  color: var(--xn88-text-light);
}

.page-support-online-customer-service__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
}

.page-support-online-customer-service__faq-answer.open {
  max-height: 500px; /* Adjust as needed for content */
  padding-bottom: 20px;
}

.page-support-online-customer-service__inline-link {
  color: var(--xn88-accent-gold);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support-online-customer-service__inline-link:hover {
  color: var(--xn88-link-hover);
  text-decoration: underline;
}

/* Other Contact Channels Section */
.page-support-online-customer-service__contact-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
}

.page-support-online-customer-service__contact-list li {
  background-color: #1a2a40;
  border: 1px solid var(--xn88-border-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px var(--xn88-shadow-color);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support-online-customer-service__contact-list li:hover {
  transform: translateY(-5px);
  background-color: #2a3a50;
}

.page-support-online-customer-service__contact-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-support-online-customer-service__contact-heading {
  font-size: 1.5em;
  color: var(--xn88-accent-gold);
  margin-bottom: 10px;
}

.page-support-online-customer-service__contact-detail {
  color: var(--xn88-text-light);
  font-size: 1.1em;
}

/* CTA Promo Section */
.page-support-online-customer-service__cta-promo {
  background: linear-gradient(90deg, #1a2a40 0%, var(--xn88-primary-dark) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.page-support-online-customer-service__cta-promo-content {
  position: relative;
  z-index: 1;
}

.page-support-online-customer-service__cta-promo .page-support-online-customer-service__section-title {
  color: var(--xn88-accent-gold);
}

.page-support-online-customer-service__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-support-online-customer-service__secondary-button {
  display: inline-block;
  background-color: transparent;
  color: var(--xn88-accent-gold);
  border: 2px solid var(--xn88-accent-gold);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-support-online-customer-service__secondary-button:hover {
  background-color: var(--xn88-accent-gold);
  color: var(--xn88-primary-dark);
  transform: translateY(-2px);
}

.page-support-online-customer-service__image-full-width {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 60px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--xn88-shadow-color);
}

/* Commitment Section */
.page-support-online-customer-service__commitment {
  background-color: var(--xn88-primary-dark);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-support-online-customer-service__hero-title {
    font-size: 2.8em;
  }
  .page-support-online-customer-service__section-title {
    font-size: 2.2em;
  }
  .page-support-online-customer-service__hero-image {
    width: 300px;
    right: -30px;
  }
}

@media (max-width: 768px) {
  .page-support-online-customer-service__hero-title {
    font-size: 2.2em;
  }
  .page-support-online-customer-service__hero-subtitle {
    font-size: 1.1em;
  }
  .page-support-online-customer-service__section {
    padding: 60px 0;
  }
  .page-support-online-customer-service__section-title {
    font-size: 1.8em;
  }
  .page-support-online-customer-service__text-content {
    font-size: 1em;
  }
  .page-support-online-customer-service__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support-online-customer-service__cta-button,
  .page-support-online-customer-service__primary-button,
  .page-support-online-customer-service__secondary-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-support-online-customer-service__hero-image {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-support-online-customer-service__hero-title {
    font-size: 1.8em;
  }
  .page-support-online-customer-service__hero-subtitle {
    font-size: 0.95em;
  }
  .page-support-online-customer-service__section-title {
    font-size: 1.5em;
  }
  .page-support-online-customer-service__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-support-online-customer-service__faq-answer p {
    font-size: 0.95em;
  }
  .page-support-online-customer-service__contact-list {
    grid-template-columns: 1fr;
  }
  .page-support-online-customer-service__cta-button,
  .page-support-online-customer-service__primary-button,
  .page-support-online-customer-service__secondary-button {
    width: 90%;
  }
}