/* ==== GENERAL ==== */
body, html {
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
    max-width: 100%;
}

/* ==== NAVBAR ==== */
#topBar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #05a000;
}

#mainNavbar {
    position: sticky;
    top: 55px;
    z-index: 1020;
    transition: transform 0.3s ease;
    will-change: transform;
}
@media (max-width: 767.98px) {
    .top-bar {
        padding: 8px 12px;
    }

    .top-bar img {
        height: 40px !important;
    }

    .top-bar .fs-5 {
        font-size: 12px !important;
    }

    .top-bar .fs-4 {
        font-size: 14px !important;
    }

    .top-bar .gap-4 {
        display: none !important;
    }


}
/* ==== FOOTER ==== */
.main-footer {
    background-color: #003300;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    padding: 40px 0 0;
}

.footer-top {
    background-color: #003300;
}

.footer-top .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-box {
    background-color: #007e00;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    color: #ffffff;
    transition: background-color 0.3s ease;
}
.footer-box:hover {
    background-color: #009900;
}

.footer-box h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-box p {
    font-size: 14px;
    margin-bottom: 0;
    color: #e0e0e0;
}

.main-footer img {
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.main-footer h6 {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 15px;
}

.main-footer p {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 10px;
}

.main-footer a {
    color: #ffffff;
    text-decoration: none;
}
.main-footer a:hover {
    text-decoration: underline;
    color: #00ff66;
}

.main-footer .bi {
    font-size: 20px;
    color: #ffffff;
    transition: 0.3s;
}
.main-footer .bi:hover {
    color: #00ff66;
}

.main-footer .btn {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
    text-align: center;
    border-radius: 8px;
}

.main-footer .btn-success {
    background-color: #00b339;
    border: none;
    color: white;
}
.main-footer .btn-light {
    background-color: #7acb8d;
    color: #fff;
    border: none;
}
.main-footer .btn-warning {
    background-color: #f5a623;
    border: none;
    color: white;
}
.main-footer .btn:hover {
    opacity: 0.9;
}

.footer-bottom {
    background-color: #006600;
    color: #dddddd;
    font-size: 13px;
    padding: 10px 0;
    text-align: center;
    margin-top: 20px;
}

.main-footer ul {
    list-style: none;
    padding-left: 0;
}
.main-footer li {
    margin-bottom: 6px;
}

.footer-top .row > div {
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
    .main-footer {
        text-align: center;
    }

    .footer-top .row > div {
        margin-bottom: 20px;
    }

    .main-footer .d-flex {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .main-footer .btn {
        margin-bottom: 8px;
        width: 100%;
    }

    .main-footer img {
        max-width: 140px;
        margin: 0 auto;
    }

    .footer-box {
        text-align: center;
    }

    .footer-bottom {
        font-size: 12px;
    }
}



/* ==== SCROLL-TOP ==== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #009900;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 12px 16px;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    transition: opacity 0.3s ease-in-out;
}
.scroll-top-btn:hover {
    background-color: #00cc44;
}
