/* =========================================================
   SIGMA360 - site.css (cleaned + grouped MQ)
   ========================================================= */

/* =========================
   ROOT + BASE
   ========================= */

:root {
    --sigma-primary-color: #7062ae;
    --sigma-secondary-color: #65abd1;
    --sigma-primary-dark: #18152c;
    --sigma-font-sans: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    /* Optional: fine-tuned tracking */
    --sigma-letter-tight: -0.02em;
    --sigma-letter-normal: -0.01em;
    /* Optional: consistent line heights */
    --sigma-lh-tight: 1.15;
    --sigma-lh-title: 1.22;
    --sigma-lh-body: 1.60;
    /* Optional: type scale base */
    --sigma-fs-base: 1rem; /* 16px */
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* offset for sticky/overlay navbar */
}

html, body {
    font-family: var(--sigma-font-sans);
}

/* Base text */
body {
    font-size: var(--sigma-fs-base);
    line-height: var(--sigma-lh-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, .h1 {
    letter-spacing: var(--sigma-letter-tight);
    line-height: var(--sigma-lh-tight);
    font-weight: 700;
}

h2, .h2 {
    letter-spacing: var(--sigma-letter-tight);
    line-height: var(--sigma-lh-title);
    font-weight: 700;
}

h3, .h3 {
    letter-spacing: var(--sigma-letter-normal);
    line-height: 1.25;
    font-weight: 700;
}

h4, .h4 {
    letter-spacing: var(--sigma-letter-normal);
    line-height: 1.3;
    font-weight: 700;
}

h5, .h5 {
    letter-spacing: var(--sigma-letter-normal);
    line-height: 1.35;
    font-weight: 700;
}

h6, .h6 {
    letter-spacing: 0;
    line-height: 1.35;
    font-weight: 600;
}

/* Lead text (Bootstrap uses .lead) */
.lead {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

/* Small text */
.small, small {
    font-size: 0.925rem;
    line-height: 1.45;
}

/* Buttons */
.btn {
    font-weight: 600;
    letter-spacing: -0.01em;
    box-sizing: border-box;
}

.sigma-btn-primary {
    background: linear-gradient( 135deg, rgba(72, 57, 131, 1) 0%, rgba(129, 114, 196, 1) 100% );
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 1rem;
    padding: 0.9rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .sigma-btn-primary:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(72, 57, 131, 0.25);
        opacity: 0.96;
    }

    .sigma-btn-primary:focus,
    .sigma-btn-primary:active,
    .sigma-btn-primary:active:focus {
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(129, 114, 196, 0.35);
        border: none;
    }

    .sigma-btn-primary:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

.sigma-btn-primary-sm {
    background: linear-gradient( 135deg, rgba(72, 57, 131, 1) 0%, rgba(129, 114, 196, 1) 100% );
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.35rem 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .sigma-btn-primary-sm:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(72, 57, 131, 0.22);
        opacity: 0.96;
    }

    .sigma-btn-primary-sm:focus,
    .sigma-btn-primary-sm:active,
    .sigma-btn-primary-sm:active:focus {
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(129, 114, 196, 0.35);
        border: none;
    }

.sigma-btn-secondary {
    background: #fff;
    border: 1px solid rgba(129, 114, 196, 0.45);
    color: rgba(72, 57, 131, 1);
    font-weight: 600;
    border-radius: 1rem;
    padding: 0.9rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .sigma-btn-secondary:hover {
        background: rgba(129, 114, 196, 0.08);
        border-color: rgba(129, 114, 196, 0.75);
        color: rgba(72, 57, 131, 1);
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(72, 57, 131, 0.10);
    }

    .sigma-btn-secondary:focus,
    .sigma-btn-secondary:active,
    .sigma-btn-secondary:active:focus {
        color: rgba(72, 57, 131, 1);
        background: rgba(129, 114, 196, 0.12);
        border-color: rgba(129, 114, 196, 1);
        box-shadow: 0 0 0 0.2rem rgba(129, 114, 196, 0.25);
    }

    .sigma-btn-secondary:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

.sigma-btn-secondary-sm {
    background: #fff;
    border: 1px solid rgba(129, 114, 196, 0.45);
    color: rgba(72, 57, 131, 1);
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.35rem 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .sigma-btn-secondary-sm:hover {
        background: rgba(129, 114, 196, 0.08);
        border-color: rgba(129, 114, 196, 0.75);
        color: rgba(72, 57, 131, 1);
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(72, 57, 131, 0.12);
    }

    .sigma-btn-secondary-sm:focus,
    .sigma-btn-secondary-sm:active,
    .sigma-btn-secondary-sm:active:focus {
        color: rgba(72, 57, 131, 1);
        background: rgba(129, 114, 196, 0.12);
        border-color: rgba(129, 114, 196, 1);
        box-shadow: 0 0 0 0.2rem rgba(129, 114, 196, 0.25);
    }

.sigma-btn-danger {
    background: linear-gradient( 135deg, rgba(132, 36, 64, 1) 0%, rgba(208, 73, 108, 1) 100% );
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 1rem;
    padding: 0.9rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .sigma-btn-danger:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(132, 36, 64, 0.25);
        opacity: 0.96;
    }

    .sigma-btn-danger:focus,
    .sigma-btn-danger:active,
    .sigma-btn-danger:active:focus {
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(208, 73, 108, 0.35);
        border: none;
    }

    .sigma-btn-danger:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

.sigma-btn-danger-sm {
    background: linear-gradient( 135deg, rgba(132, 36, 64, 1) 0%, rgba(208, 73, 108, 1) 100% );
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.35rem 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .sigma-btn-danger-sm:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(132, 36, 64, 0.22);
        opacity: 0.96;
    }

    .sigma-btn-danger-sm:focus,
    .sigma-btn-danger-sm:active,
    .sigma-btn-danger-sm:active:focus {
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(208, 73, 108, 0.35);
        border: none;
    }

.sigma-btn-primary-icon,
.sigma-btn-secondary-icon,
.sigma-btn-danger-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.sigma-btn-primary-icon {
    background: linear-gradient( 135deg, rgba(72, 57, 131, 1) 0%, rgba(129, 114, 196, 1) 100% );
    border: none;
    color: #fff;
}

    .sigma-btn-primary-icon:hover,
    .sigma-btn-primary-icon:focus {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(72, 57, 131, 0.22);
    }

.sigma-btn-secondary-icon {
    background: #fff;
    border: 1px solid rgba(129, 114, 196, 0.45);
    color: rgba(72, 57, 131, 1);
}

    .sigma-btn-secondary-icon:hover,
    .sigma-btn-secondary-icon:focus {
        background: rgba(129, 114, 196, 0.08);
        border-color: rgba(129, 114, 196, 0.75);
        color: rgba(72, 57, 131, 1);
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(72, 57, 131, 0.12);
    }

.sigma-btn-danger-icon {
    background: linear-gradient( 135deg, rgba(132, 36, 64, 1) 0%, rgba(208, 73, 108, 1) 100% );
    border: none;
    color: #fff;
}

    .sigma-btn-danger-icon:hover,
    .sigma-btn-danger-icon:focus {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(132, 36, 64, 0.22);
    }

/* Shared button alignment */
.sigma-btn-primary,
.sigma-btn-secondary,
.sigma-btn-danger {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sigma-btn-primary-sm,
.sigma-btn-secondary-sm,
.sigma-btn-danger-sm {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Cards / badges */
.card-title {
    letter-spacing: -0.01em;
}

.badge {
    font-weight: 600;
    letter-spacing: -0.005em;
}

/* Focus ring (SIGMA theme) */
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(112, 98, 174, 0.55);
}

/* =========================
   SIGMA UTILITIES
   ========================= */

.text-sigma-purple {
    color: var(--sigma-primary-color, #7062ae);
}

.text-sigma-blue {
    color: var(--sigma-secondary-color, #65abd1);
}

.text-sigma-dark {
    color: var(--sigma-primary-dark, #18152c);
}

.bg-sigma-purple {
    background: var(--sigma-primary-color);
}

.bg-sigma-blue {
    background: var(--sigma-secondary-color);
}

.bg-sigma-lightblue {
    background: #6bc1e3;
}

.bg-sigma-dark {
    background: var(--sigma-primary-dark);
}

.sigma-shadow {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.sigma-card-shadow {
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.sigma-rotate-180 {
    transform: rotate(180deg);
}

/* =========================
   NAVBAR
   ========================= */

.sigma-navbar {
    background-color: var(--sigma-primary-dark);
    transition: background-color 0.3s ease;
}

.sigma-navbar-transparent {
    background-color: transparent;
}

.navbar-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sigma-navbar:not(.sigma-navbar-transparent) .navbar-logo-wrapper {
    background-color: var(--sigma-primary-color, #7062ae);
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-logo {
    height: 36px;
    width: auto;
    display: block;
}

/* Mobile collapsed navbar menu */
@media (max-width: 991.98px) {
    .sigma-navbar .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.9rem 1rem;
        background: rgba(24, 21, 44, 0.98);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    }

        .sigma-navbar .navbar-collapse .nav-link {
            color: rgba(255, 255, 255, 0.88);
            padding-top: 0.65rem;
            padding-bottom: 0.65rem;
        }

            .sigma-navbar .navbar-collapse .nav-link:hover,
            .sigma-navbar .navbar-collapse .nav-link:focus {
                color: #ffffff;
            }

        .sigma-navbar .navbar-collapse .navbar-nav {
            gap: 0.15rem;
        }
}

.sigma-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

    .sigma-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(129, 114, 196, 0.35);
    }

/* =========================
   HERO
   ========================= */

.hero-section {
    min-height: 50vh;
    background: linear-gradient( 44deg, rgba(10, 10, 19, 1) 5%, rgba(72, 57, 131, 1) 30%, rgba(129, 114, 196, 1) 54%, rgba(134, 153, 227, 1) 70%, rgba(65, 178, 205, 1) 100% );
    display: flex;
    align-items: center;
    padding-top: 80px; /* space for overlay navbar */
}

    .hero-section .display-4 {
        letter-spacing: var(--sigma-letter-tight);
        line-height: 1.05;
        font-weight: 800; /* ako ti paše “impact” */
    }

.hero-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* =========================
   INNER PAGE HERO
   ========================= */

.sigma-page-hero {
    min-height: 180px;
    padding-top: 92px;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    background: linear-gradient( 44deg, rgba(10, 10, 19, 1) 5%, rgba(72, 57, 131, 1) 30%, rgba(129, 114, 196, 1) 54%, rgba(134, 153, 227, 1) 70%, rgba(65, 178, 205, 1) 100% );
}

.sigma-page-title {
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Mobile */
@media (max-width: 767.98px) {

    .sigma-page-hero {
        min-height: 180px;
        padding-top: 86px;
        padding-bottom: 1.5rem;
        text-align: center;
    }

    .sigma-page-title {
        font-size: 2rem;
    }
}

/* =========================
   LATEST NEWS STRIP
   ========================= */

.sigma-latest-news-strip {
    background: linear-gradient( 135deg, rgba(112, 98, 174, 0.04), rgba(101, 171, 209, 0.06) );
    border-bottom: 1px solid rgba(112, 98, 174, 0.12);
}

.sigma-latest-news-line {
    position: relative;
    padding: 0.15rem 0 0.15rem 1.15rem;
    border-left: 5px solid var(--sigma-primary-color);
}

    .sigma-latest-news-line::before {
        content: "";
        position: absolute;
        left: -5px;
        top: 0;
        width: 5px;
        height: 44px;
        border-radius: 999px;
        background: linear-gradient( 180deg, var(--sigma-primary-color), var(--sigma-secondary-color) );
    }

.sigma-latest-news-date {
    color: rgba(72, 57, 131, 0.72);
    font-weight: 500;
}

.sigma-latest-news-line-title {
    color: var(--sigma-primary-dark);
    transition: color 0.2s ease;
}

    .sigma-latest-news-line-title:hover {
        color: var(--sigma-primary-color) !important;
    }

.sigma-latest-news-summary {
    color: rgba(10, 10, 19, 0.62);
    font-size: 0.95rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================
   ABOUT
   ========================= */

.sigma-about-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(700px 320px at 8% 18%, rgba(112, 98, 174, 0.08), transparent 65%), radial-gradient(620px 280px at 92% 70%, rgba(101, 171, 209, 0.10), transparent 68%), #ffffff;
}

.sigma-about-focus-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(112, 98, 174, 0.12);
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 18px 42px rgba(10, 10, 19, 0.08);
}

.sigma-about-focus-item {
    height: 100%;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: linear-gradient( 180deg, rgba(247, 246, 252, 1) 0%, rgba(255, 255, 255, 1) 100% );
    border: 1px solid rgba(112, 98, 174, 0.10);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .sigma-about-focus-item:hover {
        transform: translateY(-3px);
        border-color: rgba(112, 98, 174, 0.24);
        box-shadow: 0 12px 28px rgba(10, 10, 19, 0.10);
    }

.sigma-about-focus-icon {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: linear-gradient( 135deg, rgba(112, 98, 174, 0.13) 0%, rgba(101, 171, 209, 0.18) 100% );
    color: var(--sigma-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.sigma-about-focus-item h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--sigma-primary-dark);
    margin-bottom: 0.5rem;
}

.sigma-about-focus-item p {
    color: rgba(10, 10, 19, 0.64);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .sigma-about-focus-panel {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .sigma-about-focus-panel {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .sigma-about-focus-item {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 1rem;
        align-items: start;
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: none;
    }
        .sigma-about-focus-item:hover {
            transform: none;
            box-shadow: none;
        }

    .sigma-about-focus-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 0;
    }

    .sigma-about-focus-content {
        min-width: 0;
    }

    .sigma-about-focus-item h3 {
        margin-bottom: 0.3rem;
    }

    .sigma-about-focus-item p {
        font-size: 0.92rem;
        line-height: 1.45;
    }
}

/* ================================
   SIGMA – Funding ribbon
================================ */

.sigma-funding-ribbon-full {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: radial-gradient(700px 260px at 12% 20%, rgba(112, 98, 174, 0.22), transparent 68%), radial-gradient(680px 260px at 88% 70%, rgba(101, 171, 209, 0.16), transparent 70%), linear-gradient(135deg, #12111f 0%, #1c1833 55%, #171c2f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.sigma-funding-ribbon-content {
    padding: 3rem 0;
}

.sigma-funding-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: start;
    height: 100%;
}

    .sigma-funding-item i {
        font-size: 2rem;
        color: rgba(255, 255, 255, 0.92);
        flex-shrink: 0;
        line-height: 1.1;
        margin-top: 0.05rem;
    }

.sigma-funding-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.1rem;
}

.sigma-funding-value {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .sigma-funding-item i {
        font-size: 1.65rem;
    }

    .sigma-funding-value {
        font-size: 0.92rem;
    }
}

/* Optional: make the long "Call" text a tad tighter on small screens */
@media (max-width: 575.98px) {
    .sigma-funding-value {
        font-size: 0.92rem;
    }

    .sigma-funding-ribbon-content {
        padding: 2rem
    }

    .sigma-funding-item {
        gap: 0.65rem;
    }
}

/* =========================
   OBJECTIVES
   ========================= */

/* Icon navigation wrapper */
#objectives .objectives-tabs {
    width: 100%;
}

/* Helper text above objective buttons */
#objectives .objectives-helper-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
    padding: 0;
}

/* Icon button list */
#objectives .objectives-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

/* Icon buttons */
#objectives .objectives-icon-btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(112, 98, 174, 0.20);
    background: #ffffff;
    color: var(--sigma-primary-color);
    box-shadow: 0 0.25rem 0.75rem rgba(10, 10, 19, 0.05);
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    #objectives .objectives-icon-btn i {
        font-size: 1.4rem;
    }

    #objectives .objectives-icon-btn:hover {
        transform: translateY(-1px);
        background-color: rgba(112, 98, 174, 0.08);
        border-color: rgba(112, 98, 174, 0.35);
    }

    #objectives .objectives-icon-btn.active {
        background-color: var(--sigma-primary-color);
        border-color: var(--sigma-primary-color);
        color: #ffffff;
        box-shadow: 0 0.45rem 1rem rgba(112, 98, 174, 0.18);
    }

/* Media panel wrapper */
#objectives .objectives-media {
    position: relative;
    border-radius: 0.5rem;
}

/* Dark gradient overlay for readability */
#objectives .objectives-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(10, 10, 19, 0.00) 30%, rgba(10, 10, 19, 0.35) 60%, rgba(10, 10, 19, 0.75) 100% );
    pointer-events: none;
}

/* Caption bottom-left */
#objectives .objectives-media-caption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: #fff;
    z-index: 2;
    max-width: 80%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Details panel spacing */
#objectives .sigma-details {
    overflow: hidden;
}

#objectives .sigma-details-header {
    padding: 0 1rem;
}

#objectives .sigma-details-body {
    padding: 1.25rem;
}

/* Badges */
.badge-sigma {
    background-color: var(--sigma-primary-color);
    color: #ffffff;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 575.98px) {
    #objectives .objectives-icon-list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.45rem;
    }

    #objectives .objectives-icon-btn {
        width: 100%;
        height: 44px;
    }

        #objectives .objectives-icon-btn i {
            font-size: 1.2rem;
        }

    #objectives .objectives-helper-text {
        font-size: 0.9rem;
    }

    #objectives .sigma-details-header {
        padding: 0;
    }

    #objectives .sigma-details-body {
        padding: 1rem 0;
    }
}

/* =========================
   PIPELINE + PARALLAX BG
   ========================= */

.pipeline-section {
    padding: 4rem 0;
}

/* Parallax background helper */
.sigma-parallax-bg {
    position: relative;
    background-image: url("../images/footer/vr-image.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

    /* Purple/blue tint overlay */
    .sigma-parallax-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 135deg, rgba(10, 10, 19, 0.52) 0%, rgba(72, 57, 131, 0.56) 42%, rgba(101, 171, 209, 0.42) 100% );
    }

/* Desktop parallax effect */
@media (min-width: 992px) {
    #pipeline.sigma-parallax-bg {
        background-attachment: fixed;
    }
}

/* Mobile/tablet fallback */
@media (max-width: 991.98px) {
    #pipeline.sigma-parallax-bg {
        background-attachment: scroll;
    }
}

/* Ensure pipeline content sits above overlay */
#pipeline,
#pipeline .container {
    position: relative;
    z-index: 1;
}

/* Vertical workflow panel */
.pipeline-vertical-wrap {
    position: relative;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.pipeline-vertical-steps {
    position: relative;
    display: grid;
    gap: 1rem;
}

    /* Connecting line behind vertical nodes */
    .pipeline-vertical-steps::before {
        content: "";
        position: absolute;
        left: 31px;
        top: 32px;
        bottom: 32px;
        width: 3px;
        border-radius: 999px;
        background: linear-gradient( 180deg, rgba(112, 98, 174, 0.95), rgba(101, 171, 209, 0.95) );
        opacity: 0.75;
    }

.pipeline-vertical-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    align-items: center;
    min-height: 76px;
}

.pipeline-vertical-node {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(10, 10, 19, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 6px rgba(112, 98, 174, 0.12), 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .pipeline-vertical-node i {
        font-size: 1.45rem;
    }

.pipeline-vertical-content {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(10, 10, 19, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pipeline-vertical-step:hover .pipeline-vertical-node {
    transform: translateY(-1px);
    box-shadow: 0 0 0 6px rgba(101, 171, 209, 0.14), 0 12px 35px rgba(0, 0, 0, 0.35);
}

.pipeline-vertical-step:hover .pipeline-vertical-content {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 19, 0.42);
}

.pipeline-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.pipeline-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.35;
}

/* Mobile */
@media (max-width: 575.98px) {
    .pipeline-vertical-wrap {
        padding: 1rem;
        border-radius: 1.25rem;
        border-radius: 1rem;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.06);
    }

    .pipeline-vertical-step {
        grid-template-columns: 56px 1fr;
        gap: 0.85rem;
        min-height: 72px;
    }

    .pipeline-vertical-node {
        width: 56px;
        height: 56px;
    }

        .pipeline-vertical-node i {
            font-size: 1.3rem;
        }

    .pipeline-vertical-steps::before {
        left: 27px;
        top: 28px;
        bottom: 28px;
    }

    .pipeline-vertical-content {
        padding: 0.8rem 0.9rem;
        border-radius: 0.85rem;
    }
}

/* =========================
   PEOPLE (Grid Cards)
   ========================= */

#people .sigma-person-card {
    background: #ffffff;
    border: 1px solid rgba(10, 10, 19, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

    #people .sigma-person-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(112, 98, 174, 0.14), 0 0 26px rgba(112, 98, 174, 0.22); /* sigma glow */
    }

/* Image container */
#people .sigma-person-media {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: linear-gradient(180deg, #f1f1f4 0%, #e8e8ee 100%);
    transition: filter .35s ease;
}

/* Hover: slightly brighter background behind image */
#people .sigma-person-card:hover .sigma-person-media {
    filter: brightness(1.08) saturate(1.05);
}

/* Image effects */
#people .sigma-person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.03);
    transition: filter .35s ease, transform .35s ease;
}

#people .sigma-person-card:hover .sigma-person-img {
    filter: grayscale(0%);
    transform: scale(1.12);
}

/* Divider between image and body */
#people .sigma-person-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--sigma-primary-color), transparent);
    opacity: 0.85;
}

/* Overlay container (no background; gradient via ::before) */
#people .sigma-person-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: .6rem;
    padding: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
    background: none;
}

    /* Gradient overlay BELOW icons */
    #people .sigma-person-overlay::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(10, 10, 19, 0.78) 0%, rgba(10, 10, 19, 0.35) 28%, rgba(10, 10, 19, 0.00) 70% );
        z-index: 1;
    }

    /* Put icons above gradient */
    #people .sigma-person-overlay > a {
        position: relative;
        z-index: 2;
    }

#people .sigma-person-card:hover .sigma-person-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Social buttons - SIGMA glass purple */
#people .sigma-social {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(112, 98, 174, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(10px) saturate(1.35);
    -webkit-backdrop-filter: blur(10px) saturate(1.35);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

    #people .sigma-social:hover {
        transform: translateY(-2px);
        background: rgba(112, 98, 174, 0.42);
        border-color: rgba(255, 255, 255, 0.60);
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22), 0 0 18px rgba(112, 98, 174, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    #people .sigma-social i {
        font-size: 1.15rem;
    }

/* Body spacing (if you use p-4 in HTML, this keeps it consistent) */
#people .sigma-person-card .p-4 {
    padding: 1.5rem !important;
}

#people .bg-secondary-subtle {
    background-color: rgba(10, 10, 19, 0.06) !important;
}

#people .badge {
    letter-spacing: 0.1px;
}

@media (max-width: 767.98px) {
    #people .sigma-person-card {
        border-radius: 1rem !important;
        box-shadow: none !important;
    }

        #people .sigma-person-card:hover {
            transform: none;
            box-shadow: none;
        }

    #people .sigma-person-media {
        height: 280px;
    }

    #people .sigma-person-img {
        filter: grayscale(0%);
        transform: none;
    }

    #people .sigma-person-card:hover .sigma-person-img {
        filter: grayscale(0%);
        transform: none;
    }

    #people .sigma-person-overlay {
        opacity: 1;
        transform: none;
        background: linear-gradient( to top, rgba(10, 10, 19, 0.66) 0%, rgba(10, 10, 19, 0.20) 38%, rgba(10, 10, 19, 0.00) 72% );
    }
}

/* =========================
   NEWS INDEX
   ========================= */

.sigma-news-feature-card {
    background: linear-gradient( 180deg, rgba(255,255,255,1) 0%, rgba(247,246,252,1) 58%, rgba(238,247,252,1) 100% );
    border: 1px solid rgba(112, 98, 174, 0.10) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .sigma-news-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(10, 10, 19, 0.16), 0 0 0 1px rgba(112, 98, 174, 0.12);
    }

.sigma-news-feature-media {
    position: relative;
    display: block;
    overflow: hidden;
}

    .sigma-news-feature-media img {
        transform: scale(1.01);
        transition: transform 0.35s ease, filter 0.35s ease;
    }

.sigma-news-feature-card:hover .sigma-news-feature-media img {
    transform: scale(1.06);
    filter: saturate(1.06) brightness(1.02);
}

.sigma-news-feature-placeholder {
    background: linear-gradient( 135deg, rgba(72, 57, 131, 1) 0%, rgba(101, 171, 209, 1) 100% );
}

.sigma-news-feature-date {
    color: rgba(72, 57, 131, 0.72);
    font-weight: 500;
}

.sigma-news-feature-title {
    color: var(--sigma-primary-dark);
}

    .sigma-news-feature-title:hover {
        color: var(--sigma-primary-color);
    }

.sigma-news-feature-summary {
    color: rgba(10, 10, 19, 0.68);
}

.sigma-more-news {
    border-top: 1px solid rgba(112, 98, 174, 0.16);
}

.sigma-more-news-list {
    border-top: 1px solid rgba(112, 98, 174, 0.14);
}

.sigma-more-news-item {
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(112, 98, 174, 0.14);
}

.sigma-more-news-title:hover {
    color: var(--sigma-primary-color) !important;
}

.sigma-more-news-thumb-link,
.sigma-more-news-placeholder {
    display: block;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 1rem;
    text-decoration: none;
}

.sigma-more-news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sigma-more-news-item:hover .sigma-more-news-thumb {
    transform: scale(1.05);
    filter: saturate(1.05) brightness(1.02);
}

.sigma-more-news-placeholder {
    background: linear-gradient( 135deg, rgba(112, 98, 174, 0.10) 0%, rgba(101, 171, 209, 0.14) 100% );
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .sigma-more-news-thumb-link,
    .sigma-more-news-placeholder {
        height: 200px;
    }

    .sigma-more-news-item {
        padding: 1.75rem 0;
    }
}

.sigma-admin-news-thumb {
    width: 82px;
    height: 58px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 6px 16px rgba(10, 10, 19, 0.14);
    flex-shrink: 0;
}

.sigma-admin-news-thumb-placeholder {
    width: 82px;
    height: 58px;
    border-radius: 0.75rem;
    background: linear-gradient( 135deg, rgba(112, 98, 174, 0.10) 0%, rgba(101, 171, 209, 0.14) 100% );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =========================
   NEWS ARTICLE
   ========================= */

.sigma-news-article {
    background: #ffffff;
}

.sigma-news-hero-image {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

    .sigma-news-hero-image img {
        width: 100%;
        max-height: 560px;
        object-fit: cover;
        border-radius: 1.5rem;
        box-shadow: 0 18px 42px rgba(10, 10, 19, 0.18);
    }

    .sigma-news-hero-image figcaption {
        margin-top: 0.75rem;
        color: #6c757d;
        font-size: 0.925rem;
        text-align: center;
    }

.sigma-news-lead {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.55;
    color: var(--sigma-primary-dark);
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(112, 98, 174, 0.18);
}

.sigma-news-content {
    color: rgba(10, 10, 19, 0.84);
    font-size: 1.075rem;
    line-height: 1.85;
}

    .sigma-news-content p {
        margin-bottom: 1.35rem;
    }

    .sigma-news-content a {
        color: var(--sigma-primary-color);
        font-weight: 600;
    }

        .sigma-news-content a:hover {
            color: var(--sigma-primary-dark);
        }


.sigma-news-content h2,
.sigma-news-content h3,
.sigma-news-content h4 {
    color: var(--sigma-primary-dark);
    letter-spacing: -0.02em;
    margin-top: 1.1rem;
    margin-bottom: 1rem;
}

.sigma-news-content h2 {
    font-size: 1.65rem;
}

.sigma-news-content h3 {
    font-size: 1.35rem;
}

.sigma-news-content h4 {
    font-size: 1.15rem;
}

.sigma-news-content ul,
.sigma-news-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.sigma-news-content li {
    margin-bottom: 0.45rem;
}

.sigma-news-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--sigma-primary-color);
    border-radius: 0 1rem 1rem 0;
    color: rgba(10, 10, 19, 0.78);
}

.sigma-news-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.sigma-news-content th,
.sigma-news-content td {
    border: 1px solid rgba(112, 98, 174, 0.18);
    padding: 0.75rem;
    vertical-align: top;
}

.sigma-news-content th {
    background: rgba(112, 98, 174, 0.10);
    color: var(--sigma-primary-dark);
}

.sigma-quill-editor {
    min-height: 360px;
    background: #fff;
}

.ql-toolbar.ql-snow {
    border-radius: 0.75rem 0.75rem 0 0;
    border-color: rgba(112, 98, 174, 0.22);
}

.ql-container.ql-snow {
    border-radius: 0 0 0.75rem 0.75rem;
    border-color: rgba(112, 98, 174, 0.22);
    font-family: inherit;
    font-size: 1rem;
}

.ql-editor {
    min-height: 320px;
}

.sigma-news-inline-image {
    margin: 2.5rem 0;
}

    .sigma-news-inline-image img {
        width: 100%;
        max-height: 520px;
        object-fit: cover;
        border-radius: 1.25rem;
        box-shadow: 0 14px 34px rgba(10, 10, 19, 0.16);
    }

    .sigma-news-inline-image figcaption {
        margin-top: 0.75rem;
        color: #6c757d;
        font-size: 0.925rem;
        text-align: center;
    }

    .sigma-news-inline-image .sigma-news-image-button {
        border-radius: 1.25rem;
        overflow: hidden;
    }

.sigma-news-gallery {
    border-top: 1px solid rgba(112, 98, 174, 0.16);
}

.sigma-news-gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px rgba(10, 10, 19, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sigma-news-gallery-item:hover img {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(10, 10, 19, 0.18);
}

.sigma-news-gallery-item figcaption {
    margin-top: 0.65rem;
    color: #6c757d;
    font-size: 0.925rem;
}

.sigma-related-news {
    border-top: 1px solid rgba(112, 98, 174, 0.16);
}

.sigma-related-news-item {
    background: linear-gradient( 180deg, rgba(255,255,255,1) 0%, rgba(247,246,252,1) 100% );
    border: 1px solid rgba(112, 98, 174, 0.12);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

    .sigma-related-news-item:hover {
        transform: translateY(-3px);
        border-color: rgba(112, 98, 174, 0.24);
        box-shadow: 0 14px 30px rgba(10, 10, 19, 0.12);
    }

.sigma-related-news-media,
.sigma-related-news-placeholder {
    display: block;
    width: 100%;
    height: 170px;
    overflow: hidden;
    text-decoration: none;
}

    .sigma-related-news-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.32s ease, filter 0.32s ease;
    }

.sigma-related-news-item:hover .sigma-related-news-media img {
    transform: scale(1.05);
    filter: saturate(1.05) brightness(1.02);
}

.sigma-related-news-placeholder {
    background: linear-gradient( 135deg, rgba(112, 98, 174, 0.10) 0%, rgba(101, 171, 209, 0.14) 100% );
    display: flex;
    align-items: center;
    justify-content: center;
}

.sigma-related-news-body {
    padding: 1.25rem;
}

.sigma-related-news-title:hover {
    color: var(--sigma-primary-color) !important;
}

@media (max-width: 767.98px) {
    .sigma-related-news-media,
    .sigma-related-news-placeholder {
        height: 210px;
    }
}

.sigma-news-back-link {
    border-top: 1px solid rgba(112, 98, 174, 0.16);
}

@media (max-width: 767.98px) {
    .sigma-news-hero-image img {
        border-radius: 1rem;
        max-height: 380px;
    }

    .sigma-news-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .sigma-news-gallery-item img {
        height: 230px;
        border-radius: 1rem;
    }
}

.sigma-news-image-button {
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    display: block;
    width: 100%;
    cursor: zoom-in;
    text-align: inherit;
}

    .sigma-news-image-button img {
        display: block;
    }

.sigma-news-image-modal .modal-content {
    border-radius: 1.5rem;
    overflow: hidden;
}

.sigma-news-image-modal .modal-body {
    background: #ffffff;
}

.sigma-news-image-modal img {
    max-height: 78vh;
    object-fit: contain;
}

/* =========================
   FOOTER
   ========================= */

.sigma-footer {
    background: radial-gradient(800px 400px at 15% 20%, rgba(112, 98, 174, 0.25), transparent 65%), radial-gradient(700px 350px at 85% 40%, rgba(101, 171, 209, 0.20), transparent 70%), linear-gradient(180deg, #0A0A13 0%, #111126 50%, #0A0A13 100%);
}

.sigma-footer-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 8px;
}

.sigma-footer-link {
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

    .sigma-footer-link:hover {
        color: #ffffff;
        opacity: 1;
        text-decoration: underline;
    }

.sigma-footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sigma-footer-org-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.20));
    opacity: 0.95;
}

.sigma-footer-hr {
    border-color: rgba(255,255,255,0.15);
}

.logo-white {
    filter: brightness(0) invert(1);
}

/* =========================================================
   MEDIA QUERIES (grouped)
   ========================================================= */

/* SM */
@media (max-width: 576px) {
    .sigma-footer-org-logo {
        height: 38px;
    }
}

/* MD+ */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* LG+ */
@media (min-width: 992px) {
    /* Parallax desktop */
    .sigma-parallax-bg {
        background-attachment: fixed;
    }

    /* Objectives media height */
    #objectives .objectives-media {
        min-height: 420px; /* adjust to taste */
    }

    /* People media height */
    #people .sigma-person-media {
        height: 360px;
    }

    /* People body spacing */
    #people .sigma-person-card .p-4 {
        padding: 1.75rem !important;
    }

    h2, .h2 {
        font-size: 2.1rem;
    }

    .lead {
        font-size: 1.2rem;
    }
}

/* LG- (stack pipeline steps) + parallax fallback */
@media (max-width: 991.98px) {
    /* Parallax fallback */
    .sigma-parallax-bg {
        background-attachment: scroll;
    }
}

/* Reduced motion: disable parallax attachment */
@media (prefers-reduced-motion: reduce) {
    .sigma-parallax-bg {
        background-attachment: scroll;
    }
}

/* Mobile background focus (KEEP as you requested) */
#pipeline.sigma-parallax-bg {
    background-color: var(--sigma-primary-dark);
}

@media (max-width: 768px) {
    #pipeline.sigma-parallax-bg {
        background-attachment: scroll;
        background-size: cover;
        background-position: 62% center;
    }
}

@media (max-width: 480px) {
    #pipeline.sigma-parallax-bg {
        background-size: cover;
        background-position: 66% center;
    }
}

@media (min-width: 1200px) {
    h2, .h2 {
        font-size: 2.25rem;
    }
}