/* ========================= */
/* COURSES PAGE CSS */
/* ========================= */

/* HERO */

.courses-hero{
    width:100%;
    min-height:60vh;

    background:
    linear-gradient(
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.55)
    ),
    url('/images/courses.jpeg');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;

    position:relative;
}

/* OVERLAY */

.courses-overlay{
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,0.80) 15%,
        rgba(0,0,0,0.20) 100%
    );
}

/* CONTAINER */

.courses-container{
    width:100%;

    padding:0 8%;

    position:relative;
    z-index:2;
}

/* CONTENT */

.courses-content{
    max-width:700px;
}

/* HEADING */

.courses-content h1{
    color:#fff;

    font-size:80px;
    font-weight:800;

    margin-bottom:25px;
}

/* SPAN */

.courses-content h1 span{
    color:#ff8c1a;

    text-shadow:none;
}

/* TEXT */

.courses-content p{
    color:#d1d5db;

    font-size:22px;

    line-height:1.8;
}

/* ========================= */
/* COURSES SECTION */
/* ========================= */

.courses-section{
    padding:100px 8%;

    background:#020617;
}

/* TITLE */

.section-title{
    text-align:center;

    margin-bottom:70px;
}

.section-title h2{
    color:#fff;

    font-size:55px;

    margin-bottom:20px;
}

.section-title p{
    color:#cbd5e1;

    font-size:18px;
}

/* GRID */

.courses-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:35px;
}

/* CARD */

.course-card{
    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(10px);

    padding:40px 30px;

    border-radius:25px;

    transition:0.4s;
}

/* HOVER */

.course-card:hover{
    transform:translateY(-10px);

    border-color:#ff7b00;

    box-shadow:
    0 15px 35px rgba(0,0,0,0.4);
}

/* ICON */

.course-icon{
    width:80px;
    height:80px;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #ff7b00,
        #ffae00
    );

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:25px;
}

.course-icon i{
    color:#fff;

    font-size:35px;
}

/* TITLE */

.course-card h3{
    color:#fff;

    font-size:30px;

    margin-bottom:20px;
}

/* DETAILS */

.course-duration,
.course-fees{
    display:block;

    color:#ffae00;

    margin-bottom:12px;

    font-size:16px;
    font-weight:500;
}

/* TEXT */

.course-card p{
    color:#cbd5e1;

    line-height:1.8;

    margin-bottom:30px;
}

/* BUTTON */

.course-btn{
    display:inline-block;

    padding:15px 30px;

    background:
    linear-gradient(
        135deg,
        #ff7b00,
        #ffae00
    );

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:0.4s;
}

/* HOVER */

.course-btn:hover{
    transform:translateY(-5px);

    box-shadow:
    0 10px 30px rgba(255,123,0,0.4);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:991px){

    .courses-content{
        text-align:center;

        margin:auto;
    }

    .courses-content h1{
        font-size:55px;
    }

    .section-title h2{
        font-size:42px;
    }

}

@media(max-width:600px){

    .courses-content h1{
        font-size:42px;
    }

    .courses-content p{
        font-size:16px;
    }

    .section-title h2{
        font-size:34px;
    }

    .course-card{
        padding:30px 20px;
    }

}