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

.notes-hero{

    min-height:90vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:100px 8%;

    background:linear-gradient(135deg,#1C2526,#263238);

}

.notes-hero .container{

    max-width:950px;

    margin:auto;

}

/*-----------------------------------*/

.notes-hero .hero-tag{

    display:inline-block;

    padding:10px 24px;

    background:rgba(255,213,79,.12);

    border:1px solid rgba(255,213,79,.35);

    border-radius:50px;

    color:#FFD54F;

    font-size:15px;

    font-weight:600;

    letter-spacing:1px;

    margin-bottom:30px;

}

/*-----------------------------------*/

.notes-hero h1{

    font-size:68px;

    color:#ffffff;

    margin-bottom:25px;

    line-height:1.2;

}

/*-----------------------------------*/

.notes-hero p{

    color:#CFD8DC;

    font-size:22px;

    line-height:1.8;

    max-width:780px;

    margin:0 auto;

}

/*-----------------------------------*/

.hero-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin:60px 0;

}

/*-----------------------------------*/

.hero-stats div{

    background:#263238;

    padding:28px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.hero-stats div:hover{

    transform:translateY(-8px);

    border-color:#FFD54F;

}

/*-----------------------------------*/

.hero-stats h2{

    color:#FFD54F;

    font-size:42px;

    margin-bottom:10px;

}

.hero-stats span{

    color:#CFD8DC;

    font-size:17px;

}

/*-----------------------------------*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:50px;

    flex-wrap:wrap;

}

.primary-btn{

    display:inline-block;

    padding:18px 36px;

    background:#FFD54F;

    color:#1C2526;

    border-radius:10px;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

}

.primary-btn:hover{

    background:#FFC107;

    transform:translateY(-3px);

}

.secondary-btn{

    display:inline-block;

    padding:18px 36px;

    border:2px solid #FFD54F;

    color:#FFD54F;

    border-radius:10px;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

}

.secondary-btn:hover{

    background:#FFD54F;

    color:#1C2526;

}
/*=====================================
        NOTES SEARCH
======================================*/

.notes-search{

    padding:100px 8%;

}

.search-box{

    position:relative;

    max-width:850px;

    margin:50px auto 0;

}

.search-icon{

    position:absolute;

    left:28px;

    top:22px;

    font-size:24px;

    color:#FFD54F;

}

.search-box input{

    width:100%;

    padding:22px 25px 22px 70px;

    background:#263238;

    color:#ffffff;

    border:2px solid #FFD54F;

    border-radius:50px;

    outline:none;

    font-size:20px;

}

.search-box input::placeholder{

    color:#B0BEC5;

}

#notesResults{

    display:none;

    position:absolute;

    width:100%;

    top:82px;

    left:0;

    background:#263238;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.35);

    z-index:100;

}

.note-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 24px;

    cursor:pointer;

    transition:.3s;

    border-bottom:1px solid rgba(255,255,255,.05);

}

.note-item:last-child{

    border-bottom:none;

}

.note-item:hover{

    background:#FFD54F;

    color:#1C2526;

}

.note-info h4{

    font-size:20px;

    margin-bottom:5px;

}

.note-info p{

    font-size:15px;

    color:#B0BEC5;

}

.note-item:hover .note-info p{

    color:#1C2526;

}

.download-tag{

    background:#FFD54F;

    color:#1C2526;

    padding:8px 18px;

    border-radius:20px;

    font-size:14px;

    font-weight:600;

}

.note-item:hover .download-tag{

    background:#1C2526;

    color:#FFD54F;

}
/*====================================
        CATEGORY SECTION
====================================*/

.notes-category{

    padding:100px 8%;

}

.category-container{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:60px;

}

/* Card */

.category-card{

    position:relative;

}

/* Button */

.category-btn{

    width:100%;

    padding:22px;

    background:#263238;

    color:#FFD54F;

    border:2px solid #FFD54F;

    border-radius:15px;

    font-size:24px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.category-btn:hover{

    background:#FFD54F;

    color:#1C2526;

}

/* Dropdown */

.category-menu{

    position:absolute;

    top:105%;

    left:0;

    width:100%;

    background:#263238;

    border-radius:15px;

    overflow:hidden;

    opacity:0;

    visibility:hidden;

    transform:translateY(15px);

    transition:.3s;

    z-index:100;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

/* Hover */

.category-card:hover .category-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

/* Links */

.category-menu a{

    display:block;

    padding:18px 25px;

    color:white;

    text-decoration:none;

    border-bottom:1px solid rgba(255,255,255,.06);

    transition:.3s;

}

.category-menu a:hover{

    background:#FFD54F;

    color:#1C2526;

    padding-left:35px;

}
/*=====================================
      MOST DOWNLOADED NOTES
======================================*/

.popular-notes{

    padding:100px 8%;

    background:#202A2D;

}

.popular-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    margin-top:60px;

}

.popular-card{

    background:#263238;

    padding:35px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

    text-align:center;

}

.popular-card:hover{

    transform:translateY(-8px);

    border-color:#FFD54F;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.rank-badge{

    display:inline-block;

    padding:8px 20px;

    background:#FFD54F;

    color:#1C2526;

    border-radius:30px;

    font-weight:700;

    margin-bottom:25px;

}

.popular-card h3{

    font-size:30px;

    color:#ffffff;

    margin-bottom:18px;

}

.category{

    color:#FFD54F;

    font-size:18px;

    margin-bottom:12px;

}

.downloads{

    color:#CFD8DC;

    font-size:17px;

    margin-bottom:28px;

}

.popular-card a{

    display:inline-block;

    padding:14px 30px;

    background:#FFD54F;

    color:#1C2526;

    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.popular-card a:hover{

    background:#FFC107;

}