/* Global Styles */
body {
    background-color: #fff;
    color: #000;
    font-family: 'Arial', sans-serif;
    padding: 10px;
    line-height: 1.6;
    margin: 0;
}

h1 {
    color: #a855f7;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.text-content {
    margin-bottom: 40px;
}

.course-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.course-outline {
    flex: 1;
    min-width: 300px;
    padding-left: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.course-outline h2 {
    font-size: 1.8em;
    color: #a855f7;
    margin-bottom: 15px;
}

.container {
    border: 2px solid #a855f7;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    
    margin-right: 20px;
}

.btn {
    background-color: #a855f7;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

.btn:hover {
    background-color: #9333ea;
}

.course-image {
    width: 90%;
    border-radius: 10px;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

li {
    margin-bottom: 15px;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
}

li:before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: #a855f7;
    font-size: 1.5em;
}

.discount-text {
    font-size: 1.3em;
    color: #007bff; /* Blue for coupon code */
    font-weight: bold;
}

/* Collapsible Section Styles */
.collapsible {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.2em;
    font-weight: bold;
}

.active, .collapsible:hover {
    background-color: #ddd;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-top: 10px;
}

.collapsible:after {
    content: ' ▼';
    font-size: 1.5em;
    float: right;
}

.active:after {
    content: ' ▲';
}

/* Mobile Optimizations */
@media (max-width: 1024px) {
    .course-section {
        flex-direction: column;
        align-items: center;
    }

    .course-outline, .container {
        padding: 10px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .course-section {
        flex-direction: column;
        align-items: center;
    }

    .course-outline, .container {
        padding: 0;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .btn {
        width: 50%;
        padding: 15px;
        font-size: 1.4em;
    }

    .course-image {
        width: 90%;
        margin-top: 20 px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2em;
    }

    .subtitle {
        font-size: 1em;
    }

    ul li {
        font-size: 1em;
    }

    .btn {
        font-size: 1.1em;
        padding: 12px;
    }
}
