/* ==================================================
   COURSES / LESSONS PAGE
================================================== */


/* ==================================================
   HERO
================================================== */

.courses-hero {

    position: relative;

    padding: 85px 0 90px;

    background:
            linear-gradient(
                    rgba(0, 0, 0, 0.55),
                    rgba(0, 0, 0, 0.55)
            ),
            url("/images/hero1.jpg") center center / cover no-repeat;

    color: #fff;

}


.courses-hero-content {

    max-width: 760px;

    margin: 0 auto;

    text-align: center;

}


.courses-label {

    display: inline-block;

    margin-bottom: 15px;

    color: #dc3545;

    font-size: 0.9rem;

    font-weight: 700;

    letter-spacing: 2px;

}


.courses-hero h1 {

    margin-bottom: 20px;

    font-size: 3.4rem;

    font-weight: 700;

    line-height: 1.15;

}


.courses-hero p {

    max-width: 680px;

    margin: 0 auto 30px;

    font-size: 1.15rem;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.92);

}


/* ==================================================
   INTRO
================================================== */

.courses-intro {

    padding: 75px 0 35px;

    background: #f8f9fa;

}


.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: #dc3545;

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 2px;

}


.courses-intro h2 {

    margin-bottom: 18px;

    font-size: 2.4rem;

    font-weight: 700;

}


.intro-text {

    max-width: 700px;

    margin: 0 auto;

    color: #666;

    font-size: 1.05rem;

    line-height: 1.7;

}


/* ==================================================
   COURSE LEVELS
================================================== */

.course-levels {

    padding: 45px 0 90px;

    background: #f8f9fa;

}


.course-card {

    height: 100%;

    padding: 35px 30px;

    background: #fff;

    border: 1px solid #e9ecef;

    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);

    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;

}


.course-card:hover {

    transform: translateY(-7px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);

}


.course-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 65px;

    height: 65px;

    margin-bottom: 22px;

    background: #f8f9fa;

    border-radius: 50%;

    font-size: 30px;

}


.course-level {

    display: block;

    margin-bottom: 8px;

    color: #dc3545;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.course-card h2 {

    margin-bottom: 15px;

    font-size: 1.7rem;

    font-weight: 700;

    color: #212529;

}


.course-card > p {

    min-height: 82px;

    margin-bottom: 25px;

    color: #666;

    line-height: 1.7;

}


.course-card h3 {

    margin-bottom: 15px;

    font-size: 1rem;

    font-weight: 700;

    color: #212529;

}


.course-card ul {

    margin: 0 0 28px;

    padding: 0;

    list-style: none;

}


.course-card li {

    position: relative;

    padding: 7px 0 7px 27px;

    color: #555;

    line-height: 1.5;

}


.course-card li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 7px;

    color: #dc3545;

    font-weight: 700;

}


.course-button {

    width: 100%;

    padding: 11px 20px;

    border-radius: 8px;

}


/* Featured course */

.featured-course {

    border: 2px solid #dc3545;

    position: relative;

}


.featured-course::before {

    content: "POPULAR";

    position: absolute;

    top: -13px;

    left: 50%;

    transform: translateX(-50%);

    padding: 5px 16px;

    background: #dc3545;

    color: #fff;

    border-radius: 20px;

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 1px;

}


/* ==================================================
   SPECIALIZED LESSONS
================================================== */

.specialized-lessons {

    padding: 90px 0;

    background: #fff;

}


.specialized-card {

    height: 100%;

    padding: 30px 25px;

    background: #f8f9fa;

    border-radius: 15px;

    text-align: center;

    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;

}


.specialized-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

}


.specialized-icon {

    margin-bottom: 18px;

    font-size: 35px;

}


.specialized-card h3 {

    margin-bottom: 12px;

    font-size: 1.15rem;

    font-weight: 700;

}


.specialized-card p {

    margin: 0;

    color: #666;

    font-size: 0.95rem;

    line-height: 1.65;

}


/* ==================================================
   WHY LESSONS
================================================== */

.why-lessons {

    padding: 90px 0;

    background: #f8f9fa;

}


.why-lessons h2 {

    max-width: 600px;

    margin-bottom: 20px;

    font-size: 2.4rem;

    font-weight: 700;

}


.why-lessons p {

    max-width: 600px;

    color: #666;

    line-height: 1.7;

}


.why-list {

    margin: 25px 0 30px;

    padding: 0;

    list-style: none;

}


.why-list li {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 14px;

    color: #444;

    font-weight: 500;

}


.why-list li span {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 25px;

    height: 25px;

    background: #dc3545;

    color: #fff;

    border-radius: 50%;

    font-size: 13px;

    font-weight: 700;

}


/* Highlight card */

.lesson-highlight {

    padding: 45px;

    background: #dc3545;

    color: #fff;

    border-radius: 20px;

    box-shadow: 0 15px 35px rgba(220, 53, 69, 0.2);

}


.lesson-highlight h3 {

    margin-bottom: 18px;

    font-size: 1.8rem;

    font-weight: 700;

}


.lesson-highlight p {

    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.9);

}


/* ==================================================
   CTA
================================================== */

.courses-cta {

    padding: 80px 0;

    background: #212529;

    color: #fff;

}


.courses-cta h2 {

    margin-bottom: 15px;

    font-size: 2.4rem;

    font-weight: 700;

}


.courses-cta p {

    max-width: 650px;

    margin: 0 auto 25px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 1.05rem;

    line-height: 1.7;

}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 991px) {

    .courses-hero {

        padding: 70px 0 75px;

    }


    .courses-hero h1 {

        font-size: 2.8rem;

    }


    .courses-intro {

        padding-top: 65px;

    }


    .course-levels {

        padding-top: 35px;

    }


    .course-card > p {

        min-height: auto;

    }


    .why-lessons h2 {

        font-size: 2.1rem;

    }


    .lesson-highlight {

        padding: 35px;

    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

    .courses-hero {

        padding: 60px 0;

        background-position: center;

    }


    .courses-hero h1 {

        font-size: 2.25rem;

    }


    .courses-hero p {

        font-size: 1rem;

    }


    .courses-intro {

        padding: 55px 0 25px;

    }


    .courses-intro h2 {

        font-size: 2rem;

    }


    .course-levels {

        padding: 30px 0 65px;

    }


    .course-card {

        padding: 30px 25px;

    }


    .course-card h2 {

        font-size: 1.5rem;

    }


    .specialized-lessons {

        padding: 65px 0;

    }


    .why-lessons {

        padding: 65px 0;

    }


    .why-lessons h2 {

        font-size: 2rem;

    }


    .lesson-highlight {

        padding: 30px;

        margin-top: 10px;

    }


    .lesson-highlight h3 {

        font-size: 1.5rem;

    }


    .courses-cta {

        padding: 65px 20px;

    }


    .courses-cta h2 {

        font-size: 2rem;

    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .courses-hero {

        padding: 50px 0;

    }


    .courses-hero h1 {

        font-size: 2rem;

    }


    .courses-label {

        font-size: 0.75rem;

        letter-spacing: 1.5px;

    }


    .course-card {

        padding: 25px 20px;

        border-radius: 15px;

    }


    .specialized-card {

        padding: 25px 20px;

    }


    .courses-cta h2 {

        font-size: 1.8rem;

    }

}