/*=====================================================
        LEARNING ACADEMY V2
        Piano Tutorials With Chris Ebute
======================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

:root{

    --gold:#FFD54A;
    --gold-dark:#d4a800;

    --black:#090909;
    --dark:#111111;
    --card:#181818;

    --white:#ffffff;
    --text:#d9d9d9;

    --shadow:
    0 18px 45px rgba(0,0,0,.25);

}

html{

    scroll-behavior:smooth;

}

body{

    background:#080808;

    color:white;

    overflow-x:hidden;

}



/*=====================================================
                HERO
======================================================*/
.hero{

    position:relative;

    min-height:100vh;

    padding-top:180px;

    padding-bottom:120px;

    display:block;

    overflow:hidden;

}

/*=====================================================
                NAVBAR
======================================================*/

.navbar{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    padding:22px 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(12px);

}

.logo img{

    width:135px;

}

.navbar ul{

    display:flex;

    list-style:none;

    gap:35px;

}

.navbar a{

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.navbar a:hover,

.navbar .active{

    color:var(--gold);

}



/*=====================================================
            HERO CONTENT
======================================================*/

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

    margin:0 auto;

    text-align:center;

}

.hero-content > *{

    margin-bottom:0px;

}

.hero-stats{

    display:flex;

    justify-content:center;

    gap:70px;

    margin-top:0px;

}

.hero-content span{

    display:inline-block;

    background:var(--gold);

    color:#111;

    padding:10px 25px;

    border-radius:40px;

    font-weight:700;

    margin-bottom:25px;

}

.hero-content h1{

    font-size:72px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero-badge{

    margin-bottom:30px;

}


.hero-content p{

    max-width:760px;

    margin:auto;

    line-height:1.8;

    color:#dddddd;

    font-size:19px;

}

/*=========================================
        HERO BUTTONS
=========================================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:45px;

}

.template-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 34px;

    border-radius:55px;

    background:transparent;

    border:2px solid var(--gold);

    color:var(--gold);

    font-weight:700;

    font-size:18px;

    transition:.35s;

}

.template-btn:hover{

    background:var(--gold);

    color:#111;

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(255,213,74,.35);

}

.template-btn i{

    font-size:18px;

}
.hero-btn{

    display:inline-block;

    margin-top:10px;

    padding:18px 42px;

    background:linear-gradient(
    135deg,
    var(--gold),
    var(--gold-dark));

    color:#111;

    text-decoration:none;

    border-radius:40px;

    font-weight:bold;

    transition:.35s;

}

.hero-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 35px rgba(255,213,74,.30);

}



/*=====================================================
        CONTINUE LEARNING
======================================================*/

.continue-learning{

    padding:70px 8%;

    background:#101010;

}

.continue-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:50px;

    background:#181818;

    border-radius:25px;

    padding:40px;

    box-shadow:var(--shadow);

}

.continue-card h2{

    font-size:38px;

    margin-bottom:10px;

}

.continue-card p{

    color:#cfcfcf;

}

.continue-progress{

    width:450px;

}

.progress-bar{

    width:100%;

    height:16px;

    background:#303030;

    border-radius:40px;

    overflow:hidden;

    margin:20px 0;

}

.progress-fill{

    width:35%;

    height:100%;

    background:linear-gradient(
    90deg,
    var(--gold),
    #fff4a6);

}

.resume-btn{

    display:inline-block;

    margin-top:20px;

    background:linear-gradient(
    135deg,
    var(--gold),
    var(--gold-dark));

    color:#111;

    text-decoration:none;

    padding:15px 35px;

    border-radius:40px;

    font-weight:bold;

}



/*=====================================================
        SEARCH
======================================================*/

.academy-search{

    padding:90px 8%;

    text-align:center;

}

.academy-search h2{

    font-size:48px;

    margin-bottom:20px;

}

.academy-search p{

    color:#cfcfcf;

    margin-bottom:35px;

}

.search-box{

    display:flex;

    justify-content:center;

    max-width:700px;

    margin:0 auto 45px;

}

.search-box input{

    flex:1;

    padding:20px;

    border:none;

    outline:none;

    font-size:18px;

    border-radius:50px 0 0 50px;

}

.search-box button{

    border:none;

    background:var(--gold);

    color:#111;

    padding:0 35px;

    cursor:pointer;

    font-size:20px;

    border-radius:0 50px 50px 0;

}



/*=====================================================
        CATEGORY BUTTONS
======================================================*/

.category-buttons{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.category-buttons button{

    border:none;

    background:#202020;

    color:white;

    padding:14px 28px;

    border-radius:35px;

    cursor:pointer;

    transition:.35s;

    font-size:15px;

}

.category-buttons button:hover{

    background:var(--gold);

    color:#111;

    transform:translateY(-4px);

}



/*=====================================================
        SECTION HEADING
======================================================*/

.section-heading{

    text-align:center;

    margin-bottom:60px;

}

.section-heading h2{

    font-size:50px;

    margin-bottom:15px;

}

.section-heading p{

    color:#bfbfbf;

    font-size:18px;

}


/*=====================================================
            COURSE SECTION
======================================================*/

.academy-courses{

    padding:40px 0 100px;

}

.course-section{

    margin-bottom:80px;

}



/*=====================================================
            TITLE ROW
======================================================*/

.title-row{

    width:92%;

    margin:auto auto 25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.title-row h2{

    font-size:34px;

}

.title-row a{

    color:var(--gold);

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.title-row a:hover{

    letter-spacing:1px;

}



/*=====================================================
            COURSE TRACK
======================================================*/

.course-track{

    width:92%;

    margin:auto;

    display:flex;

    gap:30px;

    overflow-x:auto;

    scroll-behavior:smooth;

    scrollbar-width:none;

    padding:10px 5px 20px;

}

.course-track::-webkit-scrollbar{

    display:none;

}



/*=====================================================
            COURSE CARD
======================================================*/

.course-card{

    min-width:320px;

    max-width:320px;

    background:var(--card);

    border-radius:22px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

    position:relative;

    flex-shrink:0;

}

.course-card:hover{

    transform:translateY(-10px);

}



/*=====================================================
            THUMBNAIL
======================================================*/

.thumbnail{

    position:relative;

    width:100%;

    aspect-ratio:16/9;

    overflow:hidden;

    background:#111;

}

.thumbnail a{

    display:block;

    width:100%;

    height:100%;

}

.thumbnail img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    transition:.45s;

}

.course-card:hover img{

    transform:scale(1.08);

}



/*=====================================================
            OVERLAY
======================================================*/

.overlay{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.55);

    opacity:0;

    transition:.35s;

}

.course-card:hover .overlay{

    opacity:1;

}

.overlay{

    color:white;

    font-size:22px;

    font-weight:bold;

}



/*=====================================================
            COURSE INFO
======================================================*/

.course-info{

    padding:25px;

}

.course-info h3{

    font-size:25px;

    margin-bottom:15px;

}

.course-info p{

    color:#cfcfcf;

    line-height:1.7;

}



/*=====================================================
            GOLD TOP LINE
======================================================*/

.course-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:4px;

    background:linear-gradient(

    90deg,

    transparent,

    var(--gold),

    transparent

    );

    transition:.5s;

}

.course-card:hover::before{

    left:100%;

}



/*=====================================================
            PREMIUM SHADOW
======================================================*/

.course-card:hover{

    box-shadow:

    0 28px 55px rgba(0,0,0,.35);

}



/*=====================================================
            COURSE BADGE
======================================================*/

.course-badge{

    position:absolute;

    top:18px;

    left:18px;

    background:var(--gold);

    color:#111;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    font-weight:bold;

}



/*=====================================================
            SLIDER BUTTONS
======================================================*/

.slider-controls{

    width:92%;

    margin:20px auto 0;

    display:flex;

    justify-content:flex-end;

    gap:15px;

}

.slider-btn{

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:#1f1f1f;

    color:white;

    font-size:18px;

    transition:.35s;

}

.slider-btn:hover{

    background:var(--gold);

    color:#111;

}



/*=====================================================
            CARD HOVER ANIMATION
======================================================*/

.course-card{

    transition:

    transform .35s,

    box-shadow .35s;

}

.course-card:hover{

    transform:

    translateY(-12px)

    scale(1.02);

}



/*=====================================================
            IMAGE DARKEN
======================================================*/

.course-card:hover img{

    filter:brightness(.82);

}



/*=====================================================
            SECTION DIVIDER
======================================================*/

.course-section{

    position:relative;

}

.course-section::after{

    content:"";

    position:absolute;

    bottom:-40px;

    left:4%;

    width:92%;

    height:1px;

    background:

    rgba(255,255,255,.08);

}

/*=====================================================
                DOWNLOAD CENTRE
======================================================*/

.downloads{

    padding:100px 8%;

    background:#101010;

}

.download-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.download-card{

    background:var(--card);

    border-radius:22px;

    padding:45px 35px;

    text-align:center;

    transition:.35s;

    box-shadow:var(--shadow);

}

.download-card:hover{

    transform:translateY(-10px);

}

.download-card i{

    font-size:60px;

    color:var(--gold);

    margin-bottom:25px;

}

.download-card h3{

    font-size:28px;

    margin-bottom:18px;

}

.download-card p{

    color:#cfcfcf;

    line-height:1.8;

    margin-bottom:30px;

}

.download-card a{

    display:inline-block;

    padding:16px 38px;

    background:linear-gradient(
    135deg,
    var(--gold),
    var(--gold-dark));

    color:#111;

    text-decoration:none;

    font-weight:bold;

    border-radius:40px;

    transition:.35s;

}

.download-card a:hover{

    transform:translateY(-5px);

}



/*=====================================================
                WHY ACADEMY
======================================================*/

.why-academy{

    padding:110px 8%;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.why-card{

    background:var(--card);

    padding:40px;

    border-radius:25px;

    text-align:center;

    transition:.35s;

    box-shadow:var(--shadow);

}

.why-card:hover{

    transform:translateY(-10px);

}

.why-card i{

    font-size:55px;

    color:var(--gold);

    margin-bottom:22px;

}

.why-card h3{

    font-size:27px;

    margin-bottom:18px;

}

.why-card p{

    color:#cfcfcf;

    line-height:1.8;

}



/*=====================================================
            MEMBERSHIP
======================================================*/

.membership-banner{

    padding:120px 8%;

    background:

    linear-gradient(
    rgba(0,0,0,.78),
    rgba(0,0,0,.78)),

    url("image/backgroundimg.png");

    background-size:cover;

    background-position:center;

}

.membership-content{

    max-width:850px;

    margin:auto;

    text-align:center;

}

.membership-content h2{

    font-size:56px;

    margin-bottom:20px;

}

.membership-content p{

    color:#dddddd;

    font-size:19px;

    line-height:1.9;

    margin-bottom:40px;

}

.membership-btn{

    display:inline-block;

    padding:18px 45px;

    border-radius:45px;

    background:

    linear-gradient(
    135deg,
    var(--gold),
    var(--gold-dark));

    color:#111;

    text-decoration:none;

    font-weight:bold;

    transition:.35s;

}

.membership-btn:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(255,213,74,.30);

}



/*=====================================================
            NEWSLETTER
======================================================*/

.newsletter{

    padding:100px 8%;

    background:#0d0d0d;

}

.newsletter-box{

    max-width:900px;

    margin:auto;

    background:#181818;

    border-radius:25px;

    padding:70px;

    text-align:center;

    box-shadow:var(--shadow);

}

.newsletter-box h2{

    font-size:46px;

    margin-bottom:20px;

}

.newsletter-box p{

    color:#cfcfcf;

    margin-bottom:35px;

}

.newsletter form{

    display:flex;

    justify-content:center;

}

.newsletter input{

    width:65%;

    padding:20px;

    border:none;

    outline:none;

    font-size:17px;

    border-radius:45px 0 0 45px;

}

.newsletter button{

    border:none;

    padding:20px 35px;

    background:var(--gold);

    color:#111;

    cursor:pointer;

    font-weight:bold;

    border-radius:0 45px 45px 0;

}



/*=====================================================
                FOOTER
======================================================*/

footer{

    background:#050505;

    padding:90px 8% 35px;

}

.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer-logo{

    width:170px;

    margin-bottom:25px;

}

.footer-column h3{

    color:var(--gold);

    margin-bottom:20px;

}

.footer-column p{

    color:#bdbdbd;

    line-height:1.8;

}

.footer-column ul{

    list-style:none;

}

.footer-column li{

    margin-bottom:15px;

}

.footer-column a{

    color:#d8d8d8;

    text-decoration:none;

    transition:.3s;

}

.footer-column a:hover{

    color:var(--gold);

    padding-left:8px;

}

.social-links{

    display:flex;

    gap:15px;

    margin-bottom:25px;

}

.social-links a{

    width:48px;

    height:48px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#1d1d1d;

    border-radius:50%;

    transition:.35s;

}

.social-links a:hover{

    background:var(--gold);

    color:#111;

}

.footer-bottom{

    margin-top:60px;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:25px;

    text-align:center;

}

.footer-bottom p{

    color:#888888;

}

/*=====================================================
        5TH CARD PREVIEW
======================================================*/

.course-track{

    padding-left:4%;

    padding-right:4%;

}

.course-card{

    flex:0 0 calc(25% - 24px);

    min-width:300px;

}



/*=====================================================
        SLIDER SNAP
======================================================*/

.course-track{

    scroll-snap-type:x mandatory;

}

.course-card{

    scroll-snap-align:start;

}



/*=====================================================
        HOVER GLOW
======================================================*/

.course-card:hover{

    box-shadow:

    0 20px 45px rgba(0,0,0,.35),

    0 0 25px rgba(255,213,74,.15);

}



/*=====================================================
        BUTTON ANIMATION
======================================================*/

.hero-btn,

.resume-btn,

.membership-btn,

.download-card a{

transition:.35s;

}

.hero-btn:hover,

.resume-btn:hover,

.membership-btn:hover,

.download-card a:hover{

transform:translateY(-6px);

}



/*=====================================================
        IMAGE EFFECT
======================================================*/

.thumbnail img{

transition:

transform .5s,

filter .5s;

}

.course-card:hover img{

filter:brightness(.82);

}



/*=====================================================
        SMOOTH FADE
======================================================*/

.fade-up{

opacity:0;

transform:translateY(40px);

transition:.8s;

}

.fade-up.show{

opacity:1;

transform:translateY(0);

}



/*=====================================================
        TABLET
======================================================*/

@media(max-width:1100px){

.course-card{

flex:0 0 calc(50% - 18px);

min-width:340px;

}

.footer-container{

grid-template-columns:repeat(2,1fr);

}

.continue-card{

flex-direction:column;

}

.continue-progress{

width:100%;

}

}



/*=====================================================
        MOBILE
======================================================*/

@media(max-width:768px){

.hero{

padding:120px 20px 60px;

}

.hero-content h1{

font-size:42px;

}

.navbar{

flex-direction:column;

gap:20px;

}

.navbar ul{

flex-wrap:wrap;

justify-content:center;

gap:18px;

}

.search-box{

flex-direction:column;

gap:15px;

}

.search-box input{

border-radius:45px;

}

.search-box button{

border-radius:45px;

padding:18px;

}

.course-card{

flex:0 0 90%;

min-width:90%;

}

.download-grid,

.why-grid{

grid-template-columns:1fr;

}

.newsletter form{

flex-direction:column;

gap:15px;

}

.newsletter input,

.newsletter button{

width:100%;

border-radius:45px;

}

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

.social-links{

justify-content:center;

}

}



/*=====================================================
        SCROLLBAR
======================================================*/

::-webkit-scrollbar{

height:10px;

width:10px;

}

::-webkit-scrollbar-thumb{

background:linear-gradient(

180deg,

var(--gold),

var(--gold-dark)

);

border-radius:30px;

}



/*=====================================================
        TEXT SELECTION
======================================================*/

::selection{

background:var(--gold);

color:#111;

}

/*=========================================
        SCROLL TO TOP
==========================================*/

.scrollTop{

position:fixed;

bottom:30px;

right:30px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:linear-gradient(
135deg,
var(--gold),
var(--gold-dark));

color:#111;

font-size:22px;

cursor:pointer;

opacity:0;

pointer-events:none;

transition:.35s;

z-index:999;

}

.showTop{

opacity:1;

pointer-events:auto;

}




/*=========================================
        RIPPLE
==========================================*/

.hero-btn,
.resume-btn,
.membership-btn,
.download-card a{

position:relative;

overflow:hidden;

}

.ripple{

position:absolute;

border-radius:50%;

background:rgba(255,255,255,.45);

transform:scale(0);

animation:ripple .6s linear;

pointer-events:none;

}
@media(max-width:768px){

.hero-buttons{

flex-direction:column;

}

.hero-btn,

.template-btn{

width:100%;

justify-content:center;

}

}

@keyframes ripple{

to{

transform:scale(4);

opacity:0;

}

}