/* =======================================================
   ESTILOS GENERALES - INSTITUCIÓN EDUCATIVA SIGLO XXI
   ======================================================= */

/* 🎨 Colores institucionales */
:root {
  --blue-dark: #003366;
  --blue: #0056b3;
  --blue-light: #e6f0ff;
  --gray: #555;
  --white: #fff;
}

/* 🧭 Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray);
  background: var(--white);
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =======================================================
   🧱 HEADER & NAV
   ======================================================= */
/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-attachment: fixed; /* Efecto parallax suave */
  padding: 100px 0 120px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);

}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
}


/* Opcional: mejora la legibilidad del contenido */
.hero__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero__title {
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: 1rem;
}

.hero__paragraph {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Botón principal */
.btn.btn-primary {
  background-color: #fff;
  color: var(--blue-dark);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn.btn-primary:hover {
  background-color: var(--blue-light);
  color: #fff;
  transform: scale(1.05);
}

/* Sombra sutil en la parte inferior del header */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}


.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  color: #fff;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 20, 60, 0.6); /* azul oscuro semitransparente */
  padding: 6px 12px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.nav__logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
}

.nav__title {
  color: #fff;
  font-weight: 600;
}

/* ===== LINKS ===== */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;  /* 🔹 Quita los puntos */
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--blue-light);
}

/* ===== EFECTO SUBRAYADO ANIMADO ===== */
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 3px;
  background: #ffcc00;
  transition: width 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* ===== ENLACE ACTIVO (SE QUEDA MARCADO EN AMARILLO) ===== */
.nav__links a.active {
  color: #ffcc00;
  font-weight: 600;
}

/* ===== ANIMACIONES DE SECTIONS ===== */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-fade { animation: fadeIn 0.8s ease forwards; }
.animate-up { animation: slideUp 0.8s ease forwards; }
.animate-left { animation: slideLeft 0.8s ease forwards; }
.animate-right { animation: slideRight 0.8s ease forwards; }
.animate-zoom { animation: zoomIn 0.8s ease forwards; }
.animate-rotate { animation: rotateIn 0.8s ease forwards; }

/* === KEYFRAMES === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-5deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0deg) scale(1); }
}

.nav__menu, .nav__close {
  display: none;
  cursor: pointer;
}
.hero__container {
  text-align: center;
  padding: 3rem 1rem 0;
}
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero__paragraph {
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}

/* 🎯 Botones */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-primary {
  background: var(--white);
  color: var(--blue-dark);
}
.btn-primary:hover {
  background: var(--blue-light);
}
.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* =======================================================
   🖼️ SLIDER
   ======================================================= */
.slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto;
}
.slider__body {
  display: none;
  text-align: center;
}
.slider__body--show {
  display: block;
}
.slider__img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.slider__arrow {
  width: 30px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.slider__arrow:hover {
  transform: scale(1.1);
}

/* =======================================================
   📘 ABOUT SECTION
   ======================================================= */
.about {
  text-align: center;
  padding: 3rem 0;
}
.about h2 {
  color: var(--blue-dark);
  font-family: 'Montserrat';
  margin-bottom: 1rem;
}
.about__main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.about__card {
  flex: 1 1 300px;
  background: var(--blue-light);
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.about__card:hover {
  transform: translateY(-5px);
}

/* =======================================================
   🎓 OFFERS SECTION
   ======================================================= */
.offers {
  padding: 3rem 0;
  text-align: center;
}
.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.offer__card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.offer__card:hover {
  transform: translateY(-4px);
}

/* =======================================================
   🦶 FOOTER
   ======================================================= */
footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 2rem 0;
}
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__copy {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ===== FOOTER ENLACES BLANCOS ===== */
footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--blue-light); /* Azul claro al pasar el mouse */
  text-decoration: underline;
}


/* =======================================================
   📱 RESPONSIVE
   ======================================================= */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: var(--blue-dark);
    width: 70%;
    height: 100vh;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 100;
  }
  .nav__links.show {
    right: 0;
  }
  .nav__menu {
    display: block;
  }
  .nav__close {
    display: block;
    margin-left: auto;
  }
  .about__main {
    flex-direction: column;
  }
}

/* =========================================
   SECCIÓN STEAM
   ========================================= */
.small-hero {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 4rem 0 2rem;
  text-align: center;
}
.steam__main {
  padding: 3rem 0;
}
.steam__intro {
  text-align: center;
  margin-bottom: 2rem;
}
.steam__image {
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.steam__caption {
  margin-top: 0.8rem;
  color: var(--gray);
  font-style: italic;
}
.steam__content h2 {
  color: var(--blue-dark);
  font-family: 'Montserrat', sans-serif;
  margin-top: 2rem;
}
.steam__content p {
  margin-top: 0.8rem;
}
.steam__list {
  margin: 1rem 0 1.5rem 1.2rem;
  list-style: none;
}
.steam__list li {
  margin-bottom: .5rem;
}
.steam__highlight {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 1rem;
  border-radius: 8px;
  font-style: italic;
  margin: 1.5rem 0;
}
.steam__call {
  text-align: center;
  margin-top: 2rem;
}


/* =========================================
   SECCIÓN OFERTAS
   ========================================= */
.offers__page {
  padding: 3rem 0;
  text-align: center;
}
.offers__intro {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.offer__card.big {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.offer__img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.offers__call {
  background: var(--blue-light);
  padding: 2rem 1rem;
  border-radius: 12px;
  margin-top: 2rem;
}
.offers__call h2 {
  color: var(--blue-dark);
  font-family: 'Montserrat';
  margin-bottom: 1rem;
}
.offers__call p {
  max-width: 700px;
  margin: 0 auto 1rem;
}


/* =========================================
   SECCIÓN ENLACES DE INTERÉS
   ========================================= */
/* =========================================
   ENLACES DE INTERÉS (Acordeón)
   ========================================= */


   /* ===== ENLACES DE INTERÉS ===== */
.links {
  margin-top: 3rem;
  padding: 2rem 1rem;
  background: #f8faff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.3s ease;
}

.accordion__header:hover {
  background: var(--blue-light);
}

.accordion__icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.accordion__content {
  padding: 1.5rem 0;
  display: none;
}

.accordion__content.active {
  display: block;
}

.enlace__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.enlace__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.enlace__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.enlace__item img {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.enlace__item:hover img {
  transform: scale(1.05);
}



/* =========================================
   PÁGINA COLEGIO PRESENCIAL
   ========================================= */
.modalidad {
  padding: 3rem 0;
}
.modalidad__intro {
  text-align: center;
  margin-bottom: 2rem;
}
.modalidad__img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.modalidad__detalle {
  margin-bottom: 2rem;
}
.modalidad__detalle h2 {
  color: var(--blue-dark);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}
.modalidad__detalle ul {
  list-style: none;
  padding-left: 0;
}
.modalidad__detalle li {
  margin-bottom: 0.6rem;
}
.modalidad__info h2 {
  color: var(--blue-dark);
  margin-bottom: 1rem;
}
.modalidad__buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.modalidad__highlight {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 1rem;
  border-radius: 8px;
  font-style: italic;
  text-align: center;
  margin-top: 2.5rem;
}


/* =========================================
   PÁGINAS DE INSCRIPCIÓN Y REQUISITOS
   ========================================= */
.inscripcion, .requisitos {
  padding: 3rem 0;
}
.inscripcion__info, .requisitos__list {
  margin-bottom: 2rem;
}
.inscripcion__info ol, .requisitos__list ul {
  list-style: none;
  padding-left: 0;
}
.inscripcion__info li, .requisitos__list li {
  margin-bottom: 0.8rem;
}
.inscripcion__cta, .requisitos__extra {
  text-align: center;
}
.inscripcion__cta h2, .requisitos__extra h2 {
  color: var(--blue-dark);
  margin-bottom: 1rem;
}
.inscripcion__cta .note {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 0.8rem;
}


/* ======== Acordeón (Normas Virtuales) ======== */
.accordion { display: flex; flex-direction: column; gap: 0.6rem; }
.accordion-item {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  transition: background 0.3s;
}
.accordion-header:hover {
  background: var(--blue);
  color: #fff;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  background: #f9fafb;
  padding: 0 1.2rem;
}
.accordion-content p {
  font-size: 0.95rem;
  margin: 0.9rem 0;
}
.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0.9rem 1.2rem;
}


/* ========== ESTILOS GENERALES DE PÁGINAS DE REQUISITOS ========== */

.toc-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
}

.toc-nav {
  width: 240px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.toc-nav .toc-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  color: var(--blue-dark, #0a2a66);
  background: transparent;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  transition: background 0.3s;
}

.toc-nav .toc-link.active,
.toc-nav .toc-link:hover {
  background: var(--blue-light, #e7f0ff);
  color: var(--blue-dark, #0a2a66);
}

.toc-content {
  flex: 1;
}

/* Bloques de sección */
.section-block {
  margin-bottom: 2rem;
  background: var(--white, #fff);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.section-block h2 {
  color: var(--blue-dark, #0a2a66);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.6rem;
}

.section-block ul,
.section-block ol {
  margin-left: 1.2rem;
  line-height: 1.6;
}

.section-block li {
  margin-bottom: 0.5rem;
}

.img-fluid {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
}

/* Nota destacada */
.note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--blue, #1b49a0);
  background: #f9faff;
  color: #333;
  font-size: 0.95rem;
}

/* ======= Acordeón ======= */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.accordion-item {
  background: var(--white, #fff);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: var(--blue-light, #e7f0ff);
  color: var(--blue-dark, #0a2a66);
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
}

.accordion-header:hover {
  background: var(--blue, #1b49a0);
  color: #fff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  background: #f9fafb;
  padding: 0 1.2rem;
}

.accordion-content p {
  font-size: 0.95rem;
  margin: 0.9rem 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0.9rem 1.2rem;
}

/* ======= Responsive ======= */
@media (max-width: 900px) {
  .toc-layout {
    flex-direction: column;
  }

  .toc-nav {
    position: relative;
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
  }

  .toc-nav .toc-link {
    white-space: nowrap;
    border-radius: 999px;
  }
}


.info-block {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 2rem 0;
  line-height: 1.7;
}

.info-block h2 {
  margin-top: 1.5rem;
  color: var(--blue-dark, #0a2a66);
}

.info-block ul, .info-block ol {
  margin-left: 1.5rem;
}

.cta-container {
  text-align: center;
  margin-top: 2rem;
}

.btn.btn-primary {
  display: inline-block;
  background: var(--blue, #1b49a0);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn.btn-primary:hover {
  background: var(--blue-dark, #0a2a66);
}

/* ======= BOTONES DE ACCESO ======= */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-secondary {
  background: #f3f5f9;
  color: var(--blue-dark, #0a2a66);
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #d4d7e0;
  transition: background 0.3s, transform 0.2s;
}

.btn-secondary:hover {
  background: var(--blue-light, #e7f0ff);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue, #1b49a0);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--blue-dark, #0a2a66);
  transform: translateY(-2px);
}



/* ======== FILOSOFÍA ======== */
.philosophy {
  background: var(--blue-light);
  text-align: center;
  padding: 2.5rem 2rem;
  border-left: 6px solid var(--blue-dark);
}

.philosophy blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--blue-dark);
  font-weight: 600;
}

/* ===============================
   SECCIONES GENERALES
================================= */
.section-block {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px var(--shadow);
  margin: 3rem 0;
}

.section-block h2, 
.section-block h3, 
.section-block h5 {
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
}

.section-block p {
  margin-bottom: 1rem;
}


/* ===============================
   HERO
================================= */
.hero {
  background: linear-gradient(to right, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero__title {
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero__paragraph {
  font-size: 1.1rem;
  opacity: 0.9;
}

.small-hero {
  padding: 2.5rem 0;
}


/* ===============================
   CARDS GRID
================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--blue-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 3px 10px var(--shadow);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-5px);
}


/* ===============================
   DOS COLUMNAS (MISIÓN / VISIÓN)
================================= */
.two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}


/* ===============================
   IMAGEN Y TEXTO
================================= */
.image-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: center;
}

.image-text img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px var(--shadow);
}

/* ============================
   EQUIPO DOCENTE - NUEVO ESTILO
============================ */
#equipo {
  background: linear-gradient(180deg, #f4f6fa 0%, #eaf0ff 100%);
  padding: 5rem 0;
  text-align: center;
}

#equipo .section__title {
  color: #003366;
  font-weight: 700;
  font-size: 2.2rem;
}

#equipo .section__subtitle {
  color: #555;
  max-width: 700px;
  margin: 0.5rem auto 2rem;
  font-size: 1rem;
}

/* === TARJETAS === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.team-member {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  border-top: 4px solid #004aad;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255, 204, 0, 0.25), rgba(0, 74, 173, 0.15));
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-member:hover::before {
  opacity: 1;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffcc00;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-member:hover .team-photo {
  transform: scale(1.1);
  border-color: #004aad;
}

.team-member h4 {
  color: #002d73;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.team-member .muted {
  color: #666;
  font-style: italic;
  font-size: 0.95rem;
}

.team-member .grades {
  display: inline-block;
  background: #ffcc00;
  color: #002d73;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 12px;
  padding: 0.25rem 0.8rem;
  margin-top: 0.6rem;
}

/* === LIGHTBOX ELEGANTE === */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  animation: fadeIn 0.4s ease;
}

.lightbox.show {
  display: flex;
}

.lightbox__content {
  background: linear-gradient(160deg, #002d73, #004aad);
  color: #fff;
  border-radius: 20px;
  text-align: center;
  padding: 2rem;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  animation: popUp 0.4s ease forwards;
}

.lightbox__content img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #ffcc00;
  margin-bottom: 1rem;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: #ffcc00;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox__close:hover {
  transform: scale(1.2);
}

.lightbox__caption h3 {
  color: #ffcc00;
  margin-bottom: 0.4rem;
}

.lightbox__caption p {
  margin: 0.3rem 0;
  color: #f2f2f2;
  font-size: 0.95rem;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* ===============================
   CTA / BOTONES
================================= */
.cta-container {
  text-align: center;
  margin-top: 2rem;
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background: #f3f5f9;
  color: var(--blue-dark);
  border: 1px solid #d4d7e0;
}

.btn-secondary:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
}


/* ========== HOME SCHOOL DESIGN UPGRADE ========== */
.intro-section {
  text-align: center;
  background: var(--blue-light);
  padding: 2.5rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.section-title {
  color: var(--blue-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.section-text {
  font-size: 1.05rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Highlight Section */
.highlight {
  background: linear-gradient(to right, #f8fbff, #eaf2ff);
  border-left: 5px solid var(--blue);
}

/* Custom List */
.list-style {
  list-style: none;
  padding-left: 1rem;
}

.list-style li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.list-style li::before {
  content: "›";
  color: var(--blue);
  position: absolute;
  left: 0;
}

/* Philosophy Styling */
.philosophy {
  border-left: 6px solid var(--blue-dark);
  background: var(--blue-light);
  padding: 2rem;
  font-style: italic;
  text-align: center;
}

/* Fade-in Effect */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
}

.slides img {
  display: none;
  width: 100%;
}

.slides img.active {
  display: block;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-controls button {
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-controls button:hover {
  background: rgba(0,0,0,0.7);
}


/* ===== TESTIMONY / CARRUSEL ===== */
.testimony {
  background-color: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 1100px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.testimony__container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimony__body {
  display: none;
  align-items: center;
  gap: 2rem;
  transition: opacity 0.6s ease, transform 0.6s ease;
  flex-wrap: wrap;
}

.testimony__body--show {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.testimony__texts {
  flex: 1;
  min-width: 280px;
}

.testimony__texts h2 {
  color: var(--blue-dark);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.testimony__review {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.testimony__picture {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.testimony__img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.testimony__img:hover {
  transform: scale(1.03);
}

.testimony__arrow {
  position: absolute;
  top: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  padding: 0.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease;
}

.testimony__arrow:hover {
  background-color: var(--blue-light);
}

#before {
  left: 15px;
}

#next {
  right: 15px;
}

/* ===== ABOUT / MÉTODOS DE ENSEÑANZA ===== */
.about {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 4rem auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  max-width: 1100px;
  text-align: center;
}

.about__paragraph {
  font-size: 1.1rem;
  max-width: 750px;
  margin: 1rem auto 3rem;
  color: var(--text);
  line-height: 1.7;
}

.about__paragraph a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.about__paragraph a:hover {
  text-decoration: underline;
}

.about__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about__icons {
  background: var(--blue-light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about__icons:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.about__icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
}

.about__title {
  color: var(--blue-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.about__paragrah {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}


/* ===== FILOSOFÍA SECTION ===== */
.philosophy-section {
  background: #fff;
  border-radius: 16px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  max-width: 1100px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.philosophy-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.philosophy-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.philosophy-img {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.philosophy-img:hover {
  transform: scale(1.02);
}

.philosophy-text {
  flex: 1;
  min-width: 280px;
  text-align: center;
  color: var(--text);
}

.philosophy-text blockquote {
  font-style: italic;
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  border-left: 4px solid var(--blue);
  padding-left: 1rem;
}

.philosophy-text figcaption h6 {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ===== ÉNFASIS EN EMPRENDIMIENTO ===== */
.entrepreneurship-section {
  background: linear-gradient(to right, var(--blue-light), #ffffff);
  border-radius: 16px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  max-width: 1100px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.entrepreneurship-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.entrepreneurship-text {
  flex: 1;
  min-width: 300px;
}

.entrepreneurship-text h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--blue-dark);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.entrepreneurship-text p {
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.entrepreneurship-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.entrepreneurship-img {
  width: 100%;
  max-width: 460px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entrepreneurship-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* ===== BOTÓN ESTILO OUTLINE ===== */
.btn-outline {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--blue-dark);
  border-radius: 8px;
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== GALERÍAS ===== */
.small-header {
  background: linear-gradient(to bottom, rgba(8,59,121,0.9), rgba(11,101,194,0.9)),
              url("../assets/images/header-bg.jpg") center/cover no-repeat;
  padding: 1rem 0;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ===== LIGHTBOX CON NAVEGACIÓN ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--blue-light);
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.3s ease;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

.lightbox__close:hover {
  color: var(--blue-light);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.lightbox__arrow:hover {
  color: var(--blue-light);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__arrow--left {
  left: 50px;
}

.lightbox__arrow--right {
  right: 50px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* ===== CALENDARIO ESCOLAR ===== */
.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.event__card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.event__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.event__card h3 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.event__card p {
  color: #444;
  font-size: 0.95rem;
}


/* ===== MODAL DE NOVEDADES ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease-in-out;
}

/* Fondo semitransparente */
.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 32, 64, 0.65); /* azul oscuro transparente */
  backdrop-filter: blur(4px);
}

/* Contenedor del contenido */
.modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  max-width: 480px;
  width: 90%;
  text-align: center;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Imagen superior */
.modal__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Texto del modal */
.modal__text {
  padding: 1.5rem;
}

.modal__text h2 {
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.modal__text p {
  color: #333;
  line-height: 1.6;
}

.modal__link {
  color: var(--blue-dark);
  font-weight: 600;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  z-index: 20;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Botón */
.btn.btn-primary {
  background-color: var(--blue-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
  transition: background-color 0.3s ease;
}

.btn.btn-primary:hover {
  background-color: var(--blue-light);
}


/* ==================== SEMANA CULTURAL Y EMPRENDIMIENTO ==================== */
.culture {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    rgba(0, 85, 255, 0.9),
    rgba(0, 180, 100, 0.85),
    rgba(255, 0, 60, 0.8)
  );
  color: #fff;
  overflow: hidden;
}

/* Brumas coloridas para darle profundidad */
.culture::before,
.culture::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  z-index: 1;
}
.culture::before {
  width: 250px;
  height: 250px;
  top: -80px;
  left: -60px;
  background: #ff0040;
}
.culture::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -80px;
  background: #00ff88;
}

/* Contenedor con efecto vidrio */
.culture__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 3rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Imagen */
.culture__image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}
.culture__image img:hover {
  transform: scale(1.05);
}

/* Texto */
.culture__text {
  color: #fff;
  z-index: 2;
}

.culture__text h2.section__title {
  font-size: 2.3rem;
  background: linear-gradient(90deg, #ffffff, #fdffff, #00aaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.culture__text p {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Botón */
.culture__text .btn-primary {
  background: linear-gradient(90deg, #ff0040, #0099ff);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.culture__text .btn-primary:hover {
  transform: translateY(-4px);
  background: linear-gradient(90deg, #00b86b, #ff6600);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}


/* ===== BOTONES ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

/* 🔵 Botón principal (institucional) */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 44, 99, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 44, 99, 0.4);
}

/* ⚪ Botón secundario (inverso o en fondo oscuro) */
.btn-secondary {
  background: #fff;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 44, 99, 0.3);
}

/* ✨ Efecto leve de animación al hacer clic */
.btn:active {
  transform: scale(0.97);
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .culture__grid {
    grid-template-columns: 1fr;
  }

  .culture__image {
    order: -1;
  }
}


.section {
  padding: 80px 0;
}

/* Añade separación adicional entre bloques grandes */
.section + .section {
  margin-top: 30px;
}


/* ===== GALERÍA CULTURAL ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 44, 99, 0.6);
  color: #fff;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
  transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* MENSAJE FINAL */
.message__box {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.message__box h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.message__box p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== GALERÍA ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(80%);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: rgba(0, 35, 82, 0.8);
  opacity: 0;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: opacity 0.4s ease;
}

.gallery-overlay span {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}


/* ===== CONTACTO ===== */
.contacto {
  background: linear-gradient(135deg, var(--blue-dark) 20%, var(--blue-light) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

/* Efecto sutil de fondo con ondas */
.contacto::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120%;
  background: url("../images/contact-callcenter.png") center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.contacto__container {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.contacto__content {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.contacto__text {
  margin: 0.8rem 0 1.8rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #f0f0f0;
}

.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

.contacto__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.contacto__icon {
  font-size: 1.4rem;
}

/* Botón principal */
.btn-contacto {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-contacto:hover {
  background-color: #1ebe5d;
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Responsivo */
@media (min-width: 768px) {
  .contacto__text {
    font-size: 1.1rem;
  }

  .contacto__item {
    font-size: 1.1rem;
  }
}


/* ==================== TESTIMONIOS ==================== */
.testimonials {
  background: linear-gradient(135deg, #ce1010 0%, #003b70 100%);
  color: #fff;
  padding: 5rem 0;
  border-top: 4px solid #ffcc00;
  border-bottom: 4px solid #ff0000;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 204, 0, 0.15);
  border-radius: 50%;
  filter: blur(60px);
}

.testimonials::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 0, 0, 0.15);
  border-radius: 50%;
  filter: blur(60px);
}

/* Títulos */
.section__title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.section__subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Grid de testimonios */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

/* Tarjetas */
.testimonial__card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 204, 0, 0.4);
  border-radius: 15px;
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
}

.testimonial__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
  border-color: #ffcc00;
}

/* Encabezado */
.testimonial__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.testimonial__photo img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffcc00;
  transition: transform 0.3s ease;
}

.testimonial__photo img:hover {
  transform: scale(1.05);
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__name {
  font-weight: 700;
  color: #ffcc00;
}

.testimonial__role {
  font-size: 0.9rem;
  color: #f8d9d9;
}

.testimonial__likes {
  font-size: 0.85rem;
  color: #9ec8ff;
}

/* Texto del testimonio */
.testimonial__text {
  font-style: italic;
  line-height: 1.5;
  color: #f1f1f1;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid #ffcc00;
}

/* Etiquetas */
.testimonial__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.testimonial__tags span {
  background: linear-gradient(90deg, #ff0000, #ffcc00);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 20, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 10000;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

/* Contenedor */
.lightbox__content {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: zoomIn 0.4s ease;
}

/* Imagen con límites */
.lightbox__image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.lightbox__image-container img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-bottom: 4px solid #ffcc00;
}

/* Botón cerrar */
.lightbox__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border: none;
  cursor: pointer;
  z-index: 10001;
  border-radius: 50%;
  padding: 0 8px;
  transition: background 0.3s ease;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Franja inferior */
.lightbox__caption {
  background: linear-gradient(90deg, #002d73, #0047ab, #ffcc00);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

.lightbox__caption h4 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.lightbox__tags span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  margin: 0 4px;
  display: inline-block;
  font-size: 0.9rem;
}

/* Animación */
@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* ============================================================
   👩‍🎓 GALERÍA DE GRADUADOS - INDEX (solo resumen)
   ============================================================ */
.index-graduates .graduates__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.index-graduates .graduate__card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.index-graduates .graduate__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ===== Imagen ===== */
.index-graduates .graduate__image {
  position: relative;
  overflow: hidden;
}

.index-graduates .graduate__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.index-graduates .graduate__card:hover img {
  transform: scale(1.1);
}

/* ===== Overlay ===== */
.index-graduates .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 50, 0.2), rgba(0, 0, 70, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffcc00;
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 1px 1px 2px #000;
}

.index-graduates .graduate__card:hover .overlay {
  opacity: 1;
}

/* ===== Info ===== */
.index-graduates .graduate__info {
  padding: 1rem;
  text-align: center;
  background: #f9fafc;
  border-top: 3px solid #004aad;
}

.index-graduates .graduate__info p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

/* ===== Botón ===== */
.index-graduates .section__button {
  text-align: center;
  margin-top: 2rem;
}


/* ============================================================
   📰 NOVEDADES ACADÉMICAS - SECCIÓN DINÁMICA
   ============================================================ */
/* ===== NOVEDADES CON LOGIN ===== */
.news {
  background: linear-gradient(135deg, #f8faff, #e9eef5);
  padding: 4rem 1.5rem;
  border-top: 4px solid #004aad;
  border-bottom: 4px solid #ffcc00;
}

.login__box {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 2rem auto;
  transition: all 0.4s ease;
}

.login__box input {
  width: 100%;
  padding: 0.9rem;
  margin: 0.5rem 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.9rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #ffcc00, #ffaa00);
  color: #002d73;
}

.btn-secondary {
  background: linear-gradient(90deg, #0049b7, #0077ff);
  color: #fff;
}

.hidden {
  display: none;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.news__card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-left: 5px solid #004aad;
  transition: all 0.3s ease;
}

.news__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.news__tag {
  background: #004aad;
  color: #fff;
  padding: 0.2rem 0.7rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

.news__date {
  color: #555;
  font-size: 0.85rem;
}
/* ===== ESTILOS GALERÍA CULTURAL ===== */

body {
  font-family: 'Inter', sans-serif;
  background: #f7f9fc;
  color: #333;
  margin: 0;
  padding: 0;
}

.section__title {
  text-align: center;
  color: #003366;
  margin-bottom: 0.5rem;
}

.section__subtitle {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.gallery__day {
  margin-bottom: 4rem;
}

.day__title {
  text-align: center;
  font-size: 1.4rem;
  color: #002b5b;
  background: linear-gradient(90deg, #002b5b, #004b93);
  color: #fff;
  padding: 0.7rem 0;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery__grid img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery__grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox__content img {
  width: 100%;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: -30px;
  right: -30px;
  background: #ffcc00;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
}

/* Animaciones suaves */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
