/*Course_detail page ccs*/
/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}


.headers {
    text-align: center;
    font-size: 18px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.11);
}

/* Course Header and Container */
.course-headers {
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 1200px;
}

.course-layout {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.course-detailss {
    flex: 3;
    background-color: #333;
    color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.course-detailss h1 {
    color:violet;
}

.course-sidebars {
    flex: 1; /* 25% */
    background-color: #ccc;;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.course-thumbnails img,
.course-thumbnails video {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.course-prices {
    font-size: 24px;
    color: #e67e22;
    margin-bottom: 20px;
}

.enroll-buttons {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
    background-color: #0b9cf1;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

.enroll-buttons:hover {
    background-color: #8331bd;
}

/* What You'll Learn Section */
.what-you-will-learn {
    background-color: white;
    color: #333;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.what-you-will-learn h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.what-you-will-learn ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    column-count: 2;
}

.what-you-will-learn ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.what-you-will-learn ul li::before {
    content: "✔";
    color: #a435f0;
    margin-right: 10px;
}

/* Course Sections */
.sections-container {
    margin-top: auto;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    padding: 20px;
}

.section {
    margin-bottom: 20px;
}

.section-header {
    cursor: pointer;
    background-color: #0b9cf1;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.section-headers:hover {
    background-color: #e67e22;
    color: white;
}

.lecture-list {
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 20px;
}

.section-header.active + .lecture-list {
    display: block;
}

.lecture-list li {
    margin: 5px 0;
    font-size: 16px;
    color: #171717;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .course-layout {
        flex-direction: column;
    }

    .course-detailss,
    .course-sidebars {
        width: 100%;
        flex: none;
        margin-bottom: 20px;
    }

    .what-you-will-learn ul {
        column-count: 1;
    }
}

@media (max-width: 480px) {
    .course-detailss,
    .course-sidebars {
        padding: 15px;
    }

    .headers {
        font-size: 16px;
    }

    .section-header {
        font-size: 16px;
    }

    .what-you-will-learn h3 {
        font-size: 20px;
    }
}
