/* ================= SERVICE HERO SECTION ================= */
.service-hero {
    position: relative;
    height: 320px;

    background-image: url("images/service-hero.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}



/* DARK OVERLAY */
.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* CONTENT */
.service-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.service-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

.service-hero-content p {
    font-size: 15px;
    opacity: 0.9;
}

.service-hero-content p span {
    color: #ffb6b6;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .service-hero {
        height: 260px;
    }

    .service-hero-content h1 {
        font-size: 30px;
    }
}


/* ================= COURSES SECTION ================= */
.courses-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
}

/* GRID */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARD */
.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-8px);
}

/* IMAGE */
.course-img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* CONTENT */
.course-content {
    padding: 22px;
}

.course-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-content p {
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}

/* STATUS */
.status {
    display: inline-block;
    margin: 10px 0;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 20px;
    color: #fff;
}

.status.online {
    background: #28a745;
}

/* BUTTONS */
.course-btns {
    margin-top: 15px;
}

.btn {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
    display: inline-block;
}

.btn.view {
    background: #0d6efd;
    color: #fff;
}

.btn.buy {
    background: #ffc107;
    color: #000;
}

/* MOBILE */
@media(max-width: 576px) {
    .section-title {
        font-size: 28px;
    }
}