@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* MENU */
#navbarNavDropdown ul li a{
    color: black;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

#navbarNavDropdown ul li a:hover {
    color: #a4c12a;
    transition: color 0.2s ease-in-out;
}
#header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0px 1px 10px black;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.hidden {
    transform: translateY(-50px);
}
.content {
    margin-top: 100px;
}
@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}




/* header */
header p, header i{
    color: aliceblue;
    font-weight: 800;
    font-size: 12px;
}
header i:hover{
    color: black;
    transition: color 0.2s ease-in-out;
}

/* contenido */
.welcome h2{
    color: #5e9740;
    font-weight: 700;
    margin-top: 80px;
    font-family: var(--font-body);
    font-size: 1.8rem;
}
.welcome p{
    color: #000;
    font-family: var(--font-family-solway);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: normal;
}
.welcome img{
    border-radius: 20px;
}

/* CONTENIDO2 */
.btn-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    height: 150px;
    background-size: cover;
    background-position: center;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.button-nivel{
    margin-top: 100px;
}

.btn-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease-in-out;
}

.btn-image:hover {
    transform: scale(1.1);
}

.btn-image span {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .btn-image {
        height: 120px; 
        font-size: 16px; 
    }
}

@media (max-width: 480px) {
    .btn-image {
        height: 100px;
        font-size: 14px; 
    }
}

/* CONTENIDO3 */
.enlace-img {
    width: 256px;
    height: 143px;
    object-fit: contain;
    display: block;
    margin: 10px auto;
}
.redes-img{
    width: 80px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 10px auto;
}

.links{
    margin-top: 120px;
}
@media (max-width: 576px) {
    .enlace-img {
        max-width: 180px;
    }

    .links {
        margin-top: 100px;
    }
    .welcome h2{
        text-align: center;
        margin-top: 30px;
    }
}

/* CONTENIDO4 */
.info p{
    font-weight: 900;
    font-family: serif;
}

.pie-de-pagina{
    background: #7ab958;
    padding-top: 50px;
    padding-bottom: 25px;
    color: white;
    font-weight: 700;
}




.whatsapp-float {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-direction: row-reverse; /* Para que la imagen esté a la derecha */
}

.whatsapp-float img {
    width: 80px; /* Tamaño para pantallas grandes */
    height: 80px;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-tooltip {
    background-color:#f5f7f9;
    color: black;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
}

/* Efecto de zoom al pasar el mouse */
.whatsapp-float:hover img {
    transform: scale(1.1);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-float img {
        width: 70px; /* Reduce el tamaño en móviles */
        height: 70px;
    }

    .whatsapp-tooltip {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .whatsapp-tooltip {
        padding: 5px 10px;
    }
    .whatsapp-float {
        bottom: 60px;
    }
}

.contador-fixed {
    position: fixed;
    bottom: 0px;
    padding: 10px;
    left: 0px;
  }


/* VISION, MISION y NUESTRO COLEGIO*/
.vision-conten1 h2,.mision-conten1 h2,.ncolegio-conten1 h2{
    color: #5e9740;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
    margin-top: 30px;
    font-family: var(--font-family-poppins);
    text-align: center;
}
.vision-conten1 p,.mision-conten1 p,.ncolegio-conten1 p{
    color: #1d2a3b;
    font-weight: 400;
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 15px;
    font-family: Poppins, sans-serif;
    padding-right: 60px;
    padding-left: 60px;
    text-align: justify;
}
.vision-conten1 img,.mision-conten1 img,.ncolegio-conten1 img{
    border-radius: 20px;
    margin-top: 40px;
}

@media (max-width: 480px) {
    .vision-conten1 p,.mision-conten1 p,.ncolegio-conten1 p{
        padding-right: 0px;
        padding-left: 0px;
    }
}


/* NUESTRO COLEGIO */
.custom-card {
    background: #f8f9fa; /* Color de fondo suave */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.custom-card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.custom-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.enlace-img {
    width: 100%;
    max-width: 300px; /* Tamaño máximo */
    height: auto;
    border-radius: 8px;
}

.custom-card:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}

/* Responsive */
@media (max-width: 768px) {
    .custom-card {
        margin-bottom: 30px;
        padding: 25px;
    }

    .enlace-img {
        max-width: 250px; /* Tamaño más ajustado en móviles */
    }
}



/* GALERIA */
.gallery-title {
    text-align: center;
    margin: 30px 0 20px;
    font-weight: bold;
    color: #2c3e50;
}

.carousel-container {
    max-width: 900px;
    margin: auto;
    padding-bottom: 40px; /* Espaciado entre los carruseles */
}

.carousel-inner {
    border-radius: 15px;
}

.gallery-img {
    width: 100%;
    height: 300px; /* Aumentado para mejor visualización */
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    filter: invert(100%);
}

