
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: #1c1a23 !important;
    color: white;
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #1c1a23 !important;
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: #1c1a23 !important;
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 9px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar-header {
        flex-wrap: wrap;
    }

    .navbar-icons {
        margin-top: 10px;
    }
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

        .navbar .navbar-nav {
            width: 100%;
            display: flex;
            margin-top: 20px;
            padding-bottom: 20px;
            background: #1c1a23 !important;
            border-radius: 10px;
        }

    .navbar-toggler:focus {
        outline: none; /* Remove o contorno de foco */
        box-shadow: none; /* Remove qualquer sombra que possa aparecer no foco */
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 60px 8px;
        border: none;
        color: var(--bs-primary);
        font-size: 1.5rem;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

        .navbar .nav-btn {
            display: flex;
            align-items: center;
            justify-content: start;
        }

        .navbar .navbar-nav {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #1c1a23 !important;
            border-radius: 10px;
            /*justify-content: flex-start;*/
        }

            .navbar .navbar-nav .nav-btn {
                width: 100%;
                display: flex;
                margin-left: auto;
            }

        /* Dropdown padrão */
        .navbar .nav-item .dropdown-menu {
            display: block; /* Exibido quando o item é hover */
            opacity: 0; /* Inicialmente invisível */
            visibility: hidden; /* Inicialmente escondido */
            position: absolute;
            top: 100%;
            left: 0;
            margin: 0;
            padding: 0;
            border: none;
            z-index: 1050;
            transition: opacity 0.5s ease, visibility 0s linear 0.5s;
            background: white; /* Fundo branco */
        }

        /* Exibe o dropdown quando o item é hover */
        .navbar .nav-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.5s ease, visibility 0s linear 0s;
        }

        /* Itens do dropdown */
        .navbar .nav-item .dropdown-menu .dropdown-item {
            padding: 0.5rem 1rem;
            color: black; /* Texto preto */
        }

            /* Hover dos itens */
            .navbar .nav-item .dropdown-menu .dropdown-item:hover {
                background: #f0f0f0; /* Fundo cinza claro ao passar o mouse */
                color: black; /* Mantém o texto preto */
            }
}
/*** Navbar End ***/

/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}

    .service .service-item .service-img {
        position: relative;
        overflow: hidden;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

        .service .service-item .service-img img {
            transition: 0.5s;
        }

    .service .service-item:hover .service-img img {
        transform: scale(1.1);
    }

    .service .service-item .service-img::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 0;
        top: 0;
        left: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background: rgba(1, 95, 201, .2);
        transition: 0.5s;
        z-index: 1;
    }

    .service .service-item:hover .service-img::after {
        height: 100%;
    }

    .service .service-item .service-img .service-icon {
        position: absolute;
        width: 70px;
        bottom: 0;
        right: 25px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background: var(--bs-light);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        z-index: 9;
    }

        .service .service-item .service-img .service-icon i {
            color: var(--bs-primary);
            transition: 0.5s;
        }

    .service .service-item:hover .service-img .service-icon i {
        transform: rotateX(360deg);
        color: var(--bs-white);
    }

    .service .service-item:hover .service-img .service-icon {
        bottom: 0;
        color: var(--bs-white);
        background: var(--bs-primary);
    }

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

    .service .service-item .service-content .service-content-inner .h4,
    .service .service-item .service-content .service-content-inner p {
        transition: 0.5s;
    }

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

    .service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
        color: var(--bs-white);
        background: var(--bs-dark);
    }

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}

