﻿/* ==========================
   PAGE BANNER
========================== */

.page-banner {
    height: 450px;
    background: linear-gradient( rgba(0,0,0,.65), rgba(0,0,0,.65)), url('../images/banner/course-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.banner-content {
    text-align: center;
}

    .banner-content h1 {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .banner-content p {
        max-width: 700px;
        margin: auto;
    }

/* ==========================
   CATEGORY SECTION
========================== */

.course-categories {
    padding: 90px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.category-card {
    background: #fff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .category-card:hover {
        transform: translateY(-8px);
    }

    .category-card i {
        font-size: 50px;
        color: #199B43;
        margin-bottom: 20px;
    }

/* ==========================
   COURSES GRID
========================== */
/*
.course-listing {
    background: #f8faf9;
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 30px;
}

.course-box {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

    .course-box:hover {
        transform: translateY(-10px);
    }

    .course-box img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

.course-content {
    padding: 25px;
}

    .course-content h3 {
        color: #199B43;
        margin-bottom: 15px;
    }

.course-meta {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
}

    .course-meta span {
        color: #666;
        font-size: 14px;
    }

.btn-course {
    display: inline-block;
    background: #F68B1F;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
}
*/
/* ==========================
   BENEFITS
========================== */

.course-benefits {
    padding: 90px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.benefit-box {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .benefit-box i {
        font-size: 45px;
        color: #F68B1F;
        margin-bottom: 15px;
    }

/* ==========================
   CTA
========================== */

.course-cta {
    background: linear-gradient( 135deg, #199B43, #126a30);
    color: #fff;
    text-align: center;
    padding: 90px 20px;
}

    .course-cta h2 {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .course-cta p {
        margin-bottom: 25px;
    }

/* ===================================
   FEATURED COURSES
=================================== */

.featured-courses {
    background: #fff;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
/*.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
}*/
.course-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
    position: relative;
}

    .course-card:hover {
        transform: translateY(-8px);
    }

    .course-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

.course-content {
    padding: 25px;
}

    .course-content h3 {
        color: #199B43;
        margin-bottom: 15px;
        font-size: 22px;
    }

    .course-content p {
        color: #666;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .course-content .btn-primary {
        display: inline-block;
        background: #199B43;
        color: #fff;
        padding: 12px 25px;
        border-radius: 50px;
        transition: .3s;
    }

        .course-content .btn-primary:hover {
            background: #F68B1F;
        }

    /*.course-status {*/
    /*position: absolute;*/
    /*top: 15px;
    left: 15px;
    z-index: 2;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    }*/

   /* .course-status.open {
        background: #199B43;
        color: #fff;
    }*/

/* ===================================
   COURSE STATUS BADGES
=================================== */

.course-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

    .course-status.open {
        background: #199B43;
        color: #fff;
    }

    .course-status.upcoming {
        background: #F68B1F;
        color: #fff;
    }

    .course-status.demand {
        background: #e9ecef;
        color: #333;
    }

/* ===================================
   ADDITIONAL COURSES
=================================== */

.additional-courses {
    background: #f8faf9;
}

.additional-grid {
    display: grid;
    gap: 20px;
}

.additional-course {
    background: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    transition: .3s;
}

    .additional-course:hover {
        transform: translateY(-5px);
    }

.course-info h3 {
    color: #199B43;
    margin-bottom: 10px;
}

.course-info p {
    color: #666;
}

/* ===================================
   COURSE NOTICE
=================================== */

.course-notice {
    padding: 0 0 80px;
    background: #f8faf9;
}

.notice-box {
    background: #fff8e8;
    border-left: 5px solid #F68B1F;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

    .notice-box i {
        color: #F68B1F;
        font-size: 24px;
    }

    .notice-box p {
        margin: 0;
        color: #555;
        line-height: 1.8;
    }


/* ===================================
   GOVERNMENT & CSR PROGRAMS
=================================== */

.government-programs {
    background: #f8faf9;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.program-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    position: relative;
    transition: .3s;
    overflow: hidden;
}

    .program-card:hover {
        transform: translateY(-8px);
    }

.program-badge {
    display: inline-block;
    background: #199B43;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-card h3 {
    color: #199B43;
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 1.4;
}

.program-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.program-year {
    display: inline-block;
    background: #F68B1F;
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

/* ===================================
   ENTREPRENEURSHIP PROGRAMS
=================================== */

.entrepreneurship-programs {
    background: #fff;
}

.entrepreneurship-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.entrepreneurship-card {
    background: #fff;
    text-align: center;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .entrepreneurship-card:hover {
        transform: translateY(-8px);
    }

    .entrepreneurship-card i {
        font-size: 50px;
        color: #F68B1F;
        margin-bottom: 20px;
    }

    .entrepreneurship-card h3 {
        color: #199B43;
        margin-bottom: 15px;
        font-size: 20px;
    }

    .entrepreneurship-card p {
        color: #666;
        line-height: 1.8;
    }
/* ===================================
   WORK ACCOMPLISHED TIMELINE
=================================== */

.work-accomplished {
    background: #f8faf9;
}

.achievement-timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

    .achievement-timeline::before {
        content: '';
        position: absolute;
        left: 50px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #199B43;
    }

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    position: relative;
}

.timeline-year {
    min-width: 100px;
    background: #F68B1F;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .timeline-content h3 {
        color: #199B43;
        margin-bottom: 10px;
    }

    .timeline-content p {
        color: #666;
        margin-bottom: 10px;
    }

    .timeline-content span {
        display: inline-block;
        background: #f8faf9;
        padding: 8px 15px;
        border-radius: 30px;
        font-size: 13px;
        color: #555;
    }

/* ===================================
   IMPACT STATS
=================================== */

.impact-stats {
    background: linear-gradient(135deg,#199B43,#10692E);
    padding: 90px 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.impact-card {
    text-align: center;
    color: #fff;
}

    .impact-card h3 {
        font-size: 55px;
        margin-bottom: 10px;
    }

    .impact-card p {
        font-size: 16px;
    }
/* ===================================
   MOBILE
=================================== */

@media(max-width:768px) {

    .additional-course {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .program-grid,
    .entrepreneurship-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
    }

    .achievement-timeline::before {
        display: none;
    }

    .timeline-year {
        width: fit-content;
    }
}



@media(max-width:991px) {

    .program-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .entrepreneurship-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2,1fr);
    }
}





/* Tablet */

@media(max-width:991px) {

    .course-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .program-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .entrepreneurship-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
