.region-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.region-item {
    display: flex;
    align-items: center;
    background: #eaf2fb;
    border: none;
    border-radius: 12px;
    padding: 12px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.region-item span {
    font-family: "Quicksand", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin-left: 20px;
}

.region-icon-box {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.region-icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Active State */
.region-item.active {
    background: #1965c0;
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(25, 101, 192, 0.35);
}

.region-item.active span {
    color: #ffffff;
}

.region-item.active .region-icon-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.region-item.active .region-icon-box img {
    filter: brightness(0) invert(1);
}

/* Hover effects */
.region-item:hover:not(.active) {
    background: #dbeafe;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.region-item:hover .region-icon-box {
    transform: scale(1.05);
}

/* Responsive Overrides for index_responsive.css integration */
@media (max-width: 991.98px) {
    .region-item {
        width: auto;
    }
}

/* --- Sticky Sidebar & Independent Scroll Styles --- */
@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky;
        top: 190px; /* Further increased for better header clearance */
        z-index: 10;
        height: fit-content !important;
        margin-bottom: 30px;
    }

    .scrollable-content {
        height: auto; /* Managed by JS for exact sync */
        overflow-y: scroll !important;
        overflow-x: hidden;
        padding-right: 15px;
        padding-bottom: 350px; /* Extra space to ensure bottom cards are fully visible */
        margin-top: 40px; /* Pushes content down to align with sidebar top */
    }

    /* Premium Custom Scrollbar - matching the screenshot's thin blue style */
    .scrollable-content::-webkit-scrollbar {
        width: 4px;
    }

    .scrollable-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .scrollable-content::-webkit-scrollbar-thumb {
        background: #1965c0;
        border-radius: 10px;
        transition: background 0.3s ease;
    }

    /* Premium Custom Scrollbar - matching the screenshot's thin blue style */
    .scrollable-content::-webkit-scrollbar {
        width: 4px;
    }

    .scrollable-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .scrollable-content::-webkit-scrollbar-thumb {
        background: #1965c0;
        border-radius: 10px;
        transition: background 0.3s ease;
    }

    .scrollable-content::-webkit-scrollbar-thumb:hover {
        background: #134e96;
    }
}

/* Ensure sections don't have conflicting animations that hide them */
.region-section.d-none {
    display: none !important;
}

.region-section-title {
    position: sticky;
    top: 0;
    background: #f8faff; /* Matching section background to hide content behind */
    z-index: 5;
    padding-top: 20px; /* More space at the top when sticking */
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eaf2fb;
}

/* Explicit Region Card Styling to match screenshot */
.region-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.boundaries {
    background: #f8faff; /* Subtle background to make the white cards pop */
}

