/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/*** Back to Top Button Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}
/*** Button End ***/

/*** Button Styling Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square, .btn-xl-square {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: normal;
}

.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-xl-square { width: 66px; height: 66px; }

.btn.btn-primary { color: var(--bs-white); border: none; }
.btn.btn-primary:hover { background: rgb(5, 5, 85); color: var(--bs-white); }

.btn.btn-light { color: var(--bs-primary); border: none; }
.btn.btn-light:hover { color: var(--bs-white); background: var(--bs-dark); }

.btn.btn-dark { color: var(--bs-white); border: none; }
.btn.btn-dark:hover { color: var(--bs-primary); background: var(--bs-light); }
/*** Button Styling End ***/

/*** Header Carousel Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev, .header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

/* .header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
} */

/* .header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
} */

.header-carousel .owl-nav .owl-prev:hover, .header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #0d6efd; /* Azul Bootstrap */
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.owl-prev {
    left: -20px; /* Ajuste conforme necessário */
}

.owl-next {
    right: -20px; /* Ajuste conforme necessário */
}

.owl-prev:hover,
.owl-next:hover {
    opacity: 1;
}

/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10% 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/
/*** Espaçamento geral entre carousel e seção Feature ***/
.feature {
    margin-top: 3rem; /* Espaço entre carousel e feature */
    padding: 60px 0;
}

/*** Feature Cards ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: center;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

/*** Ícone ***/
.feature .feature-item .feature-icon {
    position: relative;
    width: 100px; /* Tamanho original do ícone */
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: -1;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

/*** Textos ***/
.feature .feature-item h4 {
    font-size: 1.25rem; /* Tamanho original da fonte */
    margin-bottom: 1rem;
}

.feature .feature-item p {
    font-size: 1rem;
    color: #555;
    flex-grow: 1;
}

/*** Botão ***/
.feature .feature-item a.btn {
    margin-top: 1.5rem;
    padding: 10px 20px;
    font-size: 1rem; /* Tamanho original do botão */
    border-radius: 50px;
}

.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

/*** RESPONSIVIDADE ***/
@media (max-width: 768px) {
    .feature .feature-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .feature .feature-item h4 {
        font-size: 1rem;
    }

    .feature .feature-item p {
        font-size: 0.95rem;
    }

    .feature .feature-item a.btn {
        font-size: 0.9rem;
        padding: 8px 18px;
    }

    .feature {
        margin-top: 2rem;
        padding: 40px 0;
    }
}

/*** Reduzir o padding e ajustar o layout da container ***/
.container.py-8 {
    padding-top: 20px !important; /* Reduzir o padding superior */
    padding-bottom: 20px !important; /* Reduzir o padding inferior */
    max-width: 100% !important; /* Garante que ocupe toda a largura */
}

/*** Ajustar os títulos e o texto da seção ***/
.text-center h4 {
    font-size: 1.5rem; /* Tamanho do título */
    margin-bottom: 0.5rem;
}

.text-center h5 {
    font-size: 1.25rem; /* Tamanho do subtítulo */
    margin-bottom: 1rem;
}

.text-center p {
    font-size: 0.95rem; /* Tamanho do parágrafo */
    line-height: 1.6;
}

/*** Responsividade (mobile) ***/
@media (max-width: 768px) {
    .container.py-8 {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .text-center h4 {
        font-size: 1.25rem; /* Título reduzido no mobile */
    }

    .text-center h5 {
        font-size: 1rem; /* Subtítulo reduzido no mobile */
    }

    .text-center p {
        font-size: 0.85rem; /* Parágrafo reduzido no mobile */
    }
}

/*** Estilos Gerais dos Cards ***/
.service .service-item {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service .service-item:hover {
    transform: translateY(-5px);
}

.service .service-img {
    position: relative;
    overflow: hidden;
}

.service .service-img img {
    width: 100%;
    height: auto;
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    padding: 10px;
}

.service-icon i {
    color: #015fc9;
}

/*** Conteúdo Interno ***/
.service-content {
    padding: 20px;
    background-color: #f9f9f9;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content .h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #015fc9;
    line-height: 1.4;
}

.service-content p {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

/*** Botão "Saiba mais" ***/
.service-content .btn-saiba-mais {
    display: inline-block;
    background-color: #015fc9;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}

.service-content .btn-saiba-mais:hover {
    background-color: #013a7d;
}

/*** Responsividade ***/
@media (max-width: 768px) {
    .service .service-item {
        margin-bottom: 30px;
    }

    .service-content .h4 {
        font-size: 1rem;
    }

    .service-content p {
        font-size: 0.85rem;
    }

    .service-content .btn-saiba-mais {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px;
    }
}


/* Logo normal */
.logoweb {
    width: 100% !important;
    height: auto;
}

/* Logo menor nas páginas específicas */
.page-other .logoweb {
    width: 70px; /* Ajuste o tamanho conforme necessário */
}
/* Rodapé */
.footer {
    background-color: #05274c; /* Cor do rodapé */
    color: #fff;
}

.footer .logoweb {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer .footer-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer .footer-btn a {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s;
}

.footer .footer-btn a:hover {
    background-color: #0056b3;
}

.footer .footer-instagram {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.footer .footer-instagram img {
    transition: transform 0.3s ease;
}

.footer .footer-instagram:hover img {
    transform: scale(1.1);
}

.footer .footer-search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.footer .footer-instagram:hover .footer-search-icon {
    display: block;
}

.footer .footer-search-icon a {
    color: #000000;
    font-size: 20px;
    background: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 50%;
}

.footer .footer-item a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    transition: color 0.3s;
}

.footer .footer-item a:hover {
    color: #fff;
}

.footer .footer-item p {
    font-size: 16px;
    color: #ccc;
}

.footer .footer-item .btn-xl-square {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .footer-item .btn-xl-square i {
    font-size: 24px;
}

.footer .position-relative input {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px;
    width: 100%;
}

.footer .position-relative button {
    background-color: #007bff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.footer .position-relative button:hover {
    background-color: #0056b3;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer .footer-item h4 {
        font-size: 16px;
    }

    .footer .footer-item a {
        font-size: 14px;
    }

    .footer .footer-btn a {
        padding: 8px;
        font-size: 14px;
    }

    .footer .footer-instagram img {
        height: 80px;
        object-fit: cover;
    }
}
