/* ========================================
   HEADER
======================================== */

.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;

    position: relative;
    z-index: 999;
}

.main-header .navbar {
    min-height: 82px;
    padding: 10px 0;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.logo img {
    width: auto;
    height: 58px;
    object-fit: contain;
}


/* NAVIGATION */

.main-header .navbar-nav {
    gap: 6px;
}

.main-header .nav-link {
    position: relative;

    padding: 12px 16px !important;

    font-size: 15px;
    font-weight: 500;

    color: #222222;

    text-decoration: none;

    transition: all 0.3s ease;
}

.main-header .nav-link:hover {
    color: #168b3f;
}


/* UNDERLINE */

.main-header .nav-link::after {

    content: "";

    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 4px;

    height: 2px;

    background: #168b3f;

    transform: scaleX(0);

    transition: transform 0.3s ease;
}

.main-header .nav-link:hover::after,
.main-header .nav-link.active::after {

    transform: scaleX(1);

}

.main-header .nav-link.active {

    color: #168b3f;
    font-weight: 600;

}


/* CONTACT BUTTON */

.contact-item {
    margin-left: 8px;
}

.contact-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 125px;

    padding: 12px 20px;

    background: #168b3f;

    color: #ffffff !important;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;

}

.contact-btn:hover {

    background: #106b30;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px
        rgba(22, 139, 63, 0.20);

}

.contact-btn i {
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: translate(2px, -2px);
}


/* DESKTOP CALL */

.desktop-call-box {

    align-items: center;

    gap: 10px;

    margin-left: 25px;

    padding-left: 22px;

    border-left: 1px solid #e5e5e5;

}

.call-icon {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eaf7ef;

    color: #168b3f;

    border-radius: 50%;

}

.call-content {

    display: flex;

    flex-direction: column;

    line-height: 1.3;

}

.call-content span {

    font-size: 10px;

    font-weight: 600;

    text-transform: uppercase;

    color: #777777;

}

.call-content a {

    margin-top: 3px;

    font-size: 14px;

    font-weight: 700;

    color: #222222;

    text-decoration: none;

}

.call-content a:hover {
    color: #168b3f;
}


/* MOBILE */

.mobile-call-box {

    margin-top: 12px;

    padding: 15px;

    text-align: center;

    background: #f5faf7;

    border: 1px solid #dcefe3;

    border-radius: 10px;

}

.mobile-call-box .call-label {

    display: block;

    margin-bottom: 4px;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    color: #777777;

}

.mobile-call-box a {

    font-size: 17px;

    font-weight: 700;

    color: #168b3f;

    text-decoration: none;

}


/* TABLET */

@media (max-width: 1199px) {

    .main-header .nav-link {

        padding-left: 10px !important;
        padding-right: 10px !important;

    }

}


/* MOBILE */

@media (max-width: 991px) {

    .main-header .navbar {
        min-height: 72px;
    }

    .logo img {
        height: 52px;
    }

    .main-header .navbar-collapse {

        margin-top: 15px;

        padding: 15px;

        background: #ffffff;

        border: 1px solid #eeeeee;

        border-radius: 12px;

        box-shadow:
            0 10px 30px
            rgba(0, 0, 0, 0.07);

    }

    .main-header .navbar-nav {

        width: 100%;

        gap: 2px;

    }

    .main-header .nav-item {
        width: 100%;
    }

    .main-header .nav-link {

        padding: 13px 15px !important;

        border-radius: 7px;

        text-align: left;

    }

    .main-header .nav-link:hover {

        background: #f3faf5;

    }

    .main-header .nav-link::after {
        display: none;
    }

    .main-header .nav-link.active {

        background: #f3faf5;

    }

    .contact-item {
        margin: 7px 0 0;
    }

    .contact-btn {
        width: 100%;
    }

}