html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}
.container {
    flex: 1;
}

.navbar-nav .nav-link {
    color: #58b854;
}

.btn {
    padding: 10px 20px;
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
    font-size: 1.5rem;
}

.btn-close-white {
    filter: invert(1);
}

.hidden {
    display: none !important;
}

@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;
    }
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profil-info {
    flex: 1;
    margin-right: 2rem;
}

.heading-white {
    text-align: center;
    color: #3f9132;
    font-weight: 900;
    font-style: bold;
    margin-top: 0px;
    text-shadow: 1.5px 1.5px 2.5px #3f9132;
}

.text {
    text-align: justify;
}

.logo-container {
    flex: 1;
    text-align: center;
}

.logo-container img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .profil-info {
        margin-right: 0;
        margin-top: 1.5rem;
    }

    .heading-white {
        font-size: 26px;
        margin-top: 0px;
    }

    .text {
        margin-bottom: 40px;
        margin-top: -20px;
    }

    .logo-container {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .container {
        flex-direction: column-reverse;
        align-items: center;
        padding: 0 20px;
        gap: 1rem;
    }

    .profil-info {
        margin-right: 0;
        margin-top: 1rem;
        padding: 0 30px;
    }

    .heading-white {
        font-size: 3rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .text {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .logo-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .logo-container img {
        max-width: 100%;
    }
}

.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: 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: 120px;
        right: 10px;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .whatsapp-float {
        bottom: 150px;
        right: 10px;
    }
}
