:root {
    --primary: #009688;
    --secondary: #00bfa5;
    --light: #f7faff;
    --dark: #1d1d27;
}

body {
    font-family: $font-family_1;
}
.bg-primary {
    background-color: $background-color_1 !important;
}
.text-primary {
    color: $color_1 !important;
}
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
h1 {
    font-family: $font-family_1;
    font-weight: 700 !important;
}
h2 {
    font-family: $font-family_1;
    font-weight: 700 !important;
}
h3 {
    font-family: $font-family_1;
    font-weight: 700 !important;
}
.fw-bold {
    font-family: $font-family_1;
    font-weight: 700 !important;
}
h4 {
    font-family: $font-family_1;
    font-weight: 500 !important;
}
h5 {
    font-family: $font-family_1;
    font-weight: 500 !important;
}
h6 {
    font-family: $font-family_1;
    font-weight: 500 !important;
}
.navbar-light {
    .navbar-nav {
        .nav-link {
            position: relative;
            margin-left: 25px;
            padding: 35px 0;
            color: $color_2 !important;
            outline: none;
            transition: 0.5s;
            &:hover {
                color: $color_4 !important;
            }
        }
        .nav-link.active {
            color: $color_4 !important;
        }
    }
    .navbar-brand {
        h1 {
            color: $color_5;
        }
        img {
            max-height: 60px;
            transition: 0.5s;
        }
    }
}
.sticky-top.navbar-light {
    .navbar-nav {
        .nav-link {
            padding: 20px 0;
            color: $color_3 !important;
        }
    }
    .navbar-brand {
        img {
            max-height: 45px;
        }
    }
}
/*** Section Title ***/
.section-title {
    &::before {
        position: absolute;
        content: "";
        width: 45px;
        height: 4px;
        bottom: 0;
        left: 0;
        background: var(--dark);
    }
    &::after {
        position: absolute;
        content: "";
        width: 4px;
        height: 4px;
        bottom: 0;
        left: 50px;
        background: var(--dark);
    }
    h6 {
        &::before {
            position: absolute;
            content: "";
            width: 10px;
            height: 10px;
            top: 2px;
            left: 0;
            background: rgba(21, 116, 84, 0.5);
        }
        &::after {
            position: absolute;
            content: "";
            width: 10px;
            height: 10px;
            top: 2px;
            left: 0;
            background: rgba(21, 116, 84, 0.5);
            top: 5px;
            left: 3px;
        }
    }
}
.section-title.text-center {
    &::before {
        left: 50%;
        margin-left: -25px;
    }
    &::after {
        left: 50%;
        margin-left: 25px;
    }
}

.service-item {
    position: relative;
    padding: 30px 25px;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
    cursor: pointer;
    &:hover {
        background-color: $color_7;
        .service-icon {
            i.icon-default {
                opacity: 0;
            }
            i.icon-hover {
                opacity: 1;
                transform: scale(1.5);
            }
        }
        .service-icon,
        h5,
        p {
            color: $color_5 !important;
        }
        h5 {
            font-weight: 600 !important;
        }
    }
    > a {
        text-decoration: none;
        color: $color_7;
    }
    .service-icon {
        margin: 0 auto;
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        i {
            position: absolute;
            display: block;
        }
        i.icon-default {
            transition: opacity 0.05s;
        }
        i.icon-hover {
            transition: opacity 0.05s, transform 0.1s ease-out;
            transform: scale(0.5);
            opacity: 0;
        }
    }
}
.service-item {
    &.item-e-memo {
        &:hover {
            background-color: $color_item_e_memo;
        }
        h5,
        p,
        .service-icon {
            color: $color_item_e_memo;
        }
    }
    &.item-hris {
        &:hover {
            background-color: $color_item_hris;
        }
        h5,
        p,
        .service-icon {
            color: $color_item_hris;
        }
    }

    &.item-auction {
        &:hover {
            background-color: $color_item_auction;
            .service-icon {
                transform: rotate(45deg);
            }
        }
        h5,
        p,
        .service-icon {
            color: $color_item_auction;
        }
    }

    &.item-regulation {
        &:hover {
            background-color: $color_item_regulation;
        }
        h5,
        p,
        .service-icon {
            color: $color_item_regulation;
        }
    }
}
.service-item.disabled {
    background: var(--light) !important;
    cursor: context-menu !important;
    .service-icon {
        background: var(--light) !important;
        transform: none;
        transition: none;
        i.icon-default {
            opacity: 1;
            color: $color_11;
            transform: none;
        }
        i.icon-hover {
            opacity: 0;
            transform: none;
        }
    }
    &:hover {
        .service-icon {
            background: var(--light) !important;
            transform: none;
            transition: none;
            i.icon-default {
                opacity: 1;
                color: $color_11;
                transform: none;
            }
            i.icon-hover {
                opacity: 0;
                transform: none;
            }
        }
        h5,
        p {
            color: $color_11 !important;
            font-weight: 400 !important;
        }
    }
    > a {
        cursor: context-menu !important;
    }
    h5,
    p {
        color: $color_11 !important;
    }
}

/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
    .btn.btn-social {
        margin-right: 5px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--light);
        border: 1px solid rgba(256, 256, 256, 0.1);
        border-radius: 40px;
        transition: 0.3s;
        &:hover {
            color: var(--primary);
        }
    }
    .btn.btn-link {
        display: block;
        margin-bottom: 10px;
        padding: 0;
        text-align: left;
        color: var(--light);
        font-weight: normal;
        transition: 0.3s;
        &::before {
            position: relative;
            content: "\f105";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            margin-right: 10px;
        }
        &:hover {
            letter-spacing: 1px;
            box-shadow: none;
        }
    }
    .copyright {
        padding: 25px 0;
        font-size: 14px;
        border-top: 1px solid rgba(256, 256, 256, 0.1);
        a {
            color: var(--light);
        }
    }
    .footer-menu {
        a {
            margin-right: 15px;
            padding-right: 15px;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            &:last-child {
                margin-right: 0;
                padding-right: 0;
                border-right: none;
            }
        }
    }
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #ffffff;
        .navbar-nav {
            .nav-link {
                padding: 10px 0;
                margin-left: 0;
                color: $color_3 !important;
            }
        }
    }
    .navbar-light {
        .navbar-collapse {
            margin-top: 15px;
            border-top: 1px solid #dddddd;
        }
        .navbar-nav {
            .nav-link {
                padding: 10px 0;
                margin-left: 0;
                color: $color_3 !important;
            }
        }
        .navbar-brand {
            h1 {
                color: $color_6;
            }
            img {
                max-height: 45px;
            }
        }
    }
}
@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, 0.1);
        z-index: 999;
        .navbar-nav {
            .nav-link {
                &::before {
                    position: absolute;
                    content: "";
                    width: 0;
                    height: 2px;
                    bottom: -1px;
                    left: 50%;
                    background: var(--secondary);
                    transition: 0.5s;
                }
                &:hover {
                    &::before {
                        width: 100%;
                        left: 0;
                    }
                }
            }
            .nav-link.active {
                &::before {
                    width: 100%;
                    left: 0;
                }
            }
            .nav-link.nav-contact {
                &::before {
                    display: none;
                }
            }
        }
    }
    .sticky-top.navbar-light {
        position: fixed;
        background: #ffffff;
        .navbar-brand {
            h1 {
                color: $color_6;
            }
        }
    }
}
@media (max-width: 575px) {
    .service-item {
        position: relative;
        padding: 8px;
        background: #ffffff;
        box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
        .service-icon {
            margin: auto;
            width: 60px;
            height: 60px;
        }
    }
}
