@media (max-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Tablets */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .schedule-card.featured {
        transform: none;
    }
}

/* Tablets pequeñas y móviles */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .schedule-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
      .logo-img {
        width: 40px;
        height: 40px;
        padding-left: 0;
        margin-left: 75px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }

/* seccion de logros */
.achievements {
        padding: 70px 0;
    }
    
    .achievements .section-header h2 {
        font-size: 2.3rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 40px 0;
    }
    
    .achievement-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .achievement-card-inner {
        padding: 30px 25px;
    }
    
    .achievement-number .counter {
        font-size: 3rem;
    }
    
    .achievement-title {
        font-size: 1.3rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .achievements-quote {
        padding: 30px 25px;
    }


}

/* Móviles */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    .hero {
    background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(180, 2, 2, 0.4)), url('../images/hero-bg-movil.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .course-cards,
    .instructor-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .schedule-card {
        padding: 20px;
    }
    .logo {
        gap: 10px;
        
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        padding-left: 0px;
        margin-left: 75px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    /* seccion de logros */
    .achievement-card-inner {
        padding: 25px 20px;
    }
    
    .achievement-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .achievement-icon .icon {
        font-size: 2.5rem;
        line-height: 70px;
    }
    
    .achievement-number .counter {
        font-size: 2.8rem;
    }
    
    .achievements-quote {
        padding: 25px 20px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
}



/* Carrusel Responsive - VERSIÓN CORREGIDA */
@media (max-width: 992px) {
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .about-text, 
    .about-image {
        width: 100%;
        max-width: 600px;
        
    }
    .about-image {
            order: -1;  /* Carrusel arriba */
        }
    .carousel-container {
        height: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .about-image {
            order: -1;  /* Carrusel arriba */
        }
      
    .carousel-container {
        height: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-image {
            order: -1;  /* Carrusel arriba */
        }
        
        .about-text {
            order: 1;   /* Texto abajo */
        }

    .carousel-container {
        height: 250px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}