﻿/* ===================================
   COURSE HERO
=================================== */

.course-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient( rgba(0,0,0,.65), rgba(0,0,0,.65)), url('../images/course-banner.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.course-hero-content {
    max-width: 800px;
}

.course-category {
    display: inline-block;
    background: #F68B1F;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.course-hero h1 {
    font-size: 65px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.course-hero p {
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 30px;
}

.course-rating {
    font-size: 22px;
    color: #ffc107;
    margin-bottom: 30px;
}

    .course-rating span {
        color: #fff;
        font-size: 16px;
        margin-left: 10px;
    }

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    transition: .3s;
}

    .btn-outline:hover {
        background: #fff;
        color: #199B43;
    }
/* ===================================
   SUMMARY BAR
=================================== */

.course-summary {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.summary-grid {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

.summary-item {
    text-align: center;
}

    .summary-item i {
        color: #199B43;
        font-size: 35px;
        margin-bottom: 12px;
    }

    .summary-item h4 {
        margin-bottom: 8px;
    }

    .summary-item span {
        color: #666;
    }
/* ===================================
   COURSE LAYOUT
=================================== */

.course-details-section {
    padding: 100px 0;
}

.course-layout {
    display: grid;
    /*grid-template-columns: minmax(0,1fr) 340px;*/
    grid-template-columns: minmax(0,1fr) 380px;
    gap: 40px;
    align-items: start;
}

.course-main {
    min-width: 0;
}

.course-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    height: fit-content;
}
/* ===================================
   STICKY SIDEBAR
=================================== */
.sticky-form {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.10);
}

    .sticky-form h3 {
        position: relative;
        padding-bottom: 15px;
    }

        .sticky-form h3:after {
            content: '';
            width: 60px;
            height: 3px;
            background: #F68B1F;
            position: absolute;
            left: 0;
            bottom: 0;
        }

    .sticky-form button {
        box-shadow: 0 10px 25px rgba(246,139,31,.30);
    }


    .sticky-form p {
        color: #666;
        margin-bottom: 25px;
    }

    .sticky-form input {
        width: 100%;
        padding: 14px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
        font-size: 15px;
    }

        .sticky-form input:focus {
            outline: none;
            border-color: #199B43;
        }

    .sticky-form button {
        box-shadow: 0 10px 25px rgba(246,139,31,.30);
    }

        .sticky-form button:hover {
            background: #199B43;
        }

.sidebar-course-info {
    background: #f8faf9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

    .sidebar-course-info div {
        margin-bottom: 10px;
    }
/* Contact Buttons */

.course-contact {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

    .course-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
    }

        .course-contact a:first-child {
            background: #199B43;
            color: #fff;
        }

        .course-contact a:last-child {
            background: #25D366;
            color: #fff;
        }

/* ===================================
   OVERVIEW
=================================== */

.course-overview {
    padding: 120px 0 100px;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.overview-content h2 {
    color: #199B43;
    margin-bottom: 25px;
    font-size: 42px;
}

.overview-content p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* ===================================
   LEARNING OUTCOMES
=================================== */

.learn-section {
    background: #f8faf9;
    padding: 100px 0;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 50px;
}

    .learn-grid div {
        background: #fff;
        padding: 20px 25px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,.05);
        font-weight: 500;
    }

/* ===================================
   ACCORDION
=================================== */

.modules-section {
    padding: 100px 0;
}

.accordion {
    max-width: 900px;
    margin: auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.accordion-header {
    width: 100%;
    background: #199B43;
    color: #fff;
    border: none;
    padding: 20px 25px;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.accordion-content {
    display: none;
    background: #fff;
    padding: 25px;
    line-height: 2;
}
/* ===================================
   TOOLS
=================================== */

.tools-section {
    background: #f8faf9;
    padding: 100px 0;
    text-align: center;
}

.tools-grid {
    margin-top: 40px;
}

.tool-badge {
    display: inline-block;
    padding: 12px 25px;
    background: #e8f7ed;
    color: #199B43;
    border-radius: 50px;
    margin: 10px;
    font-weight: 600;
}
/* ===================================
   CAREERS
=================================== */

.career-section {
    padding: 100px 0;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.career-card {
    background: #fff;
    padding: 35px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .career-card h3 {
        color: #199B43;
        margin-bottom: 10px;
    }

    .career-card span {
        color: #F68B1F;
        font-weight: 600;
    }
/* ===================================
   BENEFITS
=================================== */

.benefits-section {
    background: #f8faf9;
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.benefit-card {
    background: #fff;
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .benefit-card i {
        font-size: 45px;
        color: #F68B1F;
        margin-bottom: 15px;
    }

/* ===================================
   STUDENT BENEFITS
=================================== */

.student-benefits {
    padding: 100px 0;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

    .benefit-list div {
        background: #fff;
        padding: 20px;
        border-left: 5px solid #199B43;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,.05);
    }
/* ===================================
   FAQ
=================================== */

.faq-section {
    background: #f8faf9;
    padding: 100px 0;
}

.faq-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

    .faq-item h4 {
        color: #199B43;
        margin-bottom: 10px;
    }

/* ===================================
   ENQUIRY
=================================== */



.enquiry-box {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.10);
}

    .enquiry-box h2 {
        text-align: center;
        color: #199B43;
        margin-bottom: 30px;
    }

    .enquiry-box input {
        width: 100%;
        padding: 15px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .enquiry-box button {
        width: 100%;
        background: #F68B1F;
        color: #fff;
        border: none;
        padding: 15px;
        border-radius: 8px;
        cursor: pointer;
    }

/* ===================================
   COURSE CTA
=================================== */

.course-cta {
    background: linear-gradient( 135deg, #199B43, #146c31);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

    .course-cta h2 {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .course-cta p {
        margin-bottom: 25px;
        font-size: 18px;
    }





/* ===================================
   STICKY SIDEBAR
=================================== */

.course-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    height: fit-content;
}

.sticky-form h3 {
    color: #199B43;
    font-size: 28px;
    margin-bottom: 10px;
}

.sticky-form p {
    color: #666;
    margin-bottom: 25px;
}

.sticky-form input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
}

    .sticky-form input:focus {
        outline: none;
        border-color: #199B43;
    }

.sticky-form button {
    width: 100%;
    background: #F68B1F;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

    .sticky-form button:hover {
        background: #199B43;
    }

/* Contact Buttons */

.course-contact {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

    .course-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
    }

        .course-contact a:first-child {
            background: #199B43;
            color: #fff;
        }

        .course-contact a:last-child {
            background: #25D366;
            color: #fff;
        }



/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:991px) {

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .career-grid,
    .benefits-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .course-layout {
        grid-template-columns: 1fr;
    }

    .course-sidebar {
        position: relative;
        top: auto;
    }
}

@media(max-width:768px) {

    .course-hero h1 {
        font-size: 42px;
    }

    .summary-grid,
    .career-grid,
    .benefits-grid,
    .benefit-list,
    .learn-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .course-cta h2 {
        font-size: 34px;
    }
}
