/* ==========================================================================
   Elementor Custom Icon & Text Slider CSS
   ========================================================================== */

.custom-icon-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    box-sizing: border-box;
}

.custom-icon-slider-track {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out, visibility 0.6s;
    transform: scale(0.96);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-slider-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.slider-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 15px;
}

/* SVG Icon Container */
.slider-svg-wrapper {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.slider-svg-wrapper svg {
    width: 84px;
    height: 84px;
    display: block;
    color: var(--slide-icon-color, inherit);
    fill: currentColor;
}

/* Text Block */
.slider-text-block {
    line-height: 1.6;
    word-break: break-word;
}

.highlight-text {
    color: var(--slide-highlight-color, inherit);
    font-weight: 600;
    margin-right: 6px;
    display: inline;
}

.body-text {
    color: var(--slide-body-color, inherit);
    font-weight: 300;
    display: inline;
}

/* Navigation Outlined Triangle Arrows */
.custom-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
    color: #FFFFFF;
}

.custom-slider-arrow svg {
    width: 42px;
    height: 42px;
    display: block;
}

.custom-slider-arrow:hover {
    color: #E05A2B;
    transform: translateY(-50%) scale(1.12);
}

.custom-slider-arrow-prev {
    left: 48px;
}

.custom-slider-arrow-next {
    right: 48px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .custom-icon-slider-container {
        padding: 40px 15px;
        min-height: 320px;
    }
    .custom-slider-arrow-prev {
        left: 10px;
    }
    .custom-slider-arrow-next {
        right: 10px;
    }
    .custom-slider-arrow svg {
        width: 32px;
        height: 32px;
    }
}
