.page-index {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index__hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #2F6BFF;
}

.page-index__slider-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Max width for the slider itself */
  margin: 0 auto;
}

.page-index__slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.page-index__slider-item {
  min-width: 100%;
  flex-shrink: 0;
}

.page-index__slider-item img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-index__slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(47, 107, 255, 0.7);
  color: #FFFFFF;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-index__slider-arrow:hover {
  background-color: #2F6BFF;
}

.page-index__slider-arrow--prev {
  left: 10px;
}

.page-index__slider-arrow--next {
  right: 10px;
}

.page-index__slider-arrow--prev::before {
  content: '‹';
}

.page-index__slider-arrow--next::before {
  content: '›';
}

.page-index__slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.page-index__slider-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index__slider-dot--active {
  background-color: #2F6BFF;
  box-shadow: 0 0 0 2px #A5C4FF;
}

.page-index__section-title {
  padding: 40px 0 20px;
  text-align: center;
  background-color: #FFFFFF;
  margin-top: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-index__title-wrapper {
  position: relative;
  padding-bottom: 20px;
}

.page-index__title-wrapper::before,
.page-index__title-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 15%;
  height: 2px;
  background-color: #D6E2FF;
}

.page-index__title-wrapper::before {
  left: 10%;
}

.page-index__title-wrapper::after {
  right: 10%;
}

.page-index__main-heading {
  color: #1F2D3D;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
}

.page-index__intro-text {
  color: #1F2D3D;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
  min-width: 200px;
  text-align: center;
}

.page-index__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-index__category-gateway {
  padding: 40px 0;
  background-color: #F4F7FB;
}

.page-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center;
}

.page-index__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-bottom: 15px;
}

.page-index__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index__category-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
  min-width: 200px;
  min-height: 200px;
  transition: transform 0.3s ease;
}

.page-index__category-card:hover img {
  transform: scale(1.05);
}

.page-index__card-label {
  color: #000000;
  font-weight: 600;
  font-size: 1.2rem;
  padding-top: 15px;
  text-align: center;
  display: block;
}

.page-index__article-body {
  padding: 40px 0;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.page-index__article-body .page-index__container {
  max-width: 900px; /* Narrower for readability */
}

.page-index__blockquote {
  border-left: 4px solid #2F6BFF;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #1F2D3D;
  font-size: 1.1rem;
  line-height: 1.8;
  background-color: #F4F7FB;
  padding: 20px;
  border-radius: 4px;
}

.page-index__blockquote a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-index__blockquote a:hover {
  text-decoration: underline;
}

.page-index__highlight {
  color: #2F6BFF;
  font-weight: 600;
}

.page-index__section-heading {
  color: #2F6BFF;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-index__sub-heading {
  color: #1F2D3D;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-index__paragraph {
  color: #1F2D3D;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-index__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-index__list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-index__list strong {
  color: #000000;
}

.page-index__article-figure {
  margin: 30px 0;
  text-align: center;
}

.page-index__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-index__article-figure figcaption {
  font-size: 0.9rem;
  color: #6FA3FF;
  margin-top: 10px;
}

.page-index__aligncenter {
  text-align: center;
}

@media (max-width: 1024px) {
  .page-index__title-wrapper::before,
  .page-index__title-wrapper::after {
    width: 5%;
    left: 5%;
    right: 5%;
  }
  .page-index__title-wrapper::before {
    left: 2%;
  }
  .page-index__title-wrapper::after {
    right: 2%;
  }
}

@media (max-width: 768px) {
  .page-index__main-heading {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-index__intro-text {
    font-size: 1rem;
  }

  .page-index__cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }

  .page-index__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index__category-card img,
  .page-index__slider-item img,
  .page-index__article-figure img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-index__section-heading {
    font-size: 1.8rem;
  }

  .page-index__sub-heading {
    font-size: 1.3rem;
  }

  .page-index__paragraph,
  .page-index__blockquote,
  .page-index__list {
    font-size: 0.95rem;
  }

  .page-index__title-wrapper::before,
  .page-index__title-wrapper::after {
    display: none;
  }

  .page-index__slider-arrow {
    padding: 8px 12px;
    font-size: 20px;
  }

  .page-index__slider-dots {
    bottom: 10px;
  }

  .page-index__section-title {
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .page-index__grid {
    grid-template-columns: 1fr;
  }

  .page-index__category-card {
    width: 80%;
    margin: 0 auto;
  }

  .page-index__slider-arrow {
    padding: 5px 8px;
    font-size: 16px;
  }

  .page-index__slider-dots {
    display: none;
  }
}