/* =========================================
   COURSES SECTION
========================================= */

.courses-section{
    padding:100px 0;
    background:#f8fafc;
}

.courses-section .container{
    max-width:1500px;
    margin:0 auto;
    padding:0 20px;
}

/* =========================================
   SECTION TITLE
========================================= */

.section-title{
    text-align:center;
    max-width:800px;
    margin:0 auto 70px;
    padding:30px 40px;
    background:#ffffff;
    border:1px solid rgba(0,33,71,.12);
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,33,71,.05);
}

.section-title span{
    display:inline-block;
    background:#fff4d6;
    color:#ffb400;
    padding:10px 22px;
    border-radius:50px;
    font-size:14px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:18px;
    text-transform:uppercase;
}

.section-title h2{
    font-family:'Manrope',sans-serif;
    font-size:52px;
    font-weight:800;
    line-height:1.2;
    color:#002147;
    margin-bottom:20px;
}

.section-title p{
    font-size:18px;
    line-height:1.8;
    color:#666;
    max-width:700px;
    margin:0 auto;
}

/* =========================================
   COURSE GRID
========================================= */

.course-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:60px;
    max-width:1150px;
    margin-left:auto;
    margin-right:auto;
}

.course-card{
    background:#ffffff;
    min-height:320px;
    padding:0 30px 35px;
    border-radius:18px;
    border:2px solid #cfd9e8;
    box-shadow:0 12px 30px rgba(0,33,71,.08);
    transition:all .35s ease;
    position:relative;
    overflow:hidden;
}

.course-card:hover{
    transform:translateY(-10px);
    border-color:#ffb400;
    box-shadow:0 20px 45px rgba(0,33,71,.15);
}

.course-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:4px;
    background:#ffb400;
    transition:.4s;
}

.course-card:hover::before{
    width:100%;
}

.course-image{
    width:calc(100% + 60px);
    height:180px;
    margin:0 -30px 25px;
    overflow:hidden;
    border-radius:18px 18px 0 0;
}

.course-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.5s ease;
}

.course-card:hover .course-image img{
    transform:scale(1.08);
}

.course-card h3{
    font-size:18px;
    line-height:1.4;
    min-height:80px;
}

.course-desc{
    font-size:12px;
    line-height:1.7;
    color:#666;
    margin-bottom:25px;
    min-height:50px;
}

.course-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 24px;
    background:transparent;
    color:#002147;
    border:2px solid #002147;
    border-radius:50px;
    font-weight:600;
    transition:all .35s ease;
}

.course-btn:hover{
    background:#ffb400;
    border-color:#ffb400;
    color:#002147;
    transform:translateY(-3px);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:991px){

    .course-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .course-grid{
        grid-template-columns:1fr;
    }

    .section-title{
        padding:25px;
    }

    .section-title h2{
        font-size:34px;
    }

}