
.invalid-feedback {
    display: block;
}
.card-course-image{
    background-size:cover;
    aspect-ratio:16/9;
    transition: all 0.3s ease;
}
.card-course-image:hover{
    transform: scale(1.1);
}
.bg-orange{
    background: #FC7159;
}
.text-orange{
    color: #FC7159;
}
.h-item:hover{
    background-color: #d9d9d9;
}
.btn-orange{
    background: #FC7159;
    border-color: #FC7159;
    color: #fff;
}
.btn-orange:hover{
    background: #FC7159;
    border-color: #FC7159;
    color: #fff;
}

/* Custom colors */

.bg-secondary{
    background-color: #2D3E4F !important;
}
.bg-lemon{
    background-color: #A9F00F !important;
}
.btn-lemon{
    background-color: #A9F00F;
    color: #333;
    border-color: #A9F00F;
}
.btn-lemon:hover{
    background-color: #3d8925;
    color: #fff;
    border-color: #3d8925;
}
.btn-alt-lemon{
    background-color: #333;
    color: #A9F00F;
    border-color: #A9F00F;
}
.btn-alt-lemon:hover{
    background-color: #3d8925;
    color: #333;
    border-color: #3d8925;
}
.text-lemon-dark{
    color: #3d8925 !important;
}
.text-lemon{
    color: #A9F00F !important;
}
.bg-lemon-dark{
    background-color: #3d8925 !important;
}

/* web view styles */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typewriter Effect */
.typewriter-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Course Card Effects */
.course-card .card {
    transition: all 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.7);
}

.course-card:hover .card-img-top {
    transform: scale(1.1);
}

.card-img-top {
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
}

.hero-title {
    line-height: 1.5;
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
}

.feature-icon i {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }
}

/* student courses styles */

/* Filtros y navegación */
.filter-chip {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.filter-chip:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
}

.filter-chip.active {
    background: linear-gradient(135deg, #A9F00F 0%, #8BC34A 100%);
    color: #2d5016;
    border-color: #A9F00F;
    box-shadow: 0 4px 15px rgba(169, 240, 15, 0.3);
}

.view-toggle .btn {
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.view-toggle .btn.active {
    background: #A9F00F;
    border-color: #A9F00F;
    color: #2d5016;
}

/* Layout responsivo */
.row-equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row-equal-height>[class*="col-"] {
    display: flex;
}

/* Tarjetas de curso modernas */
.modern-course-card {
    width: 100%;
}

.modern-course-card .card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 11px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.modern-course-card .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Header de imagen con overlay */
.course-header {
    height: 150px;
    overflow: hidden;
    border-radius: 11px 11px 0 0;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-course-card:hover .course-overlay {
    opacity: 1;
}

.badge-progress {
    background: linear-gradient(135deg, #A9F00F 0%, #8BC34A 100%);
    color: #2d5016;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(169, 240, 15, 0.4);
}

.play-button {
    align-self: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #A9F00F 0%, #8BC34A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d5016;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(169, 240, 15, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(169, 240, 15, 0.6);
}

/* Contenido de la tarjeta */
.course-meta {
    margin-bottom: 15px;
}

.course-category {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.course-rating {
    font-size: 14px;
    font-weight: 600;
    color: #ff9800;
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #2c3e50;
    margin-bottom: 15px;
}

.course-description {
    font-size: 14px;
    line-height: 1.5;
    color: #6c757d;
}

/* Progreso moderno */
.progress-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.progress-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.progress-percentage {
    font-size: 13px;
    font-weight: 700;
    color: #A9F00F;
}

.modern-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #A9F00F 0%, #8BC34A 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Estadísticas */
.course-stats {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.stat-item {
    padding: 0 5px;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 4px;
}

/* Botón moderno */
.modern-btn {
    background: linear-gradient(135deg, #A9F00F 0%, #8BC34A 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 15px;
    font-weight: 600;
    color: #2d5016;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(169, 240, 15, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 240, 15, 0.5);
    color: #2d5016;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.modern-btn:hover::before {
    left: 100%;
}

/* Estado vacío */
.empty-state {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.empty-state i {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-chip {
        margin-bottom: 10px;
        font-size: 13px;
        padding: 6px 12px;
    }

    .course-header {
        height: 180px;
    }

    .course-image img {
        height: 180px;
    }

    .modern-course-card .card {
        border-radius: 11px;
    }

    .course-header {
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 576px) {
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }

    .view-toggle {
        align-self: flex-start;
    }
}