:root {
    --bima-bg: #e9f1ff;
    --bima-surface: #ffffff;
    --bima-surface-soft: #f7f9ff;
    --bima-border: #cfd9ea;
    --bima-text: #0a1838;
    --bima-muted: #5f6b84;
    --bima-primary: #5ca33b;
    --bima-primary-2: #74bb54;
    --bima-shadow: 0 18px 48px rgba(30, 54, 94, 0.12);
    --bima-shadow-soft: 0 10px 24px rgba(30, 54, 94, 0.08);
    --bima-radius-xl: 22px;
    --bima-radius-lg: 14px;
    --bima-radius-md: 11px;
    --bima-font: 'ibmplexsansarabic-regular', sans-serif;
}

* {
    box-sizing: border-box;
}

.bima-page {
    padding: 0;
    overflow-x: hidden;
    color: var(--bima-text);
    font-family: var(--bima-font);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.9), transparent 28%),
        linear-gradient(180deg, #edf3ff 0%, #e6eefc 100%);
}

.bima-page section {
    padding: 0;
    position: relative;
}

.bima-main-section {
    margin: 0;
    padding: 26px 24px 30px;
    border-radius: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.65), transparent 28%),
        linear-gradient(180deg, #edf3ff 0%, #e4ecf9 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.bima-top-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(340px, 0.95fr);
    gap: 14px;
    align-items: start;
}

.bima-heading-block {
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}

.bima-products-area {
    margin-top: 0;
}

.bima-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 1.6vw, 28px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0b1a3c;
}

.bima-subtitle {
    margin: 0;
    color: #516289;
    font-size: clamp(16px, 1.1vw, 20px);
    line-height: 1.35;
    font-weight: 700;
}

.bima-products-grid-wrap {
    width: 100%;
    margin-top: 0;
}

.bima-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.bima-product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 126px;
    padding: 16px 14px 14px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--bima-border);
    border-radius: var(--bima-radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.95));
    box-shadow: var(--bima-shadow-soft);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    animation: bima-fade-up 520ms ease both;
}

.bima-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 163, 59, 0.35);
    box-shadow: 0 18px 38px rgba(30, 54, 94, 0.14);
}

@keyframes bima-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bima-product-card.is-feature {
    grid-column: span 2;
    min-height: 128px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 18px 18px 18px 20px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 250, 244, 0.82) 62%, rgba(226, 241, 227, 0.92) 100%),
        url('../images/Banner/bima-motor-hero-card-bg.png') right center / cover no-repeat;
}

html[dir="rtl"] .bima-product-card.is-feature {
    background:
        linear-gradient(270deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 250, 244, 0.82) 62%, rgba(226, 241, 227, 0.92) 100%),
        url('../images/Banner/bima-motor-hero-card-bg-left.png') left center / cover no-repeat;
}

.bima-product-card.is-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    opacity: 1;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.bima-product-card.is-feature:hover::before {
    opacity: 0;
}

.bima-product-card.is-feature:hover {
    background:
        url('../images/Banner/bima-motor-hero-card-bg.png') right center / cover no-repeat;
}

html[dir="rtl"] .bima-product-card.is-feature:hover {
    background:
        url('../images/Banner/bima-motor-hero-card-bg-left.png') left center / cover no-repeat;
}

.bima-product-card.is-feature .bima-product-icon {
    width: 60px;
    height: 60px;
    margin: 0 16px 0 0;
    flex-shrink: 0;
}

html[dir="rtl"] .bima-product-card.is-feature .bima-product-icon {
    margin: 0 0 0 16px;
}

.bima-product-card.is-feature .bima-product-content {
    width: auto;
    text-align: left;
}

.bima-product-card.is-feature .bima-product-name {
    font-size: 18px;
}

.bima-product-card.is-feature .bima-product-desc {
    font-size: 13px;
}

.bima-product-card.is-popular {
    border-color: rgba(92, 163, 59, 0.24);
}

.bima-product-card.is-b2b {
    border-color: rgba(112, 120, 255, 0.18);
}

.theme-light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.theme-feature {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 250, 241, 0.9)),
        url('../images/Banner/bima-motor-hero-card-bg.png') right center / cover no-repeat;
}

.theme-feature:hover {
    background:
        url('../images/Banner/bima-motor-hero-card-bg.png') right center / cover no-repeat;
}

.bima-product-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
}

.bima-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bima-product-content {
    position: relative;
    width: 100%;
}

.bima-product-arrow {
    position: absolute;
    top: -2px;
    inset-inline-end: 0;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--bima-primary);
    background: rgba(92, 163, 59, 0.12);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.bima-product-card:hover .bima-product-arrow {
    opacity: 1;
    transform: translateY(0);
}

.bima-product-card.is-feature:hover .bima-product-arrow {
    opacity: 0;
    transform: translateY(4px);
}

.bima-product-name {
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    color: #29334f;
}

.bima-product-desc {
    margin: 0;
    color: #7a8090;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
}

.bima-popular-badge,
.bima-b2b-badge {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    z-index: 3;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.bima-popular-badge {
    background: #5cb85c;
    color: #fff;
    box-shadow: 0 6px 14px rgba(92, 163, 59, 0.18);
}

.bima-b2b-badge {
    background: #eef0ff;
    color: #3430f2;
}

.bima-hero-slider {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    aspect-ratio: 560 / 500;
    border: 1px solid var(--bima-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--bima-shadow);
}

.bima-hero-track {
    position: absolute;
    inset: 0;
}

.bima-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 360ms ease;
}

.bima-hero-slide.is-active {
    opacity: 1;
}

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

.bima-hero-copy {
    display: none;
}

.bima-hero-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    align-self: flex-end;
    color: #16233f;
    font-size: 12px;
    font-weight: 700;
}

.bima-hero-footer i {
    margin-inline-end: 6px;
    color: var(--bima-primary);
}

.bima-hero-logo {
    width: 122px;
    height: auto;
    object-fit: contain;
}

.bima-hero-copytext {
    max-width: 62%;
    align-self: flex-end;
    text-align: right;
    color: #0d1528;
}

.bima-hero-copytext h2 {
    margin: 0 0 8px;
    color: #6ca63d;
    font-size: clamp(19px, 1.55vw, 30px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bima-hero-copytext p {
    margin: 0;
    font-size: clamp(16px, 1.15vw, 24px);
    line-height: 1.2;
    font-weight: 700;
}

.bima-hero-next {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f1b35;
    box-shadow: 0 14px 26px rgba(15, 27, 53, 0.16);
    display: grid;
    place-items: center;
    cursor: pointer;
}

html[dir="rtl"] .bima-hero-next {
    right: auto;
    left: 16px;
}

.bima-dots {
    position: absolute;
    left: 18px;
    bottom: 20px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

html[dir="rtl"] .bima-dots {
    left: auto;
    right: 18px;
}

.bima-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.bima-dot.is-active {
    background: #5cb85c;
}

.bima-benefits {
    margin: 0 auto;
    padding: 26px 22px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    background: transparent;
    border-top: 0;
}

.bima-page .bima-main-section {
    padding: 26px 24px 30px;
}

.bima-page .bima-benefits {
    padding: 26px 22px;
}

.bima-page section.bima-benefits.container {
    position: relative;
    background: transparent;
    isolation: isolate;
}

.bima-page section.bima-benefits.container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(233, 240, 255, 0.95), rgba(227, 236, 252, 0.96));
    border-top: 1px solid rgba(192, 205, 228, 0.75);
    z-index: -1;
    pointer-events: none;
}

.bima-page section.pt0.pb-4.bgc-section3 {
    padding-top: 0;
    padding-bottom: 1rem;
}

.bima-page .cta-banner4 {
    padding: 25px 0;
}

.bima-page .our-cta3 {
    padding: 25px 0;
}

.bima-benefit {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
    min-height: 96px;
    border-inline-start: 1px solid rgba(173, 187, 214, 0.75);
}

.bima-benefit:first-child {
    border-inline-start: 0;
}

.bima-benefit-icon {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.bima-benefit-icon i {
    font-size: 30px;
    line-height: 1;
}

.trusted {
    background: #dce4ff;
    color: #132f97;
}

.easy {
    background: #dff3d8;
    color: #0d8f2c;
}

.support {
    background: #eadcff;
    color: #7d2ff0;
}

.secure {
    background: #fde5bf;
    color: #d68900;
}

.fsa {
    background: #e0f7f1;
    color: #00897b;
}

.bima-benefit-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}

.fsa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bima-benefit-copy {
    min-width: 0;
}

.bima-benefit-title {
    margin: 0 0 5px;
    font-size: clamp(14px, 0.9vw, 16px);
    line-height: 1.16;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #30405f;
    white-space: nowrap;
}

.bima-benefit-desc {
    margin: 0;
    color: #516289;
    font-size: clamp(12px, 0.82vw, 14px);
    line-height: 1.28;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 1280px) {
    .bima-benefit-title,
    .bima-benefit-desc {
        overflow-wrap: anywhere;
    }
}

.bima-page section.partner-slider-section {
    width: 100%;
    padding: 24px 0 92px;
    background: #7ecb2f;
    overflow-x: clip;
}

.partner-slider-container {
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: 0 24px;
}

.partner-slider-heading {
    margin-bottom: 18px;
    text-align: start;
}

.partner-slider-heading .eyebrow {
    display: inline-block;
    color: #000;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.brand-slider {
    position: relative;
    width: 100%;
}

.logo-box {
    display: flex;
    min-height: 182px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 18px 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 3.346px 3.716px 22.5px rgba(0, 0, 0, 0.07);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    gap: 16px;
    text-align: center;
}

.logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
    border-color: color-mix(in srgb, var(--theme-main, #6a8d26) 24%, transparent);
}

.logo-box img {
    max-height: 94px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.logo-box__name {
    color: #2d2d2d;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.35;
}

.brand-slider .owl-stage-outer {
    padding: 8px 0 0;
}

.brand-slider .owl-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: -56px;
    right: -56px;
    transform: translateY(-50%);
}

.brand-slider .owl-prev,
.brand-slider .owl-next {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
    color: #728d2d !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-slider .owl-prev:hover,
.brand-slider .owl-next:hover {
    background: #f4f8ea !important;
}

@media (min-width: 1500px) {
    .bima-top-layout {
        grid-template-columns: minmax(0, 2.05fr) minmax(340px, 0.9fr);
    }

    .bima-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1281px) {
    .bima-products-area {
        margin-top: 0;
    }
}

@media (max-width: 1280px) {
    .bima-top-layout {
        grid-template-columns: 1fr;
    }

    .bima-products-area {
        margin-top: 0;
    }

    .bima-hero-slider {
        max-width: 100%;
        margin: 18px auto 0;
    }
}

@media (max-width: 1024px) {
    .bima-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bima-product-card.is-feature {
        grid-column: span 2;
    }

    .bima-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .bima-benefit {
        padding: 0 8px;
    }

    .bima-benefit:nth-child(odd) {
        border-inline-start: 0;
    }
}

@media (max-width: 760px) {
    .bima-main-section {
        padding: 20px 14px 24px;
    }

    .bima-title {
        font-size: 20px;
    }

    .bima-subtitle {
        font-size: 15px;
    }

    .bima-product-grid {
        grid-template-columns: 1fr;
    }

    .bima-products-area {
        margin-top: 0;
    }

    .bima-products-grid-wrap {
        margin-top: 0;
    }

    .bima-product-card,
    .bima-product-card.is-feature {
        grid-column: auto;
        min-height: 112px;
        padding: 16px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .bima-product-card.is-feature {
        background-position: center right;
        background-size: cover;
    }

    html[dir="rtl"] .bima-product-card.is-feature {
        background-position: center left;
    }

    .bima-product-icon {
        width: 50px;
        height: 50px;
        margin: 0 14px 0 0;
    }

    html[dir="rtl"] .bima-product-icon {
        margin: 0 0 0 14px;
    }

    .bima-product-card.is-feature .bima-product-icon {
        width: 54px;
        height: 54px;
        margin: 0 14px 0 0;
    }

    html[dir="rtl"] .bima-product-card.is-feature .bima-product-icon {
        margin: 0 0 0 14px;
    }

    .bima-product-name {
        font-size: 14px;
    }

    .bima-hero-slider {
        aspect-ratio: auto;
    }

    .bima-hero-track {
        position: relative;
        inset: auto;
    }

    .bima-hero-slide {
        position: relative;
        inset: auto;
        display: none;
    }

    .bima-hero-slide.is-active {
        display: block;
    }

    .bima-hero-image {
        height: auto;
        object-fit: contain;
        object-position: center center;
    }

    .bima-hero-next {
        width: 46px;
        height: 46px;
        right: 12px;
    }

    html[dir="rtl"] .bima-hero-next {
        left: 12px;
    }

    .bima-dots {
        left: 14px;
        bottom: 14px;
    }

    html[dir="rtl"] .bima-dots {
        right: 14px;
        left: auto;
    }

    .bima-benefits {
        grid-template-columns: 1fr;
        padding: 20px 14px;
    }

    .bima-benefit {
        border-inline-start: 0;
        border-bottom: 1px solid rgba(173, 187, 214, 0.7);
        padding: 14px 4px;
    }

    .bima-benefit:last-child {
        border-bottom: 0;
    }

    .bima-page section.partner-slider-section {
        padding: 18px 0 44px;
    }

    .partner-slider-container {
        padding: 0 12px;
    }

    .partner-slider-heading {
        margin-bottom: 12px;
    }

    .partner-slider-heading .eyebrow {
        font-size: 1rem;
    }

    .logo-box {
        min-height: 104px;
        padding: 14px 12px;
        gap: 6px;
        border-radius: 14px;
    }

    .logo-box img {
        max-height: 44px;
    }

    .logo-box__name {
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .brand-slider .owl-stage-outer {
        padding: 6px 0 0;
    }

    .brand-slider .owl-nav {
        display: none;
    }

    .brand-slider .owl-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 4px;
        margin-bottom: 0;
    }

    .brand-slider .owl-dot span {
        width: 8px !important;
        height: 8px !important;
        margin: 0 !important;
        background: color-mix(in srgb, var(--theme-main, #6a8d26) 22%, transparent) !important;
        border-radius: 999px !important;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .brand-slider .owl-dot.active span {
        background: var(--theme-main, #6a8d26) !important;
        transform: scale(1.1);
    }
}
