* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        /* background-color: #f8f9fa; */
        line-height: 1.6;
    }

    .main-content {
        width: 100%;
        margin: 0;
        padding: 30px 40px;
    }

    @media (max-width: 1200px) {
        .main-content {
            padding: 30px 20px;
        }
    }

    @media (min-width: 1200px) {
        .main-content {
            padding: 60px 80px;
        }
    }


    .section-heading {
        text-align: center;
    }

    .section-heading h2 {
        font-size: 36px;
        font-weight: bold;
        color: #86bc42;
        /* margin-top: 45px; */
    }


    .main-layout {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
        margin-top: 40px;
    }

    .course-section {
        grid-column: 1 / 3;
        display: flex;
        flex-direction: column;
    }

    .course-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    @media (max-width: 1500px) {
        .course-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .advertisement-section {
        grid-column: 3;
        background: #e8f5e8;
        border-radius: 16px;
        padding: 20px;
        position: sticky;
        top: 20px;
        height: fit-content;
        border: 1px solid #d4edda;
    }

    .advertisement-section h2 {
        color: #86bc42;
        font-size: 24px;
        text-align: center;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .story-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .story-card {
        background: #f0f8ff;
        border-radius: 8px;
        padding: 20px;
        border: 1px solid #e9ecef;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .story-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .story-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #333;
        font-weight: 600;
    }

    .story-card p {
        line-height: 1.5;
        margin-bottom: 12px;
        font-size: 14px;
        color: #666;
    }

    .see-more-btn {
        background: #28a745;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 12px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }

    .see-more-btn:hover {
        background: #218838;
        color: white;
    }

    .course-card {
        /* background: #f0f8ff; */
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 15px;
        border: 2px solid;
        border-color: #e7e5e2;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .course-image {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .course-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(134, 188, 66, 0.15);
        border-color: #86bc42;
    }

    .course-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 10px;
        gap: 15px;
    }

    .course-title-section {
        flex: 1;
        min-width: 0;
    }

    .course-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 6px;
        margin-top: 0px !important;
        word-wrap: break-word;
    }

    .course-icon {
        width: 30px;
        height: 30px;
        background-color: #e8f5e8;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #28a745;
        font-size: 16px;
        flex-shrink: 0;
    }

    .course-description {
        color: #6c757d;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .course-details {
        margin-bottom: 15px;
    }

    .detail-item {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        color: #6c757d;
        font-size: 14px;
    }

    .detail-icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
        opacity: 0.7;
    }

    .price-section {
        margin-bottom: 15px;
    }

    .price-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
        font-size: 14px;
    }

    .price {
        font-weight: bold;
        color: #28a745;
    }

    .course-footer {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
    }

    .button-row {
        display: flex;
        gap: 4px;
    }

    .btn {
        padding: 6px 8px;
        border: none;
        border-radius: 4px;
        font-weight: 500;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 11px;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-primary {
        background-color: #007bff;
        color: white;
    }

    .btn-primary:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
        color: white;
    }

    .btn-secondary {
        background-color: #6c757d;
        color: white;
    }

    .btn-secondary:hover {
        background-color: #545b62;
        transform: translateY(-2px);
        color: white;
    }

    .btn-info {
        background-color: #17a2b8;
        color: white;
    }

    .btn-info:hover {
        background-color: #138496;
        transform: translateY(-2px);
        color: white;
    }

    .btn-success {
        background-color: #28a745;
        color: white;
    }

    .btn-success:hover {
        background-color: #218838;
        transform: translateY(-2px);
        color: white;
    }



    @media (max-width: 768px) {
        .main-content {
            padding: 40px 15px 40px;
        }

        .section-heading h2 {
            font-size: 28px;
        }

        .main-layout {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .course-section {
            grid-column: 1;
            order: 1;
        }

        .advertisement-section {
            grid-column: 1;
            order: 2;
            position: static;
        }

        .course-grid {
            grid-template-columns: repeat(2, 2fr);
            gap: 15px;
        }

        .course-card {
            padding: 12px;
        }

        .course-image {
            height: 120px;
        }

        .course-title {
            font-size: 16px;
        }
    }

    @media (max-width: 480px) {
        .course-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
    }

    .styled-hr {
        width: 150px;
        height: 4px;
        background: linear-gradient(90deg, #86bc42 0%, #75a838 100%);
        border: none;
        border-radius: 2px;
        margin: 10px auto;
        box-shadow: 0 2px 4px rgba(104, 153, 44, 0.3);
    }

    .exam-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
    }

    .exam-modal-content {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        margin: 5% auto;
        padding: 30px;
        border-radius: 20px;
        width: 90%;
        max-width: 600px;
        max-height: 80vh;
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        animation: modalSlideIn 0.3s ease-out;
        overflow-y: auto;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .exam-modal h4 {
        color: #86bc42;
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
        font-weight: 700;
    }

    .exam-close {
        color: #999;
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .exam-close:hover {
        background-color: #f8f9fa;
        color: #333;
        transform: rotate(90deg);
    }

    .exam-list-item {
        background: white;
        padding: 20px;
        border: 2px solid #e9ecef;
        border-radius: 15px;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .exam-list-item:hover {
        border-color: #86bc42;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(134, 188, 66, 0.15);
    }

    .exam-info h5 {
        margin: 0 0 8px 0;
        color: #333;
        font-size: 18px;
        font-weight: 600;
    }

    .exam-info p {
        margin: 0;
        color: #666;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .exam-status {
        background: #e8f5e8;
        color: #28a745;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        margin-left: 10px;
    }

    .exam-list-item .btn {
        padding: 10px 20px;
        font-weight: 600;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

    .exam-list-item .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    }