:root {
    --ifcu-highlight-blue: #0067AC;
    --ifcu-highlight-blue-dark: #004d80;
    --ifcu-highlight-blue-bright: #008FD4;
    --ifcu-highlight-light: #f7fbff;
    --ifcu-highlight-light-alt: #f2f8fc;
    --ifcu-highlight-text: #0a1f44;
    --ifcu-highlight-text-muted: #64748b;
}

.highlights-section {
    padding: 56px 0 40px;
    background: #fff;
    overflow: hidden;
    font-family: 'Geist', sans-serif;
}

.highlights-inner {
    position: relative;
}

.highlights-viewport {
    overflow: hidden;
    border-radius: var(--ifcu-radius, 8px);
    background: linear-gradient(135deg, var(--ifcu-highlight-blue) 0%, var(--ifcu-highlight-blue-dark) 100%);
    box-shadow: none;
    position: relative;
    display: flex;
    flex-direction: column;
}

.highlights-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.highlights-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.highlights-slide-content {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.highlights-eyebrow {
    display: inline-block;
    font-family: 'Geist', sans-serif;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.highlights-section .highlights-heading,
.highlights-section h2.highlights-heading {
    font-family: 'Geist', sans-serif !important;
    font-size: clamp(28px, 3.2vw, 40px) !important;
    font-weight: 400 !important;
    letter-spacing: var(--ifcu-heading-kerning, -1.5px) !important;
    color: #fff !important;
    line-height: 1.12 !important;
    margin: 0 0 16px 0 !important;
    max-width: 20ch;
}

.highlights-description {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 28px 0;
    max-width: 44ch;
}

.highlights-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 var(--ifcu-btn-padding-x, 28px);
    min-height: var(--ifcu-btn-height, 48px);
    box-sizing: border-box;
    background: #fff;
    color: var(--ifcu-highlight-blue) !important;
    font-family: 'Geist', sans-serif;
    font-size: var(--ifcu-btn-font-size, 16px);
    font-weight: var(--ifcu-btn-font-weight, 600);
    line-height: 1.2;
    text-decoration: none;
    border-radius: 100px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.highlights-cta:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    color: var(--ifcu-highlight-blue-dark) !important;
}

.highlights-cta svg {
    width: 16px;
    height: 16px;
}

.highlights-slide-media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.highlights-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.highlights-slide-media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #004d80 0%, #0067AC 100%);
}

/* Footer controls — light blue bar with dark text */
.highlights-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px 24px;
    border-top: 1px solid #edf4fb;
    background: linear-gradient(135deg, var(--ifcu-highlight-light) 0%, var(--ifcu-highlight-light-alt) 100%);
    font-family: 'Geist', sans-serif;
}

.highlights-progress {
    flex: 1;
    min-width: 0;
}

.highlights-progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 16px;
}

.highlights-step-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.highlights-step-track {
    position: relative;
    height: 2px;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
    background: rgba(0, 103, 172, 0.16);
}

.highlights-step-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--ifcu-highlight-blue);
    border-radius: 100px;
    will-change: width;
}

.highlights-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    width: 100%;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--ifcu-highlight-text-muted);
    cursor: pointer;
    text-align: left;
    font-family: 'Geist', sans-serif;
    transition: color 0.25s ease;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.highlights-step:hover {
    color: var(--ifcu-highlight-text);
    background: transparent !important;
}

.highlights-step:focus,
.highlights-step:focus-visible,
.highlights-step:active {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}

.highlights-step.is-active {
    color: var(--ifcu-highlight-text);
    background: transparent !important;
}

.highlights-step-num {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.65;
    min-width: 1.6em;
}

.highlights-step.is-active .highlights-step-num {
    opacity: 1;
}

.highlights-step-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.highlights-step.is-active .highlights-step-label {
    font-weight: 600;
}

.highlights-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.highlights-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 103, 172, 0.28);
    background: #fff;
    color: var(--ifcu-highlight-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.highlights-arrow:hover {
    border-color: var(--ifcu-highlight-blue);
    background: #fff;
    color: var(--ifcu-highlight-blue-dark);
    transform: scale(1.05);
}

.highlights-section .highlights-arrow:focus,
.highlights-section .highlights-arrow:focus-visible,
.highlights-section .highlights-arrow:active,
.elementor-widget-ifcu_homepage_highlights .highlights-arrow:focus,
.elementor-widget-ifcu_homepage_highlights .highlights-arrow:focus-visible,
.elementor-widget-ifcu_homepage_highlights .highlights-arrow:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--ifcu-highlight-blue) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--ifcu-highlight-blue-dark) !important;
    -webkit-tap-highlight-color: transparent;
}

.highlights-section .highlights-arrow:focus-visible,
.elementor-widget-ifcu_homepage_highlights .highlights-arrow:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 103, 172, 0.2) !important;
}

@media (max-width: 992px) {
    .highlights-section {
        padding: 48px 0 32px;
    }

    .highlights-slide {
        grid-template-columns: 1fr;
    }

    .highlights-slide-content {
        padding: 36px 28px 28px;
        order: 2;
    }

    .highlights-slide-media {
        order: 1;
        min-height: 260px;
    }

    .highlights-section .highlights-heading {
        max-width: none;
        font-size: 26px !important;
    }

    .highlights-description {
        max-width: none;
        font-size: 18px;
    }

    .highlights-controls {
        padding: 18px 20px 20px;
    }
}

@media (max-width: 768px) {
    .highlights-section {
        padding: 40px 0 28px;
    }

    .highlights-slide-content {
        padding: 28px 20px 24px;
    }

    .highlights-slide-media {
        min-height: 220px;
    }

    .highlights-section .highlights-heading {
        font-size: 24px !important;
    }

    .highlights-cta {
        width: 100%;
        justify-content: center;
    }

    .highlights-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .highlights-progress-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .highlights-step-label {
        white-space: normal;
        font-size: 17px;
    }

    .highlights-arrows {
        justify-content: flex-end;
    }
}
