/* Responsive slider height */
@media (max-width: 768px) {
    .owl-carousel .owl-item>div>div {
        height: 500px !important;
    }

    .owl-carousel h1 {
        font-size: 2.5rem !important;
    }

    .owl-carousel h3 {
        font-size: 1.2rem !important;
    }

    .owl-carousel p {
        font-size: 1rem !important;
    }
}
/* === MOBILE BOTTOM NAV (MODERN) === */
.mobile-bottom-nav {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    height: 68px;

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08),
        inset 0 1px 0 rgba(255, 255, 255, .5);

    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
}

.mobile-bottom-nav .nav-item.selected {
    color: #FF0000;
}

.mobile-bottom-nav .nav-item.selected i {
    color: #FF0000;
}

/* item */
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;

    font-size: 11px;
    color: #666;
    text-decoration: none;

    transition: all .25s ease;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
}

/* active */
.mobile-bottom-nav .nav-item.active {
    color: #111;
    font-weight: 600;
}

/* hover / tap */
.mobile-bottom-nav .nav-item:active {
    transform: scale(.92);
}

/* === WHATSAPP CENTER FAB === */
.nav-wa {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #006400);
    border-radius: 50%;
    border: none;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    margin-top: -42px;

    box-shadow:
        0 12px 28px rgba(37, 211, 102, .45),
        inset 0 -2px 0 rgba(0, 0, 0, .15);

    transition: all .25s ease;
}

.nav-wa:active {
    transform: scale(.9);
}

/* === WHATSAPP PANEL (MODERN) === */
.wa-panel {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 350px;
    background: #fff;
    border-radius: 18px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 1050;
}

.wa-panel.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.wa-header {
    background: linear-gradient(135deg, #25D366, #1EBE5D);
    color: #fff;
    padding: 14px 16px;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.wa-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
}

/* list */
.wa-list {
    list-style: none;
    padding: 12px;
    margin: 0;
}

/* === List WhatsApp Modern (Mobile & Desktop Separate) === */

/* Mobile list */
#waListMobile li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

#waListMobile li:last-child {
    border-bottom: none;
}

#waListMobile li .wa-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

#waListMobile li .wa-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

#waListMobile li .wa-info div {
    display: flex;
    flex-direction: column;
}

#waListMobile li .wa-info div strong {
    font-size: 14px;
    line-height: 1.2;
}

#waListMobile li .wa-info div small {
    font-size: 12px;
    color: #555;
}

/* Tombol chat */
#waListMobile li .wa-chat-btn {
    background: #25D366;
    border: none;
    color: #fff;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

#waListMobile li .wa-chat-btn:hover {
    background: #1ebe5d;
}

/* === Desktop list separate === */
@media (min-width:992px) {
    #waListDesktop li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        border-bottom: 1px solid #f0f0f0;
    }

    #waListDesktop li:last-child {
        border-bottom: none;
    }

    #waListDesktop li .wa-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    #waListDesktop li .wa-info img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

    #waListDesktop li .wa-info div {
        display: flex;
        flex-direction: column;
    }

    #waListDesktop li .wa-info div strong {
        font-size: 14px;
        line-height: 1.2;
    }

    #waListDesktop li .wa-info div small {
        font-size: 12px;
        color: #555;
    }

    #waListDesktop li .wa-chat-btn {
        background: #25D366;
        border: none;
        color: #fff;
        padding: 6px 16px;
        border-radius: 12px;
        font-size: 12px;
        cursor: pointer;
        white-space: nowrap;
    }

    #waListDesktop li .wa-chat-btn:hover {
        background: #1ebe5d;
    }

    /* hide mobile list on desktop */
    #waListMobile {
        display: none;
    }
}

@media (max-width:991px) {
    #waListDesktop {
        display: none;
    }
}

/* === DESKTOP WHATSAPP FLOAT === */
@media (min-width: 992px) {

    .wa-desktop {
        position: fixed;
        right: 26px;
        bottom: 26px;
        z-index: 1050;
    }

    .wa-desktop-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: none;

        background: linear-gradient(135deg, #25D366, #1EBE5D);
        color: #fff;
        font-size: 28px;

        display: flex;
        align-items: center;
        justify-content: center;

        box-shadow:
            0 14px 35px rgba(37, 211, 102, .45),
            inset 0 -2px 0 rgba(0, 0, 0, .15);

        cursor: pointer;
        transition: all .25s ease;
    }

    .wa-desktop-btn:hover {
        transform: translateY(-4px);
        box-shadow:
            0 18px 40px rgba(37, 211, 102, .55);
    }

    /* panel */
    .wa-desktop-panel {
        position: absolute;
        right: 0;
        bottom: 78px;
        width: 320px;

        background: #fff;
        border-radius: 18px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, .18);

        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;

        transition: all .3s cubic-bezier(.4, 0, .2, 1);
    }

    .wa-desktop-panel.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.wa-mobile-panel {
    visibility: hidden;
    transform: translateY(120%);
    transition: transform .35s ease;
}

.wa-mobile-panel.show {
    visibility: visible;
    transform: translateY(0);
}


@media (max-width: 991px) {
    body {
        overflow-x: hidden;
    }

    .wa-desktop {
        display: none !important;
    }
}

@media (min-width: 992px) {

    .wa-mobile,
    .mobile-bottom-nav {
        display: none !important;
    }
}