
body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    
  }
  
  /* Para todos los títulos */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
  }


  h1 {
    font-size: 2.5rem;
    font-weight: 700;
  }
  
  h2 {
    font-size: 2rem;
    font-weight: 600;
  }
  
  p, .card-text, .nav a, .btn {
   
    font-size: 1rem;
  }


    /* Animación de entrada */
    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeIn 1s ease-out forwards;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    header nav {
      background-color: #eaeaea;
      padding: 15px 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    header nav a {
      color: #000;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
      padding: 8px 12px;
      border-radius: 4px;
    }
    
    header nav a:hover {
      color: #74a5da;
      background-color: rgba(0, 0, 0, 0.05);
    }
    
    /* Menú para desktop (visible por defecto) */
    .nav-desktop {
      display: flex;
      gap: 10px;
    }
    
    /* Menú móvil (oculto por defecto) */
    .nav-mobile {
      display: none;
    }
    
    /* Botón hamburguesa (oculto por defecto) */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      padding: 5px 10px;
    }
    
    /* Estilos responsivos */
    @media (max-width: 768px) {
      header nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 5%;
      }
    
      /* Oculta el menú desktop en móviles */
      .nav-desktop {
        display: none;
      }
    
      /* Muestra el botón hamburguesa */
      .menu-toggle {
        display: block;
        align-self: flex-end;
        margin-top: -40px;
      }
    
      /* Estilos para el menú móvil cuando está activo */
      .nav-mobile.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        gap: 5px;
      }
    
      .nav-mobile a {
        padding: 10px;
        border-top: 1px solid #ddd;
      }
    
      .nav-mobile a:last-child {
        border-bottom: 1px solid #ddd;
      }
    }

    .hero {
      text-align: center;
      padding: 80px 20px 40px;
    }

    .hero h1 {
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .hero p {
      color: #ccc;
      font-size: 1.2rem;
    }

    .main-content {
      display: flex;
      justify-content: space-between;
      padding: 40px 50px;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .educativa {
      flex: 2;
      background-color: #444;
      height: 300px;
      padding: 1rem;
      transition: transform 0.3s;
    }

    .educativa:hover {
      transform: scale(1.01);
    }

    .novedades {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .novedades div {
      background-color: #555;
      height: 100px;
      transition: transform 0.3s;
    }

    .novedades div:hover {
      transform: translateY(-5px);
    }

    
    .card-noticia {
      background-color: #222;
      color: #fff;
      transition: transform 0.2s, box-shadow 0.2s;
      padding: 1rem;          /* un poco menos padding */
      font-size: 0.9rem;      /* texto ligeramente más pequeño */
      border-radius: 8px;
    }
    
    .card-noticia:hover {
      transform: scale(1.015);
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
      cursor: pointer;
    }
    
    .card-title,
    .card-text,
    .text-muted {
      color: #ddd;
      font-size: 0.85rem;     /* texto un poco más pequeño */
      margin-bottom: 0.5rem;
    }
    
    .card a.btn {
      background-color: #007bff;
      border: none;
      font-size: 0.8rem;      /* botón más pequeño */
      padding: 0.3rem 0.7rem;
      border-radius: 5px;
    }
    
    .btn-leer-mas {
      background-color: #000;       /* Fondo negro */
      color: #fff;                  /* Texto blanco */
      font-weight: 600;
      font-size: 0.85rem;
      padding: 0.4rem 0.9rem;
      border-radius: 6px;
      border: 1px solid #333;
      transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s;
      display: inline-block;
      text-align: center;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
      text-decoration: none;
    }
    
    .btn-leer-mas:hover,
    .btn-leer-mas:focus {
      background-color: #111;         /* Un poco más claro al hacer hover */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
      transform: translateY(-2px);    /* Efecto sutil de elevación */
      color: #fff;
    }
    
    .btn-leer-mas:active {
      background-color: #222;
      box-shadow: none;
      transform: scale(0.98);
    }
    
    .card-carrera {
      background-color: #222;
      color: #fff;
      transition: transform 0.3s, box-shadow 0.3s;
      text-decoration: none;
      border-radius: 8px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      min-height: 350px; /* Altura mínima para consistencia */
    }
    
    .card-carrera:hover {
      transform: scale(1.02);
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
    
    .card-carrera img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      border-bottom: 1px solid #444;
    }
    
    .card-carrera .card-title {
      color: #fff;
      font-size: 1.3rem;
      font-weight: 600;
      margin: 15px;
      padding-bottom: 10px;
      flex-grow: 1;
    }
    
    /* Contenedor principal para las cards */
    .carreras-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Siempre 2 columnas */
      gap: 30px;
      padding: 60px 5%;
      max-width: 1000px; /* ancho suficiente para 2 columnas cómodamente */
      margin: 0 auto;
      box-sizing: border-box;
    }
    
    
    /* Contenedor del título */
    .titulo-seccion {
      text-align: center;
      padding: 40px 0 20px;
      width: 100%;
    }
    
    /* Responsive: ajustes para pantallas medianas */
    @media (max-width: 700px) {
      .carreras-container {
        grid-template-columns: 1fr; /* En pantallas chicas, solo 1 por fila */
        padding: 30px 15px;
      }
    }
    /* Responsive: 1 card por fila en móviles */
    @media (max-width: 650px) {
      .carreras-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        padding: 30px 15px;
      }
      
      .card-carrera {
        min-height: 300px;
      }
    }
      .contacto-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80vh;
        padding: 40px 20px;
      }
      
      .contacto-form {
        border: 1px solid #fff;
        padding: 40px 30px;
        max-width: 500px;
        width: 100%;
        text-align: center;
        background-color: transparent;
      }
      
      .contacto-form h2 {
        margin-bottom: 30px;
        font-weight: 500;
      }
      
      .contacto-form input,
      .contacto-form textarea {
        width: 100%;
        background-color: transparent;
        border: none;
        border-bottom: 2px solid #fff;
        color: #fff;
        padding: 10px;
        margin-bottom: 25px;
        font-size: 1rem;
        outline: none;
      }
      
      .contacto-form input::placeholder,
      .contacto-form textarea::placeholder {
        color: #ccc;
      }
      
      .contacto-form button {
        background-color: transparent;
        color: #fff;
        border: 1px solid #fff;
        padding: 10px 30px;
        font-size: 1rem;
        cursor: pointer;
        transition: 0.3s;
      }
      
      .contacto-form button:hover {
        background-color: #fff;
        color: #000;
      }
      

      .navbar-cam {
        background-color: #eaeaea;
        padding: 10px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
      }
      
      .nav-izquierda .logo-cam {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.2rem;
        font-weight: 600;
        color: #000;
      }
      
      .nav-derecha a {
        color: #000;
        margin-left: 15px;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
      }
      
      .nav-derecha a:hover {
        color: #007bff;
      }

      .seccion-cam {
        padding: 60px 20px;
        color: #fff;
        background-color: #000;
      }
      
      .titulo-seccion {
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 30px;
      }
      
      .separador-blanco {
        border: none;
        border-top: 2px solid #fff;
        width: 60px;
        margin: 0 auto 40px auto;
      }
      
      .seccion-cam p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 20px;
        color: #eee;
      }
      
      .subtitulo-final {
        text-align: center;
        font-weight: 600;
        margin-top: 40px;
      }

      .acordeon-cam details {
        margin-bottom: 15px;
        background-color: #111;
        padding: 15px 20px;
        border: 1px solid #333;
        border-radius: 8px;
        color: #fff;
        cursor: pointer;
      }
      
      .acordeon-cam summary {
        font-weight: 600;
        font-size: 1.1rem;
        margin-bottom: 10px;
      }
      
      .acordeon-cam p {
        margin-top: 10px;
        font-size: 0.95rem;
        line-height: 1.6;
      }

      .seccion-cam {
        padding: 60px 20px;
        background-color: #000;
        color: #fff;
      }
      
      .titulo-seccion {
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 30px;
      }
      
      .separador-blanco {
        border: none;
        border-top: 2px solid #fff;
        width: 60px;
        margin: 0 auto 40px auto;
      }
      
     /* Contenedor general */
.orgullo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* Tarjeta */
.orgullo-card {
  background-color: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 360px;
  max-width: 260px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Efecto hover */
.orgullo-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Imagen o bloque visual */
.orgullo-img {
  background-size: contain; /* o probar cover */
  background-position: center center; /* centrar la imagen */
  background-repeat: no-repeat;

  height: 160px;
  width: 100%;
  background-color: #222; /* Por si no hay imagen aún */
}

/* Contenido textual */
.orgullo-info {
  padding: 16px;
  color: white;
}

/* Nombre */
.orgullo-nombre {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Descripción */
.orgullo-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #ccc;
}

/* Botón / enlace */
.btn-link {
  color: #73d1dd;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
}

.btn-link:hover {
  text-decoration: underline;
}


/* Contenedor principal */
.content-container {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  min-height: 70vh;
  width: 100%;
  font-family: 'Montserrat', sans-serif; /* Tipografía base */
}


/* Imagen base */
.card-gamaliel .orgullo-img {
  background-image: url('admin/imagenes/GAMA1.jpg');
}
.card-brenda .orgullo-img {
  background-image: url('admin/imagenes/BRENDA.jpg');
}
.card-loana .orgullo-img {
  background-image: url('admin/imagenes/LOANA.jpg');
}
.card-alfredo .orgullo-img {
  background-image: url('admin/imagenes/ALFREDO.jpg');
}
.card-gaby .orgullo-img {
  background-image: url('admin/imagenes/GABY.jpg');
}
.card-gera .orgullo-img {
  background-image: url('admin/imagenes/GERA.jpg');
}
.card-martha .orgullo-img {
  background-image: url('admin/imagenes/MARTHA.jpg');
}
.card-carmen .orgullo-img {
  background-image: url('admin/imagenes/CARMEN.jpg');
}
.card-omar .orgullo-img {
  background-image: url('admin/imagenes/OMAR.jpg');
}
.card-aurelio .orgullo-img {
  background-image: url('admin/imagenes/AURELIO.jpg');
}
.card-cecy .orgullo-img {
  background-image: url('imagenCecy.jpg');
}
.card-nadia .orgullo-img {
  background-image: url('imagenNadia.jpg');
}

/* Imagen hover */
.card-gamaliel:hover .orgullo-img {
  background-image: url('admin/imagenes/GAMALOGO.jpg');
}
.card-brenda:hover .orgullo-img {
  background-image: url('admin/imagenes/BRENDALOGO.jpg');
}
.card-loana:hover .orgullo-img {
  background-image: url('admin/imagenes/LOANALOGO.jpg');
}
.card-alfredo:hover .orgullo-img {
  background-image: url('admin/imagenes/ALFREDOLOGO.jpg');
}
.card-gaby:hover .orgullo-img {
  background-image: url('admin/imagenes/GABYLOGO.png');
}
.card-gera:hover .orgullo-img {
  background-image: url('admin/imagenes/GERALOGO.png');
}
.card-martha:hover .orgullo-img {
  background-image: url('admin/imagenes/MARTHALOGO.jpg');
}
.card-carmen:hover .orgullo-img {
  background-image: url();
}
.card-omar:hover .orgullo-img {
  background-image: url('admin/imagenes/OMARLOGO.jpg');
}
.card-aurelio:hover .orgullo-img {
  background-image: url('admin/imagenes/AURELIOLOGO.jpg');
}
.card-cecy:hover .orgullo-img {
  background-image: url('imagenCecy-hover.jpg');
}
.card-nadia:hover .orgullo-img {
  background-image: url('imagenNadia-hover.jpg');
}


/* Banner Oferta Educativa - Con efectos mejorados */
.edu-banner {
  flex: 2;
  min-height: 400px;
  background-image: url('admin/imagenes/DSC01454.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif; 
}

.edu-banner__text {
  color: white;
  font-size: 2.5rem;
  font-weight: 600; /* Semi-bold */
  z-index: 1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  transition: all 0.4s ease;
}
.edu-banner__hover-content h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.edu-banner__hover-content p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.edu-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  transition: all 0.5s ease;
}

.edu-banner:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.edu-banner:hover::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.edu-banner__text {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  z-index: 1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  transition: all 0.4s ease;
}

.edu-banner:hover .edu-banner__text {
  transform: translateY(-20px);
}

/* Contenido hover para Oferta Educativa */
.edu-banner__hover-content {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 25px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.edu-banner:hover .edu-banner__hover-content {
  bottom: 0;
}

/* Sección Noticias con efectos mejorados */
.news-sidebar {
  flex: 1;
  padding: 25px;
  background: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  min-width: 300px;
  font-family: 'Montserrat', sans-serif;
}

.news-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}



.news-sidebar:hover .news-heading::after {
  width: 100px;
}

/* Tarjetas de noticias con efectos mejorados */
.news-card {
  display: flex;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: auto;
  min-height: 100px;
  margin-bottom: 15px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.news-card__img {
  width: 150px;
  min-height: 100px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.05);
}

.news-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 20px;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-grow: 1;
  word-break: break-word;
  white-space: normal;
  display: -webkit-box;

  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card__title:hover {
  color: #0066cc;
}

/* Responsive */
@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
  }
  .edu-banner, .news-sidebar {
    flex: 1 1 100%;
  }
  .edu-banner {
    min-height: 300px;
  }
  .news-card {
    flex-direction: column;
  }
  .news-card__img {
    width: 100%;
    height: 150px;
  }
}


/* ESTILOS PARA VISTA DE NOTICIA INDIVIDUAL */
.noticia-header {
  margin-bottom: 2rem;
}

.noticia-header h1 {
  position: relative;
  padding-bottom: 15px;
}

.noticia-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
}

.noticia-meta {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.noticia-imagen {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.noticia-contenido {
  margin-bottom: 3rem;
}

.noticia-contenido p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.btn-volver {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 10px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: inline-block;
}

.btn-volver:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255,255,255,0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .noticia-header h1 {
    font-size: 2rem;
    padding-bottom: 10px;
  }
  
  .noticia-imagen {
    height: 300px;
  }
  
  .noticia-meta {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .noticia-header h1 {
    font-size: 1.8rem;
  }
  
  .noticia-imagen {
    height: 250px;
  }
  
  .noticia-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-volver {
    width: 100%;
    text-align: center;
   
  }
}



/* Contenedor de paginación */
.pagination {
  margin-top: 3rem;       /* Más separación desde las noticias */
  margin-bottom: 1rem;    /* Menos separación hacia el footer */
  justify-content: center;
  gap: 0.5rem;
}

/* Estilos para los botones de página */
.page-item .page-link {
  background-color: #111;   /* Fondo negro */
  color: #fff;              /* Texto blanco */
  border: 1px solid #444;   /* Borde gris oscuro */
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 600;
  user-select: none;
}

/* Hover en botones */
.page-item .page-link:hover {
  background-color: #fff;
  color: #111;
  border-color: #111;
  text-decoration: none;
}

/* Página activa */
.page-item.active .page-link {
  background-color: #fff;
  color: #111;
  border-color: #111;
  cursor: default;
}

/* Botones deshabilitados */
.page-item.disabled .page-link {
  background-color: transparent;
  color: #666;
  border-color: transparent;
  cursor: not-allowed;
  pointer-events: none;
}

  /* Estilos para footer blanco con elementos negros */
  .footer {
    background-color: #ffffff;
    color: #000000;
    padding-top: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid #e0e0e0;
    position: relative;
    width: 100%;
}

.footer-title {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #000000;
}

.footer-link, .footer-link:hover {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #555555;
    text-decoration: underline;
}

.footer-contact {
    line-height: 1.8;
    color: #333333;
}

.enlaces-utiles {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.enlaces-utiles a {
    color: #000000;
    background: #f5f5f5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.enlaces-utiles a:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #f5f5f5;
    color: #666666;
    border-top: 1px solid #e0e0e0;
}
.footer-logo img {
  max-width: 100px;
  height: auto;
  display: block;
  margin: 10px auto 0 auto;
}


/* Responsive */
@media (max-width: 768px) {
    .footer .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .enlaces-utiles {
        justify-content: center;
     
    }
}

