/* Key Folders Banner Widget Styles */

.kf-banner-container {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    height: 500px;
}

.kf-banner-left {
    flex: 1;
    padding: 60px 50px;
    background-color: #F3E8FF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.kf-banner-right {
    flex: 1;
    position: relative;
    background-color: #ffffff;
    min-width: 0;
    overflow: hidden;
}

/* Small heading */
.kf-small-heading {
    font-size: 14px;
    font-weight: 600;
    color: #6B46C1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Main heading */
.kf-main-heading {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    line-height: 1.1;
}

.kf-main-heading-first,
.kf-main-heading-last {
    color: #1a1a1a;
}

.kf-main-heading-colored {
    color: #6B46C1;
}

/* Description */
.kf-description {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 90%;
}

/* Button */
.kf-button {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #6B46C1;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.kf-button:hover {
    color: #553c9a;
    transform: translateX(5px);
}

/* Image Slider */
.kf-image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.kf-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.kf-slide.active {
    opacity: 1;
    position: relative;
}

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

/* Slider Controls */
.kf-slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.kf-slider-prev,
.kf-slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kf-slider-prev:hover,
.kf-slider-next:hover {
    background-color: #ffffff;
    transform: scale(1.1);
}

.kf-slider-prev:active,
.kf-slider-next:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kf-banner-container {
        flex-direction: column;
        height: auto;
    }
    
    .kf-banner-left {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .kf-banner-right {
        min-height: 400px;
    }
    
    .kf-main-heading {
        font-size: 36px;
    }
    
    .kf-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .kf-banner-left {
        padding: 30px 20px;
    }
    
    .kf-main-heading {
        font-size: 28px;
    }
    
    .kf-small-heading {
        font-size: 12px;
    }
    
    .kf-description {
        font-size: 14px;
    }
    
    .kf-button {
        font-size: 14px;
    }
    
    .kf-banner-right {
        min-height: 300px;
    }
    
    .kf-slider-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .kf-slider-prev,
    .kf-slider-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .kf-banner-left {
        padding: 25px 15px;
    }
    
    .kf-main-heading {
        font-size: 24px;
    }
    
    .kf-small-heading {
        font-size: 11px;
    }
    
    .kf-description {
        font-size: 13px;
    }
    
    .kf-button {
        font-size: 13px;
    }
    
    .kf-banner-right {
        min-height: 250px;
    }
}
