/*HOJA DE ESTILOS CONSULTING JM*/

/*GENERALES*/
* {
    margin: 0;
}

h1 {
    font-family: 'Arimo';
    font-weight: bolder;
    text-transform: uppercase;
    color: #0E2766;
    font-size: 60px;
}

h2 {
    font-family: 'Arimo';
    font-weight: bolder;
    text-transform: uppercase;
    color: #0E2766;
}

h3 {
    font-family: 'Trirong';
    font-style: italic;
    font-size: 22px;
    color: #297505;
}

h4 {
    font-family: 'Arimo';
    font-size: 22px;
    color: #5CBA09;
}

p {
    font-family: 'Arimo';
    color: #0E2766;
}

/* ............/navbar/............ */
.navbar {
    background-color: white;
    border-bottom: solid 6px rgb(24, 12, 76);
}

.navbar li {
    padding-left: 16px;
    padding-right: 16px;
    font-family: 'Arimo';
    text-transform: uppercase;
}

.logo a {
    color: black;
}

.logo img {
    width: 80px
}

/* Cambiar color de los enlaces del menú */
.navbar-nav .nav-link {
    font-family: 'Arimo';
    color: #0E2766;
    font-size: medium;
}

.navbar-nav .nav-link:hover {
    font-weight: bolder;
    color: white;
    background-color: #5CBA09;
    border-radius: 9px;
}

.nav-item-active .nav-link {
    font-weight: bolder;
    color: white;
    background-color: #5CBA09;
    border-radius: 9px;
}

/* Estilos del botón de hamburguesa */
.custom-toggler {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    /* Asegura que las líneas se apilen */
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;

    gap: 6px;
    /* Espaciado entre las líneas */
}


/* Líneas de la hamburguesa */
.hamburger-line {
    display: block;
    background-color: #0E2766;
    /* Color negro para asegurarse de que se vea */
    height: 4px;
    /* Grosor de las líneas */
    width: 35px;
    /* Largo de las líneas */
    border-radius: 2px;
    /* Bordes redondeados */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


/* Cuando el menú se abre, animar la X */
.navbar-toggler[aria-expanded="true"] .line1 {
    transform: translateY(10px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .line2 {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .line3 {
    transform: translateY(-10px) rotate(-45deg);
}

/* Alinear menú en móviles */
@media (max-width: 991px) {
    .navbar-nav {
        background-color: rgb(255, 255, 255);
        padding: 10px;
        border-radius: 10px;
    }

    .navbar-nav .nav-link {
        color: #0E2766 !important;
        text-align: center;
        padding: 10px;
        display: block;
    }
}


/*HEADER-----------------------------------------*/
header {
    margin-top: 100px;

}

/*------------------------------------NOSOTROS----------------*/
.nosotros {
    padding-bottom: 120px;
}

.nosotros img {
    width: 90px;
    padding-top: 80px;

}

.separador {
    border: none;
    border-top: 3px solid #5CBA09;
    /* Puedes cambiar el color */
    width: 100%;
    /* Controla el ancho */
    max-width: 900px;
    /* Límite máximo para pantallas grandes */
    margin: 2rem auto;
    /* Centrado con espacio arriba/abajo */
    opacity: 0.8;
}

.cta-inicio {
    border: solid 2px;
    border-color: #297505;
    padding: 10px 25px;
    transition: 0.3s ease-in-out;
}

.nosotros a {
    text-decoration: none;
    color: #0E2766;
    font-family: 'Trirong';
    transition: 0.3s ease-in-out;
}

.nosotros a:hover {
    color: white
}

.cta-inicio:hover {
    color: white;
    background-color: #5CBA09;
}

/*------------------------SERVICIOS------------------*/
.servicios {
    padding-bottom: 110px;
}

.card {
    padding: 0;
    border: none;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 25px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.img-altura {
    height: 100%;
    max-height: 280px;
    /* Puedes ajustar este valor */
    object-fit: cover;
    width: 100%;
    border-radius: 25px;
}

/*---------------------------FOOTER----------------------*/
footer {
    background-color: #5CBA09;
    font-size: small;
    padding-bottom: 20px;
}

footer p {
    color: white;
    margin-bottom: 0;
}

footer img {
    padding: 10px;
    width: 60px;
}

.separador-vertical {
    width: 4px;
    height: 300px;
    background-color: #5CBA09;
}

.separador-horizontal {
    height: 4px;
    width: 80%;
    background-color: #5CBA09;

}

/*_____________________________________________________________JURIDICO FISCAL______________________________________________________*/
.header-juridico {
    padding-top: 220px;
    padding-bottom: 230px;
    margin-top: 100px;
    background-image: url(../imagenes/header-juridico.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-juridico h1 {
    background-color: rgba(255, 255, 255, 0.593);
    padding: 15px 30px;
}

.info-servicios {
    margin-top: 70px;
}

.info-servicios p {
    padding: 0 20px;
}

.logo-info {
    width: 210px;
    padding-top: 60px;
    padding-bottom: 90px;
}

.lista-servi li {
    color: #0E2766;
    font-family: 'Arimo';
}

/*_____________________________________________________________CONTABILIDAD______________________________________________________*/
.header-conta {
    padding-top: 220px;
    padding-bottom: 230px;
    margin-top: 100px;
    background-image: url(../imagenes/header-conta.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-conta h1 {
    background-color: rgba(255, 255, 255, 0.264);
    padding: 15px 30px;
}

.foto-servi img{ width: 330px; border-radius: 25px;}

/*_____________________________________________________________PUBLICIDAD______________________________________________________*/
.header-publi{    padding-top: 220px;
    padding-bottom: 230px;
    margin-top: 100px;
    background-image: url(../imagenes/header-publicidad.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;}
    .header-publi h1 {
        background-color: rgba(255, 255, 255, 0.438);
        padding: 15px 30px;
    }

    /*_____________________________________________________________COMERCIALIZACIÒN______________________________________________________*/
    .header-comer{    padding-top: 220px;
        padding-bottom: 230px;
        margin-top: 100px;
        background-image: url(../imagenes/header-comercio.gif);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;}
        .header-comer h1 {
            background-color: rgba(255, 255, 255, 0.153);
            padding: 15px 30px;
        }
           /*_______________________________________________SEGURIDAD Y TECNOLOGIA______________________________________________________*/
    .header-tecno{    padding-top: 220px;
        padding-bottom: 230px;
        margin-top: 100px;
        background-image: url(../imagenes/header-seguridad.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;}
        .header-tecno h1 {
            background-color: rgba(255, 255, 255, 0.427);
            padding: 15px 30px;
        }


        @media (max-width: 767.98px) {
            h1 {
              font-size: 40px !important;
            }}

            @media (max-width: 575.98px) {
                h1 {
                  font-size: 27px !important;
                }
              }