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

.page-index__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding to respect header offset */
}

.page-index__hero-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  overflow: hidden;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.page-index__hero-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.page-index__hero-arrow {
  background-color: rgba(47, 107, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1;
  transition: background-color 0.3s ease;
}

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

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

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

.page-index__hero-dots {
  display: flex;
  gap: 8px;
}

.page-index__hero-dots::after {
  content: '';
  display: block;
  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__hero-dots--active::after {
  background-color: #2F6BFF;
}

.page-index__section-title-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.page-index__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-index__main-title::before,
.page-index__main-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 2px;
  background-color: #D6E2FF;
  transform: translateY(-50%);
}

.page-index__main-title::before {
  left: -120px;
}

.page-index__main-title::after {
  right: -120px;
}

@media (max-width: 1024px) {
  .page-index__main-title::before,
  .page-index__main-title::after {
    width: 60px;
    left: -80px;
    right: -80px;
  }
}

@media (max-width: 768px) {
  .page-index__main-title::before,
  .page-index__main-title::after {
    content: none;
  }
  .page-index__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

.page-index__category-gateway {
  padding: 50px 20px;
  background-color: #1F2D3D; /* Dark background for category section */
  margin-top: 20px;
}

.page-index__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #1F2D3D;
  min-height: 250px;
}

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

.page-index__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.page-index__category-label {
  padding: 15px 10px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  background-color: #FFFFFF;
}

.page-index__article-body {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.8;
  background-color: #FFFFFF; /* White background for article */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__blockquote {
  border-left: 5px solid #2F6BFF;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #000000;
  background-color: #F4F7FB;
  padding: 20px;
  border-radius: 4px;
}

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

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

.page-index__highlight-text {
  color: #d6d604;
  font-weight: bold;
}

.page-index__article-heading {
  font-weight: 700;
  color: #1F2D3D;
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 2px solid #D6E2FF;
  padding-bottom: 10px;
}

.page-index__article-subheading {
  font-weight: 600;
  color: #2F6BFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index__article-paragraph {
  margin-bottom: 15px;
  color: #000000;
}

.page-index__article-paragraph a {
  color: #2F6BFF;
  text-decoration: none;
}

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

.page-index__article-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
}

.page-index__article-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-index__article-list {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
  color: #000000;
}

.page-index__article-list li {
  margin-bottom: 8px;
}

.page-index__article-list li strong {
  color: #1F2D3D;
}

.page-index__article-list li a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-index__article-list li a:hover {
  text-decoration: underline;
}

/* Button styling for consistency */
.page-index__article-paragraph .btn, .page-index__blockquote .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index__article-paragraph .btn:hover, .page-index__blockquote .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page-index__hero-slider {
    padding-top: 8px;
  }
  .page-index__hero-link {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile */
  }
  .page-index__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .page-index__category-card {
    min-height: 220px;
  }
  .page-index__category-image {
    height: 150px;
  }
  .page-index__article-body {
    padding: 30px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .page-index__article-heading {
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-index__article-subheading {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-index__content-wrapper img {
    max-width: 100%;
    height: auto;
  }
  /* Mobile overflow prevention */
  .page-index img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .page-index__main-title::before {
    left: -80px;
  }
  .page-index__main-title::after {
    right: -80px;
  }
}