/* =====================================================
   AI Courses Featured Section — ai-courses.css
   Used in: Views/Home/Index.cshtml
   ===================================================== */

/* ---------- Section wrapper ---------- */
.ai-section {
    margin-bottom: 25px;
}

.ai-section-wrapper {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 10px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
}

/* ---------- Decorative background orbs ---------- */
.ai-bg-orb-1 {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(106,27,154,0.3), transparent);
    border-radius: 50%;
}

.ai-bg-orb-2 {
    position: absolute;
    bottom: -60px;
    left: -20px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0,150,136,0.2), transparent);
    border-radius: 50%;
}

/* ---------- Inner content layer ---------- */
.ai-section-content {
    position: relative;
    z-index: 1;
}

/* ---------- Section header ---------- */
.ai-section-header {
    text-align: center;
    margin-bottom: 25px;
}

.ai-badge {
    background: linear-gradient(135deg, #ff9800, #f44336);
    color: white;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.ai-title {
    color: white;
    font-size: 26px;
    margin: 0 0 8px;
    font-weight: 700;
}

.ai-subtitle {
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-size: 15px;
}

/* ---------- Card column ---------- */
.ai-col {
    margin-bottom: 20px;
}

/* ---------- Base card — shared by all four ---------- */
.ai-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    height: 380px;          /* fixed equal height for all cards */
    min-height: 280px;
    width: 100%;            /* fills its Bootstrap column */
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* ---------- Card top colour bar ---------- */
.ai-card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

/* ---------- Card icon ---------- */
.ai-card-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

/* ---------- Card heading ---------- */
.ai-card-title {
    color: white;
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

/* ---------- Card description ---------- */
.ai-card-desc {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.5;
    flex: 1;                /* pushes meta + button to bottom */
}

/* ---------- Card meta row (hours + tag) ---------- */
.ai-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ai-card-hours {
    font-size: 12px;
}

.ai-card-tag {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
}

/* ---------- View Syllabus button ---------- */
.ai-card-btn {
    display: block;
    color: white;
    text-align: center;
    padding: 9px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.ai-card-btn:hover,
.ai-card-btn:focus {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

/* ======================================================
   Card 1 — Generative AI (purple theme)
   ====================================================== */
.ai-card--purple {
    border: 1px solid rgba(106,27,154,0.5);
}
.ai-card--purple:hover {
    transform: translateY(-4px);
    border-color: rgba(106,27,154,0.9);
}
.ai-card-top-bar--purple {
    background: linear-gradient(90deg, #6a1b9a, #e91e63);
}
.ai-card-hours--purple {
    color: #ce93d8;
}
.ai-card-tag--purple {
    background: rgba(106,27,154,0.3);
    color: #ce93d8;
}
.ai-card-btn--purple {
    background: linear-gradient(135deg, #6a1b9a, #8e24aa);
}

/* ======================================================
   Card 2 — Agentic AI (teal theme)
   ====================================================== */
.ai-card--teal {
    border: 1px solid rgba(0,77,64,0.5);
}
.ai-card--teal:hover {
    transform: translateY(-4px);
    border-color: rgba(0,137,123,0.9);
}
.ai-card-top-bar--teal {
    background: linear-gradient(90deg, #004d40, #00bcd4);
}
.ai-card-hours--teal {
    color: #80cbc4;
}
.ai-card-tag--teal {
    background: rgba(0,77,64,0.4);
    color: #80cbc4;
}
.ai-card-btn--teal {
    background: linear-gradient(135deg, #004d40, #00897b);
}

/* ======================================================
   Card 3 — .NET with AI (blue theme)
   ====================================================== */
.ai-card--blue {
    border: 1px solid rgba(13,71,161,0.5);
}
.ai-card--blue:hover {
    transform: translateY(-4px);
    border-color: rgba(25,118,210,0.9);
}
.ai-card-top-bar--blue {
    background: linear-gradient(90deg, #0d47a1, #512da8);
}
.ai-card-hours--blue {
    color: #90caf9;
}
.ai-card-tag--blue {
    background: rgba(13,71,161,0.4);
    color: #90caf9;
}
.ai-card-btn--blue {
    background: linear-gradient(135deg, #0d47a1, #512da8);
}

/* ======================================================
   Card 4 — High Performance + AI (red theme)
   ====================================================== */
.ai-card--red {
    border: 1px solid rgba(183,28,28,0.5);
}
.ai-card--red:hover {
    transform: translateY(-4px);
    border-color: rgba(229,57,53,0.9);
}
.ai-card-top-bar--red {
    background: linear-gradient(90deg, #b71c1c, #ff9800);
}
.ai-card-hours--red {
    color: #ef9a9a;
}
.ai-card-tag--red {
    background: rgba(183,28,28,0.4);
    color: #ef9a9a;
}
.ai-card-btn--red {
    background: linear-gradient(135deg, #b71c1c, #880e4f);
}

/* ---------- Bottom CTA row ---------- */
.ai-cta-row {
    text-align: center;
    margin-top: 5px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ai-cta-text {
    color: rgba(255,255,255,0.7);
    margin: 0 0 12px;
    font-size: 14px;
}

.ai-cta-btn {
    display: inline-block;
    color: white;
    padding: 11px 32px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
}

.ai-cta-btn:hover,
.ai-cta-btn:focus {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.ai-cta-btn--orange {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    margin-right: 10px;
}

.ai-cta-btn--whatsapp {
    background: #25D366;
}
