/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{
    background: linear-gradient(135deg, #e6f3ff, #ffffff);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    color:#2c3e50;
}

/* HEADER */
.main-header{
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color:#ffffff;
    text-align:center;
    padding:50px 20px;
    box-shadow:0 4px 15px rgba(0,0,0,0.18);
}

.main-header h1{
    font-size:42px;
    font-weight:bold;
}

.main-header p{
    font-size:18px;
    margin-top:10px;
}

/* NAV */
.main-nav{
    background:#5dade2;
    box-shadow:0 4px 10px rgba(0,0,0,0.16);
}

.main-nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:40px;
    padding:15px 0;
}

.main-nav a{
    color:#ffffff;
    text-decoration:none;
    font-weight:bold;
    font-size:18px;
    padding:8px 15px;
    border-radius:8px;
    transition:0.3s;
}

.main-nav a:hover{
    background: rgba(255,255,255,0.18);
}

/* CONTENEDOR */
.container{
    background:#f8f9fa;
    max-width:1000px;
    margin:40px auto;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* TITULOS */
h3{
    text-align:center;
    margin-bottom:20px;
    color:#34495e;
}

/* CARRUSEL */
.carousel{
    border-radius:20px;
    overflow:hidden;
}

.carousel img{
    height:400px;
    object-fit:cover;
}

/* CAPTION */
.carousel-caption{
    background: rgba(52,73,94,0.72);
    border-radius:12px;
    padding:12px;
}

.carousel-caption h5,
.carousel-caption p{
    color:#ffffff;
}

/* FORMULARIO */
form{
    margin-top:20px;
}

.form-control{
    border-radius:12px;
    padding:12px;
    border:1px solid #bdc3c7;
    background:#ffffff;
}

.form-control:focus{
    border-color:#3498db;
    box-shadow:0 0 0 0.2rem rgba(52,152,219,0.25);
}

.btn{
    border-radius:12px;
    padding:10px 20px;
    background:#3498db;
    border:none;
    color:#ffffff;
}

.btn:hover{
    background:#2980b9;
}

/* FOOTER */
footer{
    background:#5dade2;
    color:#ffffff;
    text-align:center;
    padding:15px;
    margin-top:auto;
}

/* RESPONSIVE */
@media(max-width:768px){

    .main-header h1{
        font-size:28px;
    }

    .main-nav ul{
        flex-direction:column;
        gap:10px;
    }

    .carousel img{
        height:250px;
    }
}