html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-image: url("../img/bg_kontak.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    flex: 1;
}

/* navbar */
.navbar-nav .nav-link {
    color: #58b854;
}

.btn {
    padding: 10px 20px;
}

.hidden {
    display: none !important;
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
    font-size: 1.5rem;
}

.btn-close-white {
    filter: invert(1);
}

.logo-container {
    margin-left: 0;
    margin-bottom: 50px;
    max-width: 70%;
    width: 50%;
}

.heading-white {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-left: 80px;
}

.text {
    color: white;
    font-size: 22px;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #58b854;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 90px;
}

.btn-whatsapp i {
    margin-right: 8px;
}

.btn-whatsapp:hover {
    background-color: #20b858;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover .btn-whatsapp {
    background-color: #20b858;
}

.btn-whatsapp:active {
    transform: translateY(5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        background-color: #525252dc;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        z-index: 9999;
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 10px;
        color: white;
    }

    .navbar-nav .btn {
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 5px;
        width: 70px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px auto;
    }

    .navbar-collapse .quotes {
        display: block;
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        margin-left: 0;
        margin-bottom: 50px;
        max-width: 100%;
        width: 80%;
    }

    .heading-white {
        font-size: 30px;
        text-align: center;
        margin: 0 auto;
    }

    .text {
        font-size: 18px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .contact-info {
        margin-top: 20px;
        text-align: center;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 2rem;
    }

    .logo-container {
        margin-left: 0;
        margin-bottom: 10px;
        margin-top: 90px;
        max-width: 70%;
    }

    .heading-white {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .text {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .contact-info {
        margin-top: 30px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 150px;
        right: 10px;
    }
}

@media (max-width: 600px) {
    .btn-whatsapp {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        padding: 0;
        font-size: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .btn-whatsapp i {
        font-size: 28px;
        margin-right: 0;
    }

    .whatsapp-float {
        bottom: 100px;
        right: 10px;
    }
}
