/* ==========================================================================
   Kidan Image Slider Widget - Centered Structure
   ========================================================================== */

.kidan-image-slider-widget {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Background Slides */
.kidan-slider-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.kidan-slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.kidan-slider-background.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.kidan-slider-background img {
    width: 100%;
    height: 100%;
}

.kidan-slider-overlay {
display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.kidan-slider-play-btn{
background: none !important;
box-shadow: none !important;
}
.elementor-kit-10 button{
padding: 0px 0px 5px 5px !important; 
}
/* Centered Content Wrapper */
.kidan-slider-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 40px 30px;
    text-align: left;
}

/* Top Content */
.kidan-slider-top-content {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.kidan-slider-text-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.kidan-slider-text-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
	text-align: left !important;
}

.kidan-slider-heading {
    font-family: 'Gantari', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    padding: 0;
}

.kidan-slider-top-desc {
    font-family: 'Gantari', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0;
}

/* Play Button */
.kidan-slider-play-btn {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    position: relative;
    flex-shrink: 0;
    margin-bottom: 40px;
}

.kidan-slider-play-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: kidan-slider-pulse 2s infinite;
}

@keyframes kidan-slider-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.kidan-slider-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

.kidan-slider-play-btn.paused::before {
    animation: none;
}

.kidan-slider-play-btn svg,
.kidan-slider-play-btn img {
    position: relative;
    z-index: 1;
}

/* Indicators */
.kidan-slider-indicators {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 30px;
}

.kidan-slider-indicator {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.kidan-slider-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    transition: width 0.3s ease;
}

.kidan-slider-indicator.active {
    width: 22px;
    background: rgba(255, 255, 255, 1);
}

.kidan-slider-indicator.active.animating::before {
    animation: kidan-slider-progress var(--autoplay-speed, 2000ms) linear forwards;
}

@keyframes kidan-slider-progress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.kidan-slider-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Bottom Content */
.kidan-slider-bottom-content {
    text-align: left;
    position: relative;
    width: 100%;
}

.kidan-slider-bottom-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.kidan-slider-bottom-text.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Bottom Icon */
.kidan-slider-bottom-icon {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.kidan-slider-bottom-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.kidan-slider-bottom-desc {
    font-family: 'Gantari', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .kidan-slider-content-wrapper {
        padding: 30px 20px;
    }

    .kidan-slider-heading {
        font-size: 24px;
    }

    .kidan-slider-top-desc {
        font-size: 13px;
    }

    .kidan-slider-bottom-desc {
        font-size: 14px;
    }

    .kidan-slider-top-content {
        margin-bottom: 30px;
    }

    .kidan-slider-play-btn {
        margin-bottom: 30px;
    }

    .kidan-slider-indicators {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 576px) {
    .kidan-slider-content-wrapper {
        padding: 24px 16px;
    }

    .kidan-slider-heading {
        font-size: 20px;
    }

    .kidan-slider-top-desc {
        font-size: 12px;
    }

    .kidan-slider-bottom-desc {
        font-size: 13px;
    }

    .kidan-slider-top-content {
        margin-bottom: 24px;
    }

    .kidan-slider-play-btn {
        margin-bottom: 24px;
    }

    .kidan-slider-indicators {
        margin-bottom: 20px;
    }
}