/* style/x-s.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --border-color: #e0e0e0;
}

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

.page-x-s h1, .page-x-s h2, .page-x-s h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-x-s h1 {
  font-size: 3em;
  text-align: center;
  color: var(--text-light);
}

.page-x-s h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-x-s h3 {
  font-size: 1.8em;
  margin-top: 20px;
}

.page-x-s p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

/* Hero Section */
.page-x-s .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%); /* Slightly darker gradient */
  color: var(--text-light);
}

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

.page-x-s .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Adjust max-width for image */
}

.page-x-s .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-x-s .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-x-s .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-x-s .cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-x-s .cta-button-small {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-x-s .cta-button-small:hover {
  background: #e6c200;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Section Intro */
.page-x-s .section-intro {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-x-s .intro-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  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-x-s .intro-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s .intro-item img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-x-s .intro-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
}

.page-x-s .intro-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Section Types */
.page-x-s .section-types {
  padding: 60px 0;
  background-color: #f0f3f2;
}

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

.page-x-s .type-card {
  background-color: var(--text-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s .type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-x-s .type-card h3 {
  font-size: 1.6em;
  padding: 20px 20px 0;
  margin-top: 0;
  color: var(--primary-color);
}

.page-x-s .type-card p {
  font-size: 1em;
  padding: 0 20px 20px;
  color: var(--text-dark);
}

.page-x-s .btn-card {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-x-s .btn-card:hover {
  background-color: #002244; /* Darker primary */
}

/* Section Guide */
.page-x-s .section-guide {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-x-s .step-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.page-x-s .step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin: -55px auto 20px;
  border: 3px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-x-s .step-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
}

.page-x-s .btn-guide {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-x-s .btn-guide:hover {
  background-color: #002244;
}

/* Section Tips */
.page-x-s .section-tips {
  padding: 60px 0;
  background-color: #f0f3f2;
}

.page-x-s .tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-x-s .tip-list li {
  background-color: var(--text-light);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  border-left: 5px solid var(--secondary-color);
}

.page-x-s .tip-list li strong {
  color: var(--primary-color);
}

/* Section Promotions */
.page-x-s .section-promotions {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-x-s .promo-card {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  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-x-s .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s .promo-card img {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-x-s .promo-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
}

/* Section Security */
.page-x-s .section-security {
  padding: 60px 0;
  background-color: #f0f3f2;
}

.page-x-s .security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-x-s .security-list li {
  background-color: var(--text-light);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  border-left: 5px solid var(--primary-color);
}

.page-x-s .security-list li strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-x-s .section-faq {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-x-s .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-x-s .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-x-s .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

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

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

.page-x-s .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-x-s .faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s h1 {
    font-size: 2.5em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s .intro-grid, .page-x-s .type-grid, .page-x-s .guide-steps, .page-x-s .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-x-s .hero-image {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-x-s h1 {
    font-size: 2em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s .hero-section {
    padding: 40px 15px;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-x-s .intro-grid, .page-x-s .type-grid, .page-x-s .guide-steps, .page-x-s .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s .step-number {
    margin-top: -45px;
  }
  .page-x-s .faq-question {
    padding: 15px 20px;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-toggle {
    font-size: 20px;
  }
  .page-x-s .faq-answer {
    padding: 0 20px;
  }
  .page-x-s .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.6em;
  }
  .page-x-s .container {
    padding: 0 15px;
  }
  .page-x-s .hero-image {
    margin-bottom: 20px;
  }
  .page-x-s .cta-button {
    font-size: 14px;
    padding: 10px 25px;
  }
}