    :root {
        --primary: #1f2937;
        --primary-light: #374151;
        --accent: #f59e0b;
        --secondary: #06b6d4;
        --success: #10b981;
        --danger: #ef4444;
        --bg-light: #f9fafb;
        --bg-lighter: #f3f4f6;
        --text-dark: #111827;
        --text-light: #6b7280;
        --border-color: #e5e7eb;
    }

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

    html, body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: var(--text-dark);
        line-height: 1.6;
        background: white;
    }

    /* Hero Section */
    .course-hero {
        background: linear-gradient(135deg, #012f62 0%, #0a4d8c 100%);
        padding: 60px 20px;
        color: white;
        position: relative;
        overflow: hidden;
        margin-bottom: 60px;
    }

    .course-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: rgba(245, 158, 11, 0.1);
        border-radius: 50%;
    }

    .course-hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: rgba(6, 182, 212, 0.08);
        border-radius: 50%;
    }

    .course-breadcrumb {
        margin: 0 0 20px 0;
    }

    .course-breadcrumb .breadcrumb {
        background: transparent;
        margin-bottom: 0;
        padding: 0;
    }

    .course-breadcrumb .breadcrumb-item,
    .course-breadcrumb .breadcrumb-item a {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .course-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        color: var(--border-color);
    }

    .hero-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        font-weight: 900;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-meta {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .hero-meta-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
    }

    .hero-category {
        display: inline-block;
        background: var(--accent);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .hero-description {
        font-size: 1.05rem;
        opacity: 0.95;
        line-height: 1.8;
    }

    .course-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    .course-image .course-hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Container */
    .course-detail-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        margin-bottom: 80px;
    }

    .course-grid {
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: 40px;
        align-items: start;
    }

    /* Main Content */
    .course-main {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .section {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    }
    /* Defer rendering for below-the-fold content on mobile/slow devices */
    .course-main .section:nth-of-type(n+2) {
        content-visibility: auto;
        contain-intrinsic-size: 1px 640px;
    }
    .course-description-body { line-height: 1.7; }
    .course-description-body p { margin-bottom: 1rem; }
    .course-description-body ul,
    .course-description-body ol { margin-bottom: 1rem; padding-left: 1.5rem; }
    .course-description-body li { margin-bottom: 0.4rem; }
    .course-description-body h2 { font-size: 1.35rem; margin: 1.25rem 0 0.5rem; }
    .course-description-body h3 { font-size: 1.15rem; margin: 1rem 0 0.5rem; }
    .course-description-body a { color: #1e3a5f; text-decoration: underline; }
    .course-description-body img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .faq-accordion { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
    .faq-accordion-item { border-bottom: 1px solid #e5e7eb; }
    .faq-accordion-item:last-child { border-bottom: none; }
    .faq-accordion-q {
        width: 100%;
        padding: 16px 20px;
        text-align: left;
        background: #f9fafb;
        border: none;
        font-weight: 600;
        font-size: 1rem;
        color: #1e293b;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        transition: background 0.2s;
    }
    .faq-accordion-q:hover { background: #f1f5f9; }
    .faq-accordion-q[aria-expanded="true"] { background: #fff; }
    .faq-accordion-icon { transition: transform 0.2s; flex-shrink: 0; }
    .faq-accordion-q[aria-expanded="true"] .faq-accordion-icon { transform: rotate(180deg); }
    .faq-accordion-a { background: #fff; }
    .faq-accordion-body { padding: 16px 20px; line-height: 1.7; }
    .faq-accordion-body p { margin-bottom: 0.5rem; }
    .faq-accordion-body p:last-child { margin-bottom: 0; }

    .section h2 {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 25px;
        color: var(--text-dark);
        padding-bottom: 15px;
        border-bottom: 3px solid var(--accent);
    }

    .section h3 {
        font-size: 1.2rem;
        font-weight: 700;
        margin: 1.5rem 0 1rem;
        color: var(--text-dark);
    }

    .section p {
        color: #0f0f0f;
        line-height: 1.8;
        margin-bottom: 1rem;
    }

    .section ul {
        list-style: none;
        padding: 0;
    }

    .section li {
        padding: 12px 0 12px 30px;
        color: #0f0f0f;
        line-height: 1.7;
        position: relative;
        border-bottom: 1px solid var(--border-color);
    }

    .section li:last-child {
        border-bottom: none;
    }

    .section li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--success);
        font-weight: 900;
        font-size: 1.2rem;
    }

    /* Instructor Card */
    .instructor-card {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 25px;
        background: var(--bg-light);
        border-radius: 12px;
        border-left: 5px solid var(--accent);
    }

    .instructor-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--secondary));
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    .instructor-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .instructor-info h3 {
        margin: 0 0 4px;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-dark);
    }

    .instructor-info p {
        margin: 0;
        color: #0f0f0f;
        font-size: 0.9rem;
    }

    /* Related Courses */
    .related-courses-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 25px;
        margin-top: 25px;
    }
    @media (max-width: 1200px) {
        .related-courses-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 992px) {
        .related-courses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 576px) {
        .related-courses-grid { grid-template-columns: 1fr; }
    }

    .related-course-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .related-course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    .related-course-image {
        width: 100%;
       
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        overflow: hidden;
    }

    .related-course-image .related-course-img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* avoid cropping */
        background: #ffffff;
    }

    .related-course-body {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .related-course-title {
        font-size: 0.9rem;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--text-dark);
        line-height: 1.3;
        flex-grow: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .related-course-price {
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--accent);
        margin-bottom: 12px;
    }

    .related-course-price.locked {
        filter: blur(5px);
        user-select: none;
    }

    .related-unlock-btn {
        margin-bottom: 0;
    }

    .related-course-actions {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .related-course-actions .related-course-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    /* Course page extra sections */
    .course-page-section {
        max-width: 1400px;
        margin: 0 auto;
        padding: 50px 20px;
    }
    .course-page-section.dark { background: var(--bg-light); }
    .course-page-section h2 {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 25px;
        color: var(--text-dark);
        padding-bottom: 15px;
        border-bottom: 3px solid var(--accent);
    }

    /* UPCOMING BATCHES - image style: white card, left panel (instructor), right (includes + countdown) */
    .upcoming-batches-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        overflow: hidden;
        display: grid;
        grid-template-columns: 320px 1fr;
        min-height: 340px;
    }
    @media (max-width: 900px) { .upcoming-batches-card { grid-template-columns: 1fr; } }
    .upcoming-batches-left {
        background: linear-gradient(180deg, #fbbf24 0%, #fbbf24 50%, #1e3a5f 50%, #1e3a5f 100%);
        position: relative;
        display: flex;
        align-items: flex-end;
        padding: 20px;
    }
    .upcoming-batches-left .instructor-banner {
        background: #1e3a5f;
        color: white;
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
        text-align: center;
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .upcoming-batches-left .instructor-placeholder {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 140px;
        height: 140px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: white;
        font-weight: 800;
    }
    .upcoming-batches-right { padding: 32px; }
    .this-course-includes { margin-bottom: 24px; }
    .this-course-includes h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; color: var(--text-dark); }
    .course-includes-list { list-style: none; padding: 0; margin: 0; }
    .course-includes-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 10px;
        font-size: 0.9rem;
        color: var(--text-dark);
    }
    .course-includes-list li .ico { width: 22px; height: 22px; background: #1e3a5f; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: white; }
    .batch-countdown-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
    .batch-countdown-label { font-size: 0.9rem; color: #0f0f0f; display: flex; align-items: center; gap: 8px; }
    .countdown-boxes { display: flex; gap: 10px; }
    .countdown-box { width: 56px; height: 56px; background: #1e3a5f; color: white; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
    .countdown-box span { font-size: 0.65rem; font-weight: 600; opacity: 0.9; }
    .batch-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
    .btn-view-batch { background: #1e3a5f; color: white; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-size: 0.9rem; }
    .btn-view-batch:hover { background: #152942; color: white; }
    .hurry-seats { color: #dc2626; font-size: 0.9rem; font-weight: 700; }

    /* Training Certificate - image style: dark blue bg, two columns */
    .certificate-section-dark {
        background: linear-gradient(135deg, #1e3a5f 0%, #152942 100%);
        color: white;
        padding: 60px 20px;
        margin: 0;
        max-width: 100%;
    }
    .certificate-section-dark .cert-wrap { max-width: 1400px; margin: 0 auto; }
    .certificate-section-dark .section-title-cert { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 40px; color: white; border: none; padding: 0; }
    .cert-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
    @media (max-width: 900px) { .cert-two-col { grid-template-columns: 1fr; } }
    .cert-left h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; color: white; }
    .cert-left p { color: rgba(255,255,255,0.95); line-height: 1.8; margin-bottom: 16px; }
    .btn-get-cert { display: inline-block; background: white; color: #1e3a5f; padding: 14px 32px; border-radius: 8px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 10px; transition: all 0.3s; }
    .btn-get-cert:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); color: #1e3a5f; }
    .cert-mockup {
        background: white;
        color: #1e3a5f;
        border: 3px dashed #06b6d4;
        border-radius: 12px;
        padding: 28px;
        text-align: center;
        position: relative;
    }
    .cert-mockup .cert-logo { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
    .cert-mockup .cert-title { font-size: 1.1rem; font-weight: 800; margin: 12px 0 8px; }
    .cert-mockup .cert-name { font-size: 1.4rem; font-weight: 800; margin: 8px 0 12px; }
    .cert-mockup .cert-for { font-size: 0.85rem; margin-bottom: 20px; }
    .cert-mockup .cert-footer { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5e7eb; font-size: 0.75rem; }

    /* Testimonials - same as home (3-col grid, card style) */
    .testimonials-grid-cp {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-top: 24px;
    }
    @media (max-width: 992px) { .testimonials-grid-cp { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 576px) { .testimonials-grid-cp { grid-template-columns: 1fr; } }
    .testimonial-card-cp {
        background: white;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .testimonial-card-cp:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
    .testimonial-stars-cp { color: #fbbf24; letter-spacing: 2px; margin-bottom: 12px; }
    .testimonial-text-cp { font-size: 0.95rem; color: #0f0f0f; line-height: 1.7; margin-bottom: 16px; flex-grow: 1; }
    .testimonial-author-cp { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border-color); }
    .author-avatar-cp { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.85rem; }
    .author-info-cp h6 { margin: 0; font-size: 0.95rem !important; font-weight: 700; }
    .author-info-cp p { margin: 2px 0 0; font-size: 0.8rem; color: #0f0f0f; }

    /* Bottom enquiry form */
    .course-bottom-form { max-width: 800px; margin: 0 auto; background: white; padding: 40px; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
    .course-bottom-form h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }

    .batch-list { display: grid; gap: 15px; }
    .batch-card {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .placements-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .placement-card-cp {
        background: white;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        text-align: center;
    }
    .placement-card-cp .avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--secondary)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 12px; }
    .reviews-list { display: flex; flex-direction: column; gap: 20px; }
    .review-card {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    .review-card .stars { color: #fbbf24; letter-spacing: 2px; }
    .review-form-box { background: var(--bg-light); padding: 25px; border-radius: 12px; margin-bottom: 25px; }
    .faq-item-cp { background: white; border-radius: 12px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
    .faq-q-cp { padding: 18px 20px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
    .faq-a-cp { padding: 0 20px 18px; color: #0f0f0f; line-height: 1.7; display: none; }
    .faq-a-cp.show { display: block; }
    .connect-cta { text-align: center; padding: 40px 20px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; border-radius: 12px; }
    .connect-cta a { color: white; text-decoration: underline; font-weight: 700; }

    .related-course-btn {
        background: linear-gradient(135deg, var(--accent), var(--secondary));
        color: white;
        text-decoration: none;
        padding: 10px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 0.85rem;
        text-align: center;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .related-course-btn:hover {
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }

    /* Sidebar */
    .course-sidebar {
        position: sticky;
        top: 80px;
        height: fit-content;
    }

    .price-card {
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        margin-bottom: 25px;
        border-top: 5px solid var(--accent);
    }

    .price-display {
        text-align: center;
        margin-bottom: 20px;
    }

    /* Put sale/regular/offer in one row */
    .price-row {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .price-row .original-price,
    .price-row .current-price {
        margin-bottom: 0;
    }
    .price-row .current-price {
        font-size: 2.15rem;
        line-height: 1.05;
    }

    .price-display.locked .original-price,
    .price-display.locked .current-price,
    .price-display.locked .discount-badge {
        filter: blur(6px);
        user-select: none;
        pointer-events: none;
    }

    .price-unlock-note {
        font-size: 0.85rem;
        color: #475569;
        margin-top: 6px;
    }

    .original-price {
        font-size: 0.9rem;
        color: #0f0f0f;
        text-decoration: line-through;
        margin-bottom: 8px;
    }

    .current-price {
        font-size: 2.5rem;
        font-weight: 900;
        background: linear-gradient(135deg, var(--accent), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 8px;
    }

    .discount-badge {
        background: var(--danger);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        display: inline-block;
    }

    /* Price reveal modal polish */
    .price-reveal-modal .modal-dialog {
        max-width: 520px;
    }
    .price-reveal-modal .modal-backdrop.show {
        opacity: 0.6;
    }
    .price-reveal-modal .modal-content {
        border: 0;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    }
    .price-reveal-modal .modal-header {
        border-bottom: 0;
        padding: 18px 20px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    }
    .price-reveal-modal__kicker {
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        opacity: 0.9;
        margin-bottom: 6px;
    }
    .price-reveal-modal__title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        letter-spacing: -0.01em;
        margin-bottom: 0;
    }
    .price-reveal-modal__title i {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.16);
    }
    .price-reveal-modal .modal-body {
        padding: 18px 20px 6px;
    }
    .price-reveal-modal__subtitle {
        margin: 0 0 14px;
        color: #4b5563;
        font-size: 0.95rem;
        line-height: 1.45;
    }
    .price-reveal-modal__trust {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin: 10px 0 14px;
        padding: 10px 12px;
        border-radius: 14px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        color: #334155;
        font-size: 0.86rem;
    }
    .price-reveal-modal__trust span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        line-height: 1.2;
        font-size: 0.86rem;
    }
    .price-reveal-modal__trust i {
        color: var(--success);
    }
    .price-reveal-modal .form-label {
        font-size: 0.85rem;
        color: #334155;
    }
    .price-reveal-modal .form-control {
        border-radius: 12px;
        padding: 0.65rem 0.85rem;
        border-color: #e5e7eb;
        box-shadow: none !important;
    }
    .price-reveal-modal .input-group-text {
        border-radius: 12px;
        border-color: #e5e7eb;
        background: #f8fafc;
        color: #334155;
        padding: 0 0.75rem;
    }
    .price-reveal-modal .input-group .form-control {
        border-left: 0;
    }
    .price-reveal-modal .input-group:focus-within .input-group-text {
        border-color: rgba(245, 158, 11, 0.75);
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.10);
    }
    .price-reveal-modal__fineprint {
        margin-top: 10px;
        font-size: 0.8rem;
        color: #64748b;
        line-height: 1.4;
    }
    .price-reveal-modal .form-control:focus {
        border-color: rgba(245, 158, 11, 0.75);
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15) !important;
    }
    .price-reveal-modal .modal-footer {
        border-top: 0;
        padding: 12px 20px 18px;
        gap: 10px;
    }
    .price-reveal-modal__btn {
        border-radius: 14px;
        padding: 0.7rem 1rem;
        font-weight: 800;
        letter-spacing: 0.01em;
    }
    .price-reveal-modal__btn--ghost {
        background: #f1f5f9;
        border-color: #e2e8f0;
        color: #0f172a;
    }
    .price-reveal-modal__btn--primary {
        background: linear-gradient(135deg, var(--accent), var(--secondary));
        border: 0;
    }
    .price-reveal-modal__btn--primary:hover {
        filter: brightness(0.97);
    }

    .price-card.free .current-price {
        color: var(--success);
        background: none;
        -webkit-text-fill-color: unset;
    }

    .info-list {
        list-style: none;
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: 1px solid var(--border-color);
    }

    .info-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: var(--text-dark);
    }

    .info-list li:last-child {
        margin-bottom: 0;
    }

    .info-icon {
        font-size: 1.3rem;
    }

    .enroll-btn {
        width: 100%;
        padding: 14px;
        background: linear-gradient(135deg, var(--accent), var(--secondary));
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .enroll-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    }

    .enrolled-badge {
        background: var(--success);
        color: white;
        padding: 14px;
        border-radius: 8px;
        text-align: center;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .dashboard-btn {
        width: 100%;
        padding: 14px;
        background: var(--success);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none;
        display: block;
        text-align: center;
    }

    .dashboard-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .hero-content {
            grid-template-columns: 1fr;
        }

        .course-grid {
            grid-template-columns: 1fr;
        }

        .course-sidebar {
            position: static;
            top: auto;
        }
    }

    @media (max-width: 768px) {
        .course-hero {
            padding: 40px 15px;
            margin-bottom: 40px;
        }

        .hero-text h1 {
            font-size: 1.8rem;
        }

        .hero-description {
            font-size: 0.95rem;
        }

        .section {
            padding: 25px;
        }

        .section h2 {
            font-size: 1.4rem;
        }

      

        .related-courses-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 480px) {
        .course-detail-container {
            padding: 0 15px;
            margin-bottom: 60px;
        }

        .course-hero {
            padding: 30px 15px;
        }

        .hero-text h1 {
            font-size: 1.4rem;
            margin-bottom: 12px;
        }

        .hero-meta {
            gap: 12px;
            font-size: 0.85rem;
        }

        .section {
            padding: 20px;
            margin-bottom: 20px;
        }

        .section h2 {
            font-size: 1.2rem;
            margin-bottom: 15px;
        }

        .section h3 {
            font-size: 1.05rem;
            margin: 1rem 0 0.8rem;
        }

        .instructor-card {
            padding: 15px;
            gap: 15px;
        }

        .instructor-avatar {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
        }

        .price-card {
            padding: 20px;
        }

        .current-price {
            font-size: 2rem;
        }

        .info-list li {
            font-size: 0.9rem;
        }

        .related-courses-grid {
            grid-template-columns: 1fr;
        }

        .enroll-btn,
        .dashboard-btn {
            padding: 12px;
            font-size: 0.95rem;
        }
    }
