@charset "utf-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif;	
}

body {
    height: 100vh;
    background-image: url("/assets/images/landing/background.png");
background-attachment: fixed; /* Para que el fondo se desplace con el scroll */
background-repeat: no-repeat; /* Para que no se repita */
background-size: cover; /* Para que cubra todo el contenedor */
}
li {
    list-style: none;	
}
a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: bold;
}


a:hover{
	color: orange;
	
	}
/* Header eliminado - estilos removidos */
#zero-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: visible;        /* deja que las nubes se desborden si es necesario */
}

#hero {
  position: relative;
  width: 100%;
  height: auto;  /* el alto que necesite tu contenido */
  overflow: visible;
}
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: visible;
}


/*HERO*/
section#hero {
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 2rem;
	}

.hero-container {
	position: relative;
	top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
	padding: 2rem;
	z-index: 2;
	transform: none;   
    opacity: 1;
	will-change: auto;
	
}
/* cuando añadamos esta clase, pasará a fully visible */

.hero-text {
    flex: 1;
    text-align: left;
}
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-text p {
    font-size: 1.2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
	position: relative; /* Necesario para que z-index funcione */
	z-index: 5; /* Mayor que la nube para que esté encima */
}
.hero-image video {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Opcional: bordes redondeados */
}

/* Responsive del header eliminado */

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse; /* Invierte el orden: imagen arriba */
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }
}



#hero2 {
    position: relative;
    width: 100vw;
    z-index: 10; /* Asegura que esté por encima de la nube */
    height: 100vh;
    background-color: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    background-image: -webkit-linear-gradient(270deg,rgba(38,21,108,0.00) 0%,rgba(23,15,55,1.00) 51.30%);
    background-image: -moz-linear-gradient(270deg,rgba(38,21,108,0.00) 0%,rgba(23,15,55,1.00) 51.30%);
    background-image: -o-linear-gradient(270deg,rgba(38,21,108,0.00) 0%,rgba(23,15,55,1.00) 51.30%);
    background-image: linear-gradient(180deg,rgba(38,21,108,0.00) 0%,rgba(23,15,55,1.00) 51.30%);
}
/* Estilos para el cuadro dentro de #hero2 */
.hero2-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    width: 75%;
    gap: 2rem;
    background-color: rgba(14,9,31,1.00);
    border-radius: 20px;
    padding-top: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
    flex-direction: column;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	opacity: 1;

}


.hero2-container h2 {
    font-size: 2rem; /* Tamaño del título */
    margin-bottom: 1rem; /* Espaciado inferior */
    color: rgba(255,255,255,1.00);
}

.hero2-container p {
    font-size: 1rem; /* Tamaño del texto */
    color: rgba(255,255,255,1.00);
    width: 50%;
}
/* Ajustes para dispositivos móviles */
#hero3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  padding: 80px 20px 300px 20px;
  background-color: rgba(23,15,55,1);
	
}
.container {
	width: 80%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
	
}
.box {
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 50px;
    height: 350px;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
	overflow: hidden;
	transform-origin: center center;
    z-index: 1;
}


.box p {
    font-weight: 400;
    font-size: 1rem;
    color: #ddd;
	z-index: 2;
}

.box p:nth-of-type(2) {
    margin: 5px 0;
    font-weight: 600;
    font-size: 1.3rem;
    color: #fff;
	position: relative;
	z-index: 2;
}

.box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5); /* ← Opacidad aquí */
    margin: 10px 0 15px;
    line-height: 1.2;
	position: relative;
    z-index: 2;
}

.box:nth-child(1) {
    background-image: url(/assets/images/landing/dcl-card-background.png);
    background-size: cover;
    background-position: center;

}

.box:nth-child(2) {
    background-image: url(/assets/images/landing/eda-card-background.png);
	background-position: 50% center;

	
}

.box:nth-child(3) {
  background-image: url(/assets/images/landing/edutick-card-background.png);
	background-position: 50% center;

	
}

.box:nth-child(4) {
  background-image: url(/assets/images/landing/dido-web.png);
	background-position: 50% center;
	}
.box:nth-child(4) p:first-of-type {
  white-space: pre-line;
	
}

.box:nth-child(4) h3 {
  font-size: 4rem;
}

.box:nth-child(5) 
{ background-image: url(/assets/images/landing/edupie-card-background.png);
	background-position: 50% center;
	background-repeat: no-repeat;}
.box:nth-child(5) p,
.box:nth-child(5) h3 {
  color: #DA90C0;
}

.box:nth-child(5) .box-character {
    width: 80%; /* La imagen ocupará todo el ancho de la caja */
    height: 50%; /* Mantendrá las proporciones originales */
    object-fit: contain; /* Asegura que la imagen se ajuste */
    display: block; /* Garantiza que sea tratada como un bloque */
    margin: 0 auto; /* Centra la imagen horizontalmente */
    position: absolute;
	z-index: 1;
	top: 30%;
	left: 10%;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}


/* Responsive: 2 columnas en tablet */
@media (max-width: 992px) {
  .box {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Responsive: 1 columna en móvil */
@media (max-width: 576px) {
  .box {
    flex: 1 1 100%;
  }
}
.box-btn {
    display: inline-block;
    margin-top: auto;
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
	align-self: flex-start;
	overflow: hidden;
	position: relative;
    z-index: 2;
}

.box-btn:hover {
    background-color: orange;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.box-btn[disabled] {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.box-btn[disabled]:hover {
    background-color: #cccccc;
    color: #666666;
    transform: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.box-character {
    width: 200px; /* ajustá este valor según el logo */
    height: auto;
    margin-top: 10px;
    margin-bottom: 15px;
    z-index: 1;
    align-self: flex-start; /* si quieres que quede alineado a la izquierda */
	
}

@media (max-width: 576px) {
  .box-character {
    width: 60px;
  }
}

.box-footer {
    margin-top: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    z-index: 2;
}

.bubble-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -60px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  animation: riseAndRotate 6s ease-in infinite;
  opacity: 0.8;
  border: 2px solid white;
  background: radial-gradient(circle at 0% 100%, #B3DEF6 0%, #F4C382 100%);
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.3),
    0 2px 10px rgba(0, 0, 0, 0.2);
}


.bubble::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 0% 100%,
    rgba(121, 147, 203, 0%) 0%,
    rgba(121, 147, 203, 1) 100%
  );
}


@keyframes riseAndRotate {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0;
  }
  25% {
    transform: translate(-10px, -75px) rotate(90deg) scale(1.1);
    opacity: 0.4;
  }
  50% {
    transform: translate(10px, -150px) rotate(180deg) scale(1.2);
    opacity: 0.8;
  }
  75% {
    transform: translate(-5px, -225px) rotate(270deg) scale(1.05);
    opacity: 0.6;
  }
  100% {
    transform: translate(0, -300px) rotate(360deg) scale(1);
    opacity: 0;
  }
}

/*estrellas brillantes*/

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* ← no interfieren con clics */
  z-index: 1; /* detrás del texto */
}

.box .star {
  position: absolute;
  width: 64px;
  height: 64px;
  background: white;
  opacity: 0.8;
  animation: twinkle-shiny 3s infinite ease-in-out;
  z-index: 1;
  filter: drop-shadow(0 0 4px white);
  clip-path: polygon(
    50% 0%,
    55% 45%,
    100% 50%,
    55% 55%,
    50% 100%,
    45% 55%,
    0% 50%,
    45% 45%
  );
}
	

.box .star::before,
.box .star::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 2px;
}

.box .star::before {
  width: 6px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.box .star::after {
  height: 6px;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

@keyframes twinkle-shiny {
  0%, 100% {
    transform: scale(var(--star-scale, 1));
    opacity: 0.6;
    filter: drop-shadow(0 0 3px white);
  }
  50% {
    transform: scale(calc(var(--star-scale, 1) * 1.6));
    opacity: 1;
    filter: drop-shadow(0 0 8px white);
  }
}

.rocket-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.rocket-wrapper {
  position: absolute;
  width: 70px;
  animation: flyRocket 8s ease-in-out infinite;
  transform: rotate(30deg); /* Dirección fija */
}

.rocket {
  width: 70px;
  display: block;
}

.rocket-flame {
  position: absolute;
  width: 20px;
  bottom: -4px;
  left: 23px;
  animation: flameWiggle 0.3s infinite ease-in-out;
  transform-origin: top center;
  opacity: 0.9;
  filter: drop-shadow(0 0 4px #ffaa33) drop-shadow(0 0 10px #ff6600);
}

.rocket-trail {
 position: absolute;
  width: 20px;       /* ← más ancho */
  height: 100px;     /* ← más largo */
  left: 35px;        /* ← ajustado al centro del cohete (si sigue siendo de 70px) */
  bottom: -35px;     /* ← que sobresalga más abajo */
  opacity: 0.8;
  z-index: 0;
  animation: trailFade 0.6s ease-in-out infinite;
  filter: blur(8px);
}


@keyframes flyRocket {
  0% {
    top: 100%;
    left: -20%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    top: 30%;
    left: 50%;
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: -20%;
    left: 120%;
    opacity: 0;
  }
}

@keyframes trailPulse {
  0% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(1.2); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 0.8; }
}


.planet-edutick {
  position: relative;
  bottom: -50px;
  right: -130px;
  width: 340px;
  height: 340px; /* importante que sea cuadrado para rotar alrededor */
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

/* Imagen base del planeta */
.planet-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Nubes que rotan por encima */
.planet-clouds {
  animation: rotateClouds 50s linear infinite;
  transform-origin: center center;
  z-index: 1;
}

@keyframes rotateClouds {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.planet-img, .planet-clouds {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
}



/* ===== HERO TITLE - SERVICIOS ===== */
.hero-title {
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin-bottom: 40px;
    font-size: 9rem;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-transform: none; /* Mantiene el texto como está escrito */
}

/* Responsive para tablets */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 6rem;
        margin-bottom: 30px;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
        margin-bottom: 25px;
    }
}

/* Responsive para móviles pequeños */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
}

/* ===== EFECTO DE PARTÍCULAS ===== */
.title-container {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #7597FE, #6b8af0);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(117, 151, 254, 0.6);
}

.particle:nth-child(1) {
    top: 20%;
    left: 35%;
    animation-delay: 0s;
    animation-duration: 4s;
}

.particle:nth-child(2) {
    top: 30%;
    right: 35%;
    animation-delay: 0.5s;
    animation-duration: 3.5s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 40%;
    animation-delay: 1s;
    animation-duration: 4.5s;
}

.particle:nth-child(4) {
    bottom: 25%;
    right: 40%;
    animation-delay: 1.5s;
    animation-duration: 3s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 40%;
    animation-delay: 2s;
    animation-duration: 4s;
}

.particle:nth-child(6) {
    top: 60%;
    right: 40%;
    animation-delay: 2.5s;
    animation-duration: 3.5s;
}

.particle:nth-child(7) {
    top: 40%;
    left: 45%;
    animation-delay: 0.3s;
    animation-duration: 4.2s;
}

.particle:nth-child(8) {
    bottom: 40%;
    left: 45%;
    animation-delay: 1.8s;
    animation-duration: 3.8s;
}

.particle:nth-child(9) {
    top: 45%;
    right: 45%;
    animation-delay: 0.8s;
    animation-duration: 4.8s;
}

.particle:nth-child(10) {
    bottom: 35%;
    right: 45%;
    animation-delay: 1.2s;
    animation-duration: 3.2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-25px) translateX(20px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-35px) translateX(-15px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-20px) translateX(25px) scale(1.2);
        opacity: 0.9;
    }
}

/* Responsive para partículas */
@media (max-width: 768px) {
    .particle {
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .particle {
        width: 3px;
        height: 3px;
    }
}


