﻿/* ==========================================
   استایل‌های نهایی - نسخه یکپارچه کامل
   بدون هیچ تکراری - همه چی فقط یکبار
   ========================================== */

.course-page-wrapper {
    background: #f8f9fa;
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    line-height: 1.8;
    margin-top: 50px;
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .course-page-wrapper {
        margin-top: -3px;
    }

    .course-breadcrumb {
        display: none;
    }
}

/* Breadcrumb */
.course-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

    .course-breadcrumb .breadcrumb {
        background: transparent;
        padding: 0;
        margin: 0;
        font-size: 0.9rem;
    }

    .course-breadcrumb .breadcrumb-item a {
        color: #6c757d;
        text-decoration: none;
    }

    .course-breadcrumb .breadcrumb-item.active {
        color: #0d6efd;
        font-weight: 600;
    }

/* Hero Card */
.hero-product-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.hero-badge {
    display: inline-block;
    background: #e7f1ff;
    color: #0d6efd;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.hero-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #495057;
}

    .hero-stat-item i {
        color: #0d6efd;
        font-size: 1.1rem;
    }

    .hero-stat-item strong {
        color: #212529;
        margin-left: 0.2rem;
    }

/* Price Box */
.hero-price-box {
    text-align: center;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #198754;
    margin-bottom: 0.5rem;
}

    .price-amount.free {
        color: #0d6efd;
    }

.price-old {
    font-size: 1.1rem;
    color: #dc3545;
    text-decoration: line-through;
    margin-right: 0.5rem;
    display: inline-block;
}

.price-discount-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.btn-buy-now {
    display: inline-block;
    width: 100%;
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    text-align: center;
    margin-top: 1rem;
    cursor: pointer;
}

    .btn-buy-now:hover {
        background: #0b5ed7;
        color: #fff !important;
        text-decoration: none !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(13,110,253,0.3);
    }

.btn-outline-installment {
    display: inline-block;
    width: 100%;
    background: transparent;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    margin-top: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
}

    .btn-outline-installment:hover {
        border-color: #0d6efd;
        color: #0d6efd;
        text-decoration: none !important;
    }

.hero-guarantee {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.75rem;
    text-align: center;
}

    .hero-guarantee i {
        color: #198754;
    }

/* Section Cards */
.section-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

    .section-title i {
        color: #0d6efd;
        font-size: 1.3rem;
    }

/* Video */
.video-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .video-container video {
        width: 100%;
        max-height: 450px;
        display: block;
    }

/* Mentor Card */
.mentor-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}

.mentor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0d6efd;
    flex-shrink: 0;
}

.mentor-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.2rem;
}

.mentor-info p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.mentor-badge {
    display: inline-block;
    background: #e7f1ff;
    color: #0d6efd;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.4rem;
}

/* ==========================================
   DATABASE HTML CONTENT OVERRIDE
   ========================================== */
.course-description {
    font-size: 1rem;
    line-height: 2.2;
    color: #495057;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: justify;
    max-width: 100%;
    padding: 0;
}

    .course-description * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .course-description p {
        margin-bottom: 1.2rem;
        text-align: justify;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0;
        width: 100%;
    }

    .course-description h2, .course-description h3, .course-description h4 {
        color: #212529 !important;
        margin: 1.8rem 0 1rem !important;
        font-weight: 800 !important;
        text-align: right !important;
        font-size: 1.3rem !important;
        line-height: 1.6 !important;
        word-break: break-word !important;
    }

    .course-description h2 {
        font-size: 1.5rem !important;
    }

    .course-description img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        margin: 1.2rem 0 !important;
        display: block !important;
    }

    .course-description hr {
        border: none !important;
        border-top: 1px solid #e9ecef !important;
        margin: 2rem 0 !important;
    }

    .course-description strong {
        color: #1a202c;
        font-weight: 700;
    }

    .course-description a {
        color: #0d6efd !important;
        text-decoration: none !important;
        font-weight: 600;
    }

        .course-description a:hover {
            text-decoration: underline !important;
        }

    /* custom-list */
    .course-description .custom-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 1.2rem 0 !important;
    }

        .course-description .custom-list li {
            counter-increment: item;
            margin-bottom: 14px !important;
            position: relative;
            padding: 1.2rem 3.5rem 1.2rem 1.5rem !important;
            background: #f8f9fa !important;
            border-radius: 12px !important;
            border: 1px solid #eef0f2 !important;
            text-align: right !important;
            direction: rtl;
            line-height: 1.9;
        }

            .course-description .custom-list li::before {
                content: counter(item);
                position: absolute;
                top: 1rem;
                right: 1rem;
                font-weight: 700;
                font-size: 15px;
                color: #0d6efd;
                background: #e7f1ff;
                width: 30px;
                height: 30px;
                text-align: center;
                line-height: 30px;
                border-radius: 50%;
            }

            .course-description .custom-list li::after {
                content: "✓";
                position: absolute;
                top: 2.8rem;
                right: 1.15rem;
                color: #198754;
                font-size: 13px;
                font-weight: bold;
            }

    /* lists-3 */
    .course-description .lists-3 {
        list-style: none !important;
        padding: 0 !important;
        margin: 1rem 0 !important;
    }

        .course-description .lists-3 li {
            padding: 0.6rem 1.8rem 0.6rem 1rem !important;
            margin-bottom: 0.5rem !important;
            position: relative;
            background: #f8f9fa !important;
            border-radius: 8px !important;
            border-right: 3px solid #0d6efd !important;
            word-break: break-word !important;
            text-align: right !important;
        }

            .course-description .lists-3 li::before {
                content: "✓";
                position: absolute;
                right: 0.6rem;
                top: 0.6rem;
                color: #198754;
                font-size: 12px;
                font-weight: bold;
            }

            .course-description .lists-3 li[style*="color: blue"],
            .course-description .lists-3 li[style*="color:#0c57f1"] {
                border-right-color: #0d6efd !important;
                color: #0d6efd !important;
                font-weight: 600 !important;
            }

    /* edu_wraper */
    .course-description .edu_wraper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 1.5rem 0 !important;
        background: transparent !important;
        border: none !important;
    }

        .course-description .edu_wraper.border {
            border: 1px solid #e9ecef !important;
            border-radius: 12px !important;
            padding: 1.5rem !important;
            background: #fff !important;
            width: 100% !important;
            margin-top: 1rem !important;
        }

    .course-description .edu_title {
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        color: #1a202c !important;
        margin-bottom: 1rem !important;
        word-break: break-word !important;
        text-align: right !important;
    }

    .course-description .text-info {
        color: #0d6efd !important;
    }

    .course-description [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Accordion */
    .course-description .accordion .card {
        border: 1px solid #eef0f2 !important;
        border-radius: 10px !important;
        margin-bottom: 0.5rem !important;
        overflow: hidden;
    }

    .course-description .accordion .card-header {
        background: #fafbfc !important;
        border-bottom: none !important;
        padding: 0 !important;
        cursor: pointer;
    }

        .course-description .accordion .card-header a {
            display: block !important;
            padding: 1rem 1.2rem !important;
            color: #1a202c !important;
            text-decoration: none !important;
            font-weight: 600;
            font-size: 0.95rem;
            word-break: break-word !important;
            text-align: right !important;
        }

            .course-description .accordion .card-header a:hover {
                color: #0d6efd !important;
            }

    .course-description .accordion .card-body {
        background: #fff !important;
        padding: 1rem 1.2rem !important;
        border-top: 1px solid #eef0f2 !important;
        word-break: break-word !important;
    }

    .course-description .collapse {
        display: none !important;
    }

        .course-description .collapse.show {
            display: block !important;
        }

    .course-description .custom_accordion .card-header a h5 {
        font-size: 0.95rem;
        font-weight: 600;
        margin: 0;
        color: #1a202c;
        text-align: right;
    }

    .course-description .circullum .card-header a {
        font-weight: 700 !important;
        font-size: 1rem !important;
    }

    .course-description ul:not(.lectures_lists):not(.custom-list):not(.lists-3):not(.useful-links) {
        padding-right: 1.5rem !important;
        margin: 1rem 0 !important;
    }

    .course-description ul:not(.lectures_lists):not(.custom-list):not(.lists-3) li {
        margin-bottom: 0.5rem !important;
        text-align: right !important;
        word-break: break-word !important;
        padding: 0.3rem 0 !important;
        line-height: 1.9;
    }

    /* lectures_lists */
    .course-description .lectures_lists {
        list-style: none !important;
        padding: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

        .course-description .lectures_lists li {
            display: flex !important;
            align-items: center !important;
            gap: 0.6rem;
            padding: 0.7rem 1rem !important;
            margin-bottom: 0.4rem !important;
            background: #f8f9fa !important;
            border-radius: 8px !important;
            border-right: 3px solid transparent !important;
            transition: all 0.2s;
            width: 100% !important;
            word-break: break-word !important;
            flex-wrap: nowrap !important;
            font-size: 0.9rem;
            color: #1a202c;
            font-weight: 500;
            text-align: right !important;
        }

            .course-description .lectures_lists li:hover {
                background: #e7f1ff !important;
                border-right-color: #0d6efd !important;
            }

            .course-description .lectures_lists li .lectures_lists_title {
                flex-shrink: 0 !important;
                display: flex !important;
                align-items: center !important;
                gap: 0.3rem;
                white-space: nowrap !important;
                font-size: 0.85rem;
                color: #495057;
            }

                .course-description .lectures_lists li .lectures_lists_title i {
                    color: #0d6efd !important;
                    font-size: 0.85rem !important;
                    flex-shrink: 0 !important;
                }

            .course-description .lectures_lists li[style*="color: blue"],
            .course-description .lectures_lists li[style*="color: #0068d9"],
            .course-description .lectures_lists li[style*="color:#0068d9"] {
                background: #e7f1ff !important;
                border-right-color: #0d6efd !important;
                color: #0d6efd !important;
                font-weight: 600 !important;
            }

            .course-description .lectures_lists li[style*="color: #28a745"],
            .course-description .lectures_lists li[style*="color:#28a745"] {
                background: #eef7ee !important;
                border-right-color: #198754 !important;
                color: #198754 !important;
                font-weight: 600 !important;
            }

                .course-description .lectures_lists li[style*="color: blue"] .lectures_lists_title,
                .course-description .lectures_lists li[style*="color: #0068d9"] .lectures_lists_title,
                .course-description .lectures_lists li[style*="color: #28a745"] .lectures_lists_title {
                    color: inherit !important;
                }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #fafbfc;
    border: 1px solid #eef0f2;
    border-radius: 20px;
    padding: 1.8rem 1.8rem 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

    .testimonial-card.hidden-comment {
        display: none;
    }

    .testimonial-card:hover {
        background: #fff;
        border-color: #dde3ea;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

.testimonial-quote {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 4rem;
    color: #e8ecf1;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 2;
    text-align: right;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    padding-top: 0.5rem;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f2f5;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.avatar-blue {
    background: #3b82f6;
}

.avatar-green {
    background: #10b981;
}

.avatar-purple {
    background: #8b5cf6;
}

.avatar-orange {
    background: #f59e0b;
}

.avatar-red {
    background: #ef4444;
}

.avatar-teal {
    background: #14b8a6;
}

.testimonial-footer-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 700;
    color: #1a202c;
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.testimonial-date {
    font-size: 0.73rem;
    color: #a0aec0;
}

.testimonials-show-more {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 2px solid #e9ecef;
    color: #0d6efd;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

    .btn-load-more:hover {
        background: #0d6efd;
        border-color: #0d6efd;
        color: #fff;
    }

    .btn-load-more i {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .btn-load-more.showing i {
        transform: rotate(180deg);
    }

/* ==========================================
   SIDEBAR
   ========================================== */
.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

    .sidebar-card.featured-card {
        border: 2px solid #0d6efd;
        position: relative;
    }

        .sidebar-card.featured-card::before {
            /*content: 'ویژه';*/
            position: absolute;
            top: -12px;
            right: 20px;
            background: #0d6efd;
            color: #fff;
            padding: 0.2rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
        }

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

    .sidebar-title i {
        color: #0d6efd;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.9rem;
        color: #495057;
    }

        .feature-list li:last-child {
            border-bottom: none;
        }

    .feature-list i {
        color: #0d6efd;
        font-size: 1rem;
        width: 22px;
        text-align: center;
        flex-shrink: 0;
    }

.useful-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .useful-links a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #6c757d;
        text-decoration: none;
        padding: 0.5rem;
        border-radius: 8px;
        font-size: 0.9rem;
        transition: all 0.2s;
        margin-bottom: 0.2rem;
    }

        .useful-links a:hover {
            background: #f8f9fa;
            color: #0d6efd;
            text-decoration: none;
        }

.share-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.2s;
}

    .share-icon:hover {
        background: #0d6efd;
        color: #fff !important;
        text-decoration: none !important;
    }

/* Comment Form */
.comment-input {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 1rem;
    font-family: inherit;
}

    .comment-input:focus {
        outline: none;
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
    }

textarea.comment-input {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-comment {
    background: #0d6efd;
    color: white !important;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-submit-comment:hover {
        background: #0b5ed7;
    }

.alert-box {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success-box {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-warning-box {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* Mobile Footer */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #0d6efd;
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
}

.mobile-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-support-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

    .mobile-support-link i {
        color: #0d6efd;
        font-size: 1.1rem;
    }

.btn-buy-mobile {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

    .btn-buy-mobile:hover {
        background: #0b5ed7;
        color: #fff;
        text-decoration: none !important;
    }

/* ==========================================
   RESPONSIVE - ALL SIZES
   ========================================== */
@media (max-width: 1200px) {
    .course-description {
        font-size: 1rem;
        line-height: 2.2;
    }

        .course-description p {
            font-size: 1rem;
            line-height: 2.2;
        }
}

@media (max-width: 991px) {
    .mobile-sticky-footer {
        display: block;
    }

    body {
        padding-bottom: 75px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mentor-card {
        flex-direction: column;
        text-align: center;
    }

    .course-description {
        font-size: 0.95rem;
        line-height: 2.1;
    }

        .course-description p {
            font-size: 0.95rem;
            line-height: 2.1;
            text-align: right !important;
            padding: 0 !important;
        }

    .section-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .hero-product-card {
        padding: 1.5rem;
        border-radius: 14px;
    }

    .section-card {
        padding: 1rem !important;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .course-description {
        font-size: 0.9rem;
        line-height: 2;
    }

        .course-description p {
            font-size: 0.9rem;
            line-height: 2;
            text-align: right !important;
            padding: 0 !important;
        }

        .course-description h2 {
            font-size: 1.2rem !important;
        }

        .course-description h3 {
            font-size: 1.1rem !important;
        }

        .course-description .edu_title {
            font-size: 1.1rem !important;
        }

        .course-description .edu_wraper.border {
            padding: 1rem !important;
        }

        .course-description .lectures_lists li {
            padding: 0.5rem 0.6rem !important;
            font-size: 0.82rem !important;
            gap: 0.3rem;
            flex-wrap: wrap !important;
        }

            .course-description .lectures_lists li .lectures_lists_title {
                font-size: 0.78rem;
                width: 100%;
                margin-bottom: 0.2rem;
            }

                .course-description .lectures_lists li .lectures_lists_title i {
                    font-size: 0.75rem !important;
                }

        .course-description .accordion .card-header a {
            padding: 0.7rem 1rem !important;
            font-size: 0.9rem;
        }

        .course-description .accordion .card-body {
            padding: 0.8rem 1rem !important;
        }

        .course-description .custom-list li {
            padding: 1rem 3rem 1rem 1rem !important;
        }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.4rem 1.2rem 1.2rem;
    }

    .testimonial-quote {
        font-size: 3rem;
        top: 0.8rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .course-description {
        font-size: 0.85rem;
        line-height: 1.9;
    }

        .course-description p {
            font-size: 0.85rem;
            line-height: 1.9;
            text-align: right !important;
            padding: 0 !important;
        }

    .section-card {
        padding: 0.8rem !important;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-product-card {
        padding: 1.2rem;
    }

    .mentor-avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .course-description {
        font-size: 0.8rem;
        line-height: 1.8;
    }

        .course-description p {
            font-size: 0.8rem;
            line-height: 1.8;
            text-align: right !important;
            padding: 0 !important;
        }

    .section-card {
        padding: 0.6rem !important;
    }
}
.modern-footer{
    margin-bottom:-20%
}

