.kayra-slider-456 {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    padding: 60px 40px;
    font-family: inherit;
    border-radius: 12px;
}
.kayra-main-title {
    position: relative;
    z-index: 2;
    text-align: left;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #fff;
}
.kayra-slider-bgs {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.kayra-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.kayra-bg.active {
    opacity: 1;
}
.kayra-slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.kayra-slider-layout {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    gap: 40px;
}
.kayra-slider-content-area {
    flex: 1;
    max-width: 50%;
}
.kayra-slider-texts {
    position: relative;
    height: 300px; /* Fixed height to prevent layout shift */
}
.kayra-text-item {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 100%;
}
.kayra-text-item.active {
    opacity: 1;
    visibility: visible;
}
.kayra-text-item h3 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
}
.kayra-text-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f1f1f1;
}
.kayra-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.kayra-btn:hover {
    background: #fff;
    color: #000;
}
.kayra-slider-nav-area {
    flex: 0 0 auto;
}
.kayra-slider-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.kayra-nav-item {
    cursor: pointer;
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 140px;
}
.kayra-nav-item:hover {
    opacity: 0.9;
}
.kayra-nav-item.active {
    opacity: 1;
    transform: scale(1.02);
}
.kayra-nav-thumb {
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.kayra-nav-item.active .kayra-nav-thumb {
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.kayra-nav-item span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

@media (max-width: 992px) {
    .kayra-slider-456 {
        padding: 40px 20px;
        min-height: 90vh;
    }
    .kayra-slider-layout {
        flex-direction: column;
        justify-content: flex-end;
    }
    .kayra-slider-content-area {
        max-width: 100%;
        width: 100%;
        margin-bottom: 40px;
    }
    .kayra-slider-texts {
        height: auto;
        min-height: 250px;
    }
    .kayra-text-item {
        position: relative;
        top: 0;
        transform: none;
    }
    .kayra-text-item h3 {
        font-size: 2.2rem;
    }
    .kayra-slider-nav {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    .kayra-nav-item {
        width: 100px;
    }
    .kayra-nav-thumb {
        aspect-ratio: 1/1;
    }
}
