/* =========================================================================
   VEP Tech Academy — video-cards.css
   New video card section + completely redesigned course cards.
   Loaded after style.css so these rules win where selectors match.
   ========================================================================= */

/* =========================================================================
   FREE YOUTUBE VIDEO CARDS
   ========================================================================= */
.vids-section { padding: 104px 0; background: #FAFBFF; }
.vids-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.vids-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #E7EBF3;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,.06);
    display: flex;
    flex-direction: column;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s;
}
.vids-card:hover { transform: translateY(-7px); box-shadow: 0 22px 52px rgba(15,23,42,.13); }

/* Coloured top area */
.vids-card-top { padding: 20px 20px 0; }

.vids-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }

.vids-badge {
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .75rem;
    font-weight: 700;
    color: #0F172A;
    box-shadow: 0 2px 10px rgba(15,23,42,.10);
    letter-spacing: .01em;
}

.vids-icon-wrap {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.vids-icon-wrap svg { width: 20px; height: 20px; stroke: #fff; }

/* YouTube thumbnail */
.vids-thumb {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    margin-bottom: 0;
}
.vids-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.vids-card:hover .vids-thumb img { transform: scale(1.04); }

.vids-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.28);
    transition: background .25s;
}
.vids-thumb:hover .vids-play-overlay { background: rgba(0,0,0,.44); }

.vids-play-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.vids-thumb:hover .vids-play-btn { transform: scale(1.12); }

/* Card body */
.vids-card-body { padding: 20px 22px 12px; flex: 1; }

.vids-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.06rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 10px;
    letter-spacing: -.012em;
}

.vids-desc { color: #475569; font-size: .86rem; line-height: 1.65; margin-bottom: 16px; }

.vids-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vids-chip {
    font-size: .74rem;
    font-weight: 600;
    color: #1E293B;
    padding: 5px 11px;
    border-radius: 8px;
    letter-spacing: .01em;
}

/* Card footer */
.vids-card-footer { padding: 16px 22px 22px; border-top: 1px solid #E7EBF3; margin-top: 16px; }
.vids-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: 1.5px solid #0F172A;
    background: transparent;
    color: #0F172A;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .94rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.vids-btn:hover { background: #0F172A; color: #fff; transform: none; }

@media (max-width: 980px) { .vids-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vids-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .vids-section { padding: 72px 0; } }


/* =========================================================================
   REDESIGNED COURSE CARDS (nc- prefix = new card)
   Replaces the old .course-card / .course-media / .course-body styles.
   ========================================================================= */

.courses-section { padding: 104px 0; background: #F7F9FC; }

.nc-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #E7EBF3;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,.06);
    display: flex;
    flex-direction: column;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s;
}
.nc-card:hover { transform: translateY(-7px); box-shadow: 0 24px 54px rgba(15,23,42,.13); }

/* Coloured top */
.nc-top {
    background: color-mix(in srgb, var(--nc-accent) 12%, #fff);
    padding: 22px 22px 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--nc-accent) 18%, #fff);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .nc-top { background: #EFF5FF; border-bottom-color: #DBEAFE; }
}

.nc-top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }

.nc-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.nc-badge-level {
    background: #fff;
    border-radius: 999px;
    padding: 5px 13px;
    font-size: .73rem;
    font-weight: 700;
    color: #0F172A;
    box-shadow: 0 2px 8px rgba(15,23,42,.10);
}

.nc-badge-live {
    background: #FEE2E2;
    color: #DC2626;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: .72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.nc-live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #DC2626;
    animation: pulseDot 1.4s infinite;
}

.nc-icon-wrap {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(15,23,42,.10);
    flex: 0 0 auto;
}
.nc-icon-wrap svg { width: 24px; height: 24px; stroke: var(--nc-accent, #2563EB); }

.nc-top-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.nc-chip {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: .74rem;
    font-weight: 600;
    color: #334155;
    backdrop-filter: blur(4px);
}
.nc-chip svg { width: 12px; height: 12px; stroke: #64748B; }

/* Card body */
.nc-body { padding: 22px 22px 16px; flex: 1; }

.nc-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.25;
    letter-spacing: -.018em;
    margin-bottom: 6px;
}

.nc-tagline { color: #64748B; font-size: .88rem; margin-bottom: 14px; line-height: 1.55; }

.nc-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: .85rem; }
.nc-stars { color: #F59E0B; letter-spacing: 1px; font-size: .82rem; }
.nc-rating strong { color: #0F172A; }
.nc-rev-count { color: #94A3B8; }

.nc-highlights { list-style: none; margin-bottom: 14px; }
.nc-highlights li {
    position: relative;
    padding-left: 22px;
    font-size: .86rem;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.5;
}
.nc-highlights li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--nc-accent, #2563EB);
    color: #fff;
    font-size: .6rem;
    font-weight: 900;
    display: grid; place-items: center;
}

.nc-seats {
    display: flex; align-items: center; gap: 6px;
    font-size: .8rem; font-weight: 700; color: #DC2626;
    margin-bottom: 14px;
}
.nc-seats svg { stroke: #DC2626; flex: 0 0 auto; }

.nc-price-row {
    display: flex; align-items: baseline; gap: 10px;
    padding: 14px 0;
    border-top: 1px dashed #E2E8F0;
    margin-bottom: 12px;
}
.nc-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: #0F172A;
    letter-spacing: -.02em;
}
.nc-emi { font-size: .78rem; font-weight: 700; color: #16A34A; margin-left: auto; }

.nc-trainer-row { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: #64748B; }
.nc-trainer-av {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff;
    display: grid; place-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .68rem;
    flex: 0 0 auto;
}
.nc-trainer-row strong { color: #0F172A; font-weight: 600; }

/* Card footer */
.nc-footer {
    padding: 16px 22px 22px;
    border-top: 1px solid #E7EBF3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nc-btn-primary {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 14px;
    border-radius: 12px; border: 0;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .94rem; font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37,99,235,.28);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.nc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,99,235,.36); }

.nc-btn-secondary {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 13px;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    background: transparent;
    color: #0F172A;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .93rem; font-weight: 700;
    cursor: pointer; text-decoration: none;
    transition: border-color .2s, background .2s, transform .2s;
}
.nc-btn-secondary:hover { border-color: #2563EB; background: #EFF6FF; transform: translateY(-1px); }

.nc-syllabus-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-size: .81rem; font-weight: 700; color: #2563EB;
    text-decoration: none;
    transition: color .2s;
}
.nc-syllabus-link svg { width: 13px; height: 13px; stroke: #2563EB; }
.nc-syllabus-link:hover { color: #1D4ED8; }

/* Responsive */
@media (max-width: 980px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }