/* ── Prevent white flash during scroll ── */
html,
body {
    background-color: #070D1F !important;
}

.bs-page-container,
.page-container,
.community-page-home {
    background-color: #070D1F !important;
}

/* Labels row */
.event-meta-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

/* Pill base */
.eml-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background-color: rgba(8, 16, 45, 0.55);
    backdrop-filter: blur(4px);
}

/* Gold / highlighted pill */
.eml-pill--gold {
    border-color: rgba(180, 148, 50, 0.45);
    background-color: rgba(14, 22, 55, 0.75);
}

/* Dot indicator */
.eml-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #4a6fa5;
}

.eml-pill--gold .eml-dot {
    background-color: #a08840;
}

/* Label text */
.eml-text {
    color: #b8c8de;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.02em;
    font-family: inherit;
}

.eml-pill--gold .eml-text {
    color: #d4a93a;
    font-weight: 600;
}


/* Fix clipping */
.owl-stage-outer {
    overflow: visible !important;
}

.bs-section.main-banner {
    position: relative;
    padding-bottom: 80px !important;
    /* 👈 creates space for scroll indicator */
}

.bs-scroll-indicator {
    position: absolute;
    bottom: 5px;
    /* stays inside the section, no longer clipped */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.bs-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(100, 140, 255, 0.9), rgba(100, 140, 255, 0.1));
    animation: bs-scroll-pulse 1.8s ease-in-out infinite;
    transform-origin: top;
}

.bs-scroll-text {
    color: rgba(160, 185, 255, 0.75);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: inherit;
    animation: bs-scroll-fade 1.8s ease-in-out infinite;
}

@keyframes bs-scroll-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes bs-scroll-fade {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}


.bs-section.main-banner {
    position: relative;
}

.bs-glow-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse 75% 80% at 62% 45%, rgba(18, 45, 210, 0.82) 0%, rgba(8, 20, 90, 0.5) 35%, rgba(2, 5, 18, 0.0) 68%);
    pointer-events: none;
}

.bs-section.main-banner .foreground-layer {
    position: relative;
    z-index: 2;
}

.bs-section.main-banner .bs-scroll-indicator {
    z-index: 3;
}


/* ── Counter + Orbital wrapper ── */
.bs-stats-orbital {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0 20px;
    width: 100%;
}

/* ── Counter grid ── */
.bs-counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex: 0 0 48%;
}

.bs-counter-card {
    background: rgba(10, 20, 60, 0.6);
    border: 1px solid rgba(60, 100, 255, 0.2);
    border-radius: 12px;
    padding: 28px 24px;
}

.bs-counter-num {
    font-size: 52px;
    font-weight: 800;
    color: #4a7bff;
    line-height: 1;
    margin-bottom: 10px;
    font-family: inherit;
}

.bs-counter-label {
    font-size: 13px;
    color: rgba(180, 200, 255, 0.65);
    letter-spacing: 0.03em;
    font-family: inherit;
}

/* ── Orbital ── */
.bs-orbital {
    position: relative;
    flex: 0 0 46%;
    height: 380px;
}

.bs-orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(60, 100, 255, 0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bs-ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(80, 120, 255, 0.5);
}

.bs-ring-2 {
    width: 300px;
    height: 300px;
    animation: bs-orbit-spin 12s linear infinite;
}

.bs-ring-3 {
    width: 400px;
    height: 400px;
    animation: bs-orbit-spin 20s linear infinite reverse;
    border-style: dashed;
}

.bs-orbital-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(60, 100, 255, 0.9) 0%, rgba(30, 60, 200, 0.7) 60%, rgba(10, 20, 80, 0.5) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(60, 100, 255, 0.6), 0 0 80px rgba(60, 100, 255, 0.2);
    z-index: 2;
}

.bs-orbital-core span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
    font-family: inherit;
}

.bs-orbital-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a7bff;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 8px rgba(80, 130, 255, 0.8);
}

.bs-dot-1 {
    animation: bs-dot-orbit1 12s linear infinite;
}

.bs-dot-2 {
    animation: bs-dot-orbit2 12s linear infinite;
}

.bs-dot-3 {
    animation: bs-dot-orbit3 20s linear infinite reverse;
    background: #f5c842;
}

.bs-dot-4 {
    animation: bs-dot-orbit4 20s linear infinite reverse;
}

.bs-orbital-label {
    position: absolute;
    background: rgba(10, 18, 50, 0.85);
    border: 1px solid rgba(60, 100, 255, 0.35);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    color: #b0c4ff;
    white-space: nowrap;
    font-family: inherit;
    backdrop-filter: blur(4px);
}

.bs-label-1 {
    top: 8%;
    left: 58%;
}

.bs-label-2 {
    top: 38%;
    right: 0%;
}

.bs-label-3 {
    bottom: 35%;
    left: 5%;
}

.bs-label-4 {
    bottom: 12%;
    left: 55%;
}

/* ── Keyframes ── */
@keyframes bs-orbit-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes bs-dot-orbit1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(100px);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(100px);
    }
}

@keyframes bs-dot-orbit2 {
    from {
        transform: translate(-50%, -50%) rotate(180deg) translateX(100px);
    }

    to {
        transform: translate(-50%, -50%) rotate(540deg) translateX(100px);
    }
}

@keyframes bs-dot-orbit3 {
    from {
        transform: translate(-50%, -50%) rotate(60deg) translateX(150px);
    }

    to {
        transform: translate(-50%, -50%) rotate(420deg) translateX(150px);
    }
}

@keyframes bs-dot-orbit4 {
    from {
        transform: translate(-50%, -50%) rotate(240deg) translateX(150px);
    }

    to {
        transform: translate(-50%, -50%) rotate(600deg) translateX(150px);
    }
}



/* KEY FOCUS AREAS — Card Section */
.bs-mtList-wgt.grb-list.lyt-tiny-media.col-view.column-4 .li-item {
    background: #0d1424 !important;
    border: 1px solid rgba(99, 120, 255, 0.5) !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.bs-mtList-wgt.grb-list.lyt-tiny-media.col-view.column-4 .li-item:hover {
    border-color: rgba(130, 100, 255, 0.9) !important;
    box-shadow:
        0 0 20px rgba(110, 80, 255, 0.5),
        0 0 40px rgba(100, 70, 240, 0.25),
        inset 0 0 20px rgba(100, 70, 255, 0.05) !important;
}

.bs-mtList-wgt.grb-list.lyt-tiny-media.col-view.column-4 .li-item .li-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.bs-mtList-wgt.grb-list.lyt-tiny-media.col-view.column-4 .li-item .li-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-top: 8px !important;
}

.bs-mtList-wgt.grb-list.lyt-tiny-media.col-view.column-4 .li-item .li-description {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.6 !important;
}

/* Icon box */
.bs-mtList-wgt.grb-list.lyt-tiny-media.col-view.column-4 .li-item .focus-area-icon-box {
    width: 56px !important;
    height: 56px !important;
    background: #1a2340 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    flex-shrink: 0 !important;
}

.bs-mtList-wgt.grb-list.lyt-tiny-media.col-view.column-4 .li-item .focus-area-icon-box svg {
    width: 28px !important;
    height: 28px !important;
}




/* ── MOBILE FIX: Prevent side scroll ── */
.bs-section.community-section-mediaWithButton-1,
.bs-section.community-section-mediaWithButton-2 {
    overflow-x: hidden !important;
}

/* Fix orbital rings overflow on mobile */
@media (max-width: 768px) {

    /* Stats + Orbital section */
    .bs-stats-orbital {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 24px 0 16px !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .bs-counters {
        flex: 0 0 100% !important;
        width: 100% !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .bs-orbital {
        flex: 0 0 100% !important;
        width: 100% !important;
        height: 280px !important;
        overflow: hidden !important;
    }

    /* Scale down rings to fit mobile */
    .bs-ring-1 {
        width: 130px !important;
        height: 130px !important;
    }

    .bs-ring-2 {
        width: 200px !important;
        height: 200px !important;
    }

    .bs-ring-3 {
        width: 260px !important;
        height: 260px !important;
    }

    /* Scale orbital dot animations */
    @keyframes bs-dot-orbit1 {
        from {
            transform: translate(-50%, -50%) rotate(0deg) translateX(65px);
        }

        to {
            transform: translate(-50%, -50%) rotate(360deg) translateX(65px);
        }
    }

    @keyframes bs-dot-orbit2 {
        from {
            transform: translate(-50%, -50%) rotate(180deg) translateX(65px);
        }

        to {
            transform: translate(-50%, -50%) rotate(540deg) translateX(65px);
        }
    }

    @keyframes bs-dot-orbit3 {
        from {
            transform: translate(-50%, -50%) rotate(60deg) translateX(95px);
        }

        to {
            transform: translate(-50%, -50%) rotate(420deg) translateX(95px);
        }
    }

    @keyframes bs-dot-orbit4 {
        from {
            transform: translate(-50%, -50%) rotate(240deg) translateX(95px);
        }

        to {
            transform: translate(-50%, -50%) rotate(600deg) translateX(95px);
        }
    }

    /* Scale down core circle */
    .bs-orbital-core {
        width: 100px !important;
        height: 100px !important;
    }

    .bs-orbital-core span {
        font-size: 9px !important;
    }

    /* Networking section */
    .bs-networking-wrap {
        flex-direction: column !important;
        gap: 24px !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .bs-networking-left {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .bs-networking-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 300px !important;
        overflow: hidden !important;
    }

    /* Prevent any absolute positioned elements from bleeding out */
    .bs-net-person.bs-np-5,
    .bs-net-person.bs-np-6 {
        right: 8px !important;
    }

    .bs-net-connector {
        display: none !important;
    }
}




.card:nth-child(1)::before {
    content: '🤖';
}

.card:nth-child(2)::before {
    content: '☁️';
}

.card:nth-child(3)::before {
    content: '📊';
}

.card:nth-child(4)::before {
    content: '⚡';
}

.card:nth-child(5)::before {
    content: '🛠️';
}

.card:nth-child(6)::before {
    content: '🏗️';
}

.card:nth-child(7)::before {
    content: '🔒';
}

.card:nth-child(8)::before {
    content: '✨';
}

.card::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #1e2235;
    border-radius: 12px;
    font-size: 28px;
    margin-bottom: 20px;
}