/* =================================================================
   DHS HOME — Home page section styles
   Brand: Navy #0d2b52 · Crimson #c42728
   Sections: Hero, Maps, CTA, Vacancies, Events, Training,
             Testimonials, Video (vs2), Technology
   ================================================================= */
/* =================================================================
   HERO BANNER
   ================================================================= */

.hero-shell {
    position: relative;
    overflow: hidden;
    background: #0d1a2d;
    margin-top: -90px; /* pull hero behind sticky nav so nav overlays it */
}

.hero-slide-media {
    width: 100%;
    height: 92vh;
    min-height: 560px;
    max-height: 820px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Nav arrows */
.hero-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(13,27,50,0.55);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(6px);
}
.hero-ctrl:hover {
    background: rgba(196,39,40,0.72);
    border-color: rgba(196,39,40,0.8);
    transform: translateY(-50%) scale(1.08);
}
.hero-ctrl-prev { left: 1.25rem; }
.hero-ctrl-next { right: 1.25rem; }

/* Indicator dots */
.hero-indicators {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.4);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, width 0.2s;
}
.hero-dot.active,
.hero-dot:focus {
    background: #c42728;
    width: 22px;
    border-radius: 4px;
}

/* Scroll cue */
.hero-scroll-cue {
    position: absolute;
    bottom: 1.3rem;
    right: 1.5rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(13,27,50,0.45);
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    text-decoration: none;
    animation: hero-bob 2.2s ease-in-out infinite;
    backdrop-filter: blur(4px);
}
.hero-scroll-cue:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

@keyframes hero-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

@media (max-width: 991px) {
    .hero-slide-media { height: 75vh; min-height: 460px; }
    .hero-ctrl { width: 40px; height: 40px; font-size: 1rem; }
}
@media (max-width: 767px) {
    .hero-slide-media { height: 62vh; min-height: 360px; }
    .hero-ctrl { width: 36px; height: 36px; font-size: 0.9rem; }
    .hero-ctrl-prev { left: 0.6rem; }
    .hero-ctrl-next { right: 0.6rem; }
    .hero-indicators { bottom: 1.4rem; }
    .hero-scroll-cue { bottom: 1rem; right: 0.75rem; width: 32px; height: 32px; font-size: 0.85rem; }
}

/* =================================================================
   COUNTER BAR (moved below hero)
   ================================================================= */
.home-counter-bar .dhs-banner-bottom-v2 {
    position: static;
    flex-direction: column;
}
@media (min-width: 992px) {
    .home-counter-bar .dhs-banner-bottom-v2 {
        flex-direction: row;
        align-items: stretch;
    }
    .home-counter-bar .dhs-services-wrapper {
        margin: 0;
        transform: none;
        border-radius: 0;
        border: none;
        border-right: 1px solid rgba(255,255,255,0.12);
        width: 40%;
        justify-content: center;
        align-items: center;
    }
    .home-counter-bar .dhs-stats-wrapper {
        width: 60%;
        clip-path: none;
        filter: none;
    }
}

/* =================================================================
   QUICK CONTACT STRIP
   ================================================================= */
.quick-contact-strip {
    background: #0d2b52;
    padding: 1rem 0;
    border-bottom: 3px solid #c42728;
}
.qcs-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.qcs-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}
.qcs-icon {
    font-size: 1.8rem;
    color: #c42728;
    flex-shrink: 0;
}
.qcs-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.qcs-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.1rem;
}
.qcs-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}
.qcs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.qcs-btn--phone {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.qcs-btn--phone:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.qcs-btn--wa {
    background: #25d366;
    color: #fff;
}
.qcs-btn--wa:hover {
    background: #1fba58;
    color: #fff;
}
.qcs-btn--assess {
    background: #c42728;
    color: #fff;
    box-shadow: 0 4px 14px rgba(196,39,40,0.35);
}
.qcs-btn--assess:hover {
    background: #9e1f20;
    color: #fff;
    transform: translateY(-1px);
}
@media (max-width: 767px) {
    .qcs-inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
    .qcs-actions { width: 100%; justify-content: flex-start; }
}

/* =================================================================
   DESTINATION SHOWCASE
   ================================================================= */

/* =================================================================
   Choose Your Destination — Hero + Marquee layout
   ================================================================= */

.cds {
    padding: 5rem 0 4.5rem;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(196,39,40,0.06) 0%, transparent 36%),
        radial-gradient(ellipse at 100% 0%, rgba(13,43,82,0.05) 0%, transparent 36%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
    position: relative;
    overflow: hidden;
}
.cds::before { display: none; }

.cds-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cds-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c42728;
    background: rgba(196,39,40,0.07);
    border: 1px solid rgba(196,39,40,0.18);
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 0.6rem;
}

.cds-title {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: #0d2b52;
    letter-spacing: -0.03em;
    margin: 0;
}
.cds-title span { color: #c42728; }

.cds-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: flex-end;
}

.cds-filter {
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 9999px;
    border: 1px solid rgba(13,43,82,0.15);
    background: rgba(13,43,82,0.05);
    color: rgba(13,43,82,0.65);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cds-filter:hover {
    background: rgba(13,43,82,0.1);
    color: #0d2b52;
    border-color: rgba(13,43,82,0.25);
}
.cds-filter.on {
    background: #c42728;
    color: #fff;
    border-color: #c42728;
    box-shadow: 0 4px 14px rgba(196,39,40,0.4);
}
.cds-filter span {
    font-size: 10px;
    background: rgba(13,43,82,0.1);
    color: inherit;
    padding: 1px 6px;
    border-radius: 999px;
    margin-left: 4px;
}
.cds-filter.on span {
    background: rgba(255,255,255,0.22);
}

/* ── Hero Spotlight ── */
.cds-hero {
    --hero-accent: #c42728;
    position: relative;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    transition: opacity 0.4s ease;
}

/* Fade-transition class applied briefly on change */
.cds-hero--fade { opacity: 0.3; }

.cds-hero-img-wrap {
    position: absolute;
    inset: 0;
}

/* Blurred backdrop — same image scaled + blurred to fill the wide frame */
.cds-hero-blur-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(22px) brightness(0.55) saturate(1.2);
    transform: scale(1.08);
    z-index: 0;
}

/* Actual flag — contained so the full flag is always visible */
.cds-hero-flag {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    transition: transform 0.7s ease;
    display: block;
}
.cds-hero:hover .cds-hero-flag { transform: scale(1.03); }

.cds-hero-overlay { display: none; }

.cds-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 2.8rem;
    z-index: 3;
    max-width: 560px;
}

.cds-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.cds-hero-region {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
}

.cds-hero-pathway {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--hero-accent);
    color: #fff;
    opacity: 0.9;
}

.cds-hero-name {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 0.6rem;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.cds-hero-summary {
    font-size: 0.925rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 1.4rem;
    line-height: 1.6;
    max-width: 420px;
}

.cds-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: var(--hero-accent);
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.2s;
    width: fit-content;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.cds-hero-cta:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Prev / Next + dots — flows below CTA inside content */
.cds-hero-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.cds-hero-prev,
.cds-hero-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
    flex-shrink: 0;
}
.cds-hero-prev:hover,
.cds-hero-next:hover { background: rgba(255,255,255,0.25); }

.cds-hero-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 140px;
    overflow: hidden;
    flex-wrap: nowrap;
}

.cds-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.cds-hero-dot.on {
    background: #fff;
    transform: scale(1.4);
}

/* ── Marquee strip wrapper ── */
.cds-strips {
    margin-bottom: 0.5rem;
}

/* ── Marquee tracks ── */
.marquee-wrap {
    overflow: hidden;
    margin-bottom: 14px;
    padding: 4px 0;
}
.cds-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marquee 40s linear infinite;
    will-change: transform;
}
.cds-track.reverse { animation-direction: reverse; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-wrap:hover .cds-track,
.marquee-wrap:focus-within .cds-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .cds-track { animation: none !important; } }

/* ── Strip card — smaller than hero ── */
.cds-card {
    --accent: #c42728;
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    transition: transform 0.28s ease, box-shadow 0.28s ease, outline 0.15s ease;
    text-decoration: none;
    display: block;
    position: relative;
    cursor: pointer;
    outline: 2px solid transparent;
}
.cds-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 38px rgba(0,0,0,0.45);
    text-decoration: none;
}
.cds-card--active {
    outline: 2px solid #fff;
    outline-offset: 2px;
    transform: translateY(-3px) scale(1.02);
}

/* Flag fills entire card */
.cds-card-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.cds-card-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}
.cds-card:hover .cds-card-flag { transform: scale(1.08); }

/* Base dark gradient */
.cds-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0) 30%,
        rgba(0,0,0,0.72) 100%);
    pointer-events: none;
}

/* Hover overlay — accent sweep */
.cds-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(196,39,40,0.85) 0%,
        rgba(196,39,40,0.45) 55%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 2;
}
.cds-card:hover .cds-card-hover-overlay { opacity: 1; }

/* Country name */
.cds-card-overlay-name {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    padding: 0.55rem 0.75rem;
}

.cds-card-country {
    font-size: 0.875rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Region badge top-right */
.cds-card-region-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 4;
    font-size: 7.5px;
    font-weight: 800;
    padding: 2px 7px;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.88);
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
}

/* Hide unused elements */
.cds-card-body,
.cds-card-summary,
.cds-card-footer,
.cds-card-pathway,
.cds-card-meta,
.cds-card-name,
.cds-card-cta { display: none; }

/* ── Controls ── */
.cds-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}
.cds-pause {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 9999px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.2s;
}
.cds-pause:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }

.cds-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cds-hero { height: 320px; }
    .cds-hero-content { padding: 1.75rem 1.5rem; }
    .cds-hero-name { font-size: 1.75rem; }
    .cds-hero-summary { display: none; }
    .cds-hero-nav { margin-top: 1rem; }
}
@media (max-width: 480px) {
    .cds-hero { height: 260px; }
    .cds-hero-content { padding: 1.25rem 1.25rem; max-width: 100%; }
    .cds-card { width: 140px; height: 95px; }
}

/* =================================================================
   Legacy Video Section
   ================================================================= */

.legacy-video-section {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(196,39,40,0.06) 0%, transparent 36%),
        radial-gradient(ellipse at 100% 0%, rgba(13,43,82,0.05) 0%, transparent 36%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
    padding: 3.1rem 0 3.35rem;
}


/* Panel card — mirrors .cta-assess-panel */
.legacy-video-panel {
    position: relative;
    overflow: hidden;
    padding: 2.1rem 2rem;
    border-radius: 26px;
    border: 1px solid rgba(13,43,82,0.08);
    background: #ffffff;
   box-shadow: 0 18px 42px rgb(13 43 82 / 59%);
    margin-bottom: 1.5rem;
}
.legacy-video-panel:last-child { margin-bottom: 0; }

/* Red accent bar top-left */
.legacy-video-panel::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: clamp(140px, 20vw, 220px);
    height: 13px;
    background: linear-gradient(90deg, #c42728 0%, rgb(196 39 40) 100%);
    border-radius: 0 0 999px 0;
}

/* Two-column: left text, right videos */
.legacy-video-panel-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.legacy-video-panel-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.legacy-video-panel-desc {
    color: rgba(13,43,82,0.68);
    font-size: 0.95rem;
    line-height: 1.72;
    margin: 0.65rem 0 1.4rem;
    max-width: 260px;
}

/* Video cards */
.legacy-video-card {
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(13,43,82,0.08);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(13,43,82,0.09);
}

.legacy-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111111;
}

.legacy-video-player,
.legacy-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.legacy-video-frame--embed {
    background: #0b0b0f;
}

.legacy-video-caption {
    padding: 0.75rem 1rem 0.85rem;
    color: #0d2b52;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 991px) {
    .legacy-video-panel-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .legacy-video-panel-left {
        align-items: center;
        text-align: center;
    }
    .legacy-video-panel-desc { max-width: 480px; }
}

@media (max-width: 767px) {
    .legacy-video-section { padding: 2.5rem 0 2.8rem; }
    .legacy-video-panel { padding: 1.75rem 1.25rem; }
    .legacy-video-caption { font-size: 0.85rem; }
}

.dhs-btn-primary,
.cta-assess-btn,
.legacy-video-btn,
.btn-solid-dhs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 156px;
    padding: 0.9rem 1.55rem;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #c42728 0%, #a61e1f 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(196,39,40,0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.dhs-btn-primary:hover,
.cta-assess-btn:hover,
.legacy-video-btn:hover,
.btn-solid-dhs:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #d22f30 0%, #b32122 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(196,39,40,0.28);
}

.dhs-link-cta,
.vac-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.03em;
    transition: gap 0.2s ease, color 0.2s ease;
}
.evt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #c42728;
    letter-spacing: 0.03em;
    transition: gap 0.2s ease, color 0.2s ease;
}

.vac-card:hover .vac-cta,
.dhs-link-cta:hover {
    gap: 0.65rem;
    color: #fff;
}
.evt-card:hover .evt-link {
    gap: 0.65rem;
    color: #a31515;
}

/* =================================================================
   VACANCIES SECTION
   ================================================================= */

.jobs-section {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(160deg, #071730 0%, #0d2b52 55%, #071a30 100%);
    position: relative;
}

.jobs-shell {
    margin-top: 0.5rem;
}

.vac-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    height: 100%;
}
.vac-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(0,0,0,0.3);
    border-color: rgba(196,39,40,0.45);
    text-decoration: none;
}

.vac-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.vac-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.vac-card:hover .vac-img-wrap img { transform: scale(1.06); }

.vac-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13,27,50,0.55) 100%);
    pointer-events: none;
}

.vac-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.5rem 1.6rem;
}

.vac-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(196,39,40,0.1) 0%, rgba(196,39,40,0.05) 100%);
    color: #c42728;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
    transition: background 0.2s;
}
.vac-card:hover .vac-icon {
    background: linear-gradient(135deg, rgba(196,39,40,0.18) 0%, rgba(196,39,40,0.08) 100%);
}

.vac-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.vac-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.1rem;
}

.vac-cta {
    margin-top: auto;
}

@media (max-width: 767px) {
    .jobs-section { padding: 3.5rem 0 3rem; }
    .vac-img-wrap { height: 180px; }
}

/* =================================================================
   EVENTS & INTERVIEWS SECTION
   ================================================================= */

.events-section {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(180deg, #f7f9fd 0%, #eef2f8 100%);
    position: relative;
}

.events-shell { margin-top: 0.5rem; }

.evt-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(13,43,82,0.07);
    box-shadow: 0 8px 28px rgba(13,43,82,0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    height: 100%;
}
.evt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(13,43,82,0.14);
    border-color: rgba(196,39,40,0.2);
    text-decoration: none;
}

.evt-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}
.evt-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.evt-card:hover .evt-img-wrap img { transform: scale(1.06); }

.evt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13,27,50,0.5) 100%);
    pointer-events: none;
}

.evt-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    background: rgba(196,39,40,0.85);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.evt-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.5rem 1.5rem;
}

.evt-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0d2b52;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.evt-desc {
    color: #64748b;
    font-size: 0.89rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.evt-link {
    margin-top: auto;
}

@media (max-width: 767px) {
    .events-section { padding: 3.5rem 0 3rem; }
    .evt-img-wrap { height: 175px; }
}

/* =================================================================
   TRAINING PROGRAMS SECTION
   ================================================================= */

.training-dark {
    padding: 5rem 0;
    background:
        radial-gradient(ellipse at 0% 0%,   rgba(196,39,40,0.14) 0%, transparent 42%),
        radial-gradient(ellipse at 100% 100%, rgba(26,68,128,0.18) 0%, transparent 42%),
        linear-gradient(160deg, #071730 0%, #0d2b52 55%, #071a30 100%);
    position: relative;
    overflow: hidden;
}

/* Two-column shell */
.training-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

/* Left: text block */
.training-left { display: flex; flex-direction: column; align-items: flex-start; }

.training-dark-tag {
    background: rgba(255,255,255,0.10) !important;
    border-color: rgba(255,255,255,0.18) !important;
    color: #fff !important;
}

.training-dark-sub {
    color: rgba(255,255,255,0.62);
    font-size: 0.97rem;
    line-height: 1.75;
    max-width: 300px;
    margin: 0;
}

.training-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1.5rem;
    border-radius: 999px;
    background: #c42728;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 18px rgba(196,39,40,0.38);
}
.training-cta:hover {
    background: #9e1f20;
    color: #fff;
    transform: translateY(-2px);
}

/* Right: pills grid */
.training-right { min-width: 0; }

.training-pills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

/* Center the 7th item (lone in last row of 3-col grid) */
.training-pill:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.training-pill {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    border-top-color: rgba(255,255,255,0.18);
    background: linear-gradient(150deg, rgba(26,60,110,0.55) 0%, rgba(10,25,52,0.80) 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    overflow: hidden;
}
.training-pill:hover {
    transform: translateY(-5px);
    border-color: rgba(196,39,40,0.50);
    border-top-color: rgba(196,39,40,0.70);
    box-shadow: 0 10px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(196,39,40,0.15);
    text-decoration: none;
}

.training-pill-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 1.3rem;
    gap: 0.65rem;
    height: 100%;
}

.training-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c42728 0%, #8b1a1a 100%);
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(196,39,40,0.45);
    transition: box-shadow 0.2s, transform 0.2s;
}
.training-pill:hover .training-pill-icon {
    box-shadow: 0 6px 22px rgba(196,39,40,0.65);
    transform: scale(1.08);
}

.training-pill-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.training-pill-desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.50);
    line-height: 1.45;
}

@media (max-width: 1199px) {
    .training-shell { grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; }
}

@media (max-width: 991px) {
    .training-dark { padding: 4rem 0; }
    .training-shell { grid-template-columns: 1fr; gap: 2rem; }
    .training-left { align-items: center; text-align: center; }
    .training-dark-sub { max-width: 500px; }
}

@media (max-width: 575px) {
    .training-dark { padding: 3rem 0; }
    .training-pills-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .training-pill:last-child:nth-child(3n + 1) { grid-column: auto; }
    .training-pill-inner { padding: 1.1rem 0.8rem 1rem; }
    .training-pill-icon { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 12px; }
    .training-pill-name { font-size: 0.82rem; }
}

/* =================================================================
   TECHNOLOGY SECTION
   ================================================================= */

/* Section wrapper — light bg, same as legacy-video-section */
.technology-div {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(196,39,40,0.06) 0%, transparent 36%),
        radial-gradient(ellipse at 100% 0%, rgba(13,43,82,0.05) 0%, transparent 36%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
    padding: 3.1rem 0 3.35rem;
}

/* Panel card — mirrors .cta-assess-panel */
.technology-panel {
    position: relative;
    overflow: hidden;
    padding: 2.1rem 3.5rem 2.1rem 2rem;
    border-radius: 26px;
    border: 1px solid rgba(13,43,82,0.08);
    background: #ffffff;
    box-shadow: 0 18px 42px rgb(13 43 82 / 59%);
}

/* Red accent bar top-left */
.technology-panel::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: clamp(140px, 20vw, 220px);
    height: 13px;
    background: linear-gradient(90deg, #c42728 0%, rgb(196 39 40) 100%);
    border-radius: 0 0 999px 0;
}

/* Two-column: left = tag+heading+phone, right = carousel */
.technology-panel-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: flex-end;
}

.technology-panel-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.technology-title {
    color: #0d2b52;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    margin: 0 0 1.25rem;
    line-height: 1.18;
}
.technology-title span { color: #c42728; }

/* Phone image inside left column */
.technology-phone-wrap {
    width: 100%;
    text-align: center;
    margin-top: auto;
}
.technology-phone-wrap img {
    width: min(100%, 240px);
    margin-bottom: -4px;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.2));
    display: inline-block;
}

/* Right: carousel only */
.technology-panel-right {
    min-width: 0;
    padding-bottom: 0.5rem;
}

.technology-slider-main {
    position: relative;
    width: 100%;
}
.technology-slide-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(13,43,82,0.08);
    box-shadow: 0 12px 28px rgba(13,43,82,0.1);
}
.technology-slide-card img {
    width: 100%;
    display: block;
}

.technology-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(13,43,82,0.15);
    color: #0d2b52;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(13,43,82,0.1);
}
.technology-ctrl:hover { background: #c42728; border-color: #c42728; color: #fff; }
.technology-ctrl.carousel-control-prev { left: -44px; }
.technology-ctrl.carousel-control-next { right: -44px; }

@media (max-width: 1199px) {
    .technology-panel-inner { grid-template-columns: 240px 1fr; gap: 2rem; }
}

@media (max-width: 991px) {
    .technology-panel-inner { grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
    .technology-panel-left { align-items: center; text-align: center; width: 100%; }
    .technology-phone-wrap img { width: min(60vw, 200px); }
    .technology-ctrl.carousel-control-prev { left: -36px; }
    .technology-ctrl.carousel-control-next { right: -36px; }
}

@media (max-width: 767px) {
    .technology-div { padding: 2.5rem 0 2.8rem; }
    .technology-panel { padding: 1.75rem 2.5rem 1.75rem 1.25rem; }
    .technology-title { font-size: 1.55rem; }
    .technology-ctrl { width: 28px; height: 28px; font-size: 0.78rem; }
    .technology-ctrl.carousel-control-prev { left: -28px; }
    .technology-ctrl.carousel-control-next { right: -28px; }
}

/* =================================================================
   Video Section (vs2) — Watch & Learn / Exam Prep & Candidate Stories
   ================================================================= */

.vs2-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(216,184,92,.08) 0%, transparent 34%),
        linear-gradient(180deg, #111114 0%, #0b0b0d 100%);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

/* ── Intro header ── */
.vs2-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.8rem;
    flex-wrap: wrap;
}
.vs2-intro-left { flex: 0 0 auto; }
.vs2-intro-right {
    flex: 0 1 460px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
}

.vs2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #cfa948;
    margin: 0 0 .75rem;
}
.vs2-eyebrow-line {
    width: 72px;
    height: 1px;
    background: rgba(207,169,72,.45);
    flex-shrink: 0;
}

.vs2-heading {
    margin: 0;
    color: #f3ede1;
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
}
.vs2-heading em {
    color: #d8b85c;
    font-style: italic;
    font-weight: 500;
}

.vs2-intro-desc {
    margin: 0;
    color: rgba(241,233,216,.72);
    font-size: 1rem;
    line-height: 1.8;
}

.vs2-all-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    color: #d8b85c;
    text-decoration: none;
    padding: .5rem 1.1rem;
    border: 1px solid rgba(216,184,92,.35);
    border-radius: 999px;
    transition: background .18s, border-color .18s;
}
.vs2-all-link:hover {
    background: rgba(216,184,92,.08);
    border-color: rgba(216,184,92,.65);
    color: #e5c96a;
}

/* ── Block label ── */
.vs2-block { margin-bottom: 3.2rem; }
.vs2-block:last-child { margin-bottom: 0; }
.vs2-block-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.vs2-num {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    color: rgba(216,184,92,.5);
    flex-shrink: 0;
}
.vs2-block-name {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(235,225,205,.55);
    flex-shrink: 0;
    white-space: nowrap;
}
.vs2-block-rule {
    flex: 1;
    height: 1px;
    background: rgba(216,184,92,.14);
}

/* ── Shared thumbnail ── */
.vs2-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.84) saturate(1.04);
    transition: transform .5s ease, filter .3s ease;
}

/* ── Hero card ── */
.vs2-hero-wrap,
.vs2-hero-btn {
    position: relative;
    display: block;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: #14141a;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: 100%;
}
.vs2-hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(8,8,12,.18) 0%,
        rgba(8,8,12,.38) 55%,
        rgba(8,8,12,.72) 100%);
    pointer-events: none;
}
.vs2-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    padding: .32rem .75rem;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(135deg, #1e6fbf 0%, #1a8fd1 100%);
}
.vs2-dur {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    font-size: .75rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    background: rgba(9,10,13,.88);
    padding: .28rem .55rem;
    border-radius: 3px;
}
.vs2-play-hero {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 1.8rem;
    color: #e1bf63;
}
.vs2-play-hero::before {
    content: "";
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid rgba(216,184,92,.72);
    background: rgba(53,43,19,.68);
    box-shadow: 0 0 24px rgba(216,184,92,.14);
    transition: transform .22s, background .22s, border-color .22s;
}
.vs2-play-hero i { position: relative; z-index: 1; margin-left: 3px; }
.vs2-hero-copy {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 1.4rem 1.6rem 1.5rem;
}
.vs2-hero-title {
    margin: 0 0 .5rem;
    color: #f2e8d4;
    font-family: 'Inter', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}
.vs2-hero-desc {
    margin: 0;
    color: rgba(240,228,205,.7);
    font-size: .88rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vs2-hero-btn:hover .vs2-thumb { transform: scale(1.04); filter: brightness(.9); }
.vs2-hero-btn:hover .vs2-play-hero::before {
    background: rgba(216,184,92,.22);
    border-color: #d8b85c;
    transform: scale(1.1);
}

/* ── Mini card ── */
.vs2-mini-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #14141a;
    border: 1px solid rgba(216,184,92,.1);
    flex: 1;
}
.vs2-mini-wrap,
.vs2-mini-btn {
    position: relative;
    display: block;
    width: 100%;
    min-height: 190px;
    overflow: hidden;
    background: #0e0e14;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.vs2-mini-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(7,7,10,.15) 0%,
        rgba(7,7,10,.55) 100%);
    pointer-events: none;
}
.vs2-play-mini {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 1.4rem;
    color: #e1bf63;
}
.vs2-play-mini::before {
    content: "";
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(216,184,92,.65);
    background: rgba(53,43,19,.62);
    transition: transform .22s, background .22s;
}
.vs2-play-mini i { position: relative; z-index: 1; margin-left: 2px; }
.vs2-mini-copy {
    padding: 1.1rem 1.25rem 1.2rem;
    background: #17171d;
}
.vs2-mini-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #cfa948;
    margin-bottom: .4rem;
}
.vs2-mini-title {
    margin: 0 0 .35rem;
    color: #f0e6d0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}
.vs2-mini-desc {
    margin: 0;
    color: rgba(235,225,205,.65);
    font-size: .82rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vs2-mini-btn:hover .vs2-thumb { transform: scale(1.04); }
.vs2-mini-btn:hover .vs2-play-mini::before {
    background: rgba(216,184,92,.2);
    border-color: #d8b85c;
    transform: scale(1.1);
}

/* ── Stats bar ── */
.vs2-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(216,184,92,.14);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    flex-shrink: 0;
}
.vs2-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    text-align: center;
    flex: 1;
}
.vs2-stat strong {
    display: block;
    color: #e0c06a;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}
.vs2-stat strong em {
    font-style: normal;
    font-size: .65em;
}
.vs2-stat span {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(220,210,190,.55);
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.vs2-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(216,184,92,.15);
    flex-shrink: 0;
}

/* ── Story card ── */
.vs2-story-card {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(180deg, #141419 0%, #17171d 100%);
    border: 1px solid rgba(216,184,92,.12);
    box-shadow: 0 18px 34px rgba(0,0,0,.2);
    transition: border-color .22s, box-shadow .22s;
}
.vs2-story-card:hover {
    border-color: rgba(216,184,92,.28);
    box-shadow: 0 20px 40px rgba(0,0,0,.32);
}
.vs2-story-wrap,
.vs2-story-btn {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    background: #0e0e14;
    width: 100%;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.vs2-story-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(7,7,10,.2) 0%,
        rgba(7,7,10,.46) 100%);
    pointer-events: none;
}
.vs2-play-story {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 1.6rem;
    color: #e1bf63;
}
.vs2-play-story::before {
    content: "";
    position: absolute;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(216,184,92,.72);
    background: rgba(53,43,19,.68);
    box-shadow: 0 0 20px rgba(216,184,92,.12);
    transition: transform .22s, background .22s;
}
.vs2-play-story i { position: relative; z-index: 1; margin-left: 3px; }
.vs2-story-btn:hover .vs2-thumb { transform: scale(1.03); }
.vs2-story-btn:hover .vs2-play-story::before {
    background: rgba(216,184,92,.2);
    border-color: #d8b85c;
    transform: scale(1.1);
}
.vs2-story-body {
    padding: 1.25rem 1.4rem 1.35rem;
    background: #17171d;
}
.vs2-story-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #dbc06f;
    background: rgba(216,184,92,.08);
    border: 1px solid rgba(216,184,92,.16);
    padding: .3rem .75rem;
    border-radius: 999px;
    margin-bottom: .75rem;
}
.vs2-story-title {
    margin: 0 0 .65rem;
    color: #f4ecdb;
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.28;
}
.vs2-story-desc {
    margin: 0 0 1rem;
    color: rgba(238,230,214,.68);
    font-size: .92rem;
    line-height: 1.72;
}
.vs2-watch-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 700;
    color: #ead08a;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(216,184,92,.14);
    padding: .4rem .88rem;
    border-radius: 999px;
    letter-spacing: .05em;
    transition: background .18s;
    cursor: pointer;
}
.vs2-watch-pill:hover { background: rgba(216,184,92,.1); }

/* ── Loaded video fills wrapper ── */
.vs2-hero-wrap .loaded-video,
.vs2-hero-wrap .loaded-video-frame,
.vs2-mini-wrap .loaded-video,
.vs2-mini-wrap .loaded-video-frame,
.vs2-story-wrap .loaded-video,
.vs2-story-wrap .loaded-video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .vs2-intro { align-items: flex-start; }
    .vs2-hero-wrap, .vs2-hero-btn { min-height: 340px; }
    .vs2-stats { padding: 1rem; }
}
@media (max-width: 767px) {
    .vs2-section { padding: 3.5rem 0 3.2rem; }
    .vs2-intro { flex-direction: column; gap: 1.2rem; }
    .vs2-intro-right { flex-basis: auto; }
    .vs2-heading { font-size: 2.2rem; }
    .vs2-hero-wrap, .vs2-hero-btn { min-height: 260px; }
    .vs2-hero-desc { display: none; }
    .vs2-stat strong { font-size: 1.4rem; }
}

/* =====================================================================
   END VS2
   ===================================================================== */


/* Final homepage alignment lock: videos */
.vid-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(196,39,40,0.18) 0%, transparent 24%),
        radial-gradient(circle at top right, rgba(214,196,161,0.12) 0%, transparent 20%),
        linear-gradient(180deg, #050f20 0%, #091b34 44%, #0d274b 100%);
    padding: 4.1rem 0 4rem;
}

.vid-section::before {
    content: '';
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(214,196,161,0.24) 0%, transparent 68%);
    pointer-events: none;
}

.vid-section::after {
    content: '';
    position: absolute;
    right: -100px;
    top: 90px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(196,39,40,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.vid-heading {
    color: #ffffff;
    letter-spacing: -0.03em;
}

.vid-heading span {
    color: #d6c4a1;
}

.vid-subheading {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.72);
}

.vid-showcase-shell {
    position: relative;
    z-index: 1;
    padding: 2.35rem;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.012) 100%),
        linear-gradient(180deg, rgba(5,16,31,0.985) 0%, rgba(8,23,43,0.985) 100%);
    background-size: 28px 28px, 28px 28px, auto, auto;
    border: 1px solid rgba(214,196,161,0.14);
    box-shadow:
        0 34px 72px rgba(0,0,0,0.34),
        0 0 0 1px rgba(255,255,255,0.02),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.vid-showcase-shell::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(214,196,161,0.55) 18%, rgba(196,39,40,0.55) 52%, rgba(214,196,161,0.38) 82%, transparent 100%);
}

.vid-showcase-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    pointer-events: none;
}

.vid-block + .vid-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.vid-block {
    position: relative;
}

.vid-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.45rem;
    position: relative;
}

.vid-block-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 96px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c42728 0%, #d6c4a1 100%);
}

.vid-block-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.42rem 0.86rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: #f3e5cc;
    border: 1px solid rgba(214,196,161,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vid-block-title {
    margin: 0.9rem 0 0;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    font-weight: 800;
    color: #fcfaf6;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-shadow: none;
}

.vid-player-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.95rem;
    overflow: hidden;
    isolation: isolate;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%),
        linear-gradient(180deg, rgba(11,27,49,0.88) 0%, rgba(8,20,36,0.96) 100%);
    border: 1px solid rgba(214,196,161,0.16);
    box-shadow:
        0 18px 30px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.02),
        inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.vid-player-card::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    right: 1.15rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(214,196,161,0.5) 18%, rgba(255,255,255,0.12) 52%, transparent 100%);
    opacity: 0.8;
}

.vid-player-card::after {
    display: none;
}

.vid-player-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214,196,161,0.3);
    box-shadow:
        0 24px 42px rgba(0,0,0,0.28),
        0 0 0 1px rgba(214,196,161,0.07),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.vid-player-frame {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(214,196,161,0.22);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 100%),
        #132946;
    box-shadow:
        0 18px 32px rgba(0,0,0,0.24),
        0 0 0 1px rgba(255,255,255,0.025),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.vid-player-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(214,196,161,0.34) 0%, rgba(255,255,255,0.06) 34%, rgba(196,39,40,0.18) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.vid-player-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 16%),
        radial-gradient(circle at 14% 18%, rgba(214,196,161,0.08) 0%, transparent 22%);
    pointer-events: none;
}

.vid-player-trigger {
    aspect-ratio: 16 / 9;
    background: #132946;
    border-radius: 18px;
}

.vid-player-card:hover .vid-thumb {
    transform: scale(1.03);
}

.vid-overlay {
    background: linear-gradient(to top, rgba(2,9,22,0.64) 0%, rgba(4,17,38,0.14) 50%, transparent 80%);
}

.vid-player-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.84rem;
    border-radius: 999px;
    background: rgba(10,25,45,0.62);
    color: #f5e5c6;
    border: 1px solid rgba(214,196,161,0.18);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.vid-player-card--testimonial .vid-player-badge {
    background: rgba(10,25,45,0.62);
    color: #f3dcc0;
}

.vid-play-btn--modern {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
    background: linear-gradient(180deg, #fffdfa 0%, #ece6db 100%);
    color: var(--dhs-accent);
    box-shadow:
        0 18px 38px rgba(0,0,0,0.28),
        inset 0 -6px 12px rgba(0,0,0,0.06);
}

.vid-play-btn--modern::after {
    border-color: rgba(214,196,161,0.35);
}

.vid-player-card:hover .vid-play-btn--modern {
    transform: translate(-50%, -50%) scale(1.08);
}

.vid-player-copy {
    margin-top: 1rem;
    padding: 1rem 1rem 0.3rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%),
        linear-gradient(180deg, rgba(12,28,50,0.58) 0%, rgba(8,19,36,0.7) 100%);
    border: 1px solid rgba(214,196,161,0.12);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.vid-player-copy::before {
    content: '';
    display: block;
    width: 44px;
    height: 1px;
    margin-bottom: 0.95rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(214,196,161,0.95) 0%, rgba(196,39,40,0.55) 100%);
}

.vid-player-copy h4 {
    margin: 0 0 0.45rem;
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.vid-player-copy p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.78;
    color: rgba(228,233,240,0.84);
}

.vid-more-btn {
    background: var(--dhs-accent);
    border-color: var(--dhs-accent);
    color: #fff;
    padding: 0.95rem 2.15rem;
    border-radius: 999px;
    box-shadow:
        0 16px 34px rgba(196,39,40,0.32),
        inset 0 1px 0 rgba(255,255,255,0.14);
}

.vid-more-btn:hover {
    background: #a31515;
    border-color: #a31515;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Duration chip (bottom-right of thumbnail) ── */
.vid-duration-chip {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.9);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
    z-index: 4;
}
.vid-duration-chip i { font-size: 0.62rem; }

/* ── Block-level "view all" link ── */
.vid-block-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 0.32rem 0.9rem;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
    white-space: nowrap;
    flex-shrink: 0;
}
.vid-block-link:hover {
    color: #fff;
    border-color: rgba(196,39,40,0.55);
    background: rgba(196,39,40,0.12);
}

/* ── Gold kicker variant (testimonials) ── */
.vid-block-kicker--gold {
    background: linear-gradient(135deg, rgba(214,196,161,0.2) 0%, rgba(214,196,161,0.08) 100%);
    border-color: rgba(214,196,161,0.2);
    color: #e8d5aa;
}

/* ── Featured card: slightly taller thumbnail ── */
.vid-player-card--featured .vid-player-trigger {
    aspect-ratio: 16 / 10;
}

/* ── Section background updated to match #312f45 theme ── */
.vid-section {
    background:
        radial-gradient(circle at top left,  rgba(196,39,40,0.18) 0%, transparent 24%),
        radial-gradient(circle at top right, rgba(214,196,161,0.10) 0%, transparent 20%),
        linear-gradient(180deg, #1a1730 0%, #231f38 50%, #2c2848 100%);
}

.vid-showcase-shell {
    background:
        radial-gradient(circle at 12% 0%, rgba(214,196,161,0.07) 0%, transparent 22%),
        radial-gradient(circle at 92% 8%, rgba(196,39,40,0.07) 0%, transparent 20%),
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.012) 100%),
        linear-gradient(180deg, rgba(35,30,56,0.98) 0%, rgba(28,24,48,0.98) 100%);
}

@media (max-width: 991px) {
    .vid-showcase-shell {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .vid-section {
        padding: 3.2rem 0 3.1rem;
    }

    .vid-showcase-shell {
        padding: 1.2rem;
        border-radius: 24px;
    }

    .vid-player-card {
        padding: 0.7rem;
        border-radius: 22px;
    }

    .vid-block + .vid-block {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .vid-player-frame {
        border-width: 6px;
        border-radius: 18px;
    }

    .vid-play-btn--modern {
        width: 62px;
        height: 62px;
        font-size: 1.55rem;
    }

    .vid-player-copy {
        padding: 0.85rem 0.85rem 0.15rem;
    }

    .vid-more-btn {
        width: 100%;
        justify-content: center;
    }

    .vid-player-card--featured .vid-player-trigger {
        aspect-ratio: 16 / 9;
    }
}

/* Final homepage alignment lock: CTA and testimonials */
.cta-assess {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(196,39,40,0.06) 0%, transparent 36%),
        radial-gradient(ellipse at 100% 0%, rgba(13,43,82,0.05) 0%, transparent 36%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
    padding: 3.1rem 0 3.35rem;
}

.cta-assess-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(116deg, transparent 0%, transparent 62%, rgba(196,39,40,0.045) 62%, rgba(196,39,40,0.045) 66%, transparent 66%),
        radial-gradient(circle at 85% 28%, rgba(13,43,82,0.07) 0%, transparent 24%);
}

.cta-assess-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 2.1rem 2rem;
    border-radius: 26px;
    border: 1px solid rgba(13,43,82,0.08);
    background: #ffffff;
    box-shadow: 0 18px 42px rgb(13 43 82 / 59%);
}

.cta-assess-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(140px, 20vw, 220px);
    height: 13px;
    background: linear-gradient(90deg, #c42728 0%, rgb(196 39 40) 100%);
    border-radius: 0 0 999px 0;
}

.cta-assess-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: var(--dhs-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-assess-eyebrow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(196,39,40,0.08);
}

.cta-assess-heading {
    max-width: 620px;
    margin-bottom: 0.8rem;
}

.cta-assess-heading span {
    color: var(--dhs-accent);
}

.cta-assess-sub {
    color: rgba(13,43,82,0.68);
    max-width: 590px;
    margin-bottom: 1.35rem;
}

.cta-assess-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cta-assess-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.6rem 0.95rem;
    border: 1px solid rgba(13,43,82,0.07);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: none;
    color: rgba(13,43,82,0.76);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta-assess-chips span i {
    color: var(--dhs-accent);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.cta-assess-box {
    position: relative;
    overflow: hidden;
    padding: 1.55rem;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%),
        linear-gradient(180deg, #102844 0%, #0b1d33 100%);
    box-shadow: 0 16px 32px rgba(13,43,82,0.16);
}

.cta-assess-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #d6c4a1 0%, var(--dhs-accent) 100%);
}

.cta-assess-box-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.38rem 0.82rem;
    border-radius: 999px;
    background: rgba(214,196,161,0.08);
    border: 1px solid rgba(214,196,161,0.16);
    color: #d6c4a1;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-assess-box-title {
    font-size: 1.38rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    line-height: 1.22;
}

.cta-assess-box-copy {
    color: rgba(255,255,255,0.72);
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.72;
}

.cta-assess-btn {
    border-radius: 14px;
}

.cta-assess-btn:hover {
    color: #ffffff;
}

/* old testimonials-section kept for non-home pages */
.testimonials-section {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(196,39,40,0.05) 0%, transparent 32%),
        radial-gradient(ellipse at 100% 100%, rgba(13,43,82,0.05) 0%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    padding: 4rem 0 3.4rem;
}

/* =================================================================
   TESTIMONIALS — new slider (.tsec)
   ================================================================= */
.tsec {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(160deg, #071730 0%, #0d2b52 60%, #071a30 100%);
    position: relative;
    overflow: hidden;
}
.tsec::before {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,39,40,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Header row */
.tsec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.tsec-nav { display: flex; gap: 0.65rem; }
.tsec-nav-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.tsec-nav-btn:hover {
    background: #c42728;
    border-color: #c42728;
}

/* Slide wrapper */
.tsec-track-wrap { position: relative; }
.tsec-track { position: relative; }

.tsec-slide {
    display: none;
}
.tsec-slide.active { display: block; }

/* Card layout — photo left, quote right */
.tsec-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Left panel */
.tsec-card-left {
    background: rgb(8 27 55);
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
}
.tsec-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    margin-bottom: 0.4rem;
    display: block;
}
.tsec-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    display: flex; gap: 2px;
}
.tsec-person-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-top: 0.2rem;
}
.tsec-person-role {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
}
.tsec-person-loc {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; gap: 0.3rem;
    justify-content: center;
}
.tsec-person-loc i { color: #c42728; font-size: 0.72rem; }

/* Right panel */
.tsec-card-right {
    padding: 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.tsec-quote-icon {
    font-size: 3.5rem;
    line-height: 1;
    color: rgb(8 27 55);
    margin-bottom: 1rem;
    display: block;
}
.tsec-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgb(8 27 55);
    font-style: italic;
    margin: 0 0 1.5rem;
    flex: 1;
}
.tsec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    width: fit-content;
}
.tsec-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* Dots */
.tsec-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}
.tsec-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    padding: 0;
}
.tsec-dot.active {
    background: #c42728;
    width: 24px;
    border-radius: 4px;
}

/* Trust bar */
.tsec-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}
.tsec-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: rgba(255,255,255,1);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(8,25,51,1);
}
.tsec-trust-item i {
    font-size: 1.1rem;
    color: #071831;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .tsec { padding: 3.5rem 0 3rem; }
    .tsec-card { grid-template-columns: 1fr; }
    .tsec-card-left {
        flex-direction: row;
        text-align: left;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        align-items: center;
    }
    .tsec-avatar { width: 60px; height: 60px; margin-bottom: 0; flex-shrink: 0; }
    .tsec-card-right { padding: 1.5rem; }
    .tsec-quote { font-size: 0.95rem; }
    .tsec-trust { grid-template-columns: 1fr; gap: 0.65rem; }
    .tsec-quote-icon { font-size: 2.5rem; margin-bottom: 0.6rem; }
}
@media (max-width: 991px) and (min-width: 768px) {
    .tsec-card { grid-template-columns: 180px 1fr; }
    .tsec-card-right { padding: 2rem 1.75rem; }
    .tsec-trust { grid-template-columns: repeat(2, 1fr); }
}

.testimonials-grid {
    row-gap: 1.3rem;
}

.tcard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.45rem 1.45rem 1.35rem;
    border-radius: 22px;
    border: 1px solid rgba(13,43,82,0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
    box-shadow: 0 16px 34px rgba(13,43,82,0.07);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.tcard:hover {
    transform: translateY(-6px);
    border-color: rgba(196,39,40,0.16);
    box-shadow: 0 22px 40px rgba(13,43,82,0.1);
}

.tcard-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 1.05rem;
    flex-wrap: wrap;
}

.tcard-market {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(13,43,82,0.06);
    color: var(--dhs-primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tcard-score {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(214,196,161,0.28);
    color: #8a6216;
    font-size: 0.76rem;
    font-weight: 800;
}

.tcard-score i {
    color: #c58b12;
}

.tcard-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: rgba(196,39,40,0.08);
    color: var(--dhs-accent);
    opacity: 0.92;
    font-size: 1.4rem;
}

.tcard-quote {
    flex: 1;
    margin: 0 0 1.35rem;
    color: #3f4c5d;
    font-size: 0.98rem;
    line-height: 1.78;
}

.tcard-footer {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(13,43,82,0.07);
}

.tcard-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.94);
    box-shadow: 0 8px 22px rgba(13,43,82,0.12);
}

.tcard-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.tcard-name {
    color: var(--dhs-primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.tcard-role {
    color: rgba(13,43,82,0.5);
    font-size: 0.84rem;
    font-weight: 600;
}

.tcard-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(13,43,82,0.7);
    font-size: 0.82rem;
    font-weight: 600;
}

.tcard-loc i {
    color: var(--dhs-accent);
    font-size: 0.78rem;
}

.tcard-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    color: #c58b12;
    font-size: 0.86rem;
    flex-shrink: 0;
}

.tcard-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.7rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tcard-trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 74px;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(13,43,82,0.08);
    background: rgba(255,255,255,0.84);
    box-shadow: 0 10px 24px rgba(13,43,82,0.05);
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--dhs-primary);
    justify-content: flex-start;
}

.tcard-trust-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(196,39,40,0.08);
    color: var(--dhs-accent);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .cta-assess-panel {
        padding: 1.7rem;
    }

    .cta-assess-box {
        margin-left: auto;
    }

    .tcard-trust-bar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .cta-assess {
        padding: 2.8rem 0 3rem;
    }

    .cta-assess-panel {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .cta-assess-eyebrow {
        font-size: 0.73rem;
        letter-spacing: 0.06em;
    }

    .cta-assess-sub {
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .cta-assess-chips {
        gap: 0.5rem;
    }

    .cta-assess-chips span {
        width: 100%;
        justify-content: flex-start;
        border-radius: 16px;
    }

    .cta-assess-box {
        padding: 1.25rem 1.2rem 1.3rem;
    }

    .cta-assess-btn {
        width: 100%;
        justify-content: center;
    }

    .testimonials-section {
        padding: 3.35rem 0 2.9rem;
    }

    .tcard {
        padding: 1.2rem 1.15rem 1.15rem;
    }

    .tcard-topline {
        gap: 0.65rem;
        margin-bottom: 0.9rem;
    }

    .tcard-quote {
        font-size: 0.93rem;
        line-height: 1.68;
    }

    .tcard-footer {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .tcard-stars {
        width: 100%;
        padding-left: 0.1rem;
    }

    .tcard-trust-item {
        min-height: 0;
    }
}

/* Final split layout: ribbon in hero, metrics below banner */
.hero-indicators {
    bottom: 7.5rem;
}

.hero-scroll-cue {
    bottom: 7.1rem;
}

.stats-strip--hero {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 24;
    padding: 0;
}

.stats-strip--hero .stats-shell {
    padding: 0 0 0.9rem;
}

.stats-strip--hero .stats-shell::before {
    left: clamp(0.5rem, 2vw, 1.5rem);
    top: auto;
    bottom: 0.9rem;
    height: 56px;
    width: clamp(210px, 24vw, 340px);
    border-radius: 18px 0 0 0;
}

.stats-strip--hero .stats-strip-top::before {
    left: clamp(3.75rem, 7vw, 6rem);
    top: auto;
    bottom: 0;
    width: clamp(150px, 16vw, 230px);
    height: 100%;
}

.stats-strip--hero .stats-pillars {
    width: min(100%, calc(100% - clamp(5.5rem, 9vw, 8.5rem)));
    border-radius: 20px 20px 0 0;
}

.stats-strip--hero .stats-strip-grid {
    display: none;
}

.stats-panel-section {
    position: relative;
    margin-top: -0.9rem;
    padding: 0 0 2.25rem;
    background:
        radial-gradient(circle at center, rgba(196,39,40,0.04) 0%, transparent 42%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
}

.stats-panel-section .stats-shell {
    padding: 0;
}

.stats-panel-section .stats-shell::before,
.stats-panel-section .stats-strip-top,
.stats-panel-section .stats-strip-top::before {
    display: none;
}

.stats-panel-section .stats-strip-grid {
    width: min(100%, calc(100% - clamp(3.5rem, 6vw, 5rem)));
    margin-left: auto;
    margin-right: auto;
    border-radius: 0 0 22px 22px;
    clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%, 0 36px);
    box-shadow: 0 20px 34px rgba(0,0,0,0.12);
}

.stats-panel-section .stat-item {
    min-height: 112px;
}

@media (max-width: 991px) {
    .hero-indicators {
        bottom: 7.25rem;
    }

    .hero-scroll-cue {
        bottom: 6.9rem;
    }

    .stats-strip--hero .stats-pillars {
        width: min(100%, calc(100% - 3rem));
    }

    .stats-strip--hero .stats-shell::before {
        left: 0.25rem;
        width: 240px;
        height: 52px;
    }

    .stats-strip--hero .stats-strip-top::before {
        left: 2rem;
        width: 170px;
    }

    .stats-panel-section .stats-strip-grid {
        width: min(100%, calc(100% - 2rem));
    }
}

@media (max-width: 767px) {
    .stats-strip--hero {
        position: absolute;
        bottom: 0;
        margin-top: 0;
    }

    .stats-strip--hero .stats-shell {
        padding-bottom: 0.45rem;
    }

    .stats-strip--hero .stats-shell::before {
        height: 44px;
        width: 150px;
        left: 0;
        bottom: 0.45rem;
    }

    .stats-strip--hero .stats-strip-top::before {
        left: 1.25rem;
        width: 100px;
    }

    .stats-strip--hero .stats-pillars {
        width: calc(100% - 0.5rem);
        margin-left: auto;
        border-radius: 14px 14px 0 0;
    }

    .stats-panel-section {
        margin-top: -0.45rem;
        padding-bottom: 1.5rem;
    }

    .stats-panel-section .stats-strip-grid {
        width: 100%;
        clip-path: none;
        border-radius: 0 0 16px 16px;
    }

    .stats-panel-section .stat-item {
        min-height: 86px;
    }
}

@media (max-width: 479px) {
    .stats-strip--hero .stats-pillars {
        gap: 0.4rem 0.7rem;
        padding: 0.48rem 0.55rem 0.42rem;
    }

    .stats-panel-section .stat-item {
        min-height: 82px;
    }
}

/* =================================================================
   Unified Light Section Surface
   ================================================================= */

.events-section,
.legacy-video-section,
.technology-div,
.cta-assess,
.testimonials-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(196, 39, 40, 0.08), transparent 24%),
        radial-gradient(circle at bottom right, rgba(13, 43, 82, 0.10), transparent 30%),
        linear-gradient(180deg, #f7f9fd 0%, #edf2f9 100%);
}

.events-section::before,
.legacy-video-section::before,
.technology-div::before,
.cta-assess::before,
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 43, 82, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 43, 82, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.events-section > .container,
.events-section > .container-xl,
.legacy-video-section > .container,
.legacy-video-section > .container-xl,
.technology-div > .container,
.technology-div > .container-xl,
.cta-assess > .container,
.cta-assess > .container-xl,
.testimonials-section > .container,
.testimonials-section > .container-xl {
    position: relative;
    z-index: 1;
}
