/* ==========================================================================
   BizMatch Mega 2026 — Landing Page
   Tema: merah + kuning (rujukan: bizmatch.com.my)
   ========================================================================== */

:root {
    /* Merah */
    --bm-red: #D62027;
    --bm-red-dark: #A81419;
    --bm-red-deep: #7B1113;
    --bm-red-soft: #FDECEC;

    /* Kuning */
    --bm-yellow: #FFC629;
    --bm-yellow-light: #FFDD57;
    --bm-yellow-deep: #F0A500;

    /* Neutral */
    --bm-ink: #111827;
    --bm-body: #4B5563;
    --bm-muted: #6B7280;
    --bm-line: #E5E7EB;
    --bm-light: #F4F5F6;
    --bm-light-2: #EAEAEA;
    --bm-dark: #0E0E0E;
    --bm-dark-2: #191919;

    --bm-shadow-sm: 0 2px 8px rgba(17, 24, 39, .06);
    --bm-shadow: 0 8px 24px rgba(17, 24, 39, .08);
    --bm-shadow-lg: 0 20px 50px rgba(17, 24, 39, .16);

    --bm-radius: 14px;
    --bm-radius-lg: 22px;
}

/* --------------------------------------------------------------------------
   Asas
   -------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body.bm-page {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--bm-ink);
    background: #fff;
    overflow-x: hidden;
}

.bm-page section {
    scroll-margin-top: 84px;
}

.bm-section {
    padding: 72px 0;
}

.bm-section--tight {
    padding: 52px 0;
}

.bm-section--light {
    background: var(--bm-light);
}

.bm-section--light-2 {
    background: var(--bm-light-2);
}

.bm-section-title {
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: .01em;
    text-align: center;
    color: var(--bm-ink);
    margin: 0 auto 44px;
    max-width: 900px;
    line-height: 1.3;
}

.bm-section-title--light {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.bm-navbar {
    background: rgba(14, 14, 14, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
    padding: .6rem 0;
}

.bm-navbar.is-stuck {
    background: #fff;
    border-bottom-color: var(--bm-line);
    box-shadow: var(--bm-shadow-sm);
}

.bm-navbar__brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
}

/* Logo ialah wordmark dengan bahagian merah gelap — letak atas cip putih
   supaya ia kekal terbaca di atas navbar gelap dan navbar putih. */
.bm-navbar__brand img {
    height: 34px;
    width: auto;
    background: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    box-sizing: content-box;
    transition: background .3s ease, box-shadow .3s ease;
}

.bm-navbar.is-stuck .bm-navbar__brand img {
    background: transparent;
    padding: 6px 0;
}

.bm-navbar__brand-text {
    line-height: 1.15;
}

.bm-navbar__brand-title {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    letter-spacing: .02em;
}

.bm-navbar__brand-sub {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    color: var(--bm-yellow);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bm-navbar.is-stuck .bm-navbar__brand-title {
    color: var(--bm-ink);
}

.bm-navbar.is-stuck .bm-navbar__brand-sub {
    color: var(--bm-red);
}

.bm-navbar .nav-link {
    color: rgba(255, 255, 255, .88);
    font-weight: 600;
    font-size: .92rem;
    padding: .5rem .85rem;
    transition: color .2s ease;
}

.bm-navbar .nav-link:hover,
.bm-navbar .nav-link:focus {
    color: var(--bm-yellow);
}

.bm-navbar.is-stuck .nav-link {
    color: var(--bm-body);
}

.bm-navbar.is-stuck .nav-link:hover {
    color: var(--bm-red);
}

.bm-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

.bm-navbar.is-stuck .navbar-toggler {
    border-color: var(--bm-line);
    color: var(--bm-ink);
}

.bm-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(214, 32, 39, .25);
}

/* --------------------------------------------------------------------------
   Butang
   -------------------------------------------------------------------------- */

.bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    cursor: pointer;
}

.bm-btn:hover {
    transform: translateY(-2px);
}

.bm-btn--yellow {
    background: var(--bm-yellow);
    color: var(--bm-red-deep);
    box-shadow: 0 6px 18px rgba(255, 198, 41, .4);
}

.bm-btn--yellow:hover {
    background: var(--bm-yellow-light);
    color: var(--bm-red-deep);
    box-shadow: 0 10px 26px rgba(255, 198, 41, .5);
}

.bm-btn--red {
    background: var(--bm-red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(214, 32, 39, .35);
}

.bm-btn--red:hover {
    background: var(--bm-red-dark);
    color: #fff;
    box-shadow: 0 10px 26px rgba(214, 32, 39, .45);
}

.bm-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.bm-btn--ghost:hover {
    background: #fff;
    color: var(--bm-red);
    border-color: #fff;
}

.bm-btn--outline-red {
    background: transparent;
    color: var(--bm-red);
    border-color: var(--bm-red);
}

.bm-btn--outline-red:hover {
    background: var(--bm-red);
    color: #fff;
}

.bm-navbar.is-stuck .bm-btn--ghost {
    color: var(--bm-red);
    border-color: var(--bm-red);
}

/* Pil CTA dua-lapis (label + badge harga) */
.bm-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 430px;
    padding: .85rem .85rem .85rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.bm-pill:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.bm-pill__badge {
    flex: 0 0 auto;
    padding: .45rem 1.15rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    white-space: nowrap;
}

.bm-pill--primary {
    background: linear-gradient(135deg, var(--bm-red) 0%, var(--bm-red-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(214, 32, 39, .35);
}

.bm-pill--primary .bm-pill__badge {
    background: var(--bm-yellow);
    color: var(--bm-red-deep);
}

.bm-pill--secondary {
    background: linear-gradient(135deg, var(--bm-yellow) 0%, var(--bm-yellow-deep) 100%);
    color: var(--bm-red-deep);
    box-shadow: 0 8px 22px rgba(240, 165, 0, .35);
}

.bm-pill--secondary .bm-pill__badge {
    background: rgba(123, 17, 19, .12);
    color: var(--bm-red-deep);
}

.bm-pill-group {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.bm-pill-group--row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.bm-pill-group--row .bm-pill {
    width: auto;
    min-width: 340px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.bm-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 120px;
    background-color: #2A0708;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.bm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(214, 32, 39, .62) 0%, transparent 58%),
        radial-gradient(ellipse at 86% 76%, rgba(168, 20, 25, .58) 0%, transparent 58%),
        radial-gradient(ellipse at 50% 108%, rgba(255, 198, 41, .16) 0%, transparent 46%),
        linear-gradient(180deg, rgba(12, 4, 4, .86) 0%, rgba(8, 3, 3, .92) 100%);
}

.bm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255, 255, 255, .022) 12px, rgba(255, 255, 255, .022) 24px);
}

.bm-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 198, 41, .16);
    border: 1px solid rgba(255, 198, 41, .45);
    color: var(--bm-yellow);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.bm-hero__title {
    font-size: clamp(2rem, 1.2rem + 3.8vw, 3.6rem);
    font-weight: 400;
    letter-spacing: .02em;
    margin-bottom: .35rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}

.bm-hero__subtitle {
    font-size: clamp(1.35rem, .9rem + 2.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: .01em;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}

.bm-hero__tracks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem 1.5rem;
    font-size: clamp(.95rem, .85rem + .35vw, 1.15rem);
    color: rgba(255, 255, 255, .93);
}

.bm-hero__tracks li::before {
    content: '•';
    color: var(--bm-yellow);
    margin-right: .5rem;
    font-weight: 700;
}

.bm-hero__meta {
    font-size: clamp(.95rem, .85rem + .4vw, 1.2rem);
    line-height: 1.9;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 2rem;
}

.bm-hero__meta strong {
    font-weight: 700;
}

.bm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    justify-content: center;
}

.bm-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 96px;
    transform: translateX(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: bmBounce 2.2s ease-in-out infinite;
    transition: background .2s ease, border-color .2s ease;
}

.bm-hero__scroll:hover {
    background: var(--bm-yellow);
    border-color: var(--bm-yellow);
    color: var(--bm-red-deep);
}

@keyframes bmBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(9px);
    }
}

/* Lengkung putih di bawah hero */
.bm-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    line-height: 0;
    color: var(--bm-light);
}

.bm-hero__wave svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* --------------------------------------------------------------------------
   Kad pengenalan (poster + panel merah)
   -------------------------------------------------------------------------- */

.bm-intro {
    background: var(--bm-light);
    padding: 0 0 72px;
}

.bm-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    border-radius: var(--bm-radius-lg);
    overflow: hidden;
    box-shadow: var(--bm-shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 3;
    background: #fff;
}

.bm-intro__poster {
    position: relative;
    min-height: 460px;
}

.bm-intro__poster img,
.bm-intro__poster .bm-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.bm-intro__panel {
    background: linear-gradient(150deg, var(--bm-red) 0%, var(--bm-red-dark) 100%);
    color: #fff;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bm-intro__title {
    font-size: clamp(1.35rem, 1rem + 1.4vw, 1.95rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.bm-intro__text {
    font-size: .96rem;
    line-height: 1.85;
    text-align: justify;
    color: rgba(255, 255, 255, .93);
    margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   Kad statistik kuning
   -------------------------------------------------------------------------- */

.bm-stats {
    background: var(--bm-light);
    padding: 40px 0 76px;
}

.bm-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 940px;
    margin: 0 auto;
}

.bm-stat {
    position: relative;
    background: linear-gradient(160deg, var(--bm-yellow-light) 0%, var(--bm-yellow) 55%, var(--bm-yellow-deep) 100%);
    border-radius: var(--bm-radius);
    padding: 62px 22px 30px;
    text-align: center;
    box-shadow: var(--bm-shadow);
    margin-top: 38px;
}

.bm-stat__icon {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--bm-red);
    color: var(--bm-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 16px rgba(214, 32, 39, .22);
}

.bm-stat__text {
    color: var(--bm-red-deep);
    font-size: 1.02rem;
    line-height: 1.55;
    margin: 0;
}

.bm-stat__text strong {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Grid logo agensi
   -------------------------------------------------------------------------- */

.bm-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px 24px;
    align-items: center;
}

.bm-logo-tile {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform .25s ease;
}

.bm-logo-tile:hover {
    transform: translateY(-3px);
}

/* Logo agensi dipapar penuh warna, sama seperti rujukan */
.bm-logo-tile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Kelebihan (seksyen gelap)
   -------------------------------------------------------------------------- */

.bm-benefits {
    position: relative;
    background-color: var(--bm-dark);
    background-size: cover;
    background-position: center;
    padding: 76px 0;
    overflow: hidden;
}

.bm-benefits::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 80%, rgba(214, 32, 39, .28) 0%, transparent 55%),
        linear-gradient(180deg, rgba(10, 10, 10, .93) 0%, rgba(10, 10, 10, .96) 100%);
}

.bm-benefits > .container {
    position: relative;
    z-index: 2;
}

.bm-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bm-benefit {
    background: #fff;
    border-radius: 6px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--bm-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bm-benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.bm-benefit__icon {
    font-size: 2rem;
    color: var(--bm-red-deep);
    margin-bottom: .85rem;
    display: block;
}

.bm-benefit__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--bm-ink);
    margin-bottom: .6rem;
}

.bm-benefit__text {
    font-size: .89rem;
    line-height: 1.6;
    color: var(--bm-body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Seksyen kuning (maklumat program)
   -------------------------------------------------------------------------- */

.bm-about {
    position: relative;
    background: linear-gradient(180deg, #FFFDF5 0%, var(--bm-yellow) 62%, var(--bm-yellow-deep) 100%);
    padding: 76px 0 96px;
}

.bm-about__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    background: var(--bm-yellow);
    border-radius: var(--bm-radius-lg);
    overflow: hidden;
    box-shadow: var(--bm-shadow-lg);
}

.bm-about__body {
    padding: 44px 40px;
}

.bm-about__logo {
    max-width: 230px;
    margin: 0 auto 1.75rem;
    display: block;
}

/* Varian placeholder (bukan <img>) perlu tinggi sendiri */
div.bm-about__logo {
    min-height: 96px;
    border-radius: 10px;
}

.bm-about__text {
    font-size: .95rem;
    line-height: 1.85;
    color: var(--bm-red-deep);
    text-align: justify;
    margin-bottom: 1.15rem;
}

.bm-about__meta {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.bm-about__meta li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(123, 17, 19, .18);
    color: var(--bm-red-deep);
    font-size: .98rem;
    font-weight: 500;
}

.bm-about__meta li:last-child {
    border-bottom: 0;
}

.bm-about__meta i {
    font-size: 1.15rem;
    line-height: 1.5;
    flex: 0 0 auto;
}

.bm-about__media {
    position: relative;
    min-height: 480px;
}

.bm-about__media img,
.bm-about__media .bm-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bm-about__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .9);
    background: rgba(0, 0, 0, .28);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.bm-about__play:hover {
    background: var(--bm-red);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.06);
}

/* Takuk segi tiga di bawah seksyen kuning */
.bm-about__notch {
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 34px solid var(--bm-yellow-deep);
}

/* --------------------------------------------------------------------------
   Tentatif program (timeline)
   -------------------------------------------------------------------------- */

.bm-timeline {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    padding-left: 230px;
}

.bm-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 230px;
    width: 3px;
    background: var(--bm-red);
    transform: translateX(-50%);
}

.bm-timeline__cap {
    position: absolute;
    left: 230px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--bm-red);
    transform: translateX(-50%);
}

.bm-timeline__cap--top {
    top: 0;
}

.bm-timeline__cap--bottom {
    bottom: 0;
}

.bm-timeline__item {
    position: relative;
    padding: 0 0 30px 46px;
}

.bm-timeline__time {
    position: absolute;
    left: -230px;
    top: 12px;
    width: 200px;
    text-align: right;
    font-weight: 700;
    font-size: .93rem;
    color: var(--bm-ink);
    line-height: 1.4;
}

.bm-timeline__dot {
    position: absolute;
    left: 0;
    top: 8px;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bm-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 0 4px #fff;
}

.bm-timeline__card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 16px 22px;
    box-shadow: var(--bm-shadow-sm);
    border: 1px solid rgba(17, 24, 39, .05);
    font-size: .96rem;
    line-height: 1.65;
    color: var(--bm-ink);
}

/* Anak panah kecil ke arah garis masa */
.bm-timeline__card::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 14px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid rgba(17, 24, 39, .05);
    border-bottom: 1px solid rgba(17, 24, 39, .05);
    transform: rotate(45deg);
    border-radius: 0 0 0 3px;
}

.bm-timeline__card--accent {
    border-left: 4px solid var(--bm-red);
}

.bm-timeline__title {
    font-weight: 800;
    color: var(--bm-red-deep);
    margin-bottom: .5rem;
    letter-spacing: .02em;
}

.bm-timeline__card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.bm-timeline__card ul li + li {
    margin-top: .25rem;
}

/* --------------------------------------------------------------------------
   Jalur banner
   -------------------------------------------------------------------------- */

.bm-strip {
    position: relative;
    border-radius: var(--bm-radius);
    overflow: hidden;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--bm-red-deep) 0%, var(--bm-red) 100%);
    background-size: cover;
    background-position: center;
    border-left: 6px solid var(--bm-yellow);
    box-shadow: var(--bm-shadow);
}

.bm-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3);
}

.bm-strip__text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(1rem, .9rem + .5vw, 1.3rem);
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------------------------
   Galeri
   -------------------------------------------------------------------------- */

.bm-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bm-gallery__item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--bm-shadow-sm);
}

.bm-gallery__item img,
.bm-gallery__item .bm-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.bm-gallery__item:hover img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Soalan lazim
   -------------------------------------------------------------------------- */

.bm-faq {
    max-width: 980px;
    margin: 0 auto;
}

.bm-faq .accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(17, 24, 39, .1);
}

.bm-faq .accordion-button {
    background: transparent;
    color: var(--bm-ink);
    font-weight: 700;
    font-size: .98rem;
    padding: 1.05rem .5rem;
    box-shadow: none;
}

.bm-faq .accordion-button::after {
    background-image: none;
    content: '\F285';
    /* bi-chevron-right */
    font-family: 'bootstrap-icons';
    font-size: .8rem;
    color: var(--bm-red);
    width: auto;
    height: auto;
    transform: rotate(0deg);
    transition: transform .25s ease;
    order: -1;
    margin-right: .8rem;
    margin-left: 0;
}

.bm-faq .accordion-button:not(.collapsed) {
    color: var(--bm-red);
    background: transparent;
}

.bm-faq .accordion-button:not(.collapsed)::after {
    transform: rotate(90deg);
}

.bm-faq .accordion-button:focus {
    box-shadow: none;
}

.bm-faq .accordion-body {
    padding: 0 .5rem 1.15rem 2.15rem;
    color: var(--bm-body);
    font-size: .94rem;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.bm-footer {
    background: var(--bm-dark);
    color: #fff;
    padding: 62px 0 26px;
}

.bm-footer__lead {
    text-align: center;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 3rem;
}

.bm-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.bm-footer__col {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, .22);
}

.bm-footer__col:last-child {
    border-right: 0;
}

.bm-footer__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bm-footer__title {
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: .9rem;
}

.bm-footer__text {
    font-size: .88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .82);
    margin: 0;
}

.bm-footer__text a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.bm-footer__text a:hover {
    color: var(--bm-yellow);
}

.bm-footer__social {
    display: flex;
    justify-content: center;
    gap: .55rem;
    margin-bottom: .9rem;
}

.bm-footer__social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--bm-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.bm-footer__social a:hover {
    background: var(--bm-yellow);
    color: var(--bm-red-deep);
    transform: translateY(-2px);
}

.bm-footer__bottom {
    position: relative;
    margin-top: 3.5rem;
    background: #D9D9D9;
    color: #333;
    border-radius: 999px;
    padding: 1.15rem 4.5rem 1.15rem 2rem;
    font-size: .85rem;
    text-align: center;
}

.bm-footer__bottom a {
    color: #333;
    text-decoration: none;
}

.bm-footer__bottom a:hover {
    color: var(--bm-red);
    text-decoration: underline;
}

.bm-backtotop {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #333;
    color: #333;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.bm-backtotop:hover {
    background: var(--bm-red);
    border-color: var(--bm-red);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Placeholder gambar (sebelum aset sebenar dimasukkan)
   -------------------------------------------------------------------------- */

.bm-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    text-align: center;
    padding: 1.25rem;
    background:
        linear-gradient(135deg, rgba(214, 32, 39, .12) 0%, rgba(255, 198, 41, .22) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(17, 24, 39, .035) 10px, rgba(17, 24, 39, .035) 20px);
    border: 1px dashed rgba(214, 32, 39, .35);
    color: var(--bm-red-deep);
    border-radius: inherit;
    min-height: 100%;
}

.bm-ph__icon {
    font-size: 1.75rem;
    opacity: .65;
}

.bm-ph__label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    opacity: .8;
    word-break: break-all;
    line-height: 1.4;
}

.bm-ph--dark {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 198, 41, .12) 100%);
    border-color: rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .8);
}

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .bm-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 991.98px) {
    .bm-navbar {
        background: rgba(14, 14, 14, .92);
    }

    .bm-navbar .navbar-collapse {
        padding-top: .75rem;
    }

    .bm-intro__grid,
    .bm-about__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .bm-intro__poster {
        min-height: 380px;
    }

    .bm-about__media {
        min-height: 320px;
    }

    .bm-stats__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 460px;
    }

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

    .bm-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 0;
    }

    .bm-footer__col:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 767.98px) {
    .bm-section {
        padding: 52px 0;
    }

    .bm-hero {
        min-height: auto;
        padding: 120px 0 96px;
    }

    .bm-hero__scroll {
        display: none;
    }

    .bm-hero__tracks {
        flex-direction: column;
        gap: .3rem;
    }

    .bm-intro__panel,
    .bm-about__body {
        padding: 32px 24px;
    }

    .bm-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .bm-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    /* Timeline: masa naik ke atas kad */
    .bm-timeline {
        padding-left: 34px;
    }

    .bm-timeline::before,
    .bm-timeline__cap {
        left: 34px;
    }

    .bm-timeline__item {
        padding-left: 30px;
    }

    .bm-timeline__time {
        position: static;
        width: auto;
        text-align: left;
        margin-bottom: .4rem;
        color: var(--bm-red);
        font-size: .86rem;
    }

    .bm-timeline__dot {
        top: 0;
        width: 28px;
        height: 28px;
        font-size: .85rem;
    }

    .bm-timeline__card::before {
        top: 10px;
    }

    .bm-pill-group--row .bm-pill {
        min-width: 0;
        width: 100%;
    }

    .bm-footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bm-footer__col {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22);
        padding-bottom: 32px;
    }

    .bm-footer__col:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .bm-footer__bottom {
        border-radius: var(--bm-radius);
        padding: 1.15rem 1.25rem 4rem;
    }

    .bm-backtotop {
        right: 50%;
        top: auto;
        bottom: 12px;
        transform: translateX(50%);
    }
}

@media (max-width: 575.98px) {
    .bm-benefit-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .bm-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Kurangkan animasi bila pengguna minta */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .bm-hero__scroll {
        animation: none;
    }

    .bm-btn:hover,
    .bm-pill:hover,
    .bm-benefit:hover,
    .bm-logo-tile:hover,
    .bm-gallery__item:hover img {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Jalur logo "Program bersama PKNS"
   -------------------------------------------------------------------------- */

.bm-proglogos {
    background: var(--bm-light);
    padding: 10px 0 6px;
}

.bm-proglogos__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 26px;
}

.bm-proglogos__label {
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bm-muted);
    text-align: right;
    flex: 0 0 auto;
}

.bm-proglogos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
}

.bm-proglogos__item img {
    max-height: 100%;
    max-width: 128px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .bm-proglogos__row {
        gap: 12px 18px;
    }

    .bm-proglogos__label {
        flex: 0 0 100%;
        text-align: center;
    }

    .bm-proglogos__label br {
        display: none;
    }

    .bm-proglogos__item {
        height: 26px;
    }

    .bm-proglogos__item img {
        max-width: 84px;
    }
}
