:root {

  --blue-cobalto: #004AAD;
  --blue-vivo: #0047B1;
  --blue-hero: #0043B2;
  --blue-soft: #73A1DB;
  --celeste-vivo: #108DE7;
  --green-main: #0DB02B;
  --green-alt1: #64C635;
  --green-alt2: #89C76C;
  --red-main: #DC0E0E;
  --yellow-main: #FACE12;
  --yellow-alt: #EDC415;
  --gray-text: #4A4A4A;
  --white-main: #FBFBFB;
  --bg-light: #F2F6FA;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 16px 40px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
}

body {

  background-color: var(--white-main);
  color: var(--gray-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* STICKY HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #004aadcf;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-left: 20px;                 /* fondo blanco */
  background-image: url("../img/logo-colegio.png");       /* o "logo colegio.png" */
  background-size: contain;                               /* o cover */
  background-position: center;
  background-repeat: no-repeat;

  display: block; /* o inline-block según tu layout */
}


.logo-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.logo-text span:first-child {
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--yellow-main);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--yellow-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* HERO HOME */



.hero {
  --hero-height: 650px;     /* 🔥 AQUI ESTÁ TU VARIABLE NUEVA */
  
  background: linear-gradient(to bottom, #108DE7, var(--blue-cobalto));
  color: white;
  position: relative;
  overflow: hidden;
  margin: auto;

  min-height: var(--hero-height);   /* ← se usa aquí */
  display: flex;
  align-items: center;
}


/* Fondo slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s ease-in-out, transform 1.2s ease;
}

.hero-slideshow img.active {
  opacity: 1;
  transform: scale(1.05);
}

/* Overlay gradiente azul encima del slideshow */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 40, 110, 0.7),
    rgba(0, 150, 200, 0.4)
  );
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-copy p {
  max-width: 460px;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  margin: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, var(--yellow-main), var(--yellow-alt));
  color: #1f2933;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
  filter: brightness(1.03);
}

.hero-image {
  border-radius: 999px;
  overflow: hidden;
  max-width: 380px;
  justify-self: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Controles del slideshow */

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.nav-btn.prev {
  left: 16px;
}

.nav-btn.next {
  right: 16px;
}

.dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.4rem;
}

.dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.dots span.active {
  opacity: 1;
  transform: scale(1.2);
  background: #fff;
}

/* PAGE HERO (INNER PAGES) */

.page-hero {
  background: linear-gradient(to right, var(--blue-hero), var(--blue-soft));
  color: white;
  padding: 1.8rem 0 2.2rem;
  height: 250px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay; /* 🔥 Hace que el overlay aparezca */
}



.page-hero-nosotros {
  background-image: 
    linear-gradient(to right, var(--blue-hero), var(--blue-soft)),
    url("../img/colegio.jpg");



  
}
.page-hero-contacto {
  background-image: 
    linear-gradient(to right, var(--blue-hero), var(--blue-soft)),
    url("../img/banner.jpg");
  
}
.page-hero-programa {
  background-image: 
    linear-gradient(to right, var(--blue-hero), var(--blue-soft)),
    url("../img/banner.JPG");
  
}


.page-hero-admisiones {
  background-image: 
    linear-gradient(to right, var(--blue-hero), var(--blue-soft)),
    url("../img/banner.jpg");
  
}





.page-hero-title {
  font-size: 2.7rem;
  margin-bottom: 0.3rem;
}

.page-hero-subtitle {
  font-size: 1.4rem;
  opacity: 0.95;
}

/* GENERIC SECTION STYLES */

.section {
  padding: 3.5rem 0;
  background-color: var(--white-main);
}

.section.alt {
  background: var(--bg-light);
}

.section-header {
  margin-bottom: 2rem;
 
}

.section-header h2 {
  font-size: 2rem;
  color: var(--blue-vivo);
  margin-bottom: 0.4rem;
}

.section-header p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

.custom-header-bg {
    background-image: linear-gradient(to top, rgba(43, 0, 255, 0.75) 0%,
     /* azul fuerte abajo */
      rgb(43 0 255 / 9%) 60% 
      /* transparente hacia arriba */), url(../img/banner2.png);
       /* imagen de fondo */
  
  background-size: cover;
  background-position: inherit;
  background-repeat: no-repeat;
}

/* CARD DIRECTORA */

.directora-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.card-directora {


  

  position: relative;
  overflow: visible;
  min-height: 260px;
 
}



.directora-info {
  margin-left: 56%;
  padding-left: 0.5rem;
}

.directora-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.directora-info p {
  font-size: 0.8rem;
}

/* PROGRAMS GRID */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  /*  gap: 1.8rem; */
  
}

.program-card {
    background: var(--white-main);
    border-radius: var(--radius-md);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border-top: 5px solid var(--blue-soft);
    margin: 40px;
    text-align: center;
    transition: all 0.35s ease; /* ⭐ transición suave moderna */
}

/* ⭐ Efecto hover moderno */
.program-card:hover {
    transform: translateY(-8px) scale(3.03);  /* sutil elevación + zoom moderno */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18); /* sombra profunda */
    border-top-color: var(--color-secundario); /* cambia color en hover (opcional) */
    cursor: pointer;
}


.program-card h3 {
  font-size: 1.15rem;
  color: var(--red-main);
  margin-bottom: 0.8rem;
}

.program-card p {
  font-size: 0.95rem;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.gallery-item:nth-child(odd) {
  border-radius: 120px 120px 0 0;
  margin-bottom: 50px;

}

.gallery-item:nth-child(even) {
  border-radius: 0 0 120px 120px;
  margin-top: 50px;
 
}



.gallery-cta {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1.2rem;
  color: white;
  text-align: center;
}

.gallery-cta p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.gallery-cta a {
  padding: 0.45rem 1.3rem;
  border-radius: 999px;
  background: var(--yellow-main);
  color: #1f2933;
  font-size: 0.85rem;
  font-weight: 600;
}

/* LAYOUT HELPERS */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}

.list-check li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-main);
  font-size: 0.95rem;
}

/* CONTACT FORM */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.form-card {
  background: var(--white-main);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--celeste-vivo);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--blue-vivo);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #d3d9e6;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--green-main);
  color: white;
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.25);
  filter: brightness(1.02);
}

/* INFO CARD */

.info-card {
  background: #A9C8FF;
  color: white;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
  color: var(--red-main);
}

.info-card p {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.info-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.info-card:hover {
  transform: translateY(-10px) scale(0.97);
  border-color: var(--yellow-main);
  border-width: 2px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.form-card:hover{
 transform: translateY(-15px) scale(0.97);
  border-color: var(--yellow-main);
  border-width: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

}



/* FOOTER */

.site-footer {
 
  color: var(--white-main);
  padding: 2.5rem 0 1rem;
  margin-top: 0rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 2rem;
  font-size: 0.9rem;
}

.footer-brand-name {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.6);
  margin-top: 1.2rem;
  padding-top: 0.7rem;
  font-size: 0.8rem;
}

/* ANIMATIONS */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner,
  .directora-layout,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    text-align: left;
  }

  .hero-image {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav-btn.prev {
    left: 6px;
  }

  .nav-btn.next {
    right: 6px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    font-size: 0.85rem;
  }

  .hero-inner {
    padding: 2rem 0 2.8rem;
  }

  .section {
    padding: 2.8rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----------- MODERN TIMELINE ----------- */
.timeline-modern {
  position: relative;
  margin: 2rem 0;
  border-left: 4px solid #e2e2e2;
}

.tl-item {
  position: relative;
}

.tl-icon {
  position: absolute;
  left: -17px;
  top: 0;
  width: 28px;
  height: 28px;
  background: #0DB02B;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.08);
  z-index: 10;
}

.tl-content {
  margin-left: 20px;
  padding-bottom: 0.8rem;
}

.tl-content h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.tl-content p {
  font-size: 0.95rem;
  color: var(--gray-text);
  margin-top: 0.3rem;
}

@media (max-width: 600px) {
  .timeline-modern {
    padding-left: 0px;
  }
  .tl-icon {
    left: -14px;
    width: 24px;
    height: 24px;
  }
}

/*Codigo nuevo timeline tipo 2*/
* {
	box-sizing: border-box;
}

.container2 {
	font-family: 'Roboto', sans-serif;
	display: flex;
	flex-wrap: wrap;
	max-width: 800px;
	margin: 0 auto;
}
.single-box {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	width: 100%;
}
.date-area {
	display: flex;
	background: linear-gradient(to right, #e7e7e7 45%, #000 45%, #000 45%, #e7e7e7 50%);
	order: 2;
	text-align: center;
	color: #fff;
	font-size: 28px;
	flex-basis: 100px;
}
.date-area>span {
	font-size: 20px;
	line-height: 70px;
	margin: auto;
	background: #14b6c1;
	width: 70px;
	height: 70px;
	border-radius: 50%;
}
.tl-content h4:hover{

  /* sutil elevación + zoom moderno */

    font-size: 1.7rem;
}

.tl-icon:hover{
   transform: scale(1.50);  /* sutil elevación + zoom moderno */

}

.content2 {
    text-align: center;
    padding: 20px;
    border-radius: 25px;
    color: #858585;
    order: 3;
    width: 80%;
    padding-left: 10px;
    background: #ffffff;

    /* ⭐ BORDE moderno azul marino */
    border: 3px solid var(--blue-soft); /* azul marino profundo */

    /* ⭐ SOMBRA moderna suave azul */
    box-shadow: 0 10px 25px rgba(0, 31, 63, 0.20);

    /* ⭐ TRANSICIÓN suave */
    transition: all 0.3s ease-in-out;
}

/* ⭐ Hover moderno */
.content2:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 31, 63, 0.28);
    border-color: #003a77; /* azul marino más vibrante */
}

.content2 {
	margin-bottom: 3%;
}
.content2 h2 {
	margin: 0;
	font-size: 14px;
	text-transform: uppercase;
}
.content2 h3 {
	margin: 5px;
	font-size: 14px;
	color: #000;
}
@media (min-width: 640px) {
	.content2, .custom {
		width: 40%;
	}
	.box-right .content2 {
		order: 1;
		padding-right: 10px;
		border-radius: 25px;
	}
	.box-right .custom {
		order: 3;
	}
}

/* === CAROUSEL GALERÍA === */
.gallery-carousel {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  transition: transform 0.45s ease;
}

.gallery-item {
  min-width: calc(25% - 1rem);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.6);
  padding: 0.6rem 1rem;
  font-size: 1.8rem;
  border-radius: 12px;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: 0.3s;
}

.gallery-btn:hover { background: white; }

.gallery-btn.prev { left: 6px; }
.gallery-btn.next { right: 6px; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .gallery-item { min-width: calc(33.333% - 1rem); }
}
@media (max-width: 640px) {
  .gallery-item { min-width: calc(50% - 1rem); }
}


.directora-block {
  position: relative;
  width: 340px;
 
  text-align: center;
  font-family: system-ui, sans-serif;
}

/* ============================= */
/* 🔷 FORMA SUPERIOR */
/* ============================= */
.shape-top {
  width: 67%;
  height: 260px;
  background: #64C635;         /* VERDE 2 */
  border-bottom-right-radius: 50%;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 50%;
  margin-left: 20%;
  box-shadow: 0 40px 40px rgb(0 0 0 / 44%);
}

/* ============================= */
/* 📸 FOTO DE LA DIRECTORA */
/* ============================= */
.directora-photo {
  width: 260px;
  position: absolute;
  left: 0%;
  top: 95px;
  transform: translateX(-50%);
  z-index: 10;
  border-radius: 14px;
  
}

/* ============================= */
/* 🔷 FORMA INFERIOR CON TEXTO */
/* ============================= */
.shape-bottom {
  width: 250px;
  height: 260px;
  background: #0DB02B;         /* VERDE 1 */
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  margin-top: -50px;
  padding-top: 90px;
  color: white;
  box-shadow: 0 40px 40px rgb(0 0 0 / 44%);
  
 
}

.texto-directora{

    width: 260px;
  position: absolute;
  left: 5%;
  top: 400px;

  z-index: 12;
  border-radius: 14px;
  color:#f4f6f9;
}

.texto-directora h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.texto-directora p {
  font-size: 0.95rem;
  opacity: 0.9;
}


.box-container {
  position: absolute;
  right: 0;

  width: 100px;
  height: 200px;

  top: 616px;
  /* la mitad queda dentro, mitad fuera */

  z-index: 9999;
}

.banner-box {
 

  width: 100px;

  height: 100px;
  background: #ffffff;
  border-top-left-radius: 140px;
  border-top-right-radius: 0px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

  
  
}

.below-banner-box {
 
  width: 100px;
  height: 150px;
 
  background: #108DE7;
  border-radius: 0px 0px 0 100px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
 
}


/* ============================= 

*/

/* ============================= */
/* 🔷 this white box ha*/
/* ============================= 

*/

.gallery-strip2 {
  display: flex;
  width: 100%;
  height: 260px;    /* ajusta la altura */
  margin-top: 2rem;
}

.gallery-item2 {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 5px;
}

/* Reemplaza con tus imágenes */
.gallery-item2.img1 {
  background-image: url("../img/historia/old3.JPG");
}

.gallery-item2.img2 {
  background-image: url("../img/historia/old.JPG");
}

.gallery-item2.img3 {
  background-image: url("../img/historia/old2.JPG");
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-strip2 {
    height: 180px;
  }
}

 .fondo-amarillo {
    position: relative;
    width: 100%;
    padding: 0 0;
    overflow: hidden;
    background: #ffffff;
    }
    .amarillo {
  position: relative;    /* necesario para posicionar el título */
  width: 100%;
  height: 350px;         /* ajusta según tu imagen */
  background: #ffcc00;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
}

.amarillo img {
  max-height: 90%; 
         /* Ajusta a la altura del contenedor */
  width: auto;              /* Mantiene proporción */
  object-fit: contain;      /* Asegura que se vea completa */
}
.amarillo h1 {
  position: absolute;     /* lo coloca encima de la imagen */
              /* centro vertical */
  left: 50%;              /* centro horizontal */
  transform: translate(-50%, -50%);
  top: 5%;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;

  text-shadow: 0px 3px 6px rgba(0,0,0,0.5); /* mejora lectura sobre imagen */
  z-index: 2;              /* por encima de la imagen */
}

/* 📱 Para teléfonos (pantallas menores de 768px) */
@media (max-width: 768px) {
   .amarillo h1 {
  position: absolute;     /* lo coloca encima de la imagen */
              /* centro vertical */
  left: 50%;              /* centro horizontal */
  transform: translate(-50%, -50%);
  top: 20%;
               /* por encima de la imagen */
}
}
    
    /* Base de todas las capas */
    .capa {
    position: absolute;
    width: 100%; /* más ancho para curvas grandes */
    height: 300px;
    background: #FFD400;
    border-radius: 50% 50% 0 0;
    bottom: 0;
    
    }
    
    /* Capa principal (centrada) */
    .c1 {
    left:70%;
    height: 300px;
    border-radius: 70% 70% 0 0;
    background: #ffcc00;
    width: 50%; 
    opacity: 0.9;
    }
    
    /* Capa izquierda */
    .c2 {
    left: -50%; /* mueve la curva hacia la izquierda */
    bottom: -30px;
    height: 300px;
    
    border-radius: 60% 60% 0 0;
    background: #ffcc00;
    width: 70%; 
   
    }
    
    /* Capa derecha */
    .c3 {
    left: 5%; /* mueve la curva hacia la derecha */
    bottom: -100px;
    height: 260px;
    width: 50%; 
    
    border-radius: 55% 55% 0 0;
    background: #ffcc00;
    }
    
    /* Capa principal (centrada) */
    .c4 {
    left:50%;
    height: 200px;
    border-radius: 70% 70% 0 0;
    background: #ffcc00;
    width: 50%; 
    
    
    }
    /* Capa principal (centrada) */
    .c5 {
    left:35%;
    height: 150px;
    border-radius: 0 0 0 0;
    background: #ffcc00;
    width: 20%; 
    
    
    }
    
.fondo-amarillo .contenido {
    position: relative;
    z-index: 10;
    left: 700px;
    top: 120px;
}


/* 📱 Para teléfonos (pantallas menores de 768px) */
@media (max-width: 768px) {
    .fondo-amarillo .contenido  {
        left: 440px;  /* Ajusta este valor según lo que necesites */
        top: 60px;   /* Opcional: bajar un poco el top si quieres */
    }
}

/* 📱 Extra pequeño (pantallas < 480px) */
@media (max-width: 480px) {
    .fondo-amarillo .contenido  {
        left: 220px;
        top: 50px;
    }
}






 
.admission-box {
    width: 280px;
    padding: 40px 25px;
    background: #A9C8FF; /* Azul claro */
    border-radius: 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    color: white;
}

.admission-box h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.admission-box p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.4;
}

.btn-admission {
    display: inline-block;
    background: #D40000; /* Rojo estilo botón de la imagen */
    color: white;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-admission:hover {
    background: #b00000;
}


.section-inscripcion {
    background: #FACE12;
    padding: 60px 20px 60px;
    position: relative;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.wave-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
}

.wave-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-inscripcion h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00438F;
    margin-bottom: 40px;
}

.container-inscripcion {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.card-inscripcion {
    background: #FBFBFB;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.card-inscripcion p {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-inscripcion {
    display: inline-block;
    background: #E1352A;
    color: white;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.btn-inscripcion:hover {
    background: #c52820;
}
.hp-wrapper {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social .social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.footer-social .social-icon {
  width: 18px;
  height: 18px;
  fill: #ffffff; /* color normal */
  transition: fill 0.25s ease;
}

.footer-social .social-link:hover {
  background: #FFD400;          /* color de fondo al hover */
  transform: translateY(-2px);  /* pequeño levantamiento */
}

.footer-social .social-link:hover .social-icon {
  fill: #004AAD; /* color del ícono al hover */
}


/* =========================================
   MOBILE MENU STYLES
   ========================================= */

/* 1. Hide the toggle button on Desktop */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

/* Style the hamburger bars */
.mobile-menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* 2. Responsive Styles (Tablets & Mobile) */
@media (max-width: 768px) {
  
  /* Show the toggle button */
  .mobile-menu-toggle {
    display: block;
  }

  /* Reset the Nav Links layout for mobile */
  .nav-links {
    position: absolute;
    top: 100%; /* Push it exactly below the header */
    left: 0;
    width: 100%;
    background-color: var(--blue-cobalto); /* Match header color */
    
    flex-direction: column; /* Stack links vertically */
    align-items: center;
    gap: 0; /* Remove horizontal gap */
    
    /* Animation setup: Hidden state */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    
    /* Add a subtle shadow for depth */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  /* When the menu is OPEN */
  .nav-links.active {
    max-height: 400px; /* Enough height to show all links */
    opacity: 1;
    padding-bottom: 1.5rem;
  }

  /* Style the links inside the mobile menu */
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    opacity: 0; /* Text fades in slightly later */
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  /* Staggered animation for links appearing */
  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hover effect on mobile */
  .nav-links a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--yellow-main);
  }

  /* Remove the yellow underline effect on mobile (it looks cleaner) */
  .nav-links a::after {
    display: none;
  }

  /* 3. Hamburger Animation (Turn into X) */
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--yellow-main);
  }

  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--yellow-main);
  }
}




/* ==========================
   SCROLL ANIMATIONS EXTRA
   ========================== */

/* Estados iniciales (fuera de vista) */
.fade-left,
.fade-right,
.zoom-in,
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 1s ease;
  will-change: opacity, transform;
}

.fade-left {
  transform: translateX(-30px);
}

.fade-right {
  transform: translateX(30px);
}

.zoom-in {
  transform: scale(2);
}

/* Cuando entran al viewport */
.fade-left.in-view,
.fade-right.in-view,
.zoom-in.in-view,
[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* ==========================
   TÍTULOS QUE CAMBIAN TAMAÑO
   ========================== */

.section-header h2 {
  /* ya tienes estilos; solo añadimos esto */
  transform-origin: left center;
  transition: transform 0.35s ease, letter-spacing 0.35s ease;
}

.section-header h2.scroll-resize.shrink {
  transform: scale(0.9);
  letter-spacing: 0.04em;
}

/* ==========================
   PARALLAX SUAVE HERO IMAGE
   ========================== */

.hero-image {
  /* sumamos transiciones a lo que ya tienes */
  transition: transform 0.45s ease-out, box-shadow 0.3s ease-out;
  will-change: transform;
}

.hero-image.scrolled {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}


.wave-svg {
  display: block;
  width: 100%;
  height: 100px; /* ajusta la altura si quieres */
}

/* La ola que se mueve */
.wave-path {
  transform-origin: center;
  transform-box: fill-box; /* importante para que el transform funcione bien */
  animation: waveFloat 6s ease-in-out infinite alternate;
}

@keyframes waveFloat {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-20px) translateY(8px); /* se mueve un poco */
  }
  100% {
    transform: translateX(-40px) translateY(0);
  }
}

.wave-path {
  transform-origin: center;
  transform-box: fill-box;
  animation: waveFloat 6s ease-in-out infinite alternate,
             waveColor 8s ease-in-out infinite alternate;
}

@keyframes waveColor {
  0%   { fill: #73A1DB; }
  100% { fill: #e7e310; }
}

/* ========================
   FOOTER RENOVADO
   ======================== */

.site-footer {
  /* Fondo más oscuro para contraste elegante */
  background: #73A1DB; 
  color: #ecf0f1;
  padding: 0;
  margin-top: 0;
  position: relative;
  font-size: 0.95rem;
}

/* Línea decorativa superior con los colores de la marca */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
 
  z-index: 1;
}

.footer-inner {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr; /* Proporción ajustada */
  gap: 3rem;
  align-items: start;
}

/* --- Columna Izquierda: Branding --- */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  width: 55px;
  height: auto;
  background: #fff;
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-brand-name {

  font-size: 1.1rem;
  line-height: 1.2;
  color: #fff;
}

.footer-brand-name span {
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--yellow-main);
  letter-spacing: 0.02em;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0.9;
}

.contact-item {
  line-height: 1.5;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--yellow-main);
  text-decoration: underline;
}

/* --- Columna Derecha: Links --- */
.footer-heading {
  font-size: 1.2rem;
  color: var(--white-main);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

/* Subrayado pequeño bajo el título */
.footer-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green-alt1);
  margin-top: 5px;
  border-radius: 2px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  position: relative;
  padding-left: 15px;
  color: #dbeaf9; /* Blanco azulado */
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Flechita decorativa antes del link */
.footer-nav a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--green-alt1);
  transition: transform 0.3s ease;
}

/* Hover effect: mueve el link y cambia color */
.footer-nav a:hover {
  color: var(--yellow-main);
  transform: translateX(5px);
}

.footer-nav a:hover::before {
  color: var(--yellow-main);
  transform: translateX(2px);
}

/* --- Barra Inferior --- */
.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.2); /* Oscurece un poco el fondo */
  padding: 1.2rem 0;
  border-top: 2px solid var(--yellow-main);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Redes Sociales (Reutilizando tu estilo base con mejoras) */
.footer-social {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.social-link:hover {
  background: var(--yellow-main);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(250, 206, 18, 0.3);
}

.social-link:hover .social-icon {
  fill: var(--blue-cobalto); /* Icono azul sobre fondo amarillo */
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


canvas {
  display: block;
  vertical-align: bottom;
}

/* Particle container. */
#particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.header-phone {
  background: #0a3cb0; /* tu color azul principal */
  padding: 8px 10px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-phone i {
  color: white;
  font-size: 16px;
}
.fa-solid{
  margin: 5px;
}



/* ===============================
   NAVBAR SCROLL EFFECT (sólo inner)
   =============================== */

.site-header {
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

/* Estado inicial de PÁGINAS INTERNAS */
.nav-inner {
  background:rgba(255, 255, 255, 0.798); ;
  color: var(--blue-cobalto);
}

/* Estado al hacer SCROLL */
.nav-inner.scrolled {
  background: #004aadcf;
  color: white;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* Links al hacer scroll */
.nav-inner.scrolled .nav-links a {
  color: white;
}

.nav-inner.scrolled .nav-links a:hover {
  color: var(--yellow-main);
}

/* Logo al hacer scroll */
.nav-inner.scrolled .logo-text span {
  color: white;
}

/* Hamburguesa al hacer scroll */
.nav-inner.scrolled .mobile-menu-toggle .bar {
  background-color: rgba(33, 66, 233, 0.417);
}



.titulo_galeria{
  color: #c52820;
  font-size: 2rem;
}


.form-group label i {
  color: var(--blue-cobalto);
  margin-right: 6px;
}

button.btn-secondary i {
  margin-right: 6px;
}

.info-card h3 i {
  color: var(--blue-cobalto);
  margin-right: 6px;
}

/* --- Modern Form --- */
.modern-form .form-group {
  margin-bottom: 1.1rem;
}

.modern-form label {
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 0.4rem;
  display: block;
}

/* --- Input Group with Icons --- */
.input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #d5d5d5;
  padding: 10px 14px;
  border-radius: 12px;
  gap: 10px;
  transition: all .25s ease;
}

.input-group i {
  color: var(--blue-cobalto);
  font-size: 1rem;
}

.input-group:hover {
  border-color: var(--yellow-alt);
  box-shadow: 0 0 6px rgba(0, 95, 204, 0.18);
}

.input-group:focus-within {
  border-color: var(--blue-cobalto);
  box-shadow: 0 0 8px rgba(0, 95, 204, 0.25);
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
}

/* Textarea tweak */
.input-textarea {
  align-items: flex-start;
  padding-top: 14px;
}

.input-textarea i {
  margin-top: 4px;
}

/* Submit button */
.btn-submit {
  width: 100%;
  background: var(--yellow-main);
  border: none;
  color: #fff;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s ease;
}

.btn-submit:hover {
  background: var(--blue-hero);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}
