/* ============================================================
   RESET BASIC
=============================================================== */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* ============================================================
   FLOATING WHATSAPP
=============================================================== */
.wa-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 9999;
}

.wa-float {
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transition: transform 0.3s ease;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float img {
    width: 30px;
    height: 30px;
}

.wa-text {
    background: #25d366;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: .35s ease;
    pointer-events: none;
}

.wa-wrapper.show-text .wa-text {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   HEADER & NAVBAR (DESKTOP)
=============================================================== */
header {
    width: 100%;
    height: 80px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(4, 89, 180, 0.85);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* NAVIGATION */
nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

nav a,
.dropbtn {
    background: transparent;
    border: none;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s ease;
    white-space: nowrap;
}

nav a:hover,
.dropbtn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ACTIVE MENU */
nav a.active {
    background: #ffc107;
    color: #000 !important;
    font-weight: 600;
}

/* ============================================================
   HAMBURGER BUTTON (HIDDEN DESKTOP)
=============================================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle div {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* ============================================================
   DROPDOWN
=============================================================== */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: #0459b4;
    border-radius: 8px;
    flex-direction: column;
    padding: 8px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: #ffffff !important;
    font-size: 14px;
    padding: 8px 15px;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.15);
}

.dropdown-content.active {
    display: flex;
}

/* ============================================================
   MOBILE RESPONSIVE (MAX 768px)
=============================================================== */
@media (max-width: 768px) {

    header {
        height: 65px;
        padding: 0 20px;
    }

    header img {
        height: 55px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Sidebar Navigation */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 20px;
        gap: 20px;
        transition: 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: none;
    }

    nav.mobile-panel {
        right: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    }

    nav a,
    .dropdown,
    .dropbtn {
        width: 100%;
        text-align: left;
        font-size: 16px;
        color: #333;
    }

    nav a.active {
        background: #0459b4;
        color: #ffffff !important;
    }

    .dropdown-content {
        position: static;
        background: #f5f5f5;
        box-shadow: none;
        width: 100%;
    }

    .dropdown-content a {
        color: #333 !important;
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active .bar2 {
        opacity: 0;
    }

    .menu-toggle.active .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Overlay */
    #overlay.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
}
