/*=====================================
            PYQ HERO SECTION
======================================*/

.pyq-hero{

    min-height:90vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:100px 8%;

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

}

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

.pyq-hero .container{

    max-width:900px;

}

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

.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;

}

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

.pyq-hero h1{

    font-size:68px;

    color:#FFFFFF;

    margin-bottom:25px;

    line-height:1.2;

}

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

.pyq-hero p{

    max-width:750px;

    margin:0 auto;

    color:#CFD8DC;

    font-size:22px;

    line-height:1.8;

}

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

.hero-stats{

    display:grid;

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

    gap:25px;

    margin:60px 0;

}

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

.hero-stats div{

    background:#263238;

    padding:25px;

    border-radius:15px;

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

    transition:.3s;

}

.hero-stats div:hover{

    border-color:#FFD54F;

    transform:translateY(-5px);

}

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

.hero-stats h2{

    color:#FFD54F;

    font-size:40px;

    margin-bottom:8px;

}

.hero-stats span{

    color:#B0BEC5;

    font-size:17px;

}

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

.primary-btn{

    display:inline-block;

    padding:18px 36px;

    background:#FFD54F;

    color:#1C2526;

    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    font-size:18px;

    transition:.3s;

}

.primary-btn:hover{

    background:#FFC107;

    transform:translateY(-3px);

}

/*=============================
      SEARCH SECTION
=============================*/

.chapter-search{

    padding:100px 8%;

}

.search-box{

    max-width:800px;

    margin:50px auto 0;

    position:relative;

}

.search-box input{

    width:100%;

    padding:20px 30px;

    border:none;

    outline:none;

    border-radius:50px;

    background:#263238;

    color:white;

    font-size:20px;

    border:2px solid #FFD54F;

}

#searchResults{

    position:absolute;

    top:75px;

    left:0;

    width:100%;

    background:#263238;

    border-radius:20px;

    overflow:hidden;

    display:none;

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

}

.result-item{

    padding:18px 30px;

    cursor:pointer;

    color:white;

    transition:.3s;

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

}

.result-item:hover{

    background:#FFD54F;

    color:#1C2526;

}
/*==================================
      YEAR PAPER SECTION
===================================*/

.year-paper-section{

    padding:100px 8%;

}

.year-container{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

    margin-top:60px;

}

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

.year-dropdown{

    position:relative;

}

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

.year-btn{

    padding:18px 42px;

    font-size:22px;

    border:none;

    cursor:pointer;

    border-radius:12px;

    background:#263238;

    color:white;

    border:2px solid #FFD54F;

    transition:.3s;

}

.year-btn:hover{

    background:#FFD54F;

    color:#1C2526;

}

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

.mega-menu{

    position:absolute;

    top:110%;

    left:50%;

    transform:translateX(-50%);

    width:700px;

    background:#263238;

    border-radius:18px;

    padding:30px;

    display:none;

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

    z-index:999;

}

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

.year-dropdown:hover .mega-menu{

    display:block;

}

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

.attempt{

    margin-bottom:35px;

}

.attempt:last-child{

    margin-bottom:0;

}

.attempt h3{

    color:#FFD54F;

    margin-bottom:18px;

    font-size:24px;

}

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

.paper-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:18px;

}

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

.paper-grid a{

    background:#1C2526;

    padding:14px;

    border-radius:10px;

    text-decoration:none;

    color:white;

    transition:.3s;

    text-align:center;

}

.paper-grid a:hover{

    background:#FFD54F;

    color:#1C2526;

}
/*=====================================
      MOST IMPORTANT CHAPTERS
======================================*/

.important-chapters{

    padding:100px 8%;

    background:#202A2D;

}

.important-grid{

    display:grid;

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

    gap:35px;

    margin-top:60px;

}

.important-card{

    background:#263238;

    border-radius:18px;

    padding:35px;

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

    transition:.35s;

}

.important-card:hover{

    transform:translateY(-8px);

    border-color:#FFD54F;

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

}

.chapter-badge{

    display:inline-block;

    background:#FFD54F;

    color:#1C2526;

    padding:8px 18px;

    border-radius:25px;

    font-weight:700;

    font-size:14px;

    margin-bottom:20px;

}

.important-card h3{

    color:#ffffff;

    font-size:28px;

    margin-bottom:20px;

}

.chapter-info{

    color:#CFD8DC;

    margin-bottom:12px;

    font-size:17px;

}

.important-card a{

    display:inline-block;

    margin-top:25px;

    padding:14px 28px;

    background:#FFD54F;

    color:#1C2526;

    text-decoration:none;

    border-radius:8px;

    font-weight:700;

    transition:.3s;

}

.important-card a:hover{

    background:#FFC107;

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

.faq-section{

    padding:100px 8%;

}

.faq-container{

    max-width:900px;

    margin:60px auto 0;

}

.faq-item{

    background:#263238;

    margin-bottom:20px;

    border-radius:15px;

    overflow:hidden;

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

    transition:.3s;

}

.faq-item:hover{

    border-color:#FFD54F;

}

.faq-question{

    width:100%;

    background:none;

    border:none;

    color:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 30px;

    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 .35s ease;

}

.faq-answer p{

    padding:0 30px 25px;

    color:#CFD8DC;

    line-height:1.8;

    font-size:17px;

}
/*=====================================
            CTA SECTION
======================================*/

.cta-section{

    padding:100px 8%;

    text-align:center;

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

}

.cta-section h2{

    color:#FFD54F;

    font-size:42px;

    margin-bottom:20px;

}

.cta-section p{

    color:#CFD8DC;

    font-size:20px;

    max-width:700px;

    margin:0 auto 40px;

    line-height:1.8;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.primary-btn{

    padding:16px 34px;

    background:#FFD54F;

    color:#1C2526;

    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.primary-btn:hover{

    background:#FFC107;

}

.secondary-btn{

    padding:16px 34px;

    border:2px solid #FFD54F;

    color:#FFD54F;

    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.secondary-btn:hover{

    background:#FFD54F;

    color:#1C2526;

}