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

/* Hero Slider Section */
.page-index__hero-slider-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding to account for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Example gradient background */
}

.page-index__hero-slider {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.page-index__hero-slide {
    display: none;
    width: 100%;
}

.page-index__hero-slide--active {
    display: block;
}

.page-index__hero-slider img {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-index__carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(47, 107, 255, 0.7);
    color: #FFFFFF;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    font-size: 1.2rem;
}

.page-index__carousel-nav--prev {
    left: 10px;
}

.page-index__carousel-nav--next {
    right: 10px;
}

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

.page-index__carousel-dots::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.page-index__carousel-dots .page-index__dot--active::before {
    background-color: #FFFFFF;
}

.page-index__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: #FFFFFF;
}

.page-index__main-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-index__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #F4F7FB;
}

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

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

/* Category Gateway Section */
.page-index__category-gateway {
    padding: 60px 20px;
    max-width: 1390px;
    margin: 0 auto;
    text-align: center;
}

.page-index__section-title-container {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-index__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #1F2D3D;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-index__section-title-container::before,
.page-index__section-title-container::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: #D6E2FF;
    margin: 0 15px;
}

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

.page-index__category-card {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #1F2D3D;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
    min-height: 300px;
}

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

.page-index__category-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
    transition: filter 0.3s ease;
}

.page-index__category-card:hover img {
    filter: grayscale(0%);
}

.page-index__category-name {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #FFFFFF;
    text-align: center;
    color: #1F2D3D;
}

/* Article Body Section */
.page-index__article-body {
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
    line-height: 1.7;
    font-size: 1rem;
    color: #1F2D3D;
}

.page-index__blockquote {
    background-color: #E6F0FF;
    border-left: 5px solid #2F6BFF;
    padding: 20px 25px;
    margin: 40px 0;
    font-style: italic;
    color: #000000;
    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__article-body h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #1F2D3D;
    margin-top: 60px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D6E2FF;
}

.page-index__article-body h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: #1F2D3D;
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-index__article-body p {
    margin-bottom: 20px;
}

.page-index__article-body ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-index__article-body ul li {
    margin-bottom: 10px;
    color: #1F2D3D;
}

.page-index__article-body a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 500;
}

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

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

.page-index__article-figure--aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-index__offer-list strong {
    color: #2F6BFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-index__hero-slider-section {
        padding-top: 5px;
    }

    .page-index__hero-content {
        padding: 30px 15px;
    }

    .page-index__carousel-nav {
        padding: 10px 5px;
        font-size: 1rem;
    }

    .page-index__category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .page-index__category-card {
        min-width: unset;
        min-height: unset;
    }

    .page-index__category-card img {
        max-width: 100%;
        height: auto;
        min- /* Adjusted minimum for mobile cards */
        min-
    }

    .page-index__article-body {
        padding: 0 15px;
        font-size: 0.95rem;
    }

    .page-index__article-body img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-
    }

    /* Ensure all images within .page-index are responsive */
    .page-index img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

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

/* CSS for color contrast: Ensure text is readable against backgrounds */
/* Main text on background */
.page-index, .page-index__article-body p, .page-index__article-body ul li {
    color: #1F2D3D; /* Text Main */
}

/* Titles on background */
.page-index__main-title, .page-index__section-title, .page-index__article-body h2, .page-index__article-body h3 {
    color: #1F2D3D; /* Text Main */
}

/* White text on blue gradient */
.page-index__hero-content, .page-index__hero-description, .page-index__cta-button {
    color: #FFFFFF;
}

/* Text on Card BG */
.page-index__category-card, .page-index__category-name {
    background-color: #FFFFFF; /* Card BG */
    color: #1F2D3D; /* Text Main */
}

/* Blockquote text on its background */
.page-index__blockquote {
    background-color: #E6F0FF; /* Light blue background */
    color: #000000; /* Custom Color_1776249996415 */
}

.page-index__blockquote a {
    color: #2F6BFF; /* Main color for links */
}