/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f9ff;
    color: #333;
    line-height: 1.6;
}

/* Encabezado */
.head {
    background-color: #FF6B6B;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    width: 150px;
}

.logo img {
    object-fit: contain;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: #4ECDC4;
    margin-left: 10px;
}

.navbar a:hover {
    background-color: #FFE66D;
    color: #333;
    transform: scale(1.05);
}

/* Hero section */
.content.header {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #4ECDC4 0%, #FF6B6B 100%);
    color: white;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FFA726;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.8rem;
    color: #E53935;
    margin-top: 30px;
}

/* Botones */
.btn {
    display: inline-block;
    background-color: #FFE66D;
    color: #333;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: #4ECDC4;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Carrusel */
.carousel {
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.carousel-container {
    width: 100%;
    display: flex;
}

.carousel-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sección de aprendizaje */
.content.sau {
    padding: 60px 20px;
    text-align: center;
    background-color: white;
}

.box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.box {
    background-color: #FFE66D;
    padding: 30px;
    border-radius: 15px;
    width: 280px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    background-color: #4ECDC4;
    color: white;
}

.box h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: #FF6B6B;
}

.box:hover h3 {
    color: white;
}

/* Sección about */
.content.about {
    text-align: center;
    padding: 60px 20px;
    background-color: #e0f7fa;
}

.content.about img {
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.content.about img:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Sección de cursos */
.content.price {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
}

.content.price img {
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.content.price img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Contacto */
.content.contact {
    text-align: center;
    padding: 60px 20px;
    background-color: #4ECDC4;
    color: white;
}

.content.contact p {
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Efectos especiales */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.box img {
    animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .head {
        flex-direction: column;
        padding: 10px;
    }
    
    .navbar {
        margin-top: 15px;
    }
    
    .box-container {
        flex-direction: column;
        align-items: center;
    }
    
    .content.price img {
        width: 80%;
        height: auto;
        margin: 10px auto;
    }
}