.courses-page{

padding:80px 0;
background:#f7f9fc;

}

.page-heading{

text-align:center;
margin-bottom:50px;

}

.page-heading h1{

font-size:42px;
color:#002147;
margin-bottom:15px;

}

.page-heading p{

max-width:700px;
margin:auto;
font-size:18px;
color:#666;
line-height:1.7;

}

/* FILTERS */

.course-filters{

display:flex;
justify-content:center;
flex-wrap:wrap;
gap:15px;
margin-bottom:50px;

}

.filter-btn{

padding:12px 28px;
border:none;
background:white;
border-radius:40px;
cursor:pointer;
font-weight:600;
transition:.3s;
box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.filter-btn:hover{

background:#002147;
color:white;

}

.filter-btn.active{

background:#ff9800;
color:white;

}

/* GRID */

.course-grid{

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

}

/* CARD */

.course-card{

background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.35s;

}

.course-card:hover{

transform:translateY(-8px);

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

}

.course-image{

display:block;
overflow:hidden;

}

.course-image img{

width:100%;
height:220px;
object-fit:cover;
transition:.4s;

}

.course-card:hover img{

transform:scale(1.08);

}

.course-content{

padding:25px;

}

.course-content h3{

margin-bottom:15px;
font-size:24px;

}

.course-content h3 a{

color:#002147;
text-decoration:none;

}

.course-content p{

color:#666;
line-height:1.7;
margin-bottom:20px;

}

/* META */

.course-meta{

display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:25px;

}

.course-meta span{

background:#eef3f9;
padding:8px 14px;
border-radius:30px;
font-size:14px;
font-weight:600;
color:#002147;

}

/* BUTTON */

.course-btn{

display:inline-block;
padding:14px 26px;
background:#002147;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:600;
transition:.3s;

}

.course-btn:hover{

background:#ff9800;

}

/* NO COURSE */

.no-course{

text-align:center;
padding:100px 0;

}

/* MOBILE */

@media(max-width:991px){

.page-heading h1{

font-size:34px;

}

.course-grid{

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

}

}

@media(max-width:768px){

.course-grid{

grid-template-columns:1fr;

}

.course-content{

padding:20px;

}

.page-heading h1{

font-size:30px;

}

.page-heading p{

font-size:16px;

}

.filter-btn{

padding:10px 18px;
font-size:14px;

}

.course-image img{

height:200px;

}

.course-btn{

display:block;
text-align:center;

}

}