﻿/* ===================================
   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;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.course-hero h1 {
    font-size: 65px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.course-hero p {
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 25px;
}

.course-rating {
    color: #ffc107;
    font-size: 22px;
    margin-bottom: 30px;
}

    .course-rating span {
        color: #fff;
        font-size: 15px;
    }

.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;
    }

/* ===================================
   COURSE SUMMARY
=================================== */

.course-summary {
    margin-top: -70px;
    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 {
        font-size: 35px;
        color: #199B43;
        margin-bottom: 10px;
    }

    .summary-item h4 {
        margin-bottom: 5px;
    }

    .summary-item span {
        color: #666;
    }

/* ===================================
   COURSE LAYOUT
=================================== */

.course-details-section {
    padding: 100px 0;
}

.course-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 40px;
    align-items: start;
}

.course-main {
    min-width: 0;
}

/* ===================================
   STICKY SIDEBAR
=================================== */

.course-sidebar {
    align-self: start;
}

.sticky-wrapper {
    position: sticky;
    top: 20px;
}

.sidebar-course-info {
    background: #f8faf9;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

    .sidebar-course-info div {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

        .sidebar-course-info div:last-child {
            border-bottom: none;
        }

.sticky-form {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.10);
}

    .sticky-form h3 {
        color: #199B43;
        margin-bottom: 10px;
    }

    .sticky-form p {
        color: #666;
        margin-bottom: 20px;
    }

    .sticky-form input,
    .sticky-form select,
    .sticky-form textarea {
        width: 100%;
        padding: 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .sticky-form button {
        width: 100%;
        background: #F68B1F;
        color: #fff;
        border: none;
        padding: 15px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
    }

        .sticky-form button:hover {
            background: #199B43;
        }

.course-contact {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

    .course-contact a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 12px;
        border-radius: 8px;
        color: #fff;
        font-weight: 600;
    }

    .course-contact .call-btn {
        background: #199B43;
    }

    .course-contact .whatsapp-btn {
        background: #25D366;
    }

/* ===================================
   COURSE OVERVIEW
=================================== */

.course-overview {
    margin-bottom: 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: 40px;
}

.overview-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
}

/* ===================================
   WHAT YOU WILL LEARN
=================================== */

.learn-section {
    margin-bottom: 100px;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

    .learn-grid div {
        background: #fff;
        padding: 20px;
        border-left: 4px solid #199B43;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,.05);
    }

/* ===================================
   MODULES ACCORDION
=================================== */

.modules-section {
    margin-bottom: 100px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.accordion-header {
    width: 100%;
    border: none;
    background: #199B43;
    color: #fff;
    padding: 18px 25px;
    text-align: left;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
}

.accordion-content {
    display: none;
    background: #fff;
    padding: 25px;
    line-height: 2;
}

/* ===================================
   TOOLS
=================================== */

.tools-section {
    margin-bottom: 100px;
}

.tool-badge {
    display: inline-block;
    padding: 12px 25px;
    margin: 8px;
    background: #e8f7ed;
    color: #199B43;
    border-radius: 50px;
    font-weight: 600;
}

/* ===================================
   CAREERS
=================================== */

.career-section {
    margin-bottom: 100px;
}

.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 {
    margin-bottom: 100px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.benefit-card {
    background: #fff;
    text-align: center;
    padding: 35px;
    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 {
    margin-bottom: 100px;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

    .benefit-list div {
        background: #fff;
        padding: 20px;
        border-left: 4px solid #199B43;
        border-radius: 10px;
    }

/* ===================================
   FAQ
=================================== */

.faq-section {
    margin-bottom: 100px;
}

.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;
    }

/* ===================================
   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;
    }

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:991px) {

    .course-layout,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .career-grid,
    .benefits-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .sticky-wrapper {
        position: relative;
        top: auto;
    }
}

@media(max-width:768px) {

    .course-hero h1 {
        font-size: 40px;
    }

    .summary-grid,
    .learn-grid,
    .career-grid,
    .benefits-grid,
    .benefit-list {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .course-cta h2 {
        font-size: 32px;
    }
}
