.kizito-slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.kizito-slide {
    display: none;
    position: relative;
    height: 350px;
}

.kizito-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.kizito-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-weight: normal;
    font-size: 34px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    border-radius: 5px;
    max-width: 90%;
    z-index: 2;
}

.kizito-hero-text .title {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 8px;
}

.kizito-read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #ffffff;
    color: #000000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.kizito-read-more:hover {
    background: #f0f0f0;
}

.kizito-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0 12px;
    cursor: pointer;
    z-index: 20;
    user-select: none;
}

.kizito-nav.prev {
    left: 10px;
}

.kizito-nav.next {
    right: 10px;
}

.kizito-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 11;
}

.kizito-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.kizito-dot.active {
    background-color: #717171;
}

@keyframes fade {
    from {opacity: 0.4} 
    to {opacity: 1}
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .kizito-hero-text {
        font-size: 20px;
        padding: 10px 15px;
    }

    .kizito-hero-text .title {
        font-size: 22px;
    }

    .kizito-read-more {
        font-size: 14px;
        padding: 6px 12px;
    }

    .kizito-nav {
        font-size: 2rem;
        padding: 0 8px;
    }
}

@media screen and (max-width: 480px) {
    .kizito-hero-text {
        font-size: 16px;
        padding: 8px 10px;
    }

    .kizito-hero-text .title {
        font-size: 18px;
    }

    .kizito-read-more {
        font-size: 13px;
    }
}