﻿/* Fuente general */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    padding-top: 0px; 
}
html {
    scroll-behavior: smooth; /* Activa el desplazamiento suave */
}

/* Header */
header {
    background: #fff;
    padding:10px;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position:sticky;
    top: 0;
    z-index: 1000;
    height:40px;

    display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
      position: relative;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

    nav a::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #6f76b7; /* Color de subrayado */
        transition: width 0.3s ease; /* Animación de expansión */
    }

    nav a:hover {
        color: #04093e; /* Cambia el color del texto */
    }

        nav a:hover::after {
            width: 100%; /* Expande la línea hasta el 100% */
        }


.logo-img {
    height: 50px; /* o ajusta el tamaño que necesites */
}

.divogo {
    height: 50px;
}

@media (max-width: 768px) {
    header {
        padding: 0px;
        margin: 0px;
        flex-direction: column;
        align-items: center;
        background-color: white;
        height: 80px;
        gap: 0;
    }

    nav {
        padding: 0px;
        margin: 0px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

        nav a {
            font-size: 16px;
            padding: 5px 5px;
margin-left: 1rem;
            
        }
    .divogo {
        height: 45px;
    }
.logo-img {
    height: 45px; 
}
}


/* Hero Section */
.hero {
    height: 50vh;
    background: url('../imagenes/bannerprincipal.png') center no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    font-size: 2rem;
    text-align: center;

}



.section {
    padding: 0px 0;
    border-radius: 0px; /* Bordes redondeados */
    text-align: center;
    border-bottom: solid #4a529d 10px;
    background-color:#f9f9f9
}



h2 {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}
.servicio h3 {
    color: #313a8c;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
/* Servicios */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;

}
.service-card p {
    text-align: justify;
    font-size: 0.9rem; /* mismo tamaño de fuente que el párrafo */
    margin: 0; /* eliminar márgenes extra */
    color: #555; /* mismo color que el párrafo */
margin-bottom:10px;
}
.spant {
    color: #313a8c;
    font-weight:bold;
}
.service-card ul {
    text-align: justify;
    font-size: 0.9rem; /* mismo tamaño de fuente que el párrafo */
    margin: 0; /* eliminar márgenes extra */
    padding-left: 0px; /* sangría para las viñetas */
    color: #555; /* mismo color que el párrafo */
    list-style-position: inside; /* viñetas adentro del bloque de texto */
}
.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* << Aumentamos un poco la altura mínima */
    max-height: 400px; /* << Opcional: limitar altura máxima si quieres */
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

    .service-card:hover {
        transform: scale(1.02);

    }

.service-content h2 {
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    text-align: center;
    padding: 0 1rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}
.service-content {
    z-index: 2;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7); /* Blanco con transparencia */
    border-radius: 15px; /* Bordes redondeados suaves */
    backdrop-filter: blur(4px); /* Un pequeño blur detrás para más elegancia */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7); /* Sombra suave */
    
}
    .service-content a {
        color: #313a8c;
    }


.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
    border-radius: 20px;
}

.extra-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 2s ease, opacity .8s ease;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #fff;
    text-align: center; /* centramos también el contenido expandido */
}

    /* Mostrar información adicional */
    .extra-info.show {
        opacity: 1;
        max-height: none;
    }

    /* Estilo para la lista */
.extra-infoul {
    list-style: inside;
    padding-left: 0;
    display: inline-block; /* hace que la lista no ocupe todo el ancho */
    text-align: left; /* pero que los ítems sigan a la izquierda */
    list-style-position: inside;
}
.extra-infoul li::marker {
    color: #ffd700;
}

/* Estilo para la descripción corta */
.service-description {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
}

.service-img {
    width: 100%;
    border-radius: 8px;
}
.site-footer {
    background: linear-gradient(135deg, #31398c, #000000);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-logo img {
    width: 120px; /* Tamaño del logo */
    height: auto;
    margin-bottom: 1rem;
}

.footer-links {
    margin-top: 1rem;
}

    .footer-links a {
        color: white;
        text-decoration: none;
        margin: 0 1rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #d1d5f0; /* Cambio de color al pasar el mouse */
        }


.swiper-slide h1 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    text-align: center;
    padding: 0 1rem;
    
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.swiper-slide-active h1 {
    opacity: 1;
    transform: translateY(0);
}

.parallax-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 1rem;
}




.contact-section {
    /*background: url('../imagenes/20865650_xl.jpg') no-repeat center center/cover ;*/
    background-color: #AFB3B7;
    padding: 4rem 2rem;
    position: relative;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    position: relative;
    border-radius: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.7); /* fondo blanco con transparencia */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    padding: 3rem;
    max-width: 650px;
    width: 85%;
    text-align: center;
    border-radius: 1rem;
}






.contact-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Espacio entre botones */
}

    .contact-buttons .btn {
        text-decoration: none;
        padding: 10px 20px;
        font-size: 1.2rem;
        border-radius: 5px;
        font-weight: bold;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 10px; /* Espacio entre el ícono y el texto */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }


    .contact-buttons .btn i {
        font-size: 1.5rem; /* Tamaño de los íconos */
    }

    .contact-buttons .btn:hover {
        transform: scale(1.05); /* Efecto de escala al pasar el mouse */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra al pasar el mouse */
    }

.contact-form input,
.contact-form select
{
    width: 49%; /* Ocupa el 50% del contenedor */
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 1rem; /* Espaciado entre los campos */
    box-sizing: border-box;
}



.contact-form textarea {
    width: 100%; /* Ocupa el 100% del contenedor */
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 1rem; /* Espaciado entre los campos */
    box-sizing: border-box;
}

        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            border-color: #313a8c; /* El borde cambia al color azul cuando se hace foco */
        }

        .contact-form input::placeholder,
        .contact-form select::placeholder,
        .contact-form textarea::placeholder {
            color: #aaa; /* Color gris para los placeholders */
        }

    .contact-form button {
        padding: 0.8rem 1.5rem;
        background-color: #313a8c;
        color: white;
        font-size: 1.1rem;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

        .contact-form button:hover {
            background-color: #5c6bc0;
            transform: translateY(-5px); /* Subir el botón */
        }

        .contact-form button:disabled {
            background-color: #aaa;
            cursor: not-allowed;
        }
.contact-buttons .btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background-color: #ffffff;
    color: #313a8c;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size:16px;
}

    .contact-buttons .btn:hover {
        background-color: #5c6bc0;
        color:white;
        transform: translateY(-5px); /* Subir el botón */
    }


.facebook-btn {
    background-color: #3b5998; /* Color de Facebook */
}

.whatsapp-btn {
    background-color: #25d366; /* Color de WhatsApp */
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.contact-form button {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Sombra del botón */
}
.main-hr-section {
    background: #f5f7fa; /* Fondo suave para diferenciar sección */
    padding: 30px 20px;
    text-align: center;
    border-bottom: solid #31398c 10px;  

}
.hr-content {
    padding: 40px 20px;
    width: 90%;

}

.hr-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hr-image-container {
    flex: 1 1 40%;
    text-align: center;

}

.hr-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.hr-text {
    flex: 1 1 55%;
    text-align: center;
}

    .hr-text h1 {
        font-size: 2.5rem;
        color: #313a8c;
        margin-bottom: 20px;
    }

.hr-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify; /* <-- Aquí justificamos */
}

.hr-services-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #313a8c;
    position: relative;
    padding-left: 25px;
    text-align: justify; /* <-- También justificamos los elementos de la lista */
}



    .hr-services-list li {
        margin-bottom: 10px;
        font-size: 1.1rem;
        color: #313a8c;
        position: relative;
        padding-left: 15px;
        text-align: left;
    }

        .hr-services-list li::before {            
            position: absolute;
            left: 0;
            color: #313a8c;
        }
.about-section {
    padding: 2rem 2rem;
    background-color: #f9f9f9; /* Fondo general clarito */
    text-align: center;
}


.about-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;

}

.about-card {
    background: #ffffff; /* Fondo tenue blanco */
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.7);
    padding: 2rem;
    width: 300px;
    transition: transform 0.3s ease;
    text-align: justify;
    background-color: #10132d;
    background-repeat:no-repeat;
    background-position-x:-15px;
    color:#ffffff;
   
    background-image: url('../imagenes/footer-bg.png') 
}


    .about-card:hover {
        transform: translateY(-10px);
    }

    .about-card h3 {
        color: #313a8c;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
.pabout {
    text-align:justify;
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;


}



/* RESPONSIVE */
@media (max-width: 768px) {
    .hr-grid {
        flex-direction: column;
    }

    .hr-text {
        text-align: center;
    }
}
        


/* Responsive */
@media (max-width: 600px) {
    .hero {
        font-size: 1.5rem;
    }


    .about-card {
        background: #ffffff; /* Fondo tenue blanco */
        border-radius: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.7);
        padding-top: 1rem;
        width: 100%;
        transition: transform 0.3s ease;
        text-align: justify;
        background-color: #10132d;
        background-repeat: no-repeat;
        background-position-x: -15px;
        color: #ffffff;
        background-image: url('../imagenes/footer-bg.png')
    }


    .contact-form input,
    .contact-form select {
        width: 100%; /* Ocupa el 50% del contenedor */
        padding: 10px;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid #ccc;
        margin-bottom: 1rem; /* Espaciado entre los campos */
        box-sizing: border-box;
    }
    .about-section {
        padding: 2rem .5rem;
        background-color: #f9f9f9; /* Fondo general clarito */
        text-align: center;
    }

    .contact-section {
        background-color: #AFB3B7;
        padding: 0rem 0rem;
        position: relative;
    }

    .contact-form {
        background: rgba(255, 255, 255, 0.7); /* fondo blanco con transparencia */
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        padding: .5rem;
        max-width: 700px;
        width: 100%;
        text-align: center;
        border-radius: 0rem;
    }

    .service-card {
        position: relative;
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        padding: 5px 5px;
        text-align: center;
        color: white;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 300px;
        max-height: 400px; /* << Opcional: limitar altura máxima si quieres */
        transition: transform 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.8);
    }

    .service-content {
        z-index: 2;
        width: 90%;
        max-width: 600px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.7); /* Blanco con transparencia */
        border-radius: 15px; /* Bordes redondeados suaves */
        backdrop-filter: blur(4px); /* Un pequeño blur detrás para más elegancia */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7); /* Sombra suave */
        height: 100%;
    }

    .service-content h2 {
        font-size: 1.8rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.7);
        text-align: center;
        padding: 0rem;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 100;
    }



}




