body, ul {
    margin: 0;
    padding: 0;
    font-family: 'Inria Serif', serif;
    
}

html {
    scroll-behavior: smooth;
}

/*Navbar */

.navbar {
    background-color: #011526;
    color: #BCDEFB;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
    display: flex;
    justify-content: center; 
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    width: 100%; 
    box-sizing: border-box; 
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px; 
    border-radius: 50%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Estilos del menú */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #BCDEFB;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 8px 12px; 
    border-radius: 4px; 
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    background-color: #00416D; 
    color: #ffffff; 
    transform: translateY(-3px); 
}



@media (max-width: 768px) {
    .navbar-container {
        flex-direction: row; 
        align-items: center; 
    }

    .logo-container {
        flex: none; 
        width: auto; 
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none; 
        width: 100%; 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 10px; 
        box-sizing: border-box; 
        background-color: #011526; 
        top: 100%; 
        left: 0;
        z-index: 999; 
    }

    .nav-links.active {
        display: flex; 
    }

    .nav-links a {
        padding: 10px 20px; 
        font-size: 18px; 
    }
    .navbar-container.menu-open .logo {
        display: none;
    }
    .navbar-container.menu-open .menu-toggle {
        display: none;
    }
}


@media (max-width: 400px) {
    .navbar-container {
        padding: 10px 15px; 
    }

    .logo img {
        height: 30px; 
    }

    .menu-toggle {
        font-size: 20px; 
    }

    .nav-links {
        padding: 8px; 
    }

    .nav-links a {
        padding: 8px 15px; 
        font-size: 16px; 
    }
    .navbar-container.menu-open .logo {
        display: none;
    }
    .navbar-container.menu-open .menu-toggle {
        display: none;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Banner de inicio*/


.section1 {
    background-color: #011526fb;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.logo-container {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;     
}

.logo1 {
    border-radius: 50%;
    width: 200px; 
    height: 200px;
   
}

.slogan {
    font-family: 'Italianno', cursive;
    font-size: 40px; 
    color: white;
    margin-top: 30px; 
    animation: pulse 1.5s infinite;
}

/* Animaciones */
@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

/* Estilos responsivos */


@media (max-width: 768px) {
    .logo1 {
        width: 200px; 
        height: 200px;
        margin-top: 55px;
    }

    .slogan {
        font-size: 40px; 
    }
}

@media (max-width: 480px) {
    .logo1 {
        width: 200px; 
        height: 200px;
        margin-top: 55px;
    }

    .slogan {
        font-size: 30px; 
        margin-top: 8px; 
    }
}



/* Quienes somos*/



.introduccion {
    display: flex;
    align-items: center;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto; 
    background-color: #D7EAFA;
    flex-direction: row; 
}
.introduccion-imagen {
    height: 250px;
    width: auto;
    margin-right: 100px;
    object-fit: cover;
    margin-left: 0; 
    margin-top: 60px;
}

.introduccion-texto {
    flex: 1;
}

.introduccion-texto h1 {
    margin: 0 0 10px 0;
    font-size: 30px;
    color: #011526;
    text-align: center;
}

.introduccion-texto p {
    margin: 0;
    font-size: 20px;
    color: #011526;
    margin-top: 30px;
}




@media (max-width: 780px) {
    .introduccion {
        flex-direction: column; 
        align-items: center; 
        padding: 10px; 
    }

    .introduccion-imagen {
        width: 200px; 
        max-height: 200px; 
        margin-right: 0; 
        margin-bottom: 20px; 
        border-radius: 20%;
    }

    .introduccion-texto {
        text-align: center; 
    }

    .introduccion-texto h1 {
        font-size: 32px; 
    }

    .introduccion-texto p {
        font-size: 20px; 
        margin-top: 20px; 
    }
}


@media (max-width: 480px) {
    .introduccion {
        padding: 30px; 
    }
    .introduccion-imagen {
        width: 200px; 
        max-height: 200px; 
        margin-bottom: 10px; 
        border-radius: 50%;
    }

    .introduccion-texto h1 {
        font-size: 24px; 
    }
    .introduccion-texto p {
        font-size: 15px; 
        margin-top: 15px; 
    }
}



/* Servicios*/

.servicios {
    position: relative;
    background-color: #D7EAFA;
    padding: 40px 20px;
    text-align: center;
    
     
}

.contenido {
    position: relative;
    z-index: 1; 
}

h1 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #011526;
}

p {
    margin-bottom: 30px;
    font-size: 18px;
    color: #011526;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: #011526f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #BCDEFB;
}

.card hr {
    border: 0;
    border-top: 2px solid #BCDEFB;
    margin: 10px 0;
}

.card p {
    font-size: 16px;
    color: #BCDEFB;
}



@media (max-width: 780px) {
    .cards {
        flex-direction: column; 
        align-items: center; 
    }

    .card {
        width: 100%; 
        max-width: 500px; 
        margin-bottom: 20px; 
    }

    h1 {
        font-size: 28px; 
    }

    p {
        font-size: 16px; 
    }
}


@media (max-width: 480px) {

    .soluciones {
        margin-top: -50px;
    }

    .cards {
        gap: 10px; 
    }

    .card {
        width: 100%; 
        max-width: 100%; 
        margin-bottom: 15px; 
    }

    h1 {
        font-size: 24px; 
    }

    p {
        font-size: 14px; 
    }
}

/* SOLUCIONES */
/* SOLUCIONES */

.soluciones {
    background-color: #D7EAFA; 
    padding: 40px 20px;
    text-align: center;
}

.contenido1 {
    max-width: 1200px; 
    margin: 0 auto; 
}

.soluciones h1 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #011526;
}

.soluciones p {
    margin-bottom: 30px;
    font-size: 18px;
    color: #011526;
}

.soluciones-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; 
}

.solucion-card {
    display: flex;
    flex-direction: row; 
    align-items: center;
    background-color: #011526d8;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%; 
    max-width: 800px; 
    box-sizing: border-box; 
    position: relative; 
    overflow: hidden; 
}

.solucion-texto {
    flex: 1; 
    margin-right: 20px; 
}

.solucion-texto h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #D7EAFA;
    text-align: center;
}

.solucion-texto p {
    margin: 0;
    font-size: 16px;
    color: #D7EAFA;
    text-align: left;
}

.solucion-imagen img {
    max-width: 200px; 
    height: auto;
    border-radius: 50%;
}

.btn {
    display: inline-block;
    background-color: #011526;
    color: #D7EAFA;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    margin-top: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #021a36;
    color: #ffffff;
}

.solucion-card .btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}



@media (max-width: 768px) {
    .soluciones-cards {
        flex-direction: column;
        gap: 15px;
    }

    .solucion-card {
        flex-direction: column;
        padding: 15px;
        text-align: center;
        max-width: 100%; 
    }

    .solucion-texto {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .solucion-imagen img {
        max-width: 180px; 
    }

    .solucion-card .btn {
        bottom: 20px; 
    }
}

@media (max-width: 480px) {
    .soluciones h1 {
        font-size: 24px;
    }

    .soluciones p {
        font-size: 14px;
    }

    .solucion-card {
        padding: 10px;
        max-width: 100%; 
    }

    .solucion-texto h2 {
        font-size: 20px;
    }

    .solucion-texto p {
        font-size: 14px;
    }

    .solucion-imagen img {
        max-width: 150px; 
        
    }

    .solucion-imagen {
        padding-bottom: 60px;
    }

    .solucion-card .btn {
        font-size: 14px;
        padding: 8px 16px;
        bottom: 25px; 
    }
}


/* Banner contacto */
.banner-contacto {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #011526;
    flex-wrap: wrap;
}

.banner-texto {
    flex: 1;
    margin-right: 20px;
    max-width: 50%; 
    text-align: right; 
}

/* Estilo del título */
.banner-texto h1 {
    font-size: 36px;
    color: #BCDEFB;
    margin: 0 0 10px;
}


.contacto-imagen1 {
    flex-shrink: 0;
    max-width: 50%; 
    text-align: right;
}

.contacto-imagen1 img {
    width: 100%; 
    height: auto;
    border-radius: 8px;
}


@media (max-width: 780px) {
    .banner-contacto {
        flex-direction: column; 
        align-items: center;
    }

    .banner-texto {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 90%; 
        text-align: center; 
    }

    .contacto-imagen1 {
        max-width: 90%; 
        margin-bottom: 20px; 
    }

    .banner-texto h1 {
        font-size: 28px; 
    }
}

@media (max-width: 480px) {
    .banner-texto h1 {
        font-size: 24px; 
    }

    .banner-texto {
        max-width: 100%; 
    }

    .contacto-imagen1 {
        max-width: 100%; 
        margin-bottom: 10px; 
    }
}




.contacto {
    padding: 40px 20px; 
    background-color: #f0f8ff;
    text-align: center;
}


.contacto h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}


.contacto-contenido {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

/* Estilo para la imagen */
.contacto-imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;

}

.contacto-imagen img {
    max-width: 70%; 
    height: auto; 
    border-radius: 30%;
    padding-top: 20px;
}


.contacto-redes {
    flex: 1; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 20px;
    padding-top: 20px; 
}


.contacto-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px; 
    box-sizing: border-box;
    text-align: center;
}

.contacto-item i {
    font-size: 24px;
}

.contacto-item span {
    font-size: 18px;
}

.facebook {
    background-color: #1877f2;
}

.whatsapp {
    background-color: #25d366;
}

.instagram {
    background-color: #c13584;
}

.email {
    background-color: #ea4335;
}

.contacto-item:hover {
    opacity: 0.8;
}

/* Media queries para pantallas pequeñas */
@media (max-width: 768px) {
    .contacto h1 {
        font-size: 28px;
    }

    .contacto-contenido {
        flex-direction: column;
        padding: 0 20px;
    }

    .contacto-imagen {
        width: 100%;
        padding-top: 0; 
    }

    .contacto-imagen img {
        width: 80%; 
    }

    .contacto-item {
        font-size: 16px;
        max-width: 90%;
    }

    .contacto-item i {
        font-size: 20px;
    }

    .contacto-item span {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contacto h1 {
        font-size: 24px;
    }

    .contacto-imagen img {
        width: 100%; 
    }

    .contacto-item {
        font-size: 14px;
        padding: 15px 100px;
        max-width: 100%;
    }

    .contacto-item i {
        font-size: 18px;
    }

    .contacto-item span {
        font-size: 14px;
    }
}



/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #011526; 
    border-top: 1px solid #e0e0e0; 
    box-sizing: border-box; 
}

.footer-line {
    flex: 1;
    height: 1px;
    background-color: #e0e0e0; 
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    width: 100%; 
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.footer-icons-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    justify-content: center; 
}

.footer-line-left,
.footer-line-right {
    flex: 1;
    height: 1px;
    background-color: #76a6da;
    position: absolute;
    top: 50%;
}

.footer-line-left {
    left: 0;
}

.footer-line-right {
    right: 0;
}

.footer-icons {
    display: flex;
    gap: 30px; 
    position: relative;
    z-index: 1;
}

.footer-icon {
    color: #e0e0e0;
    font-size: 24px;
    text-decoration: none;
    margin-top: 20px; 
}

.footer-icon:hover {
    color: #76a6da; 
}

.footer-logo img {
    width: 50px; 
    height: auto;
    margin-top: 20px; 
    border-radius: 50%;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 14px;
    color: #76a6da;
}

.footer-copyright p {
    color: #76a6da;
}



@media (max-width: 1200px) {
    .footer-icons {
        gap: 20px; 
    }

    .footer-logo img {
        width: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 15px;
    }

    .footer-icons {
        gap: 15px; 
    }

    .footer-icon {
        font-size: 20px; 
        margin-top: 10px; 
    }

    .footer-logo img {
        width: 35px;
    }

    .footer-line-left,
    .footer-line-right {
        display: none; 
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px;
    }

    .footer-icons {
        gap: 40px; 
    }

    .footer-icon {
        font-size: 25px; 
    }

    .footer-logo img {
        width: 70px;
    }

    .footer-copyright {
        font-size: 12px;
        text-align: center;
    }
}
