/* style/x-s.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #333333;
  --border-color: #e0e0e0;
}

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

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

.page-x-s-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-x-s-section:nth-of-type(even) {
  background-color: #fcfcfc;
}

.page-x-s h1,
.page-x-s h2,
.page-x-s h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-x-s h1 {
  font-size: 3.2em;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 15px;
}

.page-x-s h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-x-s h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-x-s p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-x-s ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-x-s ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-x-s-cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-x-s-hero-banner {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-x-s-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-x-s-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-x-s-hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  max-width: 800px;
  padding: 20px;
}

.page-x-s-hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-x-s-image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

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

.page-x-s-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-x-s-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-x-s-card h3 {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  text-align: left;
  color: var(--secondary-color);
  flex-grow: 1;
}

.page-x-s-card-link {
  text-decoration: none;
  color: inherit;
}

.page-x-s-card-link:hover {
  color: var(--primary-color);
}

.page-x-s-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: left;
}

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

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

.page-x-s-benefit-item:hover {
  transform: translateY(-5px);
}

.page-x-s-benefit-icon {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s-benefit-item h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-x-s-benefit-item p {
  font-size: 1em;
  color: #666666;
}

.page-x-s-text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-x-s-text-link:hover {
  color: var(--primary-color);
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s-step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  font-size: 2.5em;
  font-weight: bold;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.page-x-s-step-item h3 {
  margin-top: 30px;
  text-align: center;
  color: var(--secondary-color);
}

.page-x-s-step-item p {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-x-s-button:hover {
  background-color: #a30000; /* Slightly darker red */
}

/* FAQ Styles */
.page-x-s-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
  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);
}

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

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

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

.page-x-s-final-cta {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s h1 {
    font-size: 2.8em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s h3 {
    font-size: 1.6em;
  }
  .page-x-s-hero-banner {
    height: 400px;
  }
  .page-x-s-grid-cards,
  .page-x-s-benefits-grid,
  .page-x-s-guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-x-s-section {
    padding: 40px 0;
  }
  .page-x-s h1 {
    font-size: 2.2em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s-hero-banner {
    height: 350px;
  }
  .page-x-s-hero-content p {
    font-size: 1.1em;
  }
  .page-x-s-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-x-s-grid-cards,
  .page-x-s-benefits-grid,
  .page-x-s-guide-steps {
    grid-template-columns: 1fr;
  }
  .page-x-s-step-number {
    top: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    font-size: 2em;
  }
  .page-x-s-step-item h3 {
    margin-top: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s-container {
    padding: 15px;
  }
  .page-x-s h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.6em;
  }
  .page-x-s h3 {
    font-size: 1.2em;
  }
  .page-x-s-hero-banner {
    height: 300px;
  }
  .page-x-s-hero-content p {
    font-size: 1em;
  }
  .page-x-s-cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}