 :root {
            --color-primary: #2e4ba0; /* Azul primário */
            --color-secondary: #333; /* Cinza escuro secundário */
            --color-tertiary: #fff; /* Cor adicional, cinza claro */
            
            /* Cores para hover ou estados alternativos */
            --color-primary-hover: #25418a; /* Tom mais escuro do primário */
            --color-secondary-hover: #444; /* Tom mais claro do secundário */
            --color-tertiary-hover: #eaeaea; /* Tom mais escuro do terciário */
        }

        body {
            font-family: "Poppins", serif!important;
            overflow-x: hidden;
        }

        .text-primario {
            color: var(--color-primary)!important;
            font-family: "Poppins", serif!important;
            font-weight:600
            
        }

        .icone-principal-servicos {
            color: var(--color-primary)!important;
        }

        .principal {
            background-color: var(--color-primary);
            color:var(--color-tertiary);
            letter-spacing: 2px;
        }

        .principal:hover {
            background-color: var(--color-secondary);
            color:var(--color-tertiary)
        }

        .segundo {
            background-color: var(--color-secondary);
            color:var(--color-tertiary);
            letter-spacing: 2px;
        }

        .segundo:hover {
            background-color: var(--color-tertiary);
            color:var(--color-secondary)
        }

        .terc {
            background-color: var(--color-tertiary);
            color:var(--color-secondary);
            letter-spacing: 2px;
        }

        .terc:hover {
            background-color: var(--color-primary);
            color:var(--color-tertiary)
        }

        .logo {
            max-width: 230px;
            width:100%
        }

        @media (max-width:480px) {
           .logo { max-width: 190px; }
        }

        /* Initial transparent navbar */
        .navbar {
            background-color: #ffffff;
            transition: background-color 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        /* Sticky navbar */
        .navbar.sticky {
            background-color: #ffffff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        .navbar a {
            color: var(--color-primary);
            transition: color 0.3s;
            font-family: "Poppins", serif;
            font-weight: 500;
        }

        .navbar a:hover {
            color: #cecece;
        }


        .navbar.sticky   a {
            color: var(--color-primary);
            transition: color 0.3s;
            font-family: "Poppins", serif;
            font-weight: 500;
        }



        .navbar.sticky  a:hover {
            color: var(--color-secondary);
        }


        /* Dropdown menu styling */
        .dropdown-menu {
            background-color: #ffffff;
        }

        .dropdown-menu a {
            color: #000;
        }

        .dropdown-menu a:hover {
            background-color: #f8f9fa;
            color:#FFF!important
        }

        /* Logo visibility handling */
        .logo-transparent {
            display: block;
        }

        .logo-sticky {
            display: none;
        }

        .navbar.sticky .logo-transparent {
            display: none;
        }

        .navbar.sticky .logo-sticky {
            display: block;
        }

        .dropdown-menu {
            background-color: var(--color-tertiary);
            border-radius: 0;
            border:0
        }

        .dropdown-menu .dropdown-item {
            font-family: "Poppins", serif;
            font-weight: 400;
            font-size:14px!important
        }

        .dropdown-menu .dropdown-item:hover {
            background-color: var(--color-primary-hover);
            color:#ffffff
        }


        @media (max-width:600px) {
            .navbar {
                background:#ffffff
            }

                
            /* Logo visibility handling */
            .logo-transparent {
                display: none;
            }

            .logo-sticky {
                display: block;
            }

            .navbar a, .navbar.sticky a {
            color: var(--color-primary)!important;
            transition: color 0.3s;
            font-family: "Poppins", serif;
            font-weight: 500;
        }

            .navbar.sticky .logo-transparent {
                display: none;
            }

            .navbar.sticky .logo-sticky {
                display: block;
            }
        }

        /* Hero Section Styles */
        .hero {
            background-image: url('../img/hero.jpg');
            background-size: cover;
            background-position: top;
            background-repeat: no-repeat;
            height: 100vh;
            color: #fff; /* Text color */
            margin-top:30px!important
        }

        .hero-title {
            font-size: 1.4rem; /* Default for larger screens */
            font-weight: 700;
            color: var(--color-terciary);
            text-align: left;
            position: relative;
            top:0vh;
           
        }

        .hero-subtitle {
            font-size: 1.0rem; /* Default for larger screens */
            font-weight: 500;
            line-height: 1.5;
            color: var(--color-terciary);
            text-align: left;
            position: relative;
            top:2vh;
            margin-top:5px!important;   
        }

        .btn-hero-1 {
            padding:15px;
            margin-top:7px;
            background-color: #FFF;
            color:#25418a;
            font-weight: 600;
            font-size:1.2rem;
            text-align: center;
            text-decoration: none;
            border-radius:25px;
            transition: ease-in 0.5s
        }

        .btn-hero-2 {
            padding:15px;
            margin-top:7px;
            background-color: #25418a;
            color:#fff;
            font-weight: 600;
            font-size:1.2rem;
            text-align: center;
            text-decoration: none;
            border-radius:25px;
            transition: ease-in 0.5s;            
        }

        
        .btn-hero-1:hover {
            background-color: #0e1f47;
            color:#fff;
        }
        .btn-hero-2:hover {
            background-color: #d9cfcf;
            color:#25418a;
        }

        .alinha-btn {
            position:absolute;
            margin-top:42px      
        } 

        @media (max-width: 992px) {
            .hero-title {
                font-size: 1.3rem;
            }

            .hero-subtitle {
                font-size: 0.9rem;
                max-width:500px!important
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 0.7rem;
            }

            .hero-subtitle {
                font-size: 0.7rem;
            }
        }


        .mission-section {
        background-color: #f8f9fa; /* Cinza claro */
    }

    .mission-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2e4ba0; /* Azul primário */
    }

    .mission-text {
        font-size: 1rem;
        line-height: 1.6;
        color: #333; /* Texto em cinza escuro */
    }

    .btn-primary {
        background-color: #2e4ba0;
        border: none;
    }

    .btn-primary:hover {
        background-color: #25418a;
    }

    @media (max-width: 992px) {
        .mission-title {
            font-size: 1.5rem;
        }

        .mission-text {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 576px) {
        .mission-title {
            font-size: 1.2rem;
        }

        .mission-text {
            font-size: 0.8rem;
        }

        .hero {
            background-image: url('../img/top54.jpg');
            background-size: cover;
            background-position: top;
            background-repeat: no-repeat;
            height:100vh;
            margin-top:100px!important;
        }

        .hero-title {
            font-size: 1.0rem; /* Default for larger screens */
            font-weight: 700;
            color: var(--color-primary);
            text-align: left;
            position: relative;
            top:-260px;
            padding: 5px;
            max-width:400px;
            min-width:300px;
            width:100%;
           
        }

        .hero-subtitle {
            font-size: 0.92rem; /* Default for larger screens */
            font-weight: 400;
            line-height: 1.5;
            color: var(--color-secondary);
            text-align: left;
            position: relative;
            top:-260px;
            margin-top:-7px!important;   
            word-wrap: break-word; /* Permitir a quebra de palavras longas, se necessário */
            white-space: normal; /* Garantir que o texto se quebre naturalmente, sem ficar em uma linha contínua */   
            max-width:400px;
            min-width:300px;
            width:100%;
            padding:5px
       
        }

        .hero-subtitle br 
        {
            display: none;

        }

        .hero-subtitle .btn-hero-1 {
            background-color: var(--color-primary);
            color:var(--color-tertiary)
        }

        .hero-subtitle .alinha-btn {
            margin-top:55px!important
        }

    }


    .bg-primary {
        background-color: #2e4ba0 !important; /* Cor primária */
    }

    .bg-secondary {
        background-color: #333 !important; /* Cor secundária */
    }

    .equal-columns-section .btn-light {
        background-color: #fff;
        color: #2e4ba0;
        border: none;
    }

    .equal-columns-section .btn-light:hover {
        background-color: #f8f9fa;
    }

    /* Responsividade */
    @media (max-width: 768px) {
        .equal-columns-section h2 {
            font-size: 1.5rem;
        }

        .equal-columns-section p {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 576px) {
        .equal-columns-section h2 {
            font-size: 1.2rem;
        }

        .equal-columns-section p {
            font-size: 0.8rem;
        }
    }

    .services-section {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
                    url('../img/services.png') no-repeat center center / cover;
        height: 70vh; /* Fullscreen */
        display: flex;
        align-items: center;
        justify-content: center;
        background-attachment: fixed; /* Cria o efeito de Parallax */
        background-size: cover;
        background-position: bottom;
        position: relative;
        color: #fff;
        text-align: center;
    }

    .services-title {
        font-size: 2.5rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .services-description {
        font-size: 1.2rem;
        line-height: 1.6;
        max-width: 800px;
        margin: 0 auto;
    }

    .btn-primary {
        background-color: #fff;
        color: #2e4ba0;
        border: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .btn-primary:hover {
        background-color: var(--color-primary);
        color: #FFF;
    }

    footer {
        background-color: #25418a!important;
    }

    .footer a {
        text-decoration: none;
    }
    

    /* Alterar cor ao passar o mouse */
    .footer a:hover {
        color: #FFF; /* Primary color */
        transition: color 0.3s ease;
    }

    /* Estilo do menu */
.footer-menu ul {
  list-style: none; /* Remove os marcadores de lista */
  padding: 0;
  margin: 0;
  display: flex; /* Alinha os itens lado a lado */
  justify-content: center; /* Centraliza os itens */
  flex-wrap: wrap; /* Permite quebrar linha no caso de telas pequenas */
}

/* Estilo para os itens de menu */
.footer-menu li {
  margin: 0 15px; /* Espaçamento entre os links */
}

/* Estilo para os links */
.footer-menu a {
  color: white; /* Cor dos links */
  text-decoration: none; /* Remove o sublinhado */
  font-size: 16px; /* Tamanho da fonte */
  transition: color 0.3s ease; /* Efeito suave na cor ao passar o mouse */
}

/* Efeito de hover nos links */
.footer-menu a:hover {
  color: #f39c12; /* Cor laranja ao passar o mouse */
}

/* Responsividade - tela pequena */
@media (max-width: 768px) {
  .footer-menu ul {
    flex-direction: column; /* Empilha os itens em telas pequenas */
  }
  .footer-menu li {
    margin: 10px 0; /* Espaçamento entre os itens em telas pequenas */
  }
}

    #servicos .card {
    height: 320px !important;
    padding: 10px;
    text-align: center;
    border-radius: 15px;  /* Bordas arredondadas (ajuste o valor para suavizar mais ou menos) */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: box-shadow 0.3s ease-in-out; /* Adiciona uma transição suave quando a sombra muda */
    border:1px solid #efefef
}

    #servicos .card i {
        color:#25418a
    }
    #servicos .card .card-title {
        color:#2e4ba0
    }
    
    #servicos .card .card-text {
        font-size:1rem
    }
    #servicos .card .btn {
        position: absolute;
        bottom: 30px;
        left: 50%;        /* Coloca o botão no centro do card */
        transform: translateX(-50%); /* Ajusta a posição para o centro exato */
        display: flex;
        align-items: center;
        justify-content: center;  
    }

/* Ajuste para o idioma português */
html[lang="pt"] #servicos .card {
    height: 380px !important; /* Aumenta a altura do card no português */
}

html[lang="pt"] #servicos .card .card-text {
    font-size: 0.8rem; /* Diminui o tamanho do texto para o português */
}

html[lang="pt"] #servicos .card .btn {
    bottom: 20px; /* Ajusta a posição do botão mais para cima, para garantir espaço suficiente */
}
    
     /* Estilos gerais para o carrossel */

    .owl-carousel .item {
    height: 330px;
    width: 98%;
    padding: 10px;
    position: relative; /* Para posicionar o ícone de aspas */
    overflow: hidden; /* Para garantir que nada saia da área do item */
    
    }

    .owl-carousel .item img {
        border-radius: 15px;
        width: 100%; /* Garante que a imagem ocupe toda a largura disponível */
        height: 100%; /* Garante que a imagem ocupe toda a altura disponível */
        object-fit: cover; /* Garante que a imagem não distorça */
        transition: 0.3s ease-in-out;
        opacity:0.8;
        filter:grayscale(0.6);

    }


    .owl-carousel .item .quote-icon {
        position: absolute;
        top: 12%;
        left: 10%;
        transform: translate(-50%, -50%);
        font-size: 60px;
        color: rgba(255, 255, 255, 0.8);
        opacity: 0; /* Inicialmente invisível */
        transition: opacity 0.3s ease-in-out; /* Efeito de transição suave */
    }

    .owl-carousel .item:hover .quote-icon  {
        opacity: 1; /* Exibe o ícone ao passar o mouse */
        color:#FFF
    }

    .owl-carousel .item .quote-icon2 {
        position: absolute;
        top: 88%;
        right: 0%;
        transform: translate(-50%, -50%);
        font-size: 60px;
        color: rgba(255, 255, 255, 0.8);
        opacity: 0; /* Inicialmente invisível */
        transition: opacity 0.3s ease-in-out; /* Efeito de transição suave */
    }

    .owl-carousel .item:hover .quote-icon2  {
        opacity: 1; /* Exibe o ícone ao passar o mouse */
        color:#FFF
    }


    .owl-carousel .item .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 63px;
        color: rgba(255, 255, 255, 0.784);
        opacity: 0.9; /* Inicialmente invisível */
        transition: opacity 0.3s ease-in-out; /* Efeito de transição suave */
    }

    .owl-carousel .item:hover .play-icon  {
        opacity: 1; /* Exibe o ícone ao passar o mouse */
        color:#f00
    }

    .owl-nav {
    position: absolute;
    bottom: 20px; /* Ajuste a distância do bottom conforme necessário */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: 80%; /* Ajuste a largura conforme necessário */
    }

    /* Estilo para os botões */
    .owl-nav button {
    background-color: rgba(255,255,255,0.5)!important; /* Fundo semi-transparente para o botão */
    color: #25418a!important; /* Cor das setas */
    border: none;
    padding: 10px;
    font-size: 24px; /* Ajuste o tamanho da seta */
    cursor: pointer;
    transition: background-color 0.3s ease;
    }

    .owl-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Cor ao passar o mouse */
    }

    /* Estilo para as setas */
    .owl-nav button i {
    font-size: 30px; /* Ajuste o tamanho das setas */
    }

    /* Estilo do botão */
.scroll-to-top-btn {
  position: fixed;
  bottom: 20px; /* Distância do fundo */
  right: 20px;  /* Distância da direita */
  background-color: #333; /* Cor de fundo escura */
  color: white; /* Cor do texto */
  border: none;
  border-radius:5px; /* Bordas arredondadas */
  padding: 10px;
  font-size: 18px; /* Tamanho da fonte */
  cursor: pointer;
  display: none; /* Inicialmente escondido */
  transition: opacity 0.3s; /* Transição suave */
}

/* Efeito de hover */
.scroll-to-top-btn:hover {
  background-color: #f39c12; /* Cor de fundo ao passar o mouse */
  opacity: 0.8;
}

html[lang="pt"] .hero-subtitle br {
  display: none; /* Esconde os <br> quando o idioma for português */
}

html[lang="pt"] .hero-subtitle {
  width: 100%; /* Garantir que a largura se ajuste ao contêiner */
  max-width: 650px; /* Definir largura máxima */
  word-wrap: break-word; /* Permitir a quebra de palavras longas, se necessário */
  white-space: normal; /* Garantir que o texto se quebre naturalmente, sem ficar em uma linha contínua */

}

html[lang="pt"] .hero-subtitle .alinha-btn a:last-child {
    margin-left:10px
}


@media (max-width:376px) {
    .hero {
            background-image: url('../img/top54.jpg');
            background-size: cover;
            background-position: top;
            background-repeat: no-repeat;
            height:100vh;
            margin-top:100px!important;
        }

        .hero-title {
            font-size: 1.0rem; /* Default for larger screens */
            font-weight: 700;
            color: var(--color-primary);
            text-align: left;
            position: relative;
            top:-170px;
            padding: 5px;
            max-width:400px;
            min-width:300px;
            width:100%;
           
        }

        .hero-subtitle {
            font-size: 0.8rem; /* Default for larger screens */
            font-weight: 400;
            line-height: 1.5;
            color: var(--color-secondary);
            text-align: left;
            position: relative;
            top:-170px;
            margin-top:-7px!important;   
            word-wrap: break-word; /* Permitir a quebra de palavras longas, se necessário */
            white-space: normal; /* Garantir que o texto se quebre naturalmente, sem ficar em uma linha contínua */   
            max-width:400px;
            min-width:300px;
            width:100%;
            padding:5px
       
        }

        .hero-subtitle br 
        {
            display: none;

        }

        .hero-subtitle .btn-hero-1 {
            background-color: var(--color-primary);
            color:var(--color-tertiary)
        }

        .hero-subtitle .alinha-btn {
            margin-top:25px!important
        }
}
   