   /* Course Detail Page Styles */
    :root {
        --primary-color: #5caee1;
        --secondary-color: #11113d;
        --success-color: #28a745;
        --warning-color: #ffc107;
        --danger-color: #dc3545;
        --light-color: #f8f9fa;
        --dark-color: #343a40;
        --border-radius: 15px;
        --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
        --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.12);
        --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Hero Section */
    .course-hero {
        background: linear-gradient(135deg, #5caee1 0%, #11113d 100%);
        position: relative;
        overflow: hidden;
    }

    .course-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

    .course-hero .container {
        position: relative;
        z-index: 2;
    }

    /* Hero Breadcrumb */
    .breadcrumb-hero {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 16px 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .breadcrumb-item-hero {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .breadcrumb-link-hero {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 10px;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
        font-size: 13px;
        transition: var(--transition);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .breadcrumb-link-hero:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .breadcrumb-link-hero i {
        font-size: 14px;
        opacity: 0.8;
    }

    .breadcrumb-link-hero:hover i {
        opacity: 1;
    }

    .breadcrumb-separator-hero {
        color: rgba(255, 255, 255, 0.5);
        font-size: 12px;
        margin: 0 4px;
    }

    .breadcrumb-current-hero {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        font-weight: 600;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .breadcrumb-current-hero i {
        font-size: 14px;
        opacity: 0.9;
    }

    .breadcrumb-item-hero.active .breadcrumb-current-hero {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .course-hero-image {
        transition: var(--transition);
        border-radius: var(--border-radius);
    }

    .course-hero-image:hover {
        transform: scale(1.02);
    }

    .course-placeholder {
        border: 2px dashed rgba(255, 255, 255, 0.3);
    }

    /* Section Titles */
    .section-title {
        font-weight: 700;
        color: var(--dark-color);
        border-bottom: 3px solid var(--primary-color);
        padding-bottom: 10px;
        display: inline-block;
    }

    /* Course Description */
    .course-description {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #555;
        background: var(--light-color);
        padding: 30px;
        border-radius: var(--border-radius);
        border-left: 4px solid var(--primary-color);
    }

    .course-description h1,
    .course-description h2,
    .course-description h3,
    .course-description h4,
    .course-description h5,
    .course-description h6 {
        color: var(--dark-color);
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .course-description h1 {
        font-size: 1.8rem;
    }

    .course-description h2 {
        font-size: 1.6rem;
    }

    .course-description h3 {
        font-size: 1.4rem;
    }

    .course-description h4 {
        font-size: 1.2rem;
    }

    .course-description h5 {
        font-size: 1.1rem;
    }

    .course-description h6 {
        font-size: 1rem;
    }

    .course-description p {
        margin-bottom: 1rem;
    }

    .course-description ul,
    .course-description ol {
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .course-description li {
        margin-bottom: 0.5rem;
    }

    .course-description strong,
    .course-description b {
        color: var(--dark-color);
        font-weight: 600;
    }

    .course-description em,
    .course-description i {
        font-style: italic;
    }

    .course-description a {
        color: var(--primary-color);
        text-decoration: none;
        transition: var(--transition);
    }

    .course-description a:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

    .course-description blockquote {
        border-left: 4px solid var(--primary-color);
        padding-left: 1rem;
        margin: 1.5rem 0;
        font-style: italic;
        background: rgba(102, 126, 234, 0.05);
        padding: 1rem;
        border-radius: 8px;
    }

    .course-description code {
        background: #f1f3f4;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
    }

    .course-description pre {
        background: #f1f3f4;
        padding: 1rem;
        border-radius: 8px;
        overflow-x: auto;
        margin: 1rem 0;
    }

    .course-description img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1rem 0;
    }

    .course-description table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
    }

    .course-description th,
    .course-description td {
        border: 1px solid #ddd;
        padding: 8px 12px;
        text-align: left;
    }

    .course-description th {
        background: var(--light-color);
        font-weight: 600;
    }

    /* FAQ Accordion Styles */
    .faq-container {
        background: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-light);
        overflow: hidden;
        border: 1px solid #e9ecef;
    }

    .faq-item {
        border: none;
        border-bottom: 1px solid #e9ecef;
        background: transparent;
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-question {
        background: white;
        border: none;
        padding: 25px 30px;
        font-weight: 600;
        color: var(--dark-color);
        text-align: left;
        width: 100%;
        transition: var(--transition);
        position: relative;
        box-shadow: none;
        border-radius: 0;
    }

    .faq-question:not(.collapsed) {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        color: white;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .faq-question:hover {
        background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        transform: translateX(5px);
    }

    .faq-question:not(.collapsed):hover {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        transform: translateX(0);
    }

    .faq-question-content {
        display: flex;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .faq-number {
        width: 40px;
        height: 40px;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 16px;
        color: var(--primary-color);
        flex-shrink: 0;
        transition: var(--transition);
    }

    .faq-question:not(.collapsed) .faq-number {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .faq-text {
        flex: 1;
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .faq-question::after {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        transition: var(--transition);
        color: var(--primary-color);
    }


    .faq-answer {
        background: #f8f9fa;
        border-top: 1px solid #e9ecef;
        padding: 0;
        margin: 0;
    }

    .faq-answer-content {
        padding: 30px;
        font-size: 1rem;
        line-height: 1.7;
        color: #555;
        background: linear-gradient(45deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    }

    .faq-answer-content h1,
    .faq-answer-content h2,
    .faq-answer-content h3,
    .faq-answer-content h4,
    .faq-answer-content h5,
    .faq-answer-content h6 {
        color: var(--dark-color);
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .faq-answer-content p {
        margin-bottom: 1rem;
    }

    .faq-answer-content ul,
    .faq-answer-content ol {
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .faq-answer-content li {
        margin-bottom: 0.5rem;
    }

    .faq-answer-content strong,
    .faq-answer-content b {
        color: var(--dark-color);
        font-weight: 600;
    }

    .faq-answer-content a {
        color: var(--primary-color);
        text-decoration: none;
        transition: var(--transition);
    }

    .faq-answer-content a:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

    .faq-answer-content blockquote {
        border-left: 4px solid var(--primary-color);
        padding-left: 1rem;
        margin: 1.5rem 0;
        font-style: italic;
        background: rgba(102, 126, 234, 0.05);
        padding: 1rem;
        border-radius: 8px;
    }

    .faq-answer-content code {
        background: #f1f3f4;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
    }

    .faq-answer-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1rem 0;
    }

    /* Feature Cards */
    .feature-card {
        background: white;
        border-radius: var(--border-radius);
        padding: 25px;
        box-shadow: var(--shadow-light);
        transition: var(--transition);
        border: 1px solid #e9ecef;
        height: 100%;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-medium);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
    }

    .feature-icon i {
        font-size: 24px;
        color: white;
    }

    .feature-content h5 {
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--dark-color);
    }

    .feature-content p {
        color: #666;
        margin: 0;
    }

    /* Comment Form */
    .comment-form-card {
        background: white;
        border-radius: var(--border-radius);
        padding: 30px;
        box-shadow: var(--shadow-light);
        border: 1px solid #e9ecef;
        transition: var(--transition);
    }

    .comment-form-card.edit-mode {
        border-color: var(--warning-color);
        box-shadow: 0 5px 20px rgba(255, 193, 7, 0.15);
    }

    /* Current Comment Info */
    .current-comment-info {
        animation: slideInDown 0.5s ease-out;
    }

    .current-comment-info .alert {
        border-left: 4px solid var(--primary-color);
        background: linear-gradient(45deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    }

    .rating-input {
        display: flex;
        flex-direction: row-reverse;
        gap: 5px;
    }

    .rating-input input {
        display: none;
    }

    .rating-input label {
        cursor: pointer;
        font-size: 24px;
        color: #ddd;
        transition: var(--transition);
    }

    .rating-input label:hover,
    .rating-input label:hover~label,
    .rating-input input:checked~label {
        color: var(--warning-color);
    }

    /* Comments */
    .comment-card {
        background: white;
        border-radius: var(--border-radius);
        padding: 25px;
        margin-bottom: 20px;
        box-shadow: var(--shadow-light);
        border: 1px solid #e9ecef;
    }

    .comment-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .comment-author {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 18px;
    }

    .author-name {
        margin: 0;
        font-weight: 600;
        color: var(--dark-color);
    }

    .comment-rating {
        font-size: 14px;
    }

    .comment-date {
        color: #666;
        font-size: 14px;
    }

    .comment-content {
        color: #555;
        line-height: 1.6;
    }

    /* Related Courses */
    .related-course-card {
        background: white;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow-light);
        transition: var(--transition);
        border: 1px solid #e9ecef;
        height: 100%;
    }

    .related-course-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-medium);
    }

    .related-course-image {
        height: 150px;
        overflow: hidden;
        position: relative;
    }

    .related-course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .related-course-card:hover .related-course-image img {
        transform: scale(1.05);
    }

    .placeholder-image {
        width: 100%;
        height: 100%;
        background: var(--light-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
    }

    .related-course-content {
        padding: 20px;
    }

    .related-course-title a {
        color: var(--dark-color);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
    }

    .related-course-title a:hover {
        color: var(--primary-color);
    }

    .related-course-price .price {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    .related-course-price .price.free {
        color: var(--success-color);
    }

    /* Purchase Card */
    .purchase-card {
        background: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-medium);
        border: 1px solid #e9ecef;
        overflow: hidden;
        transition: var(--transition);
    }

    .purchase-card:hover {
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
        transform: translateY(-3px);
    }

    /* Sticky behavior enhancement */
    .course-sidebar {
        position: relative;
    }

    .purchase-card.sticky-card {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 20px !important;
        z-index: 100;
        will-change: transform;
    }

    /* Sticky scroll effect */
    .purchase-card.scrolled {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-color: rgba(102, 126, 234, 0.2);
    }

    .purchase-header {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        padding: 25px;
        text-align: center;
    }

    .current-price {
        font-size: 2.5rem;
        font-weight: 700;
        color: white;
    }

    .free-price {
        font-size: 2rem;
        font-weight: 700;
        color: white;
    }

    .purchase-content {
        padding: 25px;
    }

    .course-info-list {
        margin-bottom: 25px;
    }

    .info-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .info-item i {
        font-size: 16px;
        width: 20px;
    }

    .info-item span {
        color: #555;
        font-weight: 500;
    }

    .purchase-btn {
        background: #5caee1;
        border: none;
        border-radius: 12px;
        padding: 15px;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .purchase-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: var(--transition);
    }

    .purchase-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }

    .purchase-btn:hover::before {
        left: 100%;
    }

    .additional-actions .btn {
        border-radius: 10px;
        font-weight: 500;
        transition: var(--transition);
    }

    .additional-actions .btn:hover {
        transform: translateY(-2px);
    }

    /* Responsive Design */
    @media (max-width: 992px) and (min-width: 769px) {

        /* Tablet Purchase Card */
        .purchase-card {
            position: static !important;
            margin-top: 20px;
            max-height: none !important;
            overflow-y: visible !important;
            transform: none !important;
        }
    }

    @media (max-width: 768px) {
        .course-hero {
            text-align: center;
        }

        .course-hero .display-5 {
            font-size: 2rem;
        }

        .feature-card {
            text-align: center;
            margin-bottom: 20px;
        }

        .purchase-card {
            position: static !important;
            margin-top: 30px;
            max-height: none !important;
            overflow-y: visible !important;
            transform: none !important;
            top: auto !important;
        }

        .row.g-2 .col-6 .btn {
            font-size: 0.9rem;
            padding: 8px 12px;
        }

        .comment-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .rating-input {
            justify-content: center;
        }

        /* Mobile Breadcrumb */
        .breadcrumb-hero {
            padding: 12px 16px;
            gap: 4px;
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .breadcrumb-hero::-webkit-scrollbar {
            display: none;
        }

        .breadcrumb-link-hero {
            padding: 6px 10px;
            font-size: 14px;
            white-space: nowrap;
        }

        .breadcrumb-link-hero span {
            display: none;
        }

        .breadcrumb-current-hero span {
            font-size: 14px;
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .breadcrumb-separator-hero {
            margin: 0 2px;
        }

        /* Mobile FAQ Styles */
        .faq-question {
            padding: 20px;
        }

        .faq-question-content {
            gap: 15px;
        }

        .faq-number {
            width: 35px;
            height: 35px;
            font-size: 14px;
        }

        .faq-text {
            font-size: 1rem;
        }

        .faq-question::after {
            right: 20px;
            font-size: 14px;
        }

        .faq-answer-content {
            padding: 20px;
        }
    }

    @media (max-width: 576px) {
        .course-hero {
            padding: 3rem 0;
        }

        .course-description {
            padding: 20px;
        }

        .feature-card {
            padding: 20px;
        }

        .comment-form-card {
            padding: 20px;
        }

        .purchase-content {
            padding: 20px;
        }

        /* Small Mobile FAQ Styles */
        .faq-question {
            padding: 15px;
        }

        .faq-question-content {
            gap: 12px;
        }

        .faq-number {
            width: 30px;
            height: 30px;
            font-size: 13px;
        }

        .faq-text {
            font-size: 0.95rem;
            line-height: 1.3;
        }

        .faq-question::after {
            right: 15px;
            font-size: 13px;
        }

        .faq-answer-content {
            padding: 15px;
            font-size: 0.95rem;
        }
    }

    /* Animations */
    .course-section {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

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

    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

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

    /* Pending Payment Styles */
    .alert-warning {
        border-left: 4px solid var(--warning-color);
        background: linear-gradient(45deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.1));
    }

    .contact-options .contact-item {
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .contact-options .contact-item a {
        color: var(--primary-color);
        text-decoration: none;
    }

    .contact-options .contact-item a:hover {
        text-decoration: underline;
    }

    /* Loading Animation */
    .loading {
        opacity: 0.6;
        pointer-events: none;
    }

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid var(--primary-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }