:root {

    --primary-green: #01BD1D;
    --primary-green-dark: #019917;

    --white: #ffffff;
    --black: #222222;

    --light-bg: #f7f7f7;
    --border-color: #e5e5e5;

}

/* ===================================
   HEADER WRAPPER
=================================== */

.site-header {
    width: 100%;
    position: relative;
    z-index: 9999;
}

body .site-header .container {

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding-left: 30px;
    padding-right: 30px;

    box-sizing: border-box;

}

/* ===================================
   TOP BAR
=================================== */

.header-topbar {

    background: var(--primary-green);
    color: var(--white);

    font-size: 16px;
    font-weight: 500;

}

.header-topbar .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 46px;
   color: var(--white);

}

.topbar-left {

    display: flex;
    align-items: center;
    gap: 25px;

}

.topbar-contact {

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--white);
    text-decoration: none;

    transition: opacity .3s ease;

}

.topbar-contact:hover {
    opacity: .85;
}

/* Facebook icons */
.topbar-right {

    display: flex;
    align-items: center;

}

.header-topbar .topbar-right a {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.25);

    color: #fff;

    transition: all .3s ease;

}

.topbar-right a:hover {

    background: rgba(255,255,255,.15);
    transform: translateY(-2px);

}

/* ===================================
   MAIN HEADER
=================================== */

.header-main {

    background: #fff;

    border-bottom: 1px solid var(--border-color);

}

.header-main .container {

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 90px;

}

/* LOGO */

.site-logo {

    flex-shrink: 0;

}

.site-logo img {

    display: block;
    max-height: 80px;
    width: auto;

}

/* ===================================
   NAVIGATION
=================================== */

.main-navigation {

    display: flex;
    align-items: center;

    gap: 35px;

}

.main-menu {

    display: flex;
    align-items: center;

    gap: 30px;

    list-style: none;

    margin: 0;
    padding: 0;

}

.main-menu > li {

    position: relative;

}

/* LINKS */

.main-menu > li > a {

    display: block;

    padding: 35px 0;

    text-decoration: none;

    color: var(--black);

    font-size: 16px;
    font-weight: 600;

    transition: color .3s ease;

    position: relative;

}

.main-menu > li > a:hover {
    color: var(--primary-green);
}

/* ===================================
   DROPDOWN ARROWS
=================================== */

.main-menu > li.menu-item-has-children > a {

    padding-right: 18px;

}

.main-menu > li.menu-item-has-children > a::after {

    content: "▾";

    position: absolute;
    right: 0;
    top: 50%;

    transform: translateY(-50%);

    font-size: 12px;

    color: var(--black);

    transition: all .3s ease;

}

.main-menu > li:hover > a::after {

    color: var(--primary-green);
    transform: translateY(-50%) rotate(180deg);

}

/* ===================================
   DROPDOWN MENU (SCROLLABLE + GREEN TINT)
=================================== */

.main-menu .sub-menu {

    position: absolute;

    top: 100%;
    left: 0;

    min-width: 260px;
    max-width: 340px;

    max-height: 350px;
    overflow-y: auto;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f4fff5 100%
    );

    border: 1px solid rgba(1,189,29,.15);

    border-radius: 10px;

    padding: 8px 0;
    margin: 0;

    list-style: none;

    box-shadow: 0 15px 40px rgba(0,0,0,.10);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all .25s ease;

    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) #f0f0f0;

}

/* OPEN STATE */

.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

}

/* SUB MENU ITEMS */

.main-menu .sub-menu li a {

    display: block;

    padding: 12px 18px;

    text-decoration: none;

    color: var(--black);

    font-size: 16px;

    border-left: 3px solid transparent;

    transition: all .2s ease;

}

/* HOVER */

.main-menu .sub-menu li a:hover {

    background: rgba(1,189,29,.08);

    color: var(--primary-green);

    border-left: 3px solid var(--primary-green);

    padding-left: 22px;

}

/* ===================================
   CTA BUTTON
=================================== */

.header-cta {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 30px;

    background: var(--primary-green);

    color: #fff;

    text-decoration: none;

    font-weight: 700;

    border-radius: 50px;

    box-shadow: 0 8px 20px rgba(1,189,29,.25);

    transition: all .3s ease;

}

.header-cta:hover {

    background: var(--primary-green-dark);
    transform: translateY(-2px);

}

/* ===================================
   MOBILE MENU TOGGLE
=================================== */

.menu-toggle {

    display: none;

    flex-direction: column;

    gap: 5px;

    border: 0;
    background: transparent;

    cursor: pointer;

    padding: 0;

}

.menu-toggle span {

    width: 28px;
    height: 3px;

    background: var(--black);

    border-radius: 2px;

}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 991px) {

    .site-header .container {

        padding-left: 20px;
        padding-right: 20px;

    }

    .header-topbar {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {

        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: #fff;

        padding: 25px;

        border-top: 1px solid var(--border-color);

        flex-direction: column;

        align-items: flex-start;

    }

    .main-navigation.active {
        display: flex;
    }

    .main-menu {

        width: 100%;

        flex-direction: column;

        gap: 0;

    }

    .main-menu li {
        width: 100%;
    }

    .main-menu li a {
        display: block;
        padding: 14px 0;
    }

    /* MOBILE DROPDOWN */

    .main-menu .sub-menu {

        position: static;

        max-height: 250px;
        overflow-y: auto;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;

        box-shadow: none;

        padding-left: 20px;

        background: #f9fff9;

        border-left: 3px solid var(--primary-green);

    }

    .main-menu li.menu-open > .sub-menu {
        display: block;
    }

    .header-cta {

        width: 100%;
        margin-top: 20px;

    }

}

/* ===================================
   MOBILE SMALL
=================================== */

@media (max-width: 767px) {

    .header-main .container {
        min-height: 80px;
    }

    .site-logo img {
        max-height: 65px;
    }

}