:root {
    --green:  #3AAA35;
    --blue:   #29ABE2;
    --red:    #e8391a;
    --gold:   #d97706;
    --teal:   #0891b2;
    --purple: #7c3aed;
    --navy:   #1B2A4A;
}

/* HERO */
.vg-hero {
    background: linear-gradient(135deg, #1a0010 0%, #2d001a 45%, #0f0008 100%);
    padding: 68px 20px 54px;
    text-align: center; position: relative; overflow: hidden;
}
.vg-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 12% 60%, rgba(232,57,26,0.18) 0%, transparent 44%),
        radial-gradient(circle at 88% 18%, rgba(217,119,6,0.10)  0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(124,58,237,0.07) 0%, transparent 35%);
    pointer-events: none;
}
.vg-ring1 {
    position: absolute; width: 480px; height: 480px; border-radius: 50%;
    border: 55px solid rgba(232,57,26,0.07);
    top: -190px; right: -130px; pointer-events: none;
}
.vg-ring2 {
    position: absolute; width: 240px; height: 240px; border-radius: 50%;
    border: 30px solid rgba(217,119,6,0.06);
    bottom: -95px; left: -45px; pointer-events: none;
}
.vg-dots {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle, rgba(232,57,26,0.10) 1px, transparent 1px),
        radial-gradient(circle, rgba(217,119,6,0.07) 1px, transparent 1px);
    background-size: 52px 52px, 36px 36px;
    background-position: 0 0, 26px 26px;
    pointer-events: none;
}
.hero-play-bg {
    position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
    font-size: 200px; color: rgba(232,57,26,0.05); pointer-events: none;
}
.vg-hero h1 {
    font-size: clamp(30px, 4.8vw, 58px); font-weight: 900; color: #fff;
    margin: 0 0 14px; line-height: 1.10;
    font-family: 'Nunito','Barlow',sans-serif; position: relative;
}
.vg-hero h1 span { color: #fca5a5; }
.vg-hero > p {
    color: rgba(255,255,255,0.48); font-size: 16px;
    max-width: 560px; margin: 0 auto 34px; line-height: 1.80; position: relative;
}

/* Filter pills */
.filter-wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; position: relative; }
.filter-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 50px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all .25s; font-family: inherit;
}
.filter-btn:hover { background: rgba(232,57,26,0.18); border-color: rgba(232,57,26,0.60); color: #fff; }
.filter-btn.active { color: #fff; border-color: transparent; }
.filter-btn.active[data-filter="all"]            { background: #e8391a; }
.filter-btn.active[data-filter="educational"]    { background: #3AAA35; }
.filter-btn.active[data-filter="interview"]      { background: #29ABE2; }
.filter-btn.active[data-filter="news_media"]     { background: #e8391a; }
.filter-btn.active[data-filter="events_seminars"]{ background: #d97706; color: #1a0010; }
.filter-btn.active[data-filter="testimonial"]    { background: #0891b2; }
.filter-btn.active[data-filter="motivational"]   { background: #7c3aed; }
.f-count { background: rgba(255,255,255,0.20); border-radius: 50px; padding: 1px 9px; font-size: 11px; font-weight: 800; }

/* Stats bar */
.vg-stats { background: #fff; border-bottom: 3px solid #f0f4f8; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.gs-inner { max-width: 900px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; }
.gstat { padding: 18px 22px; text-align: center; flex: 1; min-width: 100px; border-right: 1px solid #f0f4f8; transition: background .2s; }
.gstat:last-child { border-right: none; }
.gstat:hover { background: #fff5f5; }
.gstat-num { font-size: 28px; font-weight: 900; line-height: 1; margin-bottom: 4px; font-family: 'Nunito',sans-serif; transition: transform .2s; }
.gstat:hover .gstat-num { transform: scale(1.10); }
.gstat-lbl { font-size: 11px; color: #9ca3af; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.c-blue   { color: #29ABE2; } .c-green  { color: #3AAA35; }
.c-gold   { color: #d97706; } .c-red    { color: #e8391a; }
.c-white  { color: #1B2A4A; }

/* Section */
.vg-section { background: linear-gradient(180deg, #f7f9fc 0%, #f0f2f8 100%); padding: 44px 20px 64px; }

/* Section heading */
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(17px,2.2vw,24px); font-weight: 900; color: #1a0010; margin: 0; white-space: nowrap; font-family: 'Nunito',sans-serif; }
.sec-head h2 i { color: #e8391a; margin-right: 6px; }
.hl { flex: 1; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #e8391a, transparent); }

/* Gallery heading with icon */
.gallery-title { text-align: center; margin-bottom: 32px; }
.gallery-title h2 { font-size: clamp(20px,2.5vw,30px); font-weight: 900; color: #1a0010; margin: 0 0 12px; font-family: 'Nunito',sans-serif; }
.title-line { display: flex; align-items: center; justify-content: center; gap: 12px; }
.title-line span { height: 3px; width: 60px; border-radius: 2px; }
.title-line span:first-child { background: linear-gradient(90deg, transparent, #e8391a); }
.title-line span:last-child  { background: linear-gradient(90deg, #e8391a, transparent); }
.title-line i { color: #e8391a; font-size: 18px; }

/* FEATURED VIDEO */
.feat-vid-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 6px 24px rgba(232,57,26,0.12);
    border: 2px solid #fee2e2; margin-bottom: 30px; cursor: pointer;
    transition: box-shadow .3s; max-width: 860px; margin-left: auto; margin-right: auto;
}
.feat-vid-card:hover { box-shadow: 0 12px 36px rgba(232,57,26,0.20); }
.feat-vid-thumb { position: relative; overflow: hidden; min-height: 200px; max-height: 220px; background: #1a0010; }
.feat-vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.75; transition: opacity .3s, transform .4s; }
.feat-vid-card:hover .feat-vid-thumb img { opacity: 0.88; transform: scale(1.04); }
.play-btn-big {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(232,57,26,0.88); color: #fff; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(232,57,26,0.50);
    transition: transform .25s, background .25s; z-index: 2;
}
.feat-vid-card:hover .play-btn-big { transform: translate(-50%,-50%) scale(1.12); background: #e8391a; }
.vid-newtab-hint {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.80);
    font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
}
.feat-vid-info { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.feat-cat-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
    padding: 5px 16px; border-radius: 50px; color: #fff;
    width: fit-content; margin-bottom: 16px;
}
.feat-vid-info h2 { font-size: clamp(15px,1.8vw,22px); font-weight: 900; color: #1a0010; margin: 0 0 10px; line-height: 1.28; }
.feat-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.feat-meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #9ca3af; font-weight: 600; }
.feat-meta i { color: #e8391a; }
.btn-watch {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 50px;
    background: linear-gradient(135deg, #e8391a, #c0271a);
    color: #fff; font-size: 14px; font-weight: 800;
    border: none; cursor: pointer; font-family: inherit;
    box-shadow: 0 4px 16px rgba(232,57,26,0.38); transition: all .25s; width: fit-content;
}
.btn-watch:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(232,57,26,0.52); }

/* Category divider — sits inside video-grid via grid-column */
.cat-divider {
    display: flex; align-items: center; gap: 14px;
    margin: 32px 0 18px; padding: 13px 20px;
    background: #fff; border-radius: 14px;
    border-left: 5px solid var(--red);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    grid-column: 1 / -1;
}
.cd-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; flex-shrink: 0; }
.cat-divider h3 { font-size: 17px; font-weight: 800; margin: 0; }
.cd-line { flex: 1; height: 2px; border-radius: 2px; }
.cd-count { color: #fff; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 50px; flex-shrink: 0; }

/* ── RICH CARD EFFECTS ── */

/* Shimmer sweep on hover */
.vid-card::after {
    content: '';
    position: absolute; top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
    pointer-events: none; z-index: 3;
}
.vid-card:hover::after { left: 125%; }

/* Pulse ring on play button */
.play-btn { position: relative; }
.play-btn::before {
    content: '';
    position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(232,57,26,0.50);
    opacity: 0; transform: scale(0.8);
    transition: opacity .25s, transform .25s;
}
.vid-card:hover .play-btn::before { opacity: 1; transform: scale(1); }

/* Category color left border per card */
.vid-card[data-cat="educational"]     { border-left: 3px solid #3AAA35; }
.vid-card[data-cat="interview"]       { border-left: 3px solid #29ABE2; }
.vid-card[data-cat="news_media"]      { border-left: 3px solid #e8391a; }
.vid-card[data-cat="events_seminars"] { border-left: 3px solid #d97706; }
.vid-card[data-cat="testimonial"]     { border-left: 3px solid #0891b2; }
.vid-card[data-cat="motivational"]    { border-left: 3px solid #7c3aed; }

/* Image effect on hover — soft zoom + warm glow */
.vid-thumb img { filter: none; }
.vid-card:hover .vid-thumb img { filter: saturate(1.18) contrast(1.06); }

/* Gradient shine overlay — appears on hover, no dark bg */
.vid-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.12) 0%,
        transparent 50%,
        rgba(0,0,0,0.18) 100%
    );
    opacity: 0; transition: opacity .30s;
    pointer-events: none; z-index: 1;
}
.vid-card:hover .vid-thumb::after { opacity: 1; }

/* Title color shift on hover */
.vid-body h3 { transition: color .25s; }
.vid-card:hover .vid-body h3 { color: #e8391a; }

/* Floating date chip on thumbnail */
.vid-date-chip {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(0,0,0,0.65); color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 3px 9px; border-radius: 6px; z-index: 2;
    display: flex; align-items: center; gap: 4px;
}

/* VIDEO GRID */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* VIDEO CARD */
.vid-card {
    background: #fff; border-radius: 18px;
    border: 2px solid #fce7e7; overflow: hidden;
    position: relative; cursor: pointer;
    transition: transform .30s, box-shadow .30s, border-color .30s;
    display: flex; flex-direction: column;
    animation: vcFadeUp .45s ease both;
}
@keyframes vcFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.vid-card:nth-child(2){animation-delay:.05s}.vid-card:nth-child(3){animation-delay:.10s}
.vid-card:nth-child(4){animation-delay:.15s}.vid-card:nth-child(5){animation-delay:.20s}
.vid-card:nth-child(6){animation-delay:.25s}.vid-card:nth-child(n+7){animation-delay:.30s}
.vid-card:hover { transform: translateY(-6px); box-shadow: 0 14px 38px rgba(232,57,26,0.14); border-color: #fca5a5; }
.vid-card.hidden { display: none; }
/* top stripe */
.vid-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    border-radius: 18px 18px 0 0; background: #e8391a;
}

/* Thumb */
.vid-thumb { position: relative; overflow: hidden; height: 180px; background: #f3f4f6; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .40s ease, filter .30s ease; display: block; }
.vid-card:hover .vid-thumb img { transform: scale(1.06); }
.vid-cat-badge {
    position: absolute; top: 10px; left: 10px;
    font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 50px;
    color: #fff; text-transform: uppercase; letter-spacing: .5px; z-index: 2;
}
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    opacity: 0; transition: opacity .25s, transform .25s; z-index: 2;
    box-shadow: 0 3px 12px rgba(0,0,0,0.22);
}
.vid-card:hover .play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1.12); }
.vid-duration {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0,0,0,0.72); color: #fff;
    font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; z-index: 2;
}
.vid-new {
    position: absolute; top: 10px; right: 10px;
    background: #e8391a; color: #fff;
    font-size: 9px; font-weight: 900; letter-spacing: 1px;
    padding: 3px 8px; border-radius: 6px; z-index: 2;
}
.vid-newtab-hint {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.75);
    font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 5px;
    opacity: 0; transition: opacity .25s; z-index: 2;
}
.vid-card:hover .vid-newtab-hint { opacity: 1; }

/* Card body */
.vid-body { padding: 16px 18px 14px; flex: 1; }
.vid-cat-label {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 10px; font-weight: 800; color: #fff;
    padding: 3px 10px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px;
}
.vid-body h3 { font-size: 14px; font-weight: 800; color: #1a0010; margin: 0 0 10px; line-height: 1.40; }
.vid-meta { display: flex; justify-content: space-between; align-items: center; }
.vid-meta-left { display: flex; gap: 12px; }
.vid-date, .vid-views { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #9ca3af; font-weight: 600; }
.vid-date i, .vid-views i { font-size: 11px; }

/* Play button on card */
.btn-play-sm {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 50px;
    background: transparent;
    border: 1.5px solid #e8391a; color: #e8391a;
    font-size: 12px; font-weight: 800;
    cursor: pointer; font-family: inherit; transition: background .2s, color .2s;
}
.btn-play-sm:hover { background: #e8391a; color: #fff; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; display: none; background: #fff; border-radius: 18px; border: 2px dashed #fca5a5; margin-top: 10px; }
.empty-state i { font-size: 3.5rem; color: #fca5a5; display: block; margin-bottom: 14px; }
.empty-state p  { color: #9ca3af; font-size: 16px; margin: 0; font-weight: 600; }

/* Load more */
.lm-wrap { text-align: center; margin-top: 40px; }
.btn-load-more {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; border-radius: 50px;
    background: transparent; border: 2px solid #e8391a; color: #e8391a;
    font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit; transition: all .25s;
}
.btn-load-more:hover { background: #e8391a; color: #fff; }

/* Responsive */
@media(max-width:1024px) { .video-grid{grid-template-columns:repeat(3,1fr);} }
@media(max-width:900px)  { .video-grid{grid-template-columns:repeat(2,1fr);} .feat-vid-card{grid-template-columns:1fr;} .feat-vid-thumb{min-height:180px;} }
@media(max-width:600px)  { .video-grid{grid-template-columns:1fr 1fr;gap:12px;} .vid-thumb{height:140px;} }
@media(max-width:420px)  { .video-grid{grid-template-columns:1fr;} }