/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #18048d;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.navbar {
    margin: 0 auto;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #777777b9;
}

/* Botón Aula Virtual */
.aula-button {
    background: #e2e2e2;
    color: rgb(0, 0, 0);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aula-button:hover {
    background: #c0392b;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 600px;
    overflow: hidden;
    margin-top: 60px; /* Compensa el navbar fixed */
}

.carousel-inner {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    width: 25%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background: white;
}

.cta-button {
    display: inline-block;
    background: #19048da5;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 1rem;
    transition: background 0.3s;
    border: solid white;
}

.cta-button:hover {
    background: #4f4f4fb8;
}

/* Beneficios */
.benefits {
    padding: 4rem 0;
    text-align: center;
}

.benefits h2 {
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.benefit-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.benefit-card p {
    padding: 0 1rem 1.5rem;
    color: #666;
}

.how-it-works {
    padding: 5rem 0;
    background: #f8f9fa;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    position: relative;
    font-size: 2rem;
    color: #18048d;
    margin-bottom: 1.5rem;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #18048d;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}
/*  */
.motivational-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #18048d 0%, #0c025a 100%);
    color: white;
    text-align: center;
}

.motivation-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.motivation-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}

.m-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    width: 300px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.m-card:hover {
    transform: translateY(-10px);
}

.m-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-pill {
    display: inline-block;
    background: white;
    color: #18048d;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Footer - Versión profesional */
.footer {
    background: #000c18;
    color: white;
    padding: 4rem 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col {
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #4CAF50;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-contact i {
    width: 20px;
    color: #4CAF50;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #4CAF50;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-credits {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive: Menú hamburguesa - Versión unificada */
@media (max-width: 768px) {
    .navbar {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #18048d;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .navbar.active {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }
    
    .navbar ul {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar li {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar li:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .navbar a {
        display: block;
        padding: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .aula-button {
        display: none;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
.carousel {
    height: 70vh;
}

.carousel-caption h1 {
    font-size: 1.8rem;
}
.steps-container {
    flex-direction: column;
}

.contact-box {
    flex-direction: column;
}
/* -------------------------------------------- */
/* RESPONSIVE - MOTIVACIÓN */
/* -------------------------------------------- */

@media (max-width: 1024px) {
    .motivation-cards {
        flex-wrap: wrap;
    }
    .m-card {
        width: calc(50% - 1rem); /* 2 columnas */
    }
}

@media (max-width: 600px) {
    .motivational-hero {
        padding: 3rem 0;
    }
    
    .motivation-content h2 {
        font-size: 2rem;
    }
    
    .motivation-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .m-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1.5rem;
    }
    
    .cta-pill {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Ajustes para móviles muy pequeños */
@media (max-width: 400px) {
    .motivation-content h2 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}


