body{
    font-family: 'Poppins', sans-serif;
    background:#f5f7fa;
}
/* Carrusel */

body{
    font-family: Arial, sans-serif;
    margin:0;
    padding:0;
}
/* Carrusel */

#mainCarousel img{
height:500px;
object-fit:cover;
}

@media (max-width:992px){

#mainCarousel img{
height:350px;
}

}

@media (max-width:576px){

#mainCarousel img{
height:220px;
}

.carousel-caption{
bottom:20px;
}

.carousel-caption h3{
font-size:18px;
}

.carousel-caption p{
font-size:14px;
}

}

.card{
    border:none;
    border-radius:15px;
    overflow:hidden;
    transition: all 0.3s ease;
}

.card:hover{
    transform: translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.card img{
    height:200px;
    object-fit:cover;
}

/* HERO */

.hero{
    position: relative;
    height: 75vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero.jpg') center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero h1{
    font-size:3rem;
    font-weight:700;
}

.hero p{
    font-size:1.3rem;
    opacity:0.9;
}

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background: rgba(0,0,0,0.5);
}

.hero-content{
position:relative;
z-index:2;
max-width:800px;
padding:20px;
}

.navbar{
    backdrop-filter: blur(10px);
}

.btn-primary{
    background:#00337a;
    border:none;
    border-radius:30px;
    padding:10px 20px;
}

.btn-primary:hover{
    background:#00337a;
}

.btn-outline-primary{
    border-radius:30px;
}
section{
    margin-top:60px;
}

h2{
    font-weight:600;
    position:relative;
}

h2::after{
    content:'';
    width:50px;
    height:3px;
    background:var(--primary);
    display:block;
    margin-top:8px;
}

.escuela{
    background:#fff;
    border-radius:20px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.escuela:hover{
    transform: translateY(-5px);
}

*{
    transition: all 0.2s ease;
}

footer{
    background:#111;
    color:#ccc;
}

footer p{
    margin:0;
}

@media(max-width:768px){

.hero{
    height:50vh;
}

.card img{
    height:150px;
}

}section{
    margin-top:60px;
}
.form-bg {
    position: relative;
    padding: 60px 20px;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

/* imagen de fondo */
.form-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: 0;
}

/* capa oscura */
.form-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* contenido encima */
.form-bg > * {
    position: relative;
    z-index: 2;
}

.event-hero {
    position: relative;
    height: 60vh;
    background-image: url('../uploads/noticias/IMG_AQUI');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.8) 100%
    );
}

.event-hero-content {
    position: relative;
    color: white;
    text-align: center;
    z-index: 2;
}

.event-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.event-date {
    font-size: 1.2rem;
    opacity: 0.9;
}
.info-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

