﻿/* ============================================================
        COURSES PAGE - REDESIGNED
    ============================================================ */

    /* ----- Hero Section ----- */
    .courses-hero-new {
        padding: 4rem 0 4.5rem;
        background: linear-gradient(135deg, #0a0e1a 0%, #1a0a2e 30%, #4a2a8a 60%, #0d9488 80%, #0a0e1a 100%);
        position: relative;
        overflow: hidden;
        margin-top: -60px;
        color: #fff;
    }

        .courses-hero-new::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            animation: heroPulse 12s ease-in-out infinite;
        }

        .courses-hero-new::after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: -15%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(108,58,158,0.04) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            animation: heroPulse 15s ease-in-out infinite reverse;
        }

    @keyframes heroPulse {
        0%, 100% {
            transform: scale(1) rotate(0deg);
            opacity: 0.4;
        }

        50% {
            transform: scale(1.05) rotate(3deg);
            opacity: 0.8;
        }
    }

    .courses-hero-new .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(252,211,77,0.08);
        border: 1px solid rgba(252,211,77,0.1);
        padding: 0.35rem 1.2rem;
        border-radius: 6px;
        font-size: 0.7rem;
        font-weight: 700;
        font-family: 'Courier New', monospace;
        color: #fcd34d;
        letter-spacing: 0.5px;
        margin-bottom: 1rem;
    }

        .courses-hero-new .hero-badge i {
            font-size: 1rem;
        }

    .courses-hero-new h1 {
        font-size: 3.2rem;
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

        .courses-hero-new h1 .highlight {
            background: linear-gradient(135deg, #fcd34d, #f59e0b, #fbbf24);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

    .courses-hero-new .tagline-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: linear-gradient(135deg, rgba(252,211,77,0.12), rgba(13,148,136,0.05));
        border: 1px solid rgba(252,211,77,0.12);
        padding: 0.4rem 1.2rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #fcd34d;
        margin: 0.5rem 0 1rem;
        backdrop-filter: blur(8px);
    }

        .courses-hero-new .tagline-badge i {
            font-size: 1rem;
            color: #fcd34d;
        }

    .courses-hero-new .subtitle {
        color: rgba(255,255,255,0.8);
        font-size: 1.15rem;
        line-height: 1.8;
        max-width: 550px;
    }

        .courses-hero-new .subtitle strong {
            color: #fcd34d;
            font-weight: 600;
        }

    .courses-hero-new .hero-stats {
        display: flex;
        gap: 2.5rem;
        flex-wrap: wrap;
        margin-top: 1.5rem;
    }

        .courses-hero-new .hero-stats .stat-item .number {
            font-size: 2.2rem;
            font-weight: 800;
            color: #fff;
            line-height: 1.2;
        }

        .courses-hero-new .hero-stats .stat-item .label {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.5);
            font-weight: 500;
            display: block;
            margin-top: 0.1rem;
        }

    .courses-hero-new .income-highlight {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(252,211,77,0.08);
        border: 1px solid rgba(252,211,77,0.1);
        padding: 0.5rem 1.2rem;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        margin-top: 1rem;
        color: #fcd34d;
        font-family: 'Courier New', monospace;
        animation: glowPulse 3s ease-in-out infinite;
    }

        .courses-hero-new .income-highlight i {
            font-size: 1.2rem;
        }

        .courses-hero-new .income-highlight strong {
            color: #fff;
        }

    @keyframes glowPulse {
        0%, 100% {
            box-shadow: 0 0 20px rgba(252,211,77,0.1);
        }

        50% {
            box-shadow: 0 0 40px rgba(252,211,77,0.2);
        }
    }

    .courses-hero-new .quick-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1rem;
    }

        .courses-hero-new .quick-actions .action-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.65rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.06);
            background: rgba(255,255,255,0.04);
            color: rgba(255,255,255,0.6);
        }

            .courses-hero-new .quick-actions .action-btn:hover {
                background: rgba(13,148,136,0.08);
                border-color: rgba(13,148,136,0.1);
                color: #5eead4;
                transform: translateY(-2px);
            }

            .courses-hero-new .quick-actions .action-btn i {
                font-size: 0.8rem;
            }

    /* Hero Visual */
    .courses-hero-visual-new {
        position: relative;
        min-height: 320px;
    }

    .hero-illustration-new {
        position: relative;
        width: 100%;
        height: 320px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .circle-bg-new {
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(108,58,158,0.02));
        position: absolute;
        animation: pulseCircle 4s ease-in-out infinite;
    }

    @keyframes pulseCircle {
        0%, 100% {
            transform: scale(1);
            opacity: 0.5;
        }

        50% {
            transform: scale(1.05);
            opacity: 1;
        }
    }

    .floating-stats-new {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 320px;
    }

    .stat-float-new {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: rgba(255,255,255,0.04);
        backdrop-filter: blur(10px);
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.06);
        margin-bottom: 0.75rem;
        animation: slideIn 0.6s ease-out forwards;
        opacity: 0;
        transition: all 0.3s ease;
        color: #fff;
    }

        .stat-float-new:hover {
            background: rgba(255,255,255,0.08);
            transform: translateX(4px);
        }

        .stat-float-new:nth-child(1) {
            animation-delay: 0.2s;
        }

        .stat-float-new:nth-child(2) {
            animation-delay: 0.4s;
        }

        .stat-float-new:nth-child(3) {
            animation-delay: 0.6s;
        }

        .stat-float-new i {
            font-size: 1.5rem;
            color: #5eead4;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(13,148,136,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .stat-float-new strong {
            display: block;
            font-size: 1.1rem;
            color: #fff;
        }

        .stat-float-new span {
            font-size: 0.75rem;
            color: rgba(255,255,255,0.5);
        }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Section Badge */
    .section-badge {
        display: inline-block;
        background: rgba(108,58,158,0.08);
        color: #6c3a9e;
        padding: 0.3rem 1.2rem;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
    }

    /* Categories */
    .course-categories-new {
        padding: 4rem 0;
        background: #ffffff;
    }

    .category-card-new {
        display: block;
        text-decoration: none;
        padding: 1.25rem 1rem;
        border-radius: 16px;
        background: #f8fafc;
        border: 2px solid transparent;
        text-align: center;
        transition: all 0.3s ease;
        color: #0a1a1f;
        position: relative;
        overflow: hidden;
    }

        .category-card-new::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #6c3a9e, #0d9488);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .category-card-new:hover {
            border-color: #6c3a9e;
            transform: translateY(-6px);
            box-shadow: 0 12px 40px rgba(108,58,158,0.06);
            text-decoration: none;
            color: #0a1a1f;
        }

            .category-card-new:hover::before {
                opacity: 1;
            }

    .category-icon-new {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        background: #ede4f5;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        color: #6c3a9e;
        margin: 0 auto 0.5rem;
        transition: all 0.3s ease;
    }

    .category-card-new:hover .category-icon-new {
        background: #6c3a9e;
        color: #fff;
        transform: scale(1.05);
    }

    .category-card-new h6 {
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }

    .category-card-new .category-count {
        font-size: 0.7rem;
        color: #94a3b8;
    }

    /* Featured Courses */
    .featured-courses-new {
        padding: 4rem 0;
        background: #faf8fc;
    }

    .course-card-new {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #eef2f6;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

        .course-card-new:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(108,58,158,0.08);
            border-color: #6c3a9e;
        }

    .course-card-header-new {
        position: relative;
        height: 200px;
        overflow: hidden;
        background: #f1f5f9;
    }

    .course-image-new {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.5s ease;
    }

    .course-card-new:hover .course-image-new {
        transform: scale(1.05);
    }

    .course-image-placeholder-new {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 4rem;
        color: #6c3a9e;
        background: linear-gradient(135deg, #f6f0fa, #ede4f5);
    }

    .course-tags-new {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        display: flex;
        justify-content: space-between;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .category-tag-new {
        font-size: 0.65rem;
        font-weight: 600;
        padding: 0.15rem 0.7rem;
        border-radius: 20px;
        background: rgba(255,255,255,0.9);
        color: #6c3a9e;
        backdrop-filter: blur(4px);
    }

    .paid-tag-new {
        font-size: 0.65rem;
        font-weight: 600;
        padding: 0.15rem 0.7rem;
        border-radius: 20px;
        background: rgba(108,58,158,0.9);
        color: white;
        backdrop-filter: blur(4px);
    }

    .free-tag-new {
        font-size: 0.65rem;
        font-weight: 600;
        padding: 0.15rem 0.7rem;
        border-radius: 20px;
        background: rgba(22,163,74,0.9);
        color: white;
        backdrop-filter: blur(4px);
    }

    .income-potential-badge {
        position: absolute;
        bottom: 0.75rem;
        right: 0.75rem;
        font-size: 0.6rem;
        font-weight: 700;
        padding: 0.15rem 0.7rem;
        border-radius: 20px;
        background: rgba(252,211,77,0.9);
        color: #1a0a2e;
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

        .income-potential-badge i {
            font-size: 0.6rem;
        }

    .course-body-new {
        padding: 1rem 1.25rem 1.25rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .course-rating-new {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.25rem;
    }

        .course-rating-new .stars {
            font-size: 0.8rem;
        }

        .course-rating-new .rating-text {
            font-size: 0.75rem;
            color: #94a3b8;
        }

    .course-body-new h4 {
        font-size: 1.05rem;
        font-weight: 700;
        color: #0a1a1f;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }

    .course-excerpt-new {
        font-size: 0.85rem;
        color: #64748b;
        margin-bottom: 0.5rem;
        flex: 1;
        line-height: 1.6;
    }

    .course-meta-new {
        display: flex;
        flex-wrap: wrap;
        gap: 0.3rem 0.75rem;
        font-size: 0.75rem;
        color: #94a3b8;
        margin-bottom: 0.75rem;
    }

        .course-meta-new i {
            color: #6c3a9e;
            margin-right: 0.2rem;
        }

    .course-footer-new {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 0.75rem;
        border-top: 1px solid #eef2f6;
    }

    .course-price-new {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0a1a1f;
    }

        .course-price-new .free-text {
            color: #16a34a;
        }

    /* All Courses */
    .all-courses-new {
        padding: 4rem 0;
        background: #ffffff;
    }

    .filter-bar-new {
        background: #f8fafc;
        padding: 1rem 1.25rem;
        border-radius: 16px;
        border: 1px solid #eef2f6;
    }

    .search-input-wrapper-new {
        position: relative;
    }

        .search-input-wrapper-new i {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .search-input-wrapper-new .form-control {
            padding-left: 2.5rem;
            border-radius: 8px;
            border: 1px solid #eef2f6;
            background: white;
        }

            .search-input-wrapper-new .form-control:focus {
                border-color: #6c3a9e;
                box-shadow: 0 0 0 3px rgba(108,58,158,0.08);
            }

    .course-card-mini-new {
        background: white;
        border-radius: 12px;
        border: 1px solid #eef2f6;
        overflow: hidden;
        transition: all 0.3s ease;
        height: 100%;
    }

        .course-card-mini-new:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(108,58,158,0.06);
            border-color: #6c3a9e;
        }

    .course-mini-header-new {
        position: relative;
        height: 140px;
        overflow: hidden;
        background: #f1f5f9;
    }

    .course-mini-image-new {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .course-mini-placeholder-new {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: #6c3a9e;
        background: linear-gradient(135deg, #f6f0fa, #ede4f5);
    }

    .difficulty-badge-new {
        position: absolute;
        bottom: 0.5rem;
        left: 0.5rem;
        font-size: 0.6rem;
        font-weight: 600;
        padding: 0.15rem 0.6rem;
        border-radius: 20px;
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(4px);
    }

        .difficulty-badge-new.beginner {
            color: #16a34a;
        }

        .difficulty-badge-new.intermediate {
            color: #f59e0b;
        }

        .difficulty-badge-new.advanced {
            color: #dc2626;
        }

        .difficulty-badge-new.all-levels {
            color: #6c3a9e;
        }

    .price-badge-new {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.6rem;
        font-weight: 600;
        padding: 0.15rem 0.6rem;
        border-radius: 20px;
        backdrop-filter: blur(4px);
    }

        .price-badge-new.paid {
            background: rgba(108,58,158,0.9);
            color: white;
        }

        .price-badge-new.free {
            background: rgba(22,163,74,0.9);
            color: white;
        }

    .course-mini-body-new {
        padding: 0.75rem;
    }

    .mini-rating-new .stars {
        font-size: 0.7rem;
    }

    .course-mini-body-new h6 {
        font-size: 0.85rem;
        font-weight: 600;
        color: #0a1a1f;
        margin-bottom: 0.25rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.6em;
    }

    .mini-meta-new {
        font-size: 0.7rem;
        color: #94a3b8;
        margin-bottom: 0.5rem;
    }

        .mini-meta-new i {
            color: #6c3a9e;
            margin-right: 0.2rem;
        }

    /* Why Learn */
    .why-mentorinn-new {
        padding: 4rem 0;
        background: #faf8fc;
    }

    .why-card-new {
        text-align: center;
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
        background: white;
        border: 1px solid #eef2f6;
        transition: all 0.3s ease;
        height: 100%;
    }

        .why-card-new:hover {
            border-color: #6c3a9e;
            box-shadow: 0 12px 40px rgba(108,58,158,0.06);
            transform: translateY(-6px);
        }

    .why-icon-new {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        background: #ede4f5;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: #6c3a9e;
        margin: 0 auto 0.75rem;
        transition: all 0.3s ease;
    }

    .why-card-new:hover .why-icon-new {
        background: #6c3a9e;
        color: #fff;
        transform: scale(1.05);
    }

    .why-card-new h5 {
        font-weight: 700;
        color: #0a1a1f;
        margin-bottom: 0.25rem;
    }

    .why-card-new p {
        font-size: 0.9rem;
        color: #64748b;
        margin: 0;
        line-height: 1.6;
    }

    /* CTA */
    .courses-cta-new {
        padding: 4rem 0;
        background: #0a0e1a;
    }

    .cta-wrapper-new {
        background: linear-gradient(135deg, #0a0e1a 0%, #1a0a2e 20%, #0d9488 40%, #6c3a9e 60%, #0a0e1a 100%);
        border-radius: 24px;
        padding: 3.5rem 3rem;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(252,211,77,0.08);
    }

        .cta-wrapper-new::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(252,211,77,0.04) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .cta-wrapper-new .cta-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(252,211,77,0.08);
            border: 1px solid rgba(252,211,77,0.08);
            padding: 0.25rem 1rem;
            border-radius: 6px;
            font-size: 0.65rem;
            font-weight: 700;
            font-family: 'Courier New', monospace;
            color: #fcd34d;
            margin-bottom: 0.5rem;
        }

    /* Responsive */
    @media (max-width: 992px) {
        .courses-hero-new {
            padding: 3rem 0 3.5rem;
        }

            .courses-hero-new h1 {
                font-size: 2.4rem;
            }

            .courses-hero-new .hero-stats {
                gap: 1.5rem;
            }

                .courses-hero-new .hero-stats .stat-item .number {
                    font-size: 1.8rem;
                }

        .cta-wrapper-new {
            padding: 2rem;
        }

        .course-card-header-new {
            height: 160px;
        }

        .courses-hero-visual-new {
            min-height: 250px;
        }

        .hero-illustration-new {
            height: 250px;
        }

        .circle-bg-new {
            width: 220px;
            height: 220px;
        }
    }

    @media (max-width: 768px) {
        .courses-hero-new h1 {
            font-size: 2rem;
        }

        .courses-hero-new .subtitle {
            font-size: 1rem;
        }

        .courses-hero-new .hero-stats {
            gap: 1rem;
        }

            .courses-hero-new .hero-stats .stat-item .number {
                font-size: 1.5rem;
            }

        .cta-wrapper-new {
            padding: 1.5rem;
            text-align: center;
        }

        .courses-cta-new .text-lg-end {
            text-align: center !important;
        }

        .course-card-header-new {
            height: 140px;
        }

        .course-body-new {
            padding: 0.75rem 1rem 1rem;
        }

            .course-body-new h4 {
                font-size: 0.95rem;
            }

        .filter-bar-new {
            padding: 0.75rem;
        }

            .filter-bar-new .row > div {
                margin-bottom: 0.5rem;
            }

        .stat-float-new {
            padding: 0.5rem 0.75rem;
        }

            .stat-float-new i {
                width: 32px;
                height: 32px;
                font-size: 1.2rem;
            }

            .stat-float-new strong {
                font-size: 0.95rem;
            }

        .why-card-new {
            padding: 1.25rem;
        }

        .courses-hero-new .quick-actions {
            display: none;
        }
    }

    @media (max-width: 576px) {
        .courses-hero-new {
            padding: 2rem 0 2.5rem;
        }

            .courses-hero-new h1 {
                font-size: 1.6rem;
            }

            .courses-hero-new .hero-badge {
                font-size: 0.55rem;
                padding: 0.2rem 0.8rem;
            }

            .courses-hero-new .tagline-badge {
                font-size: 0.7rem;
                padding: 0.3rem 0.8rem;
            }

            .courses-hero-new .income-highlight {
                font-size: 0.75rem;
                padding: 0.3rem 0.8rem;
            }

            .courses-hero-new .btn {
                width: 100%;
                text-align: center;
            }

            .courses-hero-new .d-flex.gap-3 {
                flex-direction: column;
            }

        .course-card-header-new {
            height: 120px;
        }

        .course-excerpt-new {
            font-size: 0.8rem;
        }

        .course-footer-new {
            flex-direction: column;
            align-items: stretch;
            gap: 0.5rem;
        }

            .course-footer-new .btn {
                width: 100%;
                text-align: center;
            }

        .category-card-new {
            padding: 0.75rem;
        }

            .category-card-new h6 {
                font-size: 0.75rem;
            }

        .category-icon-new {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }

        .course-mini-header-new {
            height: 100px;
        }

        .course-mini-body-new h6 {
            font-size: 0.8rem;
        }

        .floating-stats-new {
            max-width: 260px;
        }

        .stat-float-new {
            padding: 0.4rem 0.6rem;
            gap: 0.5rem;
        }

            .stat-float-new i {
                width: 28px;
                height: 28px;
                font-size: 1rem;
            }

            .stat-float-new strong {
                font-size: 0.85rem;
            }

        .circle-bg-new {
            width: 160px;
            height: 160px;
        }

        .hero-illustration-new {
            height: 200px;
        }

        .cta-wrapper-new .btn {
            width: 100%;
        }
}