* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

/* Fondo animado con partículas */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Contenedor principal */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Logo con efecto */
.logo-container {
    margin-bottom: 2.5rem;
    animation: fadeInScale 1s ease-out;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Contenido principal */
.content {
    max-width: 700px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #b0bec5;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Badge de estado */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Redes sociales */
.social-container {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.social-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #78909c;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: #64b5f6;
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.3);
}

.social-icon i {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.contact-info {
    font-size: 0.95rem;
    color: #90a4ae;
}

.contact-info a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #90caf9;
}

/* Animaciones */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        padding: 1.5rem;
    }

    .logo {
        max-width: 140px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* --- Estilos para Banners (Verano y Sumate) --- */

.banner {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-verano {
    background: linear-gradient(135deg, rgba(0, 180, 219, 0.85) 0%, rgba(0, 131, 176, 0.85) 100%);
    backdrop-filter: blur(5px);
}

.banner-sumate {
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;
    height: 100%;
}

.text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 200px;
    /* Ensure space for text */
}

.title-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    /* Slightly smaller to fit */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 2px;
}

.title-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    /* Slightly smaller */
    color: #FFD700;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

.sub-title-small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
}

.cta-box {
    padding: 8px 20px;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: linear-gradient(45deg, #133E65, #133E65);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    white-space: nowrap;
}

.cta-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.cta-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.contact-phone {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    /* Prevent wrapping */
}

.contact-phone:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive para Banners */
@media (max-width: 768px) {
    .banner {
        height: auto;
        min-height: 100px;
        padding: 10px 15px;
    }

    .banner-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .banner-content .text-group {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .title-year {
        font-size: 1.6rem;
    }

    .cta-box,
    .contact-phone {
        transform: scale(0.9);
    }
}

/* --- Estilos Específicos de Subpáginas (Verano / Sumate) --- */
.page-content-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #b0bec5;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    color: #ffffff;
}

.section-header h1 {
    color: #ffffff;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-header .lead {
    color: #b0bec5;
}

/* Ajustes específicos para dark mode en subpáginas */
.section-header h1 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Nuevos estilos para sección de requisitos (Sumate) */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    color: #e0e0e0;
}

.sub-list {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.9em;
}

.sub-list li::before {
    content: "•";
    color: #64b5f6;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.text-secondary-light {
    color: #b0bec5 !important;
}

.badge-discipline {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 4rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: linear-gradient(45deg, #133E65, #0f3460);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.4);
    border-color: #64b5f6;
    color: #ffffff;
    background: linear-gradient(45deg, #164e80, #133E65);
}

@media (max-width: 768px) {
    .cta-button-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        white-space: normal;
        text-align: center;
        width: 100%;
        max-width: 300px;
    }

    .contact-phone {
        white-space: normal;
        text-align: center;
        height: auto;
        padding: 10px 15px;
    }
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 181, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(100, 181, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(100, 181, 246, 0);
    }
}

.pulse-animation {
    animation: pulse-animation 2s infinite;
}

.small-text {
    font-size: 0.9rem;
}

.l-spacing-1 {
    letter-spacing: 1px;
}