/*HOJA DE ESTILOS PHILIDAMA*/

html,
body {
    overflow-x: hidden;
    width: 100%;
}

h1 {
    font-family: 'Cambo';
    font-size: 50px;
    padding-bottom: 80px;
}

p {
    font-family: 'Roboto';
    font-size:large ;
}

h2 {
    font-family: 'Cambo';
    text-transform: uppercase;
    font-size: 47px;
}

h3 {
    font-family: 'Cambo';
    font-weight: bold;
    font-size: 40px;
}

h4 {
    font-family: 'Cambo';
    font-style: italic;
    font-size: 27px;
    color: #2F7296;
}

/* ............/navbar/............ */
.navbar {
    background-image: linear-gradient(to right, #2F7296 31%, #243052);
    margin: 0;
    border-bottom: solid white 5px;
}

.navbar-nav {
    margin: 0;
    padding-left: 0;
    padding-right: 0;

}

.navbar li {
    padding-left: 36px;
    padding-right: 36px;
    text-align: center;
    font-style: italic;
    text-transform: uppercase;
    font-family: 'Cambo';

}

.logo img {
    width: 250px;
}

.logo a {
    color: white;
}

/* Cambiar color de los enlaces del menú */
.navbar-nav .nav-link {
    color: white;
    font-size: 19px;

}

.nav-link {
    padding-top: 2px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 2px;
}

.navbar-nav .nav-link:hover {
    border: solid;
    border-radius: 5px;
    border-color: white;
    color: #2F7296;
    background-color: rgba(255, 255, 255, 0.785);
}

/*.nav-item-active .nav-link {
    color: #2F7296;
    background-color: rgba(255, 255, 255, 0.785);
    font-weight: bolder;
    border: solid;
    border-radius: 5px;
    border-color: white;
}*/

/* 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: white;
    /* 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);
}

/*HEADER-----------------------------------------*/
header {
    margin-top: 60px;
    background-image: url(../imagenes/bg-header.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.header-logo {
    width: 400px;
    padding-top: 60px;
}


.slogan {
    background-color: rgba(255, 255, 255, 0.7);
    /* Blanco con 70% de opacidad */
    padding: 10px 50px;
    border-radius: 8px;
    /* Opcional: bordes redondeados */
    display: inline-block;
}


/*BIENVENIDA-----------------------------------------*/
.bienvenida {
    color: #2F7296;
    padding-top: 100px;
    background-image: url(../imagenes/bg-bienvenida.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.ico-serv {
    width: 150px;

}


/*Nosotros-----------------------------------------*/
.nosotros {
    color: white;
    padding-top: 100px;
    background-image: url(../imagenes/bg-nosotros.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.nosotros h4 {
    color: white;
    margin-bottom: 40px;
}

.nosotros p {
    margin-top: 80px;
    font-weight: normal;
}

/*servicios-----------------------------------------*/
.servicios {
    color: white;
    padding-top: 100px;
    background-image: linear-gradient(#243052, #2f7296);
    padding-bottom: 90px;
}

.columna-img {
    padding-left: 0;
    padding-right: 0;

}

.columna-text {
    padding-left: 50px;
    color: white;
}

.fila-servicios {
    padding-bottom: 80px;
    padding-top: 30px;
}

.fiscal {
    margin-bottom: 80px;
}

.columna-text {
    padding-left: 50px;
    color: white;
}

/*CONTACTO-------------------------------------------------------------------*/
.contacto {
    background-image: url(../imagenes/bg-contacto.jpg);
    background-position: top;
    background-repeat: no-repeat;
    padding-bottom: 100px;
    color: #2F7296;
}

.contacto h2 {
    padding-top: 80px;
}

/*FOOTER----------------------------------------------------------------------------------------*/

footer {
    color: white;
background-color: #2F7296;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    font-style: italic;
    padding-bottom: 20px;
}

footer p {
    font-size: 15px;
    padding-top: 10px;
}

footer img {
    width: 50px;
    padding-top: 20px;
    padding-bottom: 10px;
}

/*_____________________media query_________________________________________*/
@media (max-width: 625px) {
    h2 {
        font-size: 38px !important;
    }
}

/* Alinear menú en móviles */
@media (max-width: 991px) {
    .navbar-nav {
        background-color: #2F7296;
        padding: 10px;
        border-radius: 10px;
    }
    h4{ font-size: 22px;}

    .navbar-nav .nav-link {

        text-align: center;
        padding: 10px;
        display: block;
    }
}