.kbw-hero-slider {
    position: relative;
    width: 100%;
    height: 104vh;
    min-height: 750px;
}

@media (max-width: 1024px) {
    .kbw-hero-slider {
        height: 116vh;
    }
}


.kbw-hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.kbw-hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.kbw-hero-bg video,
.kbw-hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kbw-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.4;
    pointer-events: none;
}

.kbw-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.kbw-hero-content h1 {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    margin-top: 15px;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.kbw-hero-content p {
    font-size: 18px;
    margin-top: 22px;
    margin-bottom: 0px;
}

.kbw-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.kbw-hero-buttons a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 222px;
}


@media screen and (max-width: 768px) {}

.kbw-hero-buttons .btn-primary {
    background: #e5a600;
    color: #fff;
    border: 1px solid #e5a600;
}

.kbw-hero-buttons .btn-primary:hover {
    background: #c79000;
    border-color: #c79000;
}

.kbw-hero-buttons .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

.kbw-hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Pagination - Bottom Right */
.kbw-hero-pagination {
    position: absolute;
    bottom: 71px;
    right: 92px;
    left: auto;
    transform: none;
    display: flex;
    color: #fff;
    z-index: 10;
}

.kbw-pagination-item {
    cursor: pointer;
    opacity: 0.6;
    font-size: 13px;
    /* font-weight: 500; */
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 38px 0 0;
    transition: opacity 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.kbw-pagination-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.kbw-pagination-item.active {
    opacity: 1;
    color: #fff;
}

.kbw-pagination-item.active::after {
    height: 2px;
    background: #fff;
}

/* Counter - Bottom Left */
.kbw-slide-counter {
    position: absolute;
    bottom: 67px;
    left: 94px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    z-index: 10;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .kbw-hero-content {
        padding: 0 20px;
        width: 100%;
    }

    .kbw-hero-content h1 {
        font-size: 48px;
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: left;
    }

    .kbw-hero-content p {
        font-size: 16px;
        text-align: left;
    }

    .kbw-hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .kbw-hero-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Pagination - Bottom Center on Mobile */
    .kbw-hero-pagination {
        bottom: 30px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        gap: 12px;
        justify-content: center;
        align-items: end;
    }

    .kbw-pagination-item {
        font-size: 0;
        /* Hide text by default */
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: transparent;
        padding: 0;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    /* Inner dot */
    .kbw-pagination-item::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.6);
        transition: all 0.3s ease;
    }

    .kbw-pagination-item::after {
        display: none;
        /* Hide underline on mobile */
    }

    .kbw-pagination-item.active {
        font-size: 13px;
        /* Show text for active */
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        border: none;
        padding-bottom: 8px;
        position: relative;
        overflow: visible;
    }

    .kbw-pagination-item.active::before {
        display: none;
        /* Hide inner dot for active */
    }

    .kbw-pagination-item.active::after {
        display: block;
        /* Show underline for active */
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #fff;
        animation: progressLine 5s linear forwards;
    }

    /* Hide Counter on Mobile */
    .kbw-slide-counter {
        display: none;
    }
}

/* Progress animation for active pagination */
@keyframes progressLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}