.materials-header{
    padding:80px 0 50px;
    text-align:center;
    background:#f8fbff;
}

.materials-header h1{
    color:var(--primary-blue);
    font-size:3rem;
    margin-bottom:15px;
}

.materials-header p{
    color:#666;
    max-width:700px;
    margin:0 auto 30px;
}

.search-box{
    max-width:700px;
    margin:0 auto;
    display:flex;
    overflow:hidden;
    border-radius:50px;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.search-box input{
    flex:1;
    border:none;
    padding:16px 25px;
    outline:none;
}

.search-box button{
    border:none;
    width:70px;
    background:var(--primary-blue);
    color:white;
    cursor:pointer;
}

.materials-section{
    padding:50px 0;
}

.materials-heading{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:30px;
}

.materials-heading i{
    font-size:2rem;
    color:var(--primary-blue);
}

.materials-heading h2{
    margin:0;
    color:var(--primary-blue);
}

.materials-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.material-card{
    background:white;
    border-radius:16px;
    padding:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
    transition:.3s;
}

.material-card:hover{
    transform:translateY(-5px);
}

.pdf-icon{
    font-size:2rem;
    color:#dc3545;
    margin-bottom:10px;
}

.material-card h4{
    font-size:1rem;
    line-height:1.5;
    color:var(--primary-blue);
    margin-bottom:10px;
}

.material-card p{
    font-size:0.9rem;
    color:#666;
    margin-bottom:15px;
}

.download-btn{
    display:inline-block;
    padding:8px 16px;
    background:var(--primary-blue);
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-size:0.9rem;
    transition:.3s;
}

.download-btn:hover{
    background:#163b8f;
    color:white;
}

@media(max-width:992px){

    .materials-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .materials-header{
        padding:35px 0 25px;
    }

    .materials-header h1{
        font-size:2rem;
        line-height:1.15;
        margin-bottom:12px;
    }

    .materials-header p{
        font-size:0.95rem;
        margin:0 auto 20px;
        line-height:1.6;
    }

    .search-box{
        margin-bottom:15px;
    }

}

/* ==========================
   FILTER SECTION
========================== */

.filter-form{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:20px;
    justify-content:center;
}

.filter-form select{
    padding:10px 14px;
    border:1px solid #ddd;
    border-radius:8px;
    min-width:180px;
    font-size:0.95rem;
    background:#fff;
    cursor:pointer;
}

.apply-filter-btn{
    padding:10px 20px;
    border:none;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
}

.apply-filter-btn:hover{
    opacity:0.9;
}

.clear-filter-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 20px;
    border-radius:8px;
    text-decoration:none;
    border:1px solid #ddd;
    background:#fff;
    font-weight:600;
    color:#333;
}

.clear-filter-btn:hover{
    background:#f5f5f5;
}

.no-results{
    text-align:center;
    padding:60px 20px;
}

.no-results h3{
    margin-bottom:10px;
}

.no-results p{
    color:#666;
}

.no-results{
    text-align:center;
    padding:60px 20px;
}

.no-results h3{
    margin-bottom:10px;
    font-size:1.5rem;
}

.no-results p{
    color:#666;
}
@media(max-width:768px){

    .filter-form{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .filter-form select{
        min-width:auto;
        width:100%;
    }

}