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

.subject-hero{

    min-height:90vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:100px 8%;

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

}

/*========================*/

.hero-content{

    max-width:900px;

}

/*========================*/

.hero-tag{

    display:inline-block;

    padding:10px 22px;

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

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

    color:#FFD54F;

    border-radius:40px;

    font-size:14px;

    letter-spacing:1px;

    font-weight:600;

    margin-bottom:30px;

}

/*========================*/

.hero-content h1{

    font-size:72px;

    color:#FFFFFF;

    margin-bottom:25px;

}

/*========================*/

.hero-content p{

    color:#CFD8DC;

    font-size:22px;

    line-height:1.8;

    max-width:800px;

    margin:auto;

}

/*========================*/

.hero-stats{

    display:flex;

    justify-content:center;

    gap:60px;

    margin:60px 0;

    flex-wrap:wrap;

}

.hero-stats div{

    text-align:center;

}

.hero-stats h2{

    color:#FFD54F;

    font-size:48px;

    margin-bottom:10px;

}

.hero-stats span{

    color:#B0BEC5;

    font-size:18px;

}

/*========================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.primary-btn{

    padding:18px 36px;

    background:#FFD54F;

    color:#1C2526;

    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.primary-btn:hover{

    background:#FFC107;

    transform:translateY(-3px);

}

.secondary-btn{

    padding:18px 36px;

    border:2px solid #FFD54F;

    color:#FFD54F;

    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.secondary-btn:hover{

    background:#FFD54F;

    color:#1C2526;

}

/*========================*/

@media(max-width:768px){

.hero-content h1{

font-size:48px;

}

.hero-content p{

font-size:18px;

}

.hero-stats{

gap:35px;

}

.hero-stats h2{

font-size:36px;

}

}
/* ===============================
   SEARCH SECTION TITLE
================================ */

.subject-search .section-title{

    text-align: center;

    margin-bottom: 40px;

}

.subject-search .section-title h2{

    font-size: 42px;

    color: #FFD54F;

    margin-bottom: 15px;

}

.subject-search .section-title p{

    color: #CFD8DC;

    font-size: 18px;

    max-width: 700px;

    margin: 0 auto;

    line-height: 1.7;

}
/*=====================================
        SUBJECT SEARCH
======================================*/

.subject-search{

    padding:80px 8%;

}

.search-box{

    max-width:700px;

    margin:40px auto;

    display:flex;

    align-items:center;

    background:#263238;

    border:2px solid #FFD54F;

    border-radius:50px;

    padding:18px 25px;

}

.search-icon{

    font-size:28px;

    margin-right:15px;

}

.search-box input{

    width:100%;

    background:none;

    border:none;

    outline:none;

    color:white;

    font-size:20px;

}

.search-box input::placeholder{

    color:#90A4AE;

}

.search-results{

    max-width:700px;

    margin:auto;

    background:#263238;

    border-radius:18px;

    overflow:hidden;

    display:none;

}

.search-item{

    display:block;

    padding:18px 25px;

    text-decoration:none;

    color:white;

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

    transition:.3s;

}

.search-item:last-child{

    border-bottom:none;

}

.search-item:hover{

    background:#324248;

}

.search-item h3{

    color:#FFD54F;

    margin-bottom:6px;

    font-size:20px;

}

.search-item p{

    color:#B0BEC5;

    font-size:15px;

}
/*=====================================
        CHAPTER GRID
======================================*/
/*=====================================
        COMMON SECTION TITLE
======================================*/

.section-title{

    width:100%;

    text-align:center;

    margin:0 auto 60px;

}

.section-title h2{

    font-size:42px;

    color:#FFD54F;

    margin-bottom:15px;

    text-align:center;

}

.section-title p{

    max-width:700px;

    margin:0 auto;

    color:#CFD8DC;

    font-size:18px;

    line-height:1.8;

    text-align:center;

}
.chapter-grid-section{

    padding:100px 8%;

}

.chapter-grid{

    display:grid;

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

    gap:35px;

    margin-top:60px;

}

.chapter-card{

    background:#263238;

    border-radius:18px;

    padding:35px;

    text-align:center;

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

    transition:.35s;

}

.chapter-card:hover{

    transform:translateY(-8px);

    border-color:#FFD54F;

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

}

.chapter-icon{

    font-size:52px;

    margin-bottom:20px;

}

.chapter-card h3{

    color:#FFD54F;

    font-size:28px;

    margin-bottom:25px;

}

.chapter-info{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-bottom:30px;

    color:#CFD8DC;

    font-size:17px;

}

.chapter-card a{

    display:inline-block;

    padding:14px 26px;

    background:#FFD54F;

    color:#1C2526;

    text-decoration:none;

    border-radius:8px;

    font-weight:700;

    transition:.3s;

}

.chapter-card a:hover{

    background:#FFC107;

}
/*=====================================
        LATEST VIDEOS
======================================*/

.latest-videos{

    padding:100px 8%;

    background:#202A2D;

}

.video-grid{

    display:grid;

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

    gap:35px;

    margin-top:60px;

}

.video-card{

    background:#263238;

    border-radius:18px;

    overflow:hidden;

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

    transition:.35s;

}

.video-card:hover{

    transform:translateY(-8px);

    border-color:#FFD54F;

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

}

.video-card img{

    width:100%;

    height:200px;

    object-fit:cover;

}

.video-content{

    padding:25px;

}

.video-content h3{

    color:#FFD54F;

    font-size:24px;

    margin-bottom:15px;

}

.video-content p{

    color:#CFD8DC;

    margin-bottom:10px;

    font-size:16px;

}

.video-content a{

    display:inline-block;

    margin-top:20px;

    padding:12px 24px;

    background:#FFD54F;

    color:#1C2526;

    text-decoration:none;

    border-radius:8px;

    font-weight:700;

    transition:.3s;

}

.video-content a:hover{

    background:#FFC107;

}
/*=====================================
            FAQ SECTION
======================================*/

.faq-section{

    padding:100px 8%;

    background:#1C2526;

}

.faq-container{

    max-width:900px;

    margin:60px auto 0;

}

.faq-item{

    background:#263238;

    border-radius:15px;

    margin-bottom:20px;

    overflow:hidden;

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

    transition:.3s;

}

.faq-item:hover{

    border-color:#FFD54F;

}

.faq-question{

    width:100%;

    padding:25px 30px;

    background:none;

    border:none;

    color:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    font-size:20px;

    font-weight:600;

    text-align:left;

}

.faq-icon{

    color:#FFD54F;

    font-size:30px;

    font-weight:bold;

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .4s ease;

}

.faq-answer p{

    padding:0 30px 25px;

    color:#CFD8DC;

    line-height:1.8;

    font-size:17px;

}