/* ====== Innovate. Build. Scale. (Match screenshot colors + responsive) ====== */
:root {
    /* Page */
    --ibs-bg: #fefaf1;
    /* sampled from image corners */
    --ibs-title: #2b2b2b;
    /* sampled */
    --ibs-muted: #8c8a87;
    /* sampled */

    /* Card */
    --ibs-cardText: #eef0ff;
    --ibs-cardMuted: rgba(238, 240, 255, 0.75);
    --ibs-stroke: rgba(255, 255, 255, 0.12);
    --ibs-stroke2: rgba(255, 255, 255, 0.08);

    /* Accent */
    --ibs-primary: #5a41b6;
    /* sampled from button */
    --ibs-primaryHover: #6b55d6;

    /* Radius / Shadow */
    --ibs-radius: 22px;
    --ibs-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.ibs-section {
    /* background: var(--ibs-bg); */
    padding: clamp(26px, 5vw, 54px) 16px clamp(34px, 6vw, 72px);
}

.ibs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ibs-header {
    text-align: center;
    margin-bottom: clamp(18px, 3vw, 34px);
}

.ibs-header h2 {
    margin: 0;
    /* color: var(--ibs-title); */
    color: #000;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(26px, 2.6vw, 40px);
    line-height: 1.1;
    font-family: 'SatoshiBlack';
}

.ibs-header p {
    margin: 10px auto 0;
    max-width: 760px;
    /* color: var(--ibs-muted); */
    color: #000;
    font-weight: 500;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.55;
    font-family: SatoshiRegular;
}

/* Grid: 1 (mobile) -> 2 (tablet) -> 3 (desktop) */
.ibs-grid {
    display: grid;
    gap: clamp(14px, 2.2vw, 22px);
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 640px) {
    .ibs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* @media (min-width: 980px) {
    .ibs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
} */

/* Card */
.ibs-card {
    /* position: relative;
    overflow: hidden;
    border-radius: var(--ibs-radius);
    padding: 18px 18px 16px;
    min-height: 210px;
    color: var(--ibs-cardText);
    border: 1px solid var(--ibs-stroke2);
    box-shadow: var(--ibs-shadow);

    background:
        radial-gradient(120% 95% at 18% 10%, rgba(90, 65, 182, 0.55) 0%, rgba(90, 65, 182, 0.10) 38%, rgba(0, 0, 0, 0) 62%),
        radial-gradient(85% 70% at 65% 120%, rgba(90, 65, 182, 0.35) 0%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(180deg, #141320 0%, #0e0d16 42%, #08080f 100%); */
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    /* padding: 18px 18px 26px; */
    padding: 30px;
    /* background: #FFF4E2; */
    background: #fff;
    /* border: 2px solid #E6D7BF; */
    border: 2px solid #eee;
    /* background:
        radial-gradient(60% 34% at 20% 45%,
            rgba(88, 92, 255, 0.35) 0%,
            rgba(88, 92, 255, 0.20) 30%,
            rgba(88, 92, 255, 0.08) 55%,
            transparent 75%),

        radial-gradient(23% 49% at 69% 59%,
            rgba(255, 0, 255, 0.30) 0%,
            rgba(200, 0, 255, 0.18) 35%,
            rgba(150, 0, 255, 0.08) 60%,
            transparent 78%),

        #0A0A0F; */
}

/* .ibs-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(60% 34% at 20% 45%,
            rgba(88, 92, 255, 0.35) 0%,
            rgba(88, 92, 255, 0.20) 30%,
            rgba(88, 92, 255, 0.08) 55%,
            transparent 75%);

    transform: rotate(25deg);
    z-index: 0;
}

.ibs-card::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(23% 49% at 69% 59%,
            rgba(255, 0, 255, 0.30) 0%,
            rgba(200, 0, 255, 0.18) 35%,
            rgba(150, 0, 255, 0.08) 60%,
            transparent 78%);

    transform: rotate(-20deg);
    z-index: 0;
} */


/* .ibs-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(70% 45% at 50% 100%, rgba(90, 65, 182, 0.35), rgba(0, 0, 0, 0) 70%);
    opacity: 0.9;
} */

/* Pills */
.ibs-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 3px 10px 0;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    /* background: rgba(255, 255, 255, 0.12); */
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: 'SatoshiBlack';
}

/* Small orange tag (Top growing) */
.ibs-mini-pill {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 12px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(180deg, rgba(255, 146, 92, 0.95), rgba(255, 119, 72, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: 'SatoshiRegular';
    gap: 5px;
    display: none;
}

.ibs-mini-pill img {
    width: 13px;
}

/* Headings */
.ibs-card h3 {
    position: relative;
    z-index: 1;
    margin: 20px 0 15px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-family: 'SatoshiBold';
    /* color: #fff; */
    color: #000;
}

.ibs-sub {
    position: relative;
    z-index: 1;
    margin: 0 0 15px;
    font-size: 16px;
    /* color: var(--ibs-cardMuted); */
    color: #000;
    font-weight: 500;
    font-family: 'SatoshiRegular';
}

/* Tags row */
.ibs-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.ibs-tag {
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 999px;
    /* background: rgba(255, 255, 255, 0.08); */
    /* background: #E8DDC9; */
    background: #eeeeeec7;
    border: 1px solid rgba(255, 255, 255, 0.10);
    /* color: rgba(255, 255, 255, 0.86); */
    color: #262626;
    font-family: 'SatoshiRegular';
}

/* Meta list */
.ibs-meta {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0px 0 23px;
    display: grid;
    gap: 10px;
}

.ibs-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    /* color: rgba(255, 255, 255, 0.86); */
    color: #414141;
    font-size: 14px;
    font-family: 'SatoshiRegular';
}

.ibs-ico {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 11px;
}

/* Actions */
.ibs-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    font-family: 'SatoshiRegular';
}

.ibs-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.ibs-btn-ghost {
    /* color: rgba(255, 255, 255, 0.86); */
    /* background: rgba(255, 255, 255, 0.06); */
    background: #e9e7e759;
    opacity: 0.9;
    /* border: 1px solid var(--ibs-stroke); */
    border: 1px solid #000;
    color: #181818;
}

.ibs-btn-primary {
    /* color: #ffffff; */
    /* background: var(--ibs-primary) */
    background: #dfdfdfed;
    border: 1px solid rgb(0 0 0 / 41%);
    cursor: pointer;
    /* margin-left: auto; */
}

.ibs-meta img {
    width: 15px;
    margin-top: 4px;
}

.ibs-actions img {
    width: 22px;
    height: 22px;
    padding: 4px;
}

/* .ibs-btn:hover {
    transform: translateY(-1px);
}

.ibs-btn-primary:hover {
    background: var(--ibs-primaryHover);
} */

.mec-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg);
    margin-left: 2px;
}

/* ===============================
   Framer-style Scroll Animation
================================= */

/* Scroll-scrub reveal (progress-driven) */
/* Scroll-scrub reveal (progress-driven) */
.reveal-scrub {
    --p: 0;
    /* 0 to 1 */
    opacity: var(--p);
    transform: translateY(calc((1 - var(--p)) * 60px)) scale(calc(0.94 + var(--p) * 0.06));
    filter: blur(calc((1 - var(--p)) * 10px));
    will-change: transform, opacity, filter;
}

.program-journey-headers h2 {
    font-family: 'SatoshiBlack';
    /* font-size: 40px; */
    /* color: #2B2B2B; */
    color: #000;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    text-align: center;
}

.program-journey-headers h2 {
    font-size: 22px;
}

.program-journey-headers p {
    /* color: #4c4c4c; */
    color: #000;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 18px;
    text-align: center;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-scrub {
        opacity: 1;
        transform: none;
        filter: none;
    }
}




/* Mobile: make buttons fit nicely */
@media (max-width: 420px) {
    .ibs-actions {
        gap: 8px;
    }

    .ibs-btn {
        padding: 0 10px;
    }
}

@media (min-width: 375px) {
    .mec-all-program-container {
        padding: 56px 0px;
    }

    .ibs-section {
        margin: 56px 0;
        padding: 0 24px;
    }
}

@media only screen and (min-width: 768px) {
    .program-journey-headers h2 {
        font-size: 26px;
    }
}

@media only screen and (min-width: 1000px) {
    .ibs-section {
        padding: 64px 0px;
    }

    .ibs-container {
        max-width: 900px;
    }

    .ibs-card {
        padding: 20px;
    }

    .ibs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (min-width: 1200px) {
    .ibs-container {
        max-width: 1024px;
    }

    .ibs-section {
        margin: 0;
    }

    .ibs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .ibs-container {
        max-width: 1260px;
    }

    .program-journey-headers h2 {
        font-size: 32px;
    }

    .program-journey-headers p {
        font-size: 18px;
    }
}

@media (min-width: 1600px) {
    .program-journey-headers h2 {
        font-size: 40px;
    }
}