/* =========================
   GLOBAL
========================= */

body {

    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;

}

a {

    text-decoration: none;

}



/* =========================
   ROOT COLORS
========================= */

:root {

    --green: #0b7a33;
    --dark-green: #045221;
    --orange: #ff8c00;
    --white: #ffffff;
    --gray: #666666;

}



/* =========================
   TOP HEADER
========================= */

.top-header {

    background: var(--dark-green);
    color: white;

}

.top-header small {

    font-size: 14px;
    font-weight: 500;

}

.top-social {

    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-left: 8px;
    transition: 0.3s;

}

.top-social:hover {

    background: var(--orange);
    color: white;

}



/* =========================
   NAVBAR
========================= */

.navbar {

    padding: 12px 0;
    background: white;

}

.navbar-brand {

    display: flex;
    align-items: center;

}



/* =========================
   LOGO
========================= */

.main-logo {

    height: 100px;
    width: auto;
    object-fit: contain;

}



/* =========================
   BRAND TEXT
========================= */

.brand-text h2 {

    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--green);
    line-height: 1.1;

}

.brand-text p {

    margin: 0;
    font-size: 13px;
    color: var(--gray);

}



/* =========================
   NAV MENU
========================= */

.navbar-nav {

    align-items: center;

}

.navbar-nav .nav-item {

    white-space: nowrap;

}

.navbar-nav .nav-link {

    color: #222;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 10px;
    transition: 0.3s;
    position: relative;

}

.navbar-nav .nav-link:hover{

    color: var(--green);

}



/* NAV HOVER LINE */

.navbar-nav .nav-link::after {

    content: '';
    position: absolute;
    left: 49px;
    bottom: 19px;
    width: 0%;
    height: 2px;
    transition: 0.3s;
    margin-right: 10px;

}

/* .navbar-nav .nav-link:hover::after {

    width: 70%;

} */



/* =========================
   DROPDOWN
========================= */

.dropdown-menu {

    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    min-width: 230px;
    padding: 10px 0;

}

.dropdown-item {

    padding: 12px 20px;
    font-size: 14px;
    transition: 0.3s;

}

.dropdown-item:hover {

    background: #f2fff5;
    color: var(--green);

}



/* =========================
   BUTTONS
========================= */

.btn-success {

    background: var(--green);
    border: none;
    border-radius: 8px;
    padding: 10px 18px;

}

.btn-success:hover {

    background: var(--dark-green);

}

.register-btn {

    background: var(--orange);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;

}

.register-btn:hover {

    background: var(--green);
    color: white;

}



/* =========================
   WHATSAPP
========================= */

.whatsapp-float {

    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;

}
/* =========================
   NAV ACTIVE + HOVER STYLE
========================= */

.navbar-nav .nav-link {
    position: relative;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* =========================
   NAV LINKS
========================= */

.navbar-nav .nav-link {

    position: relative;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;

}



/* =========================
   HOVER EFFECT
========================= */

.navbar-nav .nav-link:hover {

    color: var(--green) !important;
    background: rgba(11, 122, 51, 0.08);
    transform: translateY(-2px);

}



/* =========================
   ACTIVE MENU STYLE
========================= */

.navbar-nav .nav-link.active {

    color: var(--green) !important;
    font-weight: 700;
    background: transparent;

}



/* =========================
   ACTIVE UNDERLINE
========================= */

.navbar-nav .nav-link.active::after {

    content: '';
    position: absolute;
    left: 15%;
    bottom: 0;
    width: 70%;
    height: 3px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--orange), #ffb347);

}



/* =========================
   HOVER UNDERLINE
========================= */

.navbar-nav .nav-link:hover::after {

    content: '';
    position: absolute;
    left: 20%;
    bottom: 0;
    width: 60%;
    height: 2px;
    border-radius: 30px;
    background: var(--green);
    transition: 0.3s;

}
/* =========================
   DROPDOWN ITEMS
========================= */

.dropdown-item {

    position: relative;
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;

}



/* HOVER */

.dropdown-item:hover {

    background: rgba(11, 122, 51, 0.08);
    color: var(--green);
    padding-left: 25px;

}



/* ACTIVE DROPDOWN */

.dropdown-item.active-dropdown {

    background: linear-gradient(90deg, rgba(11,122,51,0.1), rgba(11,122,51,0.03));
    color: var(--green);
    font-weight: 600;

}



/* LEFT BORDER EFFECT */

.dropdown-item.active-dropdown::before {

    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    border-radius: 20px;
    background: linear-gradient(to bottom, var(--orange), var(--green));

}


/* =========================
   RESPONSIVE
========================= */

/* Laptop */

@media (max-width: 1199px) {

    .main-logo {

        height: 65px;

    }

    .brand-text h2 {

        font-size: 24px;

    }

}



/* Tablet */

@media (max-width: 991px) {

    .navbar-collapse {

        background: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    }

    .navbar-nav {

        align-items: flex-start !important;

    }

    .navbar-nav .nav-item {

        width: 100%;

    }

    .navbar-nav .nav-link {

        padding: 12px 0;
        font-size: 15px;

    }

    .dropdown {

        width: 100%;

    }

    .dropdown .btn {

        width: 100%;
        margin-top: 10px;

    }

    .register-btn {

        width: 100%;
        margin-top: 15px;
        text-align: center;

    }

}



/* Mobile */

@media (max-width: 767px) {

    .top-header {

        text-align: center;

    }

    .top-social {

        margin-top: 10px;

    }

    .main-logo {

        height: 55px;

    }

    .brand-text h2 {

        font-size: 20px;

    }

    .brand-text p {

        font-size: 11px;

    }

}



/* Small Mobile */

@media (max-width: 575px) {

    .main-logo {

        height: 48px;

    }

    .brand-text h2 {

        font-size: 18px;

    }

    .brand-text p {

        display: none;

    }

    .whatsapp-float {

        width: 50px;
        height: 50px;
        font-size: 22px;

    }

}
