﻿/* =========================
   AI SECTION
========================= */

.ai-section {
    padding: 40px 0;
    background: #f7f9fd;
}

/* =========================
   DARK CARD
========================= */

.ai-card {
    background: linear-gradient(120deg, #0f1b3d 0%, #121f47 60%, #0c1734 100%);
    border-radius: 28px;
    padding: 38px;
    color: #fff;
    box-shadow: 0 50px 100px rgba(10, 20, 60, 0.25);
    position: relative;
}

/* Header */

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .card-header-row h6 {
        font-size: 15px;
        font-weight: 600;
        margin: 0;
    }

    .card-header-row span {
        font-size: 12px;
        color: #9aa4c7;
    }

.rank-badge {
    background: #5b5ce6;
    padding: 6px 15px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 600;
}

/* Divider */

.divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 25px 0;
}

/* =========================
   CHART AREA
========================= */

.chart-area {
    height: 170px;
    border-radius: 18px;
    background: linear-gradient(135deg, #5a4fdc 0%, #4c46b5 50%, #3b3795 100%);
    margin-bottom: 40px;
    position: relative;
}

    /* subtle highlight overlay */
    .chart-area::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 50%);
        border-radius: 18px;
    }

/* =========================
   METRICS
========================= */

.metrics-row {
    display: flex;
    gap: 28px;
}

.metric-box {
    flex: 1;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    padding: 24px;
    border-radius: 20px;
}

    .metric-box span {
        font-size: 12px;
        color: #aab4e8;
    }

    .metric-box h4 {
        margin: 10px 0 0;
        font-size: 22px;
        font-weight: 600;
    }

/* =========================
   RIGHT SIDE
========================= */

.ai-badge {
    background: #e8ecff;
    color: #5b5ce6;
    padding: 7px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
}

.ai-heading {
    margin-top: 24px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 520px;
}

.ai-description {
    margin-top: 22px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 500px;
}

/* Feature */

.feature-item {
    display: flex;
    gap: 18px;
    margin-top: 32px;
}

.icon-box {
    width: 44px;
    height: 44px;
    background: #f1f3fa;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b5ce6;
    font-size: 16px;
}

.feature-item h6 {
    margin: 0;
    font-weight: 600;
}

.feature-item p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #6b7280;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .ai-section {
        padding: 80px 0;
    }

    .ai-heading {
        font-size: 28px;
    }

    .metrics-row {
        flex-direction: column;
    }
}



/*this is course path section css */

/* =========================
   COURSE PATH SECTION
========================= */

.course-path-section {
    padding: 70px 0;
    background: #f8f9fc;
}

/* TOP AREA */

.course-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 40px;
}

.course-badge {
    display: inline-block;
    background: #ece9ff;
    color: #5b5ce6;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.course-heading h2 {
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    max-width: 760px;
}

    .course-heading h2 span {
        color: #5b5ce6;
    }

.course-heading p {
    margin-top: 18px;
    font-size: 18px;
    color: #667085;
    font-style: italic;
}

/* STATS */

.course-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #98a2b3;
}

/* =========================
   COURSE CARDS
========================= */

.course-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 20px;
    padding: 22px 16px;
    height: 100%;
    transition: all 0.3s ease;
}

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
    }

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
        border-bottom: 3px solid #5b5ce6;
    }

/* ICONS */

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 20px;
}

.purple {
    background: #efecff;
    color: #5b5ce6;
}

.blue {
    background: #eef4ff;
    color: #2563eb;
}

.pink {
    background: #ffecef;
    color: #e11d48;
}

.orange {
    background: #fff4e5;
    color: #d97706;
}

.green {
    background: #e9fff5;
    color: #059669;
}

.cyan {
    background: #ecfeff;
    color: #0891b2;
}

.violet {
    background: #f3e8ff;
    color: #7c3aed;
}

.gray {
    background: #f3f4f6;
    color: #374151;
}

/* CARD TEXT */

.course-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.course-card small {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #5b5ce6;
}

.course-card p {
    color: #7c8595;
    font-size:14px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.course-card a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

    .course-card a i {
        margin-left: 6px;
        font-size: 8px;
    }

/* =========================
   CTA SECTION
========================= 
*/
.course-cta {
    margin-top: 40px;
    background: linear-gradient(90deg, #07112b, #081534);
    border-radius: 40px;
    padding: 50px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .course-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
        background-size: 60px 80px;
    }

    .course-cta h2 {
        color: #fff;
        font-size: 30px;
        font-weight: 700;
        position: relative;
    }

    .course-cta p {
        color: #98a2b3;
        max-width: 600px;
        margin: 20px auto 40px;
        line-height: 1.4;
        position: relative;
    }

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #5b5ce6, #7c4dff);
    color: #fff;
    padding: 12px 30px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(91,92,230,0.35);
    position: relative;
}

 /*=========================
   RESPONSIVE
========================= 
*/
@media (max-width: 992px) {

    .course-top {
        flex-direction: column;
    }

    .course-heading h2 {
        font-size: 38px;
    }

    .course-heading p {
        font-size: 18px;
    }

    .course-stats {
        margin-top: 20px;
    }

    .course-cta h2 {
        font-size: 32px;
    }
}