

/* === GENERAL === */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f1f4f8;
  margin: 0;
  padding: 0;
  font-size: 1rem !important;
}
h1, h2, h3, h4{
  font-weight: bold;
  line-height: 1.5;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }


p {
  font-size: 1.1rem;
}


    .especial {
      font-family: "Chewy", system-ui;
      font-size: 1.5em;
    }

/* === BIENVENIDOS === */
.container1 {
  background: url('images/img3.png') no-repeat center center/cover;
  padding: 3rem 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  min-height: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-container1 img {
  width: 300px;
  animation: pulseEscudo 3s infinite;
}

@keyframes pulseEscudo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.text-container1 {
  max-width: 700px;
  color: #000000;
}

.text-container1 h1 {
  font-size: 3.2rem;
  font-weight: bold;
  color: #000000;
}

/* === NIVELES ACADÉMICOS === */
.container3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  
}

.container3 h1.title {
  font-size: 3rem;
  color: #023015;
  font-weight: bold;
  text-shadow: 1px 1px 2px #ccc;
  position: relative;
  display: inline-block;
}

.container3 h1.title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 4px;
  background-color: #023015;
  left: 25%;
  bottom: -10px; /* Espacio debajo del texto */
  border-radius: 2px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: url('images/f1.png') no-repeat center center/cover;
  padding: 20px;
  border-radius: 15px;
  margin-top: -15px;
}

.card-container .card {
  width: 350px;
  margin: 10px;
  background: #fff;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-container .card:hover {
  transform: translateY(-8px);
}

.card-container .card img {
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-container .card h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 10px;
  color: #023015; /* Azul por defecto */
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Colores diferentes por nivel */
.card-container .card:nth-child(1) h4 {
  color: #023015; /* Preescolar - Amarillo */

}

.card-container .card:nth-child(2) h4 {
  color: #023015; /* Primaria - Celeste */
}

.card-container .card:nth-child(3) h4 {
  color: #023015; /* Secundaria - Verde */
}

.card-container .card:nth-child(4) h4 {
  color: #023015; /* Media Académica - Rojo */
}

/* === AVISOS IMPORTANTES === */
.avisos-section {
  background: linear-gradient(to right, #fffce0, #fff8dc);
}

.alert-warning {
    font-size: 2rem;
    font-weight: bold;
    background-color: #ffd501;
    color: #069169;
    border: 2px solid #ffeeba;
    border-radius: 12px;
    padding: 20px;
  }

  /* Título avisos */
  .avisos-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
  }

h4.text-primary {
  color: #050505ff !important; /* Azul Bootstrap por defecto */
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}



/* === NUESTRA INSTITUCIÓN === */

 /* Cards personalizadas */
  .custom-card {
    border: 10px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    position: relative;
  }

  .custom-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }

  /* Borde lateral con degradado */
  .border-left-card {
    border-left: 8px solid transparent;
    border-image: linear-gradient(180deg, #068460, #068460);
    border-image-slice: 1;
  }

  /* Header estilizado */
  .custom-card .card-header {
    background: linear-gradient(135deg, #068460, #068460);
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border-bottom: none;
  }

  .custom-card .card-header h5 {
    font-size: 1.2rem;
    margin: 0;
  }

  /* Cuerpo de la tarjeta */
  .custom-card .card-body {
    padding: 15px;
  }

  /* Contenedor de iframe */
  .iframe-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
  }

  .custom-card:hover .iframe-wrapper {
    border-color: #20c997;
  }

  .responsive-iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  /* Ajustes responsivos */
  @media (max-width: 768px) {
    .iframe-wrapper {
      height: 300px;
    }
  }

  /* Botón personalizado */
  .btn-custom1 {
    background: linear-gradient(45deg, #198754, #198754);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }

  .btn-custom1:hover {
    background: linear-gradient(45deg, #068460, #068460);
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    color: #e9ecef;
  }



/* === Carrusel de Avisos === */

.carousel-container {
      max-width: 1000px;
      margin: auto;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    .carousel-inner img {
      height: 480px;
      object-fit: cover;
      border-radius: 0;
    }

    .carousel-indicators [data-bs-target] {
      background-color: #007bff;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 50%;
    }

    .carousel-caption {
      background: rgba(0, 0, 0, 0.5);
      padding: 10px;
      border-radius: 8px;
    }

    @media (max-width: 768px) {
      .carousel-inner img {
        height: 250px;
      }
    }

 
 #typewriter {
        border-right: 4px solid #fff;
        padding: 10px;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        animation: blink 0.7s infinite;
        display: inline-block;
        height: 70px; /* altura fija para evitar saltos */
        line-height: 70px; /* centra verticalmente el texto */
    }

    @keyframes blink {
        0%, 50% { border-color: white; }
        50%, 100% { border-color: transparent; }
    }



  /* Estilos de la barra lateral */
.social-bar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

/* Estilo de cada ícono dentro del cuadro */
.social-icon {
  background-color: #333;
  color: white;
  padding: 5px;
  margin: 3px;
  width: 40px; /* Ancho fijo */
  height: 40px; /* Alto fijo */
  text-align: center;
  font-size: 25px;  /* Tamaño del ícono */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;  /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra sutil */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
  background-color: #0077b5; /* Cambia el color de fondo en hover */
  transform: scale(1.1); /* Agranda el ícono al pasar el ratón */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada en hover */
}

/* Estilos específicos para cada red social */
.social-icon.facebook {
  background-color: #3b5998; /* Facebook */
}

.social-icon.twitter {
  background-color: #00acee; /* Twitter */
}

.social-icon.instagram {
  background-color: #e4405f; /* Instagram */
}

.social-icon.linkedin {
  background-color: #0e76a8; /* LinkedIn */
}

/* Estilo específico para WhatsApp */
.social-icon.whatsapp {
  background-color: #25D366; /* WhatsApp */
}


/* acordeone */

/* Estilo del título */

  .container4-acordeon {
      margin-top: 80px;
      margin-bottom: 80px;
      padding: 40px 20px;
      background: #ffffff;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .accordion-item {
      border-radius: 10px;
      overflow: hidden;
      margin-bottom: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }
    iframe {
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.25);
      width: 100%;
      min-height: 350px;
    }
    h3 {
      font-weight: bold;
      margin-bottom: 20px;
      text-align: center;
    }

       h2 {
      font-weight: bold;
      margin-bottom: 20px;
      text-align: center;
    }



  /* Fondo normal del botón */
.accordion-button {
  background: #019c63 !important;      /* color sólido azul oscuro */
  color: white !important;              /* texto blanco */
  box-shadow: none !important;          /* quitar sombra interna */
}

/* Fondo cuando está activo (opción abierta) */
.accordion-button:not(.collapsed) {
  background: #a5d69f !important;       /* azul más intenso cuando abre */
  color: rgb(0, 0, 0) !important;
}

/* Quitar borde */
.accordion-button::after {
  color-interpolation-filters: auto; /* opcional: cambia color del icono de flecha si quieres */
}


/* Contenedor  botones enlces de interes*/
/* Título */
.titulo-botones {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #023015;
    
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

/* Línea decorativa debajo del título */
.titulo-botones::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(135deg, #023015, #085d2a);
    margin: 5px auto 0;
    border-radius: 2px;
    font-size: larger;
}

/* Contenedor */
.botones-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Botones */
.boton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(135deg, #085d2a, #04421d);
    box-shadow: 0 4px 15px rgba(1, 0, 182, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    margin-bottom: 60px;
}

.boton:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #efb810, #efb810);
    color:#000000
}

.boton i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 600px) {
    .boton {
        width: 100%;
    }
}

/* Animación título */
.titulo-animado {
  font-size: 2rem;
  font-weight: bold;
  color: #023015;
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeSlide 1.5s ease-out forwards;
}

/* Texto descriptivo */
.texto-animado {
  font-size: 1.1rem;
  color: #000000;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeSlide 6s ease-out forwards;
}

/* Logos estilo “botonito” */
.logo-boton {
  max-width: 100px;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-block;
}

/* Hover de logos */
.logo-boton:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  cursor: pointer;
}

/* Animación keyframes */
@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .titulo-animado { font-size: 1.6rem; }
  .texto-animado { font-size: 1rem; }
  .logo-boton { max-width: 80px; padding: 8px; }
}

/* slide */

.carousel-section {
  background: url('https://www.colegiocristianoluzyvida.edu.co/prueba/images/1.jpg') center/cover no-repeat;
  padding: 60px 20px;
  min-height: 400px; /* solo en desktop */
}

@media (max-width: 768px) {
  .carousel-section {
    min-height: auto; /* en móviles se ajusta al contenido */
    padding: 40px 15px;
  }
}
 


  /* Título */
  .carousel-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #FFD600;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  }

  /* Logos en horizontal */
  .logos-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  /* Tarjetas de logos */
  .logo-card {
    background: rgba(0,0,0,0.5);
    border: 2px solid #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    width: 160px;
    transition: all 0.3s ease;
  }
  .logo-card img {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
  }
  .logo-card:hover {
    transform: scale(1.1);
    border-color: #FFD600;
    background: rgba(0,0,0,0.7);
  }
  .logo-card p {
    margin: 0;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
  }