
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #4541BF;
}

a:hover {
    color: #333;
}
/* --------------------------- HEADER -------------------------- */
.header, .navbar {
    background-color: #353273 !important;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand, 
.header .navbar-nav .nav-link,
.header .navbar-nav .nav-link:hover,
.header .logo {
    color: #fff !important;
}

.header .navbar-nav .nav-link:hover {
    color: #ddd !important;
}

.header .navbar-nav {
    margin-right: 0;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 20px;
}

.header .logo img,
.logo-img {
    height: 75px;
    width: auto;
    margin-right: 10px;
}

.logo-img {
    height: 50px;
    margin-left: 10px;
}

.navbar-brand {
    padding: 5px 15px;
}

.navbar-nav {
    margin-right: 0;
}

.navbar-nav .dropdown-menu {
    background-color: #353273;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.navbar-nav .dropdown-menu li a {
    color: #fff !important;
    padding: 10px 20px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.navbar-nav .dropdown-menu li a:hover {
    background-color: #4541BF;
}

.navbar-nav .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav .dropdown-menu li:last-child {
    border-bottom: none;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* --------------------------- MENÚ MÓVIL OPTIMIZADO -------------------------- */
@media (max-width: 767px) {
    .navbar-collapse {
        background-color: #353273;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .dropdown-menu {
        background-color: transparent;
        box-shadow: none;
        position: static;
        float: none;
        width: auto;
        margin-left: 20px;
        border: none;
    }
    
    .navbar-nav .dropdown-menu li a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .navbar-nav .dropdown-menu li {
        border-bottom: none;
    }
}
#main-header {
    padding-top: 120px !important; 
    background-color: #353273 !important; /* Fondo del encabezado */
    color: #fff !important;
    text-align: center;
    padding-bottom: 60px !important;
}

#main-header .bnr-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

#main-header .bnr-sub-title {
    font-size: 24px;
    margin-bottom: 30px;
}

#main-header .bnr-para {
    font-size: 18px;
    margin-bottom: 40px;
}

#main-header .btn-more {
    background-color: #fff;
    color: #353273;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

#main-header .btn-more:hover {
    background-color: #ddd;
    color: #353273;
}

/* Secciones generales */
.section-padding {
    padding: 60px 0; /* Reducimos el padding superior e inferior */
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #4541BF !important;
}

.sub-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Servicios */
#service .service-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#service .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#service .service-item h3 {
    font-size: 24px;
    color: #4541BF;
    margin-bottom: 15px;
}

#service .service-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

#service .service-item a {
    color: #4541BF;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#service .service-item a:hover {
    color: #333;
}

/* Grid responsive para los servicios */
#service .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

#service .col-md-3 {
    flex: 1 1 calc(40% - 20px); /* Aumentamos el ancho a 30% para pantallas grandes */
    max-width: calc(40% - 20px); /* Aumentamos el ancho a 30% para pantallas grandes */
    box-sizing: border-box; /* Asegura que el padding y margen no afecten al tamaño total */
}

@media (max-width: 768px) {
    #service .col-md-3 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Asegura que las columnas de los servicios no se vean apretadas en pantallas grandes */
@media (min-width: 992px) {
    #service .col-md-3 {
        flex: 1 1 calc(30% - 20px); /* Aumentado al 30% en pantallas grandes */
        max-width: calc(30% - 20px); /* Aumentado al 30% en pantallas grandes */
    }
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(69, 65, 191, 0.9);
    color: #fff;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover figcaption {
    opacity: 1;
}

/* Testimonios */
#testimonial {
    background-color: #353273;
    color: #fff;
    padding: 60px 0;
}

.testimonial-item blockquote {
    font-size: 18px;
    font-style: italic;
}

.testimonial-item img {
    width: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Ocultar la paginación y los controles de navegación de BxSlider */
.bx-controls, 
.bx-pager, 
.bx-prev, 
.bx-next {
    display: none !important;
}

/* Contacto */
#contact {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background-color: #4541BF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #333;
}

/* Pie de página */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

.logo-img {
    height: 50px; /* Ajusta el tamaño del logo */
    width: auto;
    margin-left: 10px; /* Espacio a la izquierda */
}

.navbar-brand {
    padding: 5px 15px;
}

.navbar-nav {
    margin-right: 0; /* Asegura que los elementos del menú no se desplacen */
}

/*///////////////////////////////////////////////////////////////////*/
.social-icons {
    margin-top: 20px;
}

.social-icon {
    margin: 0 30px;  /* Aumenta el margen horizontal */
    color: #333;
    text-decoration: none;
}

.social-icon:hover {
    color: #007bff; /* Cambia el color cuando el usuario pasa el mouse */
}

.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2); /* Aumenta el tamaño del ícono al pasar el mouse */
}
/*///////////////////////////////////////////////////////////////////*/

.navbar {
    background-color: #353273 !important; /* Fondo oscuro para la barra de navegación */
}

/* Estilos específicos para inf.html */
#about {
    padding: 80px 0;
    background-color: #fff;
}

.about-item {
    background: #f1f1f1;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.about-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.about-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Estilos para la lista de expertise */
.expertise-list {
    text-align: left;
    margin-top: 40px;
}

.expertise-list ul {
    list-style: none;
    padding: 0;
}

.expertise-list ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.expertise-list ul li::before {
    content: "▹";
    color: #2c3e50;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

/* Estilos para el botón "Volver al Inicio" */
.btn-more {
    background-color: #2c3e50;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background-color: #1abc9c;
    text-decoration: none;
}