/*==================================================
                RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

:root{

    --primary:#FFD54A;
    --secondary:#1d4ed8;
    --dark:#0b0b0b;
    --card:#171717;
    --text:#d8d8d8;
    --white:#ffffff;
    --shadow:0 20px 40px rgba(0,0,0,.35);

}

html{

    scroll-behavior:smooth;

}

body{

    background:#080808;
    color:white;
    overflow-x:hidden;

}

section{

    padding:80px 8%;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

/*==================================================
                NAVBAR
==================================================*/

.navbar{

    position:relative;

    top:0;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(14px);

    z-index:999;

}

.logo img{

    width:170px;

}

.navbar ul{

    display:flex;

    gap:35px;

}

.navbar li{

    position:relative;

}

.navbar a{

    color:white;

    font-weight:600;

    transition:.3s;

}

.navbar a:hover{

    color:var(--primary);

}

.navbar li::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    transform:translateX(-50%);

    width:0;

    height:3px;

    background:var(--primary);

    transition:.3s;

}

.navbar li:hover::after{

    width:100%;

}


/*==================================================
                HERO
==================================================*/

/*==========================================
        COURSE HEADER
==========================================*/

.course-header{

    padding:50px 8% 35px;

    background:#0b0b0b;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.breadcrumb{

    display:flex;

    gap:12px;

    align-items:center;

    color:#999;

    margin-bottom:5px;

    font-size:15px;

}

.breadcrumb a{

    color:#bbbbbb;

}

.breadcrumb a:hover{

    color:var(--primary);

}

.course-level{

    display:inline-block;

    padding:8px 18px;

    background:rgba(255,213,74,.12);

    color:var(--primary);

    border-radius:25px;

    font-size:13px;

    font-weight:bold;

    letter-spacing:1px;

    margin-bottom:18px;

}

.course-header h1{

    font-size:48px;

    margin-bottom:15px;

}

.course-header p{

    color:#bbbbbb;

    margin-bottom:30px;

    font-size:20px;

}
.hero-content{

    max-width:900px;

}

.course-level{

    display:inline-block;

    background:rgba(255,213,74,.15);

    color:var(--primary);

    padding:10px 25px;

    border-radius:30px;

    margin-bottom:20px;

    font-weight:bold;

}

.hero h1{

    font-size:60px;

    margin-bottom:20px;

}

.hero p{

    color:var(--text);

    font-size:20px;

    margin-bottom:35px;

}


/*==================================================
            PROGRESS
==================================================*/

.progress-area{

    max-width:600px;

}

.progress-text{

    display:flex;

    justify-content:space-between;

    margin-bottom:10px;

}

.progress-bar{

    width:100%;

    height:16px;

    border-radius:30px;

    background:#2a2a2a;

    overflow:hidden;

}

.progress-fill{

    width:12%;

    height:100%;

    background:linear-gradient(

    90deg,

    var(--secondary),

    var(--primary)

    );

}


/*==================================================
            PLAYER LAYOUT
==================================================*/

.player-layout{

    display:grid;

    grid-template-columns:2fr 420px;

    gap:40px;

    align-items:start;

}


/*==================================================
            VIDEO PLAYER
==================================================*/

.video-player{

    background:#111;

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

.video-player video{

    width:100%;

    display:block;

}


/*==================================================
            LESSON DETAILS
==================================================*/

.lesson-details{

    background:var(--card);

    margin-top:35px;

    padding:35px;

    border-radius:25px;

}

.lesson-details h2{

    font-size:34px;

    margin-bottom:20px;

}

.lesson-details p{

    color:var(--text);

    line-height:1.9;

}



/*==================================================
            LESSON META
==================================================*/

.lesson-meta{

    display:flex;

    gap:25px;

    flex-wrap:wrap;

    margin-bottom:25px;

    color:#bbbbbb;

}

.lesson-meta span{

    display:flex;

    align-items:center;

    gap:8px;

}

/*==================================================
        WHAT YOU WILL LEARN
==================================================*/

.learn-box{

    background:var(--card);

    margin-top:35px;

    border-radius:25px;

    padding:35px;

}

.learn-box h3{

    font-size:30px;

    margin-bottom:25px;

}

.learn-box li{

    margin-bottom:18px;

    color:var(--text);

    display:flex;

    gap:15px;

    align-items:center;

}

.learn-box i{

    color:#22c55e;

}

/*==================================================
            DOWNLOADS
==================================================*/

.downloads{

    margin-top:35px;

    background:var(--card);

    border-radius:25px;

    padding:35px;

}

.downloads h3{

    font-size:30px;

    margin-bottom:30px;

}

.download-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.download-card{

    background:#222;

    padding:30px;

    border-radius:18px;

    text-align:center;

    transition:.35s;

}

.download-card:hover{

    transform:translateY(-8px);

}

.download-card i{

    font-size:42px;

    color:var(--primary);

    margin-bottom:20px;

}

.download-card a{

    display:inline-block;

    margin-top:18px;

    color:var(--primary);

    font-weight:bold;

}

/*==================================================
                QUIZ BOX
==================================================*/

.quiz-box{

    margin-top:35px;

    background:linear-gradient(
        135deg,
        #1d4ed8,
        #2563eb
    );

    border-radius:25px;

    padding:35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    color:white;

    box-shadow:var(--shadow);

}

.quiz-box h3{

    font-size:32px;

    margin-bottom:15px;

}

.quiz-box p{

    line-height:1.8;

    color:#eeeeee;

}

.quiz-btn{

    background:var(--primary);

    color:#111;

    font-weight:bold;

    padding:18px 35px;

    border-radius:35px;

    transition:.35s;

    white-space:nowrap;

}

.quiz-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(255,213,74,.35);

}


/*==================================================
        LESSON NAVIGATION
==================================================*/

.lesson-navigation{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-top:40px;

}

.previous,
.next{

    background:#171717;

    padding:25px;

    border-radius:20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-weight:600;

    transition:.35s;

    box-shadow:var(--shadow);

}

.previous:hover,
.next:hover{

    background:#222;

    transform:translateY(-6px);

}


/*==================================================
            PLAYLIST
==================================================*/

.playlist{

    position:sticky;

    top:100px;

    background:#171717;

    border-radius:25px;

    padding:30px;

    box-shadow:var(--shadow);

    max-height:85vh;

    overflow-y:auto;

}

.playlist h3{

    font-size:30px;

    margin-bottom:25px;

}

/*==================================================
        PLAYLIST ITEMS
==================================================*/

.playlist-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.playlist-item{

    display:flex;

    gap:18px;

    padding:15px;

    border-radius:16px;

    cursor:pointer;

    transition:.35s;

    border:1px solid transparent;

}

.playlist-item:hover{

    background:#222;

    border-color:rgba(255,213,74,.15);

}

.playlist-item img{

    width:110px;

    height:65px;

    object-fit:cover;

    border-radius:10px;

}

.playlist-item h4{

    font-size:18px;

    margin-bottom:8px;

}

.playlist-item p{

    color:#bbbbbb;

    font-size:14px;

}

/*==================================================
            ACTIVE LESSON
==================================================*/

.playlist-item.active{

    background:#1d4ed8;

}

.playlist-item.active h4{

    color:white;

}

.playlist-item.active p{

    color:#eeeeee;

}


/*==================================================
            INSTRUCTOR
==================================================*/

.lesson-instructor{

    margin-top:70px;

}

.instructor-card{

    background:#171717;

    border-radius:25px;

    padding:40px;

    display:flex;

    gap:30px;

    align-items:center;

    box-shadow:var(--shadow);

}

.instructor-card img{

    width:170px;

    height:170px;

    border-radius:50%;

    object-fit:cover;

    border:5px solid var(--primary);

}

.position{

    color:var(--primary);

    margin:15px 0;

    font-weight:bold;

}


/*==================================================
        LESSON CHECKLIST
==================================================*/

.lesson-checklist{

    margin-top:60px;

    background:#171717;

    border-radius:25px;

    padding:35px;

}

.lesson-checklist h3{

    font-size:30px;

    margin-bottom:25px;

}

.checklist{

    display:grid;

    gap:18px;

}

.checklist label{

    display:flex;

    gap:15px;

    align-items:center;

    color:#dddddd;

}

.checklist input{

    width:20px;

    height:20px;

}

/*==================================================
            RATING
==================================================*/

.rating{

    text-align:center;

    margin-top:70px;

}

.rating h2{

    margin-bottom:20px;

}

.stars{

    font-size:40px;

    color:var(--primary);

    margin-bottom:15px;

}

.stars i{

    cursor:pointer;

    transition:.3s;

}

.stars i:hover{

    transform:scale(1.2);

}


/*==================================================
            COMMENTS
==================================================*/

.comments{

    margin-top:70px;

}

.comments form{

    margin-top:30px;

    display:grid;

    gap:20px;

}

.comments input,
.comments textarea{

    width:100%;

    padding:18px;

    background:#171717;

    color:white;

    border:none;

    border-radius:15px;

    font-size:16px;

}

.comments textarea{

    resize:vertical;

}

.comments button{

    width:220px;

    padding:18px;

    background:var(--primary);

    color:#111;

    border:none;

    border-radius:35px;

    font-weight:bold;

    cursor:pointer;

    transition:.35s;

}

.comments button:hover{

    transform:translateY(-5px);

}


/*==================================================
        RELATED LESSONS
==================================================*/

.related-lessons{

    margin-top:80px;

}

.related-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.related-card{

    background:#171717;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

}

.related-card:hover{

    transform:translateY(-8px);

}

.related-card h3{

    padding:20px 20px 10px;

}

.related-card p{

    padding:0 20px;

    color:#bbbbbb;

}

.related-card a{

    display:block;

    padding:20px;

    color:var(--primary);

    font-weight:bold;

}

/*==================================================
            FOOTER
==================================================*/

footer{

    background:#050505;

    margin-top:80px;

    padding:70px 8% 30px;

}

.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:45px;

}

.footer-logo{

    width:170px;

    margin-bottom:20px;

}

.footer-column h3{

    color:var(--primary);

    margin-bottom:20px;

}

.footer-column p{

    color:#cfcfcf;

    line-height:1.8;

}

.footer-column ul{

    list-style:none;

}

.footer-column li{

    margin-bottom:15px;

}

.footer-column a{

    color:#cfcfcf;

    transition:.3s;

}

.footer-column a:hover{

    color:var(--primary);

    padding-left:8px;

}

.social-links{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.social-links a{

    width:45px;

    height:45px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#1a1a1a;

    border-radius:50%;

    transition:.35s;

}

.social-links a:hover{

    background:var(--primary);

    color:#111;

}

.footer-bottom{

    margin-top:45px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    color:#999;

}

/*==================================================
        SCROLL TO TOP
==================================================*/

.scrollTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:linear-gradient(

    135deg,

    var(--secondary),

    var(--primary));

    color:white;

    font-size:22px;

    cursor:pointer;

    opacity:0;

    pointer-events:none;

    transition:.35s;

    z-index:999;

}

.showTop{

    opacity:1;

    pointer-events:auto;

}

/*==================================================
        FADE UP
==================================================*/

.fade-up{

    opacity:0;

    transform:translateY(45px);

    transition:.8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}


/*==================================================
        SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(

    180deg,

    var(--secondary),

    var(--primary));

    border-radius:30px;

}

/*==================================================
        TEXT SELECTION
==================================================*/

::selection{

    background:var(--primary);

    color:#111;

}

/*==================================================
            RESPONSIVE
==================================================*/

@media(max-width:1200px){

.player-layout{

grid-template-columns:1fr;

}

.playlist{

position:relative;

top:0;

max-height:none;

}

.download-grid{

grid-template-columns:repeat(2,1fr);

}

.related-grid{

grid-template-columns:repeat(2,1fr);

}

}


@media(max-width:768px){

.hero{

padding-top:140px;

padding-bottom:80px;

}

.hero h1{

font-size:40px;

}

.hero p{

font-size:17px;

}

.navbar{

flex-direction:column;

gap:18px;

}

.navbar ul{

flex-wrap:wrap;

justify-content:center;

gap:18px;

}

.lesson-navigation{

grid-template-columns:1fr;

}

.download-grid{

grid-template-columns:1fr;

}

.related-grid{

grid-template-columns:1fr;

}

.instructor-card{

flex-direction:column;

text-align:center;

}

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

.social-links{

justify-content:center;

}

.quiz-box{

flex-direction:column;

text-align:center;

}

.progress-text{

font-size:14px;

}

.lesson-meta{

flex-direction:column;

align-items:flex-start;

}

.comments button{

width:100%;

}

}

/*==================================================
            UTILITIES
==================================================*/

.text-center{

text-align:center;

}

.mt-2{

margin-top:20px;

}

.mt-3{

margin-top:30px;

}

.mt-5{

margin-top:50px;

}

.mb-2{

margin-bottom:20px;

}

.mb-4{

margin-bottom:40px;

}


.player-section{

    position:relative;

    z-index:2;

    margin-top:60px;
    padding-top:20px;
    padding-top:30px;

}

.section{

    padding:20px 4%;

}

