/* Fondo de la barra de navegación */
.navbar {
    background-color: white;
}

/* Estilos de los links de la barra de navegación */
.navbar-nav .nav-link {
    color: black;
}

.navbar-nav .nav-link.active {
    background-color: rgb(229, 49, 78);
    color: white !important;
}

/* Secciones generales */
section {
    padding: 100px 0;
    min-height: 100vh;
}

/* Animación suave al hacer scroll */
html {
    scroll-behavior: smooth;
}

nav.navbar.navbar-expand-lg.navbar-light.fixed-top {
    padding: 0;
    line-height: 50px;
}

/* Fondo de la sección de inicio */
#inicio {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex
;
    align-items: center;
    justify-content: flex-start;
    color: white;
    padding-left: 50px;
    background: linear-gradient(to right, #01295d, transparent), url(Img/imgban.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#sobre-nosotros {
    background: #01295d !important;
    color: white;
}

.bg-custom {
    background: #01295d !important;
    color: white;
    min-height: inherit;
}

.bg-custom .card {
    color: black;
    padding: 0px !important;
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 0px;

}

.bg-custom .card {
    border: none;
    /* Sin bordes en las tarjetas */
    margin: 0;
    /* Sin márgenes */
    padding: 0;
    /* Sin padding */
    position: relative;
    /* Para posicionar el texto y el fondo */
    background: rgb(229 49 78) !important;
}

.bg-custom .card img {
    position: absolute;
    left: 0px;
    top: 50px;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #2c2cb1;
    opacity: 0.8;
}

.bg-custom .card p {
    position: relative;
    z-index: 99999999 !important;
    font-size: 25px;
    top: 60px;
    color: white;

}

.bg-custom .card ul {
    position: relative;
    z-index: 99999999 !important;
    font-size: 20px;
    top: 40px;
    color: white;
    width: 50%;
    margin: auto;

}

/* Estilo para la sección de Misión, Visión y Filosofía */


.bg-custom .card-body {
    position: relative;
    /* Para poder aplicar el degradado */
    padding: 20px;
    /* Espacio interno */
    color: white;
    /* Texto blanco */
    text-align: center;
    /* Centramos el texto */
    color: black;
}

/* Degradado para el texto */
.bg-custom .card-body:before {
    content: "";
    /* Crear un elemento antes */
    position: absolute;
    /* Posicionamiento absoluto */
    top: 0;
    /* Arriba */
    left: 0;
    /* Izquierda */
    right: 0;
    /* Derecha */
    bottom: 0;
    /* Abajo */

    z-index: 0;
    /* Detrás del contenido */

}

.bg-custom .card-title,
.bg-custom .card-text {
    position: relative;
    /* Para que el texto esté sobre el degradado */
    z-index: 1;
    /* Delante del degradado */
}

.card-text li {
    color: white;
}

/* Video de fondo */
#inicio video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    filter: brightness(50%);
}

/* Fondo degradado de azul a transparente */


/* Estilo del botón de contacto */
.btn-contacto {
    background-color: rgb(229 49 78);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 1;
}

.btn-contacto:hover {
    background-color: darkrgb(229 49 78);
}

/* Estilos para h1 */
h1 {
    font-size: 3rem;
    z-index: 1;
}

.mensaje-destacado {
    position: absolute;
    width: 100%;
    background-color: white;
    color: #01295d;
    padding: 20px 0;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    bottom: 0px;
    left: 0px;
}

.mintext {
    width: 60%;
    /* Mantienes el ancho */
    font-size: 3vw;
    text-align: left;
    /* Permite dividir palabras con guiones para evitar grandes espacios */
    word-spacing: -3px;
    /* Ajuste para rgb(229 49 78)ucir espacio entre palabras */
    letter-spacing: 0.5px;
}

.text-justificado {
    text-align: justify;
    /* Justifica el texto */
    line-height: 1.4;
    /* Espacio entre líneas */
    margin-bottom: 1rem;
    /* Espacio inferior del párrafo */
}

.res {
    font-size: 25px;
}

#sobre-nosotros img {
    width: 90%;
}

.np {
    padding: 0px;
}

.bg-custom {
    height: inherit;
    padding: 0;
}

.card-body {
    padding: 0px !important;
}

.card-body {
    padding: 0px !important;
    max-height: inherit;
    height: auto;
}

.c1s .card-title {
    background: white;
    padding: 10px;
}

.card-body .card-title {
    border-top: 5px solid rgb(229 49 78);
    border-bottom: 5px solid rgb(229 49 78);
}

.c1s {
    position: relative;
    color: white;
    /* Color de texto en blanco */
    background-image: url("Img/img1.jpg");
    background-size: cover;
    background-position: center;
}

.navbar-toggler {
    padding: 15px;
}

.c1s::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Ajusta el nivel de opacidad */
    z-index: 1;
}

.c1s > * {
    position: relative;
    z-index: 2;
    /* Asegura que el texto esté encima del overlay */
}

.c2s .card-title {
    background: white;
    padding: 10px;
}

.c2s {
    position: relative;
    color: white;
    /* Color de texto en blanco */
    background-image: url("Img/img2.jpg");
    background-size: cover;
    background-position: center;
}

.c2s::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 86, 124, 0.43) !important;
    /* Ajusta el nivel de opacidad */
    z-index: 1;
}

.c2s > * {
    position: relative;
    z-index: 2;
    /* Asegura que el texto esté encima del overlay */
}

.c3s .card-title {
    background: white;
    padding: 10px;
}

.c3s {
    position: relative;
    color: white;
    /* Color de texto en blanco */
    background-image: url("Img/img3.jpg");
    background-size: cover;
    background-position: center;
}

.c3s::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(80, 80, 80, 0.43);
    /* Ajusta el nivel de opacidad */
    z-index: 1;
}

.c3s > * {
    position: relative;
    z-index: 2;
    /* Asegura que el texto esté encima del overlay */
}

.pds {
    padding: 5px !important;
}

.circles img {
    width: 10%;
    padding: 10px;
    background: #0f0062;
    border: 5px solid;
}

.circles img:nth-child(1)  {
    border: 5px solid rgb(229 49 78);
     background: rgb(229 49 78);
    border: 5px solid #0f0062;
}

.circles img:nth-child(2)  {
    border: 5px solid rgb(229 49 78);
   
}

.circles img:nth-child(3)  {
    border: 5px solid #0f0062;
    background: rgb(229 49 78);
}

.circles img:nth-child(4)  {
    border: 5px solid rgb(229 49 78);
}

.text-left {
    text-align: left;
}

.text-start .list-unstyled li {
    font-size: 20px;
    text-align: left;
    font-weight: 500;
    text-justify: inter-word;
    /* Justifica con menos espacio entre palabras */
    letter-spacing: 0px;
    /* Ajusta el espaciado entre letras */
    word-spacing: 2px;
    /* Ajusta el espaciado entre palabras */
    margin-bottom: 10px;
    margin-left: 30px;
    margin-right: 30px;
}

.slis li {
    margin-bottom: 10px;
}

.custombtn {
    width: 100%;
    font-size: 20px;
    padding: 10px;
}

.container {
    font-size: 18px;
}

.text-center {
    text-align: center;
    justify-content: center;
    align-content: center;
}

.logotype {
    position: absolute;
    top: 0px;
    width: 50px;
    ;
}

@media (max-width: 770px) {
    .circles img {
        width: 20% !important;
    }

    .mintext {
        font-size: 4.5vw;
    }
}

@media (max-width: 560px) {
    .circles img {
        width: 50% !important;
    }

    .mintext {
        font-size: 6vw;
    }
}

@media (max-width: 380px) {
    .mintext {
        font-size: 7vw;
        width: 70%
    }
}
