.cmr-explore-sectors-section {
    font-family: 'Instrument Sans', sans-serif;
    background-color: #F8F9FA;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.explore-sectors-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 0;
}

.explore-sectors-tagline {
    font-size: 13px;
    font-weight: 600;
    color: #9ba4b5;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.explore-sectors-title {
    font-size: 42px;
    font-weight: 600;
    color: #111;
    margin-bottom: 50px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.explore-sectors-track {
    display: flex;
    flex-wrap: nowrap !important;   /* Elementor overrides default nowrap — force it */
    gap: 20px;
    width: max-content;
    min-width: max-content;         /* Extra safety so the track never collapses */
    padding-bottom: 20px;
    padding-left: calc((100vw - 1280px) / 2);
    padding-right: 40px;
}

@media (max-width: 1380px) {
    .explore-sectors-track {
        padding-left: 0;
    }
}

.explore-sector-card {
    background-color: #ffffff;
    width: 323px;
    flex-shrink: 0;
    height: 369px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: grab;
}
.explore-sector-card:active {
    cursor: grabbing;
}

.explore-sector-card:hover {
    border-color: #4625A9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sector-number {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin-bottom: 60px;
}

.sector-content {
    margin-bottom: 30px;
    flex-grow: 1;
}

.sector-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #111;
    margin-bottom: 15px;
    margin-top: 0;
}

.sector-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.cmr-explore-sectors-section .sector-explore-link,
.explore-sector-card .sector-explore-link,
a.sector-explore-link {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.3s ease, border-color 0.3s ease !important;
    border-bottom: 1px solid #111111 !important;
    padding-bottom: 2px !important;
    align-self: flex-start !important;
}

.cmr-explore-sectors-section .sector-explore-link i,
.cmr-explore-sectors-section .sector-explore-link svg,
.explore-sector-card .sector-explore-link i,
.explore-sector-card .sector-explore-link svg,
a.sector-explore-link i,
a.sector-explore-link svg {
    font-size: 10px !important;
    color: #111111 !important;
    fill: #111111 !important;
    display: inline-block !important;
    transition: color 0.3s ease, transform 0.3s ease, fill 0.3s ease !important;
}

.cmr-explore-sectors-section .explore-sector-card:hover .sector-explore-link,
.cmr-explore-sectors-section .sector-explore-link:hover,
.explore-sector-card:hover .sector-explore-link,
.sector-explore-link:hover,
a.sector-explore-link:hover {
    color: #4625A9 !important;
    border-bottom-color: #4625A9 !important;
}

.cmr-explore-sectors-section .explore-sector-card:hover .sector-explore-link i,
.cmr-explore-sectors-section .explore-sector-card:hover .sector-explore-link svg,
.cmr-explore-sectors-section .sector-explore-link:hover i,
.cmr-explore-sectors-section .sector-explore-link:hover svg,
.explore-sector-card:hover .sector-explore-link i,
.explore-sector-card:hover .sector-explore-link svg,
.sector-explore-link:hover i,
.sector-explore-link:hover svg,
a.sector-explore-link:hover i,
a.sector-explore-link:hover svg {
    color: #4625A9 !important;
    fill: #4625A9 !important;
}

/* Specific active/hover style matching the 3rd card in mockup */
/* Instead of hardcoding the 3rd, the hover state covers it cleanly */

@media (max-width: 768px) {
    .elementor-element.elementor-element-ea4d4ac,
    .elementor-element[data-id="ea4d4ac"],
    .elementor-element.elementor-element-ea4d4ac > .e-con-inner,
    .elementor-element[data-id="ea4d4ac"] > .e-con-inner,
    .elementor-element.elementor-element-4fc6cfd,
    .elementor-element[data-id="4fc6cfd"],
    .elementor-element.elementor-element-4fc6cfd > .e-con-inner,
    .elementor-element[data-id="4fc6cfd"] > .e-con-inner,
    #our-offerings,
    .our-offerings,
    #cmr-explore-section,
    .cmr-explore-sectors-section,
    .elementor-element:has(#cmr-explore-section),
    .e-con:has(#cmr-explore-section),
    .e-con-boxed:has(#cmr-explore-section),
    .e-con-inner:has(#cmr-explore-section),
    .elementor-widget:has(#cmr-explore-section),
    .elementor-widget-container:has(#cmr-explore-section),
    .elementor-shortcode:has(#cmr-explore-section),
    .elementor-column:has(#cmr-explore-section),
    .elementor-column-wrap:has(#cmr-explore-section),
    .elementor-section:has(#cmr-explore-section),
    .elementor-section-boxed:has(#cmr-explore-section),
    .elementor-element:has(.cmr-explore-sectors-section),
    .e-con:has(.cmr-explore-sectors-section),
    .e-con-boxed:has(.cmr-explore-sectors-section),
    .e-con-inner:has(.cmr-explore-sectors-section),
    .elementor-widget:has(.cmr-explore-sectors-section),
    .elementor-widget-container:has(.cmr-explore-sectors-section),
    .elementor-shortcode:has(.cmr-explore-sectors-section),
    .elementor-column:has(.cmr-explore-sectors-section),
    .elementor-column-wrap:has(.cmr-explore-sectors-section),
    .elementor-section:has(.cmr-explore-sectors-section),
    .elementor-section-boxed:has(.cmr-explore-sectors-section) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        --padding-left: 0px !important;
        --padding-right: 0px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #cmr-explore-section,
    .cmr-explore-sectors-section {
        padding: 40px 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        background-color: #F8F9FA !important;
    }
    .explore-sectors-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .explore-sectors-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 25px !important;
    }
    .explore-sectors-track-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        box-sizing: border-box !important;
    }
    .explore-sectors-track-wrapper::-webkit-scrollbar {
        display: none !important;
    }
    .explore-sectors-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 15px !important;
        scroll-padding-left: 20px !important;
        scroll-padding-inline: 20px !important;
        width: max-content !important;
        min-width: max-content !important;
        box-sizing: border-box !important;
        transform: none !important;
    }
    .explore-sectors-track::-webkit-scrollbar {
        display: none !important;
    }
    .explore-sector-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        max-width: 280px !important;
        min-width: 280px !important;
        scroll-snap-align: start !important;
        scroll-margin-left: 20px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 280px !important;
        padding: 28px 20px !important;
    }
}
