/* ==========================================
   COURSES PAGE
========================================== */

body{
    background:#f7f9fc;
}

/* Banner */

.page-banner{
    background:linear-gradient(135deg,#1d4ed8,#183b72);
    color:#fff;
    padding:80px 0;
    text-align:center;
}

.page-banner h1{
    font-size:48px;
    font-weight:800;
    margin-bottom:15px;
}

.page-banner p{
    font-size:20px;
    margin:0;
    opacity:.95;
}

/* Course Section */

.course-section{
    padding:80px 0;
}

.course-intro{
    max-width:900px;
    margin:0 auto 60px;
    text-align:center;
    font-size:18px;
    line-height:32px;
    color:#666;
}

/* Card */

.course-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.course-image{
    height:280px;
    overflow:hidden;
}

.course-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.course-card:hover .course-image img{
    transform:scale(1.05);
}

/* Body */

.course-body{
    padding:30px;
}

.age{
    display:inline-block;
    background:#eef4ff;
    color:#1d4ed8;
    padding:6px 16px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

.course-body h3{
    color:#183b72;
    font-weight:700;
    margin-bottom:15px;
}

.course-body p{
    color:#666;
    line-height:30px;
    margin-bottom:25px;
}

/* Button */

.btn-course{
    display:inline-block;
    background:#1d4ed8;
    color:#fff;
    padding:12px 28px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-course:hover{
    background:#183b72;
    color:#fff;
}

/* Pagination */

.pagination{
    justify-content:center;
    margin-top:60px;
}

.pagination li{
    list-style:none;
}

.pagination a,
.pagination span{

    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    margin:0 5px;

    text-decoration:none;

    font-weight:700;
}

.pagination a{
    background:#fff;
    color:#183b72;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.pagination a:hover{
    background:#1d4ed8;
    color:#fff;
}

.pagination .active{
    background:#1d4ed8;
    color:#fff;
}

/* Responsive */

@media(max-width:991px){

.page-banner h1{
    font-size:38px;
}

.course-image{
    height:240px;
}

}

@media(max-width:768px){

.page-banner{
    padding:60px 20px;
}

.page-banner h1{
    font-size:32px;
}

.course-body{
    padding:20px;
}

.course-intro{
    font-size:16px;
}

}

/*=========================================
Hero Banner
=========================================*/

.course-hero{

    background-image:
    linear-gradient(rgba(15,47,95,.75),rgba(15,47,95,.75)),
    url('../images/course-banner.webp');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    padding:120px 0;

    text-align:center;

    color:#fff;

}

.course-hero h5{

    text-transform:uppercase;

    letter-spacing:3px;

    color:#ffd54f;

    margin-bottom:15px;

    font-size:15px;

}

.course-hero h1{

    font-size:56px;

    font-weight:700;

    margin-bottom:20px;

}

.course-hero p{

    max-width:750px;

    margin:auto;

    font-size:18px;

    line-height:32px;

    opacity:.95;

}

@media(max-width:768px){

.course-hero{

    padding:90px 20px;

}

.course-hero h1{

    font-size:38px;

}

.course-hero p{

    font-size:16px;

    line-height:28px;

}

}