/* =========================================================
   STYLE.CSS — Diseño Moderno Educativo
   Autor: TediNet
   ========================================================= */

/* ----------- VARIABLES ----------- */
:root {
  --celeste: #00aaff;
  --azul-suave: #0077cc;
  --azul-oscuro: #003366;
  --gris-claro: #f7f9fb;
  --texto: #333;
  --degradado: linear-gradient(135deg, #00aaff, #0077cc);
  --transicion: all 0.4s ease;
  --sombra: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ----------- RESETEO ----------- */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #fff;
  color: var(--texto);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--azul-oscuro);
  font-weight: 700;
}

a {
  color: var(--celeste);
  text-decoration: none;
  transition: var(--transicion);
}

a:hover {
  color: var(--azul-suave);
}

/* ----------- HEADER ----------- */
.header {
  background: #fff;
  transition: var(--transicion);
}

.institution-header {
  background-color: #F2F2F2;
}

.header .logo {
  max-height: 80px;
  transition: var(--transicion);
}

.navbar {
  background-color: #fefefe;
  border: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link {
  color: var(--azul-oscuro);
  padding: 12px 20px;
  font-weight: 500;
  transition: var(--transicion);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--celeste);
  transform: translateY(-2px);
}

/* ----------- SLIDER ----------- */
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.carousel-item {
  height: 90vh;
  background-size: cover;
  background-position: center;
  transition: var(--transicion);
}

.carousel-item .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 45, 85, 0.45);
  backdrop-filter: blur(2px);
}

.carousel-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  animation: fadeInUp 1s ease;
}

.carousel-caption h1 {
  font-size: 2.6rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
  font-size: 1.1rem;
}

.carousel-caption .btn {
  background: var(--degradado);
  border: none;
  color: #fff;
  border-radius: 50px;
  transition: var(--transicion);
}

.carousel-caption .btn:hover {
  background: var(--azul-oscuro);
  transform: translateY(-3px);
}

/* Animación suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   BLOQUE INCORPORADO — Slider Moderno + Efectos
   ========================================================= */

/* ===== SLIDER ===== */
.slider-section {
  position: relative;
  overflow: hidden;
}

.slider-img {
  height: 80vh;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 6s ease-in-out;
}

.carousel-item.active .slider-img {
  transform: scale(1.05);
}

.carousel-caption {
  bottom: 20%;
}

.carousel-caption h2 {
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.carousel-caption p {
  color: #e8f1f9;
  font-size: 1.1rem;
}

/* ===== EFECTOS ===== */
.text-shadow {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.bg-gradient {
  background: linear-gradient(135deg, #00aaff, #0077cc);
}

.bg-dark-nav {
  background: linear-gradient(90deg, #002a5c, #004c8c);
}

.bg-dark-nav .nav-link {
  color: #fff !important;
}

.bg-dark-nav .nav-link:hover,
.bg-dark-nav .nav-link.active {
  color: #00aaff !important;
}

/* ----------- SOBRE NOSOTROS ----------- */
#sobre img {
  border-radius: 12px;
  box-shadow: var(--sombra);
  transition: var(--transicion);
}

#sobre img:hover {
  transform: scale(1.03);
}

#sobre h2 {
  color: var(--azul-oscuro);
}

#sobre p {
  color: #555;
}

/* ----------- PROGRAMAS ----------- */
.program-card {
  background-color: #e6cb58; /* dorado suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card img {
  height: 220px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.3s ease;
}

.program-card:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.program-info {
  background-color: #e6cb58; /* dorado */
}

.program-info .btn-dark {
  background-color: #1c3b70;
  border: none;
  transition: background-color 0.3s ease;
}

.program-info .btn-dark:hover {
  background-color: #10294d;
}

/* ----------- POR QUÉ ELEGIRNOS ----------- */
#elegirnos h2 {
  color: var(--azul-oscuro);
}

#elegirnos .bg-white {
  border: 1px solid #eaeaea;
  transition: var(--transicion);
}

#elegirnos .bg-white:hover {
  background: var(--degradado);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--sombra);
}

#elegirnos .bi {
  transition: var(--transicion);
}

#elegirnos .bg-white:hover .bi {
  transform: scale(1.2);
  color: #fff;
}

/* ----------- FOOTER ----------- */
footer {
  background: var(--azul-oscuro);
  background: linear-gradient(180deg, #004080, #002244);
  color: #fff;
}

footer .footer-logo {
  max-width: 140px;
}

footer h5 {
  color: #fff;
  font-weight: 600;
}

footer p, footer a {
  color: #cdd9e8;
  font-size: 15px;
}

footer a:hover {
  color: var(--celeste);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.2);
}

footer .bi {
  transition: var(--transicion);
}

footer .bi:hover {
  color: var(--celeste);
  transform: scale(1.2);
}

/* ======== FOOTER EDUCATIVO ======== */
.footer-educativo {
  background: linear-gradient(180deg, #001d3d, #003366);
  color: #e6ecf3;
  position: relative;
  font-size: 15px;
}

.footer-educativo h6 {
  color: #00bfff;
}

.footer-sedes .sede-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-sedes .sede-icon {
  background: #00bfff;
  color: #001d3d;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: #e6ecf3;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-nav .footer-link {
  color: #e6ecf3;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav .footer-link:hover {
  color: #00c8ff;
}

.social-icon {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #00c8ff;
  transform: translateY(-3px);
}

.footer-legal {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  #sobre img {
    margin-bottom: 20px;
  }
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  #sobre img {
    margin-bottom: 20px;
  }
}

.top-claim {
  background: linear-gradient(90deg, #1e90ff, #00bcd4);
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-claim:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.3);
}

/* === Redes en menú === */
.social-icons a {
  transition: all 0.3s ease;
  color: #fff;
}

.social-icons a:hover {
  color: #00bcd4; /* tono celeste moderno */
  transform: translateY(-3px);
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

/* ================================
   Dropdown moderno — estilo profesional
   ================================ */

/* Base: menú oscuro ya definido */
.navbar-dark .dropdown-toggle::after {
  content: "" !important; /* quitamos el caret por defecto para personalizar */
}

/* Nuevo caret personalizado */
.navbar-dark .nav-item.dropdown > a::after {
  content: "▾";
  display: inline-block;
  margin-left: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  transition: transform .25s ease;
}

/* Rotar caret al abrir */
.navbar-dark .nav-item.show > a::after,
.navbar-dark .nav-item.open > a::after {
  transform: rotate(180deg);
}

/* ======================================
   Corrige la posición y apariencia moderna
   ====================================== */
.navbar .dropdown-menu {
  top: 100% !important; /* Justo debajo del botón padre */
  left: 0 !important;   /* Alineado con el texto del menú */
  margin-top: 0.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #009fe3, #0061a8);
  border: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  animation: slideDown 0.3s ease;
  min-width: 220px;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1060;
}

/* Mostrar con animación */
.navbar-dark .nav-item.show > .dropdown-menu,
.navbar-dark .nav-item .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Flecha decorativa */
.navbar .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 25px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #009fe3, #0061a8);
  transform: rotate(45deg);
  box-shadow: -2px -2px 6px rgba(2,20,48,0.12);
}

/* Animación elegante */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Items del menú */
.navbar-dark .dropdown-menu .dropdown-item {
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: .1px;
  transition: background .18s ease, transform .12s ease, color .18s ease;
}

/* Hover/Focus item */
.navbar-dark .dropdown-menu .dropdown-item:hover,
.navbar-dark .dropdown-menu .dropdown-item:focus {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateX(6px);
  text-decoration: none;
}

/* Divider (si usas) */
.navbar-dark .dropdown-menu .dropdown-divider {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: .4rem 0;
}

/* Centrar el dropdown respecto al enlace padre */
@media (min-width: 992px) {
  .navbar-nav .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) translateY(-8px) scale(.98);
  }
  .navbar-nav .nav-item.show > .dropdown-menu {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Vista móvil */
@media (max-width: 991px) {
  .navbar-dark .dropdown-menu {
    background: #07203a;
    transform: none !important;
    opacity: 1 !important;
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: .35rem 0;
  }
  .navbar-dark .dropdown-menu::before { display: none; }
}

/* Asegura que no tape otras secciones */
.navbar { z-index: 1050; }

.btn-info {
  background: linear-gradient(135deg, #009fe3, #0077cc);
  border: none;
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 30px;
}

.btn-info:hover {
  background: linear-gradient(135deg, #0077cc, #005fa3);
  transform: translateY(-3px);
}

/* ====== BOTÓN FLOTANTE WHATSAPP ====== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* 🔹 Efecto hover (sube y brilla un poco) */
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  background-color: #1ebe5b;
  color: #fff;
}

/* 🔹 Efecto de “latido” (opcional, si quieres hacerlo más llamativo) */
@keyframes whatsapp-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.whatsapp-float.pulse {
  animation: whatsapp-pulse 2s infinite;
}

/* 🔹 Adaptable en pantallas pequeñas */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 15px;
    right: 15px;
  }
}

/* ======== CONTENIDO PELUQUERÍA ======== */
#peluqueria h2, 
#peluqueria h4 {
  color: var(--azul-principal, #004080);
}

#peluqueria ul.list-group {
  border: none;
}

#peluqueria .list-group-item {
  border: none;
  padding-left: 1.2rem;
  color: #333;
  font-size: 0.95rem;
}

#peluqueria p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

#peluqueria hr {
  border-color: rgba(0, 0, 0, 0.1);
}

/* ======== CONTENIDO COSMETOLOGÍA ======== */
#cosmetologia h2, 
#cosmetologia h4 {
  color: var(--azul-principal, #004080);
}

#cosmetologia p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

#cosmetologia ul.list-group {
  border: none;
}

#cosmetologia .list-group-item {
  border: none;
  padding-left: 1.2rem;
  color: #333;
  font-size: 0.95rem;
  background: transparent;
}

#cosmetologia hr {
  border-color: rgba(0, 0, 0, 0.1);
}

#cosmetologia strong {
  color: #004080;
}

.modal-header.bg-info {
  background: linear-gradient(90deg, #0078d4, #00bfff);
}

.modal-content {
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
}

.modal-body p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* ======================================================
   🔹 ESTILOS DEL MODAL DE PROMOCIÓN (IMAGEN FLYER)
   Centrado en todas las pantallas
====================================================== */
#modalPromocion .modal-dialog {
  max-width: 600px;            /* ancho máximo más equilibrado */
  margin: 1.75rem auto;        /* centrado vertical y horizontal */
}

#modalPromocion .modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

#modalPromocion .modal-body {
  padding: 0;
  background-color: #000;      /* fondo neutro detrás de la imagen */
}

#modalPromocion img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
  #modalPromocion .modal-dialog {
    max-width: 90%;
    margin: 1rem auto;
  }

  #modalPromocion .btn-close {
    top: 8px;
    right: 8px;
  }
}

.btn-info {
  background: linear-gradient(90deg, #0078d4, #00bfff);
  border: none;
  transition: all 0.3s ease;
}

.btn-info:hover {
  background: linear-gradient(90deg, #005ea8, #00a8e8);
  transform: translateY(-2px);
}

/* ===== Barra de progreso superior ===== */
.slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 0;
  background: linear-gradient(90deg, #00a8e8, #0078d4);
  z-index: 10;
  transition: width 4.5s linear;
  border-radius: 0 4px 4px 0;
}

/* ===== Indicadores personalizados visibles sobre el slider ===== */
.slider-section {
  position: relative;
  overflow: hidden;
}

.custom-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 1055; /* 🔹 superior al caption y controles */
  pointer-events: auto;
}

.custom-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 123, 255, 0.5); /* azul translúcido */
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-indicators button.active,
.custom-indicators button:hover {
  background-color: #0078d4; /* azul intenso */
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
  transform: scale(1.2);
}

/* 🔹 Asegura que los captions y controles no cubran los indicadores */
.carousel-caption {
  z-index: 1000;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 1020;
}

/* Estilo tipo botón "Donar" del Observatorio Fiscal */
.btn-donar-style {
  background-color: linear-gradient(90deg, #0078d4, #00bfff);
  color: #ffffff;
  border: 2px solid #D3D3D3;
  border-radius: 10px; /* Bordes redondeados */
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-donar-style i {
  font-size: 16px;
}

.btn-donar-style:hover {
  background-color: linear-gradient(90deg, #0078d4, #00bfff);
  color: #D3D3D3;
  text-decoration: none;
  border-color: linear-gradient(90deg, #0078d4, #00bfff);
}

/* ===== Estilos bloque destacado (inspirado en la imagen) ===== */
.destacado-section { background: #fff; }

/* buscador */
.search-box {
  background: #E9F9F1; /* fondo pastel similar a la imagen */
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  box-shadow: 0 2px 6px rgba(16,24,40,0.04);
}
.search-box input.form-control { background: transparent; outline: none; box-shadow: none; }

/* tarjetas tipo lista */
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(90deg, rgba(255,240,230,1) 0%, rgba(255,245,240,1) 100%);
  box-shadow: 0 6px 18px rgba(16,24,40,0.04);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(16,24,40,0.08);
}

/* icono en cuadro */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  color: #FF7A00; /* color distintivo para los iconos */
  flex-shrink: 0;
}

/* Variaciones sutiles entre tarjetas (puedes ajustar) */
.row .col-12:nth-child(1) .link-card { background: linear-gradient(90deg,#FFF4E6,#FFF6F0); color:#3C2F1E; }
.row .col-12:nth-child(2) .link-card { background: linear-gradient(90deg,#E8FBF4,#EDF8F2); color:#1B6458; }
.row .col-12:nth-child(3) .link-card { background: linear-gradient(90deg,#F3F4FF,#F7F7FF); color:#2B2A6E; }

/* Ilustración/hero */
.hero-illustration svg { max-width: 260px; width: 100%; height: auto; }

/* Ajustes responsivos */
@media (max-width: 991px) {
  .icon-box { width:52px; height:52px; }
  .hero-illustration { margin-bottom: 0.5rem; }
  .search-box { padding: 8px 12px; }
}

/* small styles to keep text readable */
.destacado-section .lead { color:#2d2d2d; }

/* ======== TALENTO FUNED ======== */
#talento {
  font-family: 'Quicksand', sans-serif;
  overflow: visible;
}

/* Estructura general de tarjetas */
#talento .col-md-4 {
  overflow: visible !important;
}

.testimonial-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: none;
  overflow: visible !important;
  z-index: 1;
  border-radius: 20px;
}

.testimonial-content {
  padding-top: 2.5rem;
  padding-bottom: 100px; /* espacio para el avatar */
  text-align: center;
}

/* Colores corporativos */
.bg-blue { background: #1c3b70; }
.bg-blue-dark { background: #14254e; }
.bg-gold { background: #e6cb58; }

/* Hover */
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Comillas */
.quote-img img {
  width: 70px;
  height: auto;
  opacity: 0.9;
  margin-bottom: 15px;
}

/* Texto */
.testimonial-text {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 90%;
  margin: 0 auto;
}

/* ======== AVATARES ======== */
#talento .avatar-wrapper {
  position: absolute;
  bottom: -65px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 30;
}

#talento .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.testimonial-card:hover .avatar-img {
  transform: scale(1.08);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 991.98px) {
  .testimonial-card {
    min-height: 380px;
  }
  .testimonial-content {
    padding-bottom: 85px;
  }
  #talento .avatar-wrapper {
    width: 105px;
    height: 105px;
    bottom: -55px;
  }
}

@media (max-width: 767.98px) {
  /* Centrar y dar espacio entre tarjetas apiladas */
  #talento .row {
    row-gap: 90px; /* separa tarjetas verticales */
  }

  .testimonial-card {
    min-height: 340px;
    margin-bottom: 3rem;
  }

  .testimonial-content {
    padding-bottom: 70px;
  }

  #talento .avatar-wrapper {
    width: 90px;
    height: 90px;
    bottom: -45px;
  }
}

@media (max-width: 575.98px) {
  #talento .row {
    row-gap: 80px;
  }

  .testimonial-card {
    min-height: 320px;
  }

  #talento .avatar-wrapper {
    width: 80px;
    height: 80px;
    bottom: -40px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

/* ======== ERROR 404 / PÁGINA EN CONSTRUCCIÓN ======== */
#error-404 {
  font-family: 'Quicksand', sans-serif;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#error-404 h2 {
  font-size: 2.2rem;
  letter-spacing: 0.5px;
}

#error-404 p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  max-width: 650px;
  margin: 0 auto 2rem;
}

#error-404 img {
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease;
}

#error-404 img:hover {
  transform: scale(1.05);
}

#error-404 .btn:hover {
  background-color: #e6cb58;
  color: #1c3b70;
  transition: all 0.3s ease;
}

/* =========================================================
   BOTÓN INSTITUCIONAL — coherente con los colores FUNED
   ========================================================= */
.btn-institucional {
  background: linear-gradient(135deg, var(--azul-suave), var(--azul-oscuro));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 51, 102, 0.25);
  transition: var(--transicion);
}

.btn-institucional:hover {
  background: linear-gradient(135deg, var(--celeste), var(--azul-suave));
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 170, 255, 0.3);
}

.btn-institucional:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

/* Versión con ícono animado opcional */
.btn-institucional i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-institucional:hover i {
  transform: translateX(5px);
}

#contacto-funed .form-control:focus {
  border-color: #e6cb58;
  box-shadow: 0 0 0 0.2rem rgba(230, 203, 88, 0.25);
}

#contacto-funed .btn:hover {
  background-color: #e6cb58 !important;
  color: #1c3b70 !important;
  transition: all 0.3s ease;
}

#contacto-funed h5 {
  color: #1c3b70;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.gallery-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.05);
}

.program-card img {
  transition: transform 0.4s ease;
}

.program-card:hover img {
  transform: scale(1.05);
}

.program-info .btn {
  transition: all 0.3s ease;
}

.program-info .btn:hover {
  transform: translateY(-2px);
}

html {
  scroll-behavior: smooth;
}
