body {
    font-family: 'Poppins', sans-serif;
    color: #221212; 
    line-height: 1.6; 
    margin: 0;
    padding: 0;
    background-color: #d8d3d3;
    text-align: center;
}

header {
    position: relative; 
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    height: 100px; 
    text-align: center;
    z-index: 1;
}

/* Pseudo-elemento para la imagen de fondo */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/Fachada\ nueva.jpeg');
    background-size: cover;
    background-position: center;
    filter: blur(5px); 
    z-index: -1; 
}

.text-container {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 32px;
    margin: 0;
}

p {
    font-size: 18px; 
    margin: 0;
}

.logo-container img {
    height: 70px;
    width: auto;
}

.text-container h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px; 
    transition: all 0.3s ease-in-out;
}

.text-container p {
    font-size: 18px;
    margin: 0;
    font-style: italic;
    transition: all 0.3s ease-in-out;
}

.text-container:hover h1 {
    transform: scale(1.05);
    color: #ffeb3b; 
}

.text-container:hover p {
    color: #ffeb3b; 
}


/* Menú de navegación */
nav {
    background-color: #800000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.menu > li {
    position: relative;
    transition: all 0.3s ease;
}

.menu > li > a {
    display: block;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.menu > li > a:hover {
    background-color: #4d0000; 
    transform: scale(1.1); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2e000d; 
    display: none;
    width: 220px;
    padding: 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
    border-radius: 5px;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.submenu li a:hover {
    background-color: #7d0909;
    padding-left: 10px;
}

.menu li:hover .submenu {
    display: block;
}

main {
    position: relative;
    margin-top: 40px;
}

.image-container {
    position: relative;
    width: 65%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    border-style: ridge;
    border-color: #070707;
}

/* Imagen de fondo */
.image-container img {
    width: 45%;
    height: auto;
    filter: blur(0px); 
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}
.circle {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: scale(1.05);
    
}

/* círculos sobre la imagen */
.mission {
    top: 30%;
    left: 20%;
    transform: translate(-50%, -50%);
}

.vision {
    top: 30%;
    right: 10%;
    transform: translate(-50%, -50%);
}

.info {
    position: absolute;
    width: 270px;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px;
    border-radius: 6px;
    font-size: 3px;
    text-align: justify;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    display: none;
    line-height: 1.2;
}

.circle:hover .info {
    display: block;
    opacity: 1;
}

.info p {
    margin: 5px 0;
    font-weight: 350; 
}

footer {
    background-color: #100165;
    color: white;
    text-align: center;
    padding: 8px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
footer p {
    font-size: 12px;
}

.menu li {
    cursor: pointer;
}

/* submenú en móviles */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        text-align: left;
    }

    .submenu {
        position: relative;
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        overflow-x: auto; 
        white-space: nowrap;
    }

    .menu {
        display: flex;
        flex-wrap: nowrap; 
        gap: 10px;
        padding: 10px;
        overflow-x: auto; 
        scrollbar-width: none; 
    }

    .menu::-webkit-scrollbar {
        display: none;
    }

    .menu > li {
        flex: 0 0 auto;
    }
}
.awards-container {
    display: flex;
    justify-content: center;
    margin-top: 50px; 
}

.awards-img {
    width: 50%; 
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); 
    border: 3px solid #8B0000; 
    padding: 5px; 
    background-color: white; 
}

.awards-img:hover {
    transform: scale(1.05);
}
.spacer {
    height: 50px; 
}
/*CARTAS DE ESPECIALIDADES*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
.container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.card {
    position: relative;
    width: 200px;
    height: 300px;
    perspective: 1000px;
}

.card-inner {
    width: 94%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
    z-index: 10;
}

.face {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.front {
    background: #fff;
    z-index: 2;
}

.front img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.front h3 {
    height: 20%;
    line-height: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 15px;
    padding: 8px;
    text-align: center;
    position: static;
    bottom: 0;
    width: 100%;
}

.back {
    background: #032336;
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 13px;
    z-index: 1;
}

.back h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #ffcc00;
}

.back p {
    font-size: 12px;
    line-height: 1.3;
    max-height: 400px;
}

.back-button {
    padding: 10px 22px;
    background-color: #6b0f1a;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    left: 20px;
}

.back-button:hover {
    background-color: #9b1b30;
    transform: scale(1.05);
}
.titulo-oferta {
    font-size: 2.0rem;
    font-weight: bold;
    color: #0b0084;
    text-shadow: 0 0 20px rgba(34, 0, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInMove 2s ease-out forwards, glow 1.5s infinite alternate;
    position: relative;
}
@keyframes fadeInMove {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(30, 0, 255, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgb(0, 13, 255), 0 0 30px rgba(30, 0, 255, 0.6);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 34, 255, 0.8);
    }
}
p {
    font-size: 18px; 
    margin: 0;
}

/*ESTILOS PARA LAS PARAESCOLARES*/

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 40px;
    justify-items: center;
}

.card-parae {
    width: 100%;
    max-width: 250px;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: 0.4s ease;
}

.card-parae:hover .overlay {
    opacity: 1;
}
.card-parae:nth-child(1):hover .overlay { background-color: rgba(125, 0, 35, 0.8); }
.card-parae:nth-child(2):hover .overlay { background-color: rgba(0, 123, 255, 0.8); }
.card-parae:nth-child(3):hover .overlay { background-color: rgba(40, 167, 69, 0.8); }
.card-parae:nth-child(4):hover .overlay { background-color: rgba(255, 193, 7, 0.8); }
.card-parae:nth-child(5):hover .overlay { background-color: rgba(108, 117, 125, 0.8); }
.card-parae:nth-child(6):hover .overlay { background-color: rgba(220, 53, 69, 0.8); }
.card-parae:nth-child(7):hover .overlay { background-color: rgba(23, 162, 184, 0.8); }
.card-parae:nth-child(8):hover .overlay { background-color: rgba(111, 66, 193, 0.8); }
.card-parae:nth-child(9):hover .overlay { background-color: rgba(0, 204, 153, 0.8); }
.card-parae:nth-child(10):hover .overlay { background-color: rgba(255, 87, 34, 0.8); }
.card-parae:nth-child(11):hover .overlay { background-color: rgba(156, 39, 176, 0.8); }
.card-parae:nth-child(12):hover .overlay { background-color: rgba(0, 150, 136, 0.8); }
.card-parae:nth-child(13):hover .overlay { background-color: rgba(255, 235, 59, 0.8); }
.card-parae:nth-child(14):hover .overlay { background-color: rgba(121, 85, 72, 0.8); }
.card-parae:nth-child(15):hover .overlay { background-color: rgba(96, 125, 139, 0.8); }
.card-parae:nth-child(16):hover .overlay { background-color: rgba(244, 67, 54, 0.8); }
.card-parae:nth-child(17):hover .overlay { background-color: rgba(0, 188, 212, 0.8); }
.card-parae:nth-child(18):hover .overlay { background-color: rgba(63, 81, 181, 0.8); }
.card-parae:nth-child(19):hover .overlay { background-color: rgba(76, 175, 80, 0.8); }
.card-parae:nth-child(20):hover .overlay { background-color: rgba(255, 152, 0, 0.8); }
.card-parae:nth-child(21):hover .overlay { background-color: rgba(139, 195, 74, 0.8); }
.card-parae:nth-child(22):hover .overlay { background-color: rgba(192, 8, 36, 0.8); }
.card-parae:nth-child(23):hover .overlay { background-color: rgba(158, 158, 158, 0.8); }
.card-parae:nth-child(24):hover .overlay { background-color: rgba(103, 58, 183, 0.8); }
.card-parae:nth-child(25):hover .overlay { background-color: rgba(33, 150, 243, 0.8); }
.card-parae:nth-child(26):hover .overlay { background-color: rgba(121, 85, 72, 0.8);}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.back-button {
    padding: 10px 22px;
    background-color: #6b0f1a;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    left: 20px;
}

.back-button:hover {
    background-color: #9b1b30;
    transform: scale(1.05);
}

/*CARRUSEL DE IMÁGENES*/
.carrusel-area-productiva {
    text-align: center;
    margin-top: 40px;
  }
  
  .carousel {
    position: relative;
    max-width: 90%;
    margin: auto;
    overflow: hidden;
  }
  
  .slide {
    display: none;
    position: relative;
  }
  
  .slide img {
    width: 80%;
    vertical-align: middle;
    height: 400px;
    object-fit: cover;
  }
  
  .caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 15px 30px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
  }
  .carrusel-area-productiva .slide .caption {
    color: black !important;
  }
  .dots {
    text-align: center;
    margin-top: 10px;
  }
  
  .dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
  }
  
  .dot.active, .dot:hover {
    background-color: #717171;
  }
  
  .slide.active {
    display: block;
  }
.carrusel-area-productiva .slide {
    display: none;
  }
  .carrusel-area-productiva .slide.active {
    display: block;
  }
  
  .carrusel-area-productiva .dots {
    text-align: center;
    margin-top: 10px;
  }
  .carrusel-area-productiva .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    transition: background 0.3s;
  }
  .carrusel-area-productiva .dot.active {
    background: #717171;
  }
  /*REDES SOCIALES FACEBOOK*/
  .facebook-footer {
    text-align: center;
    padding: 13px 0;
    margin-top: 10px;
    border-top: 2px solid #ccc;
  }
  
  .facebook-footer h3 {
    font-size: 23px;
    margin-bottom: 20px;
    color: #3b5998;
  }
  
  .facebook-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .facebook-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 25px;
    background-color: #3b5998;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    transition: transform 0.3s, background-color 0.3s;
    font-size: 16px;
  }
  
  .facebook-btn:hover {
    background-color: #2d4373;
    transform: scale(1.1);
  }
  
  .facebook-btn img {
    width: 24px;
    height: 24px;
  }
  

  

  
  





