/* style/x-s.css */
.page-x-s {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

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

.page-x-s__section:nth-of-type(even) {
  background-color: #f2f2f2;
}

.page-x-s__section-title {
  font-size: 2.5em;
  color: #0A2463;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-x-s__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
  text-align: justify;
}

.page-x-s__text--emphasis {
  font-weight: bold;
  color: #0A2463;
  text-align: center;
}

/* Hero Section */
.page-x-s__hero {
  background: linear-gradient(135deg, #0A2463 0%, #1A3B8A 100%);
  color: #fff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: left;
}

.page-x-s__hero-content {
  max-width: 600px;
  padding: 0 20px;
}

.page-x-s__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #E3BA2E;
}

.page-x-s__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-x-s__hero-image {
  max-width: 500px;
  padding: 0 20px;
}

.page-x-s__img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-x-s__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-x-s__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.page-x-s__btn--primary {
  background-color: #E3BA2E;
  color: #0A2463;
  border: 2px solid #E3BA2E;
}

.page-x-s__btn--primary:hover {
  background-color: #FFD700;
  border-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s__btn--secondary {
  background-color: transparent;
  color: #E3BA2E;
  border: 2px solid #E3BA2E;
}

.page-x-s__btn--secondary:hover {
  background-color: #E3BA2E;
  color: #0A2463;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Grid Layouts */
.page-x-s__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-x-s__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-x-s__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card Styles */
.page-x-s__card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-x-s__card-img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-x-s__card-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-x-s__card-description {
  font-size: 1em;
  color: #666;
  text-align: justify;
}

/* List Styles */
.page-x-s__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-x-s__list-item {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333;
  position: relative;
  padding-left: 45px;
}

.page-x-s__list-item::before {
  content: '✓';
  color: #E3BA2E;
  font-weight: bold;
  font-size: 1.2em;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.page-x-s__list-item strong {
  color: #0A2463;
}

/* Feature Items */
.page-x-s__feature-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.page-x-s__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-x-s__feature-title {
  font-size: 1.4em;
  color: #0A2463;
  font-weight: bold;
}

.page-x-s__feature-description {
  font-size: 1em;
  color: #666;
  text-align: justify;
}

/* Action Center */
.page-x-s__action-center {
  margin-top: 40px;
  text-align: center;
}

/* FAQ Accordion */
.page-x-s__faq {
  background-color: #0A2463;
  color: #fff;
}

.page-x-s__faq .page-x-s__section-title {
  color: #E3BA2E;
}

.page-x-s__faq .page-x-s__text {
  color: #f0f0f0;
}

.page-x-s__accordion {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s__accordion-item {
  background-color: #1a3b8a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-x-s__accordion-header {
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: #E3BA2E;
  background-color: #1a3b8a;
  border-bottom: 1px solid rgba(227, 186, 46, 0.2);
  margin: 0;
  position: relative;
  text-align: left;
}

.page-x-s__accordion-header::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-x-s__accordion-header.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-x-s__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-x-s__accordion-content p {
  padding-bottom: 20px;
  margin: 0;
  color: #f0f0f0;
  text-align: justify;
}

.page-x-s__accordion-header.active + .page-x-s__accordion-content {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
  padding-bottom: 20px;
}

/* CTA Section */
.page-x-s__cta {
  background: linear-gradient(90deg, #0A2463, #1A3B8A);
  color: #fff;
  padding: 80px 0;
}

.page-x-s__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.page-x-s__cta-title {
  font-size: 2.8em;
  color: #E3BA2E;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-x-s__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-x-s__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s__hero {
    flex-direction: column;
    text-align: center;
  }
  .page-x-s__hero-content {
    max-width: 100%;
  }
  .page-x-s__hero-title {
    font-size: 2.8em;
  }
  .page-x-s__hero-description {
    font-size: 1.1em;
  }
  .page-x-s__section-title {
    font-size: 2em;
  }
  .page-x-s__grid--3-cols, .page-x-s__grid--2-cols {
    grid-template-columns: 1fr;
  }
  .page-x-s__hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-x-s__section {
    padding: 40px 0;
  }
  .page-x-s__hero-title {
    font-size: 2.2em;
  }
  .page-x-s__section-title {
    font-size: 1.8em;
  }
  .page-x-s__text, .page-x-s__card-description, .page-x-s__list-item, .page-x-s__feature-description {
    font-size: 1em;
  }
  .page-x-s__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-x-s__cta-title {
    font-size: 2.2em;
  }
  .page-x-s__cta-description {
    font-size: 1em;
  }
  .page-x-s__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-x-s__hero-title {
    font-size: 1.8em;
  }
  .page-x-s__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-x-s__btn {
    width: 100%;
    text-align: center;
  }
  .page-x-s__section-title {
    font-size: 1.5em;
  }
  .page-x-s__cta-title {
    font-size: 1.8em;
  }
}