/* =========================================================
   SIMBA - OFFICIAL CREDENTIALS
   Frontend Styles
========================================================= */

.simba-credentials {
    width: 100%;
    padding: 90px 20px;
    background: #f7f9f8;
    box-sizing: border-box;
}

.simba-credentials *,
.simba-credentials *::before,
.simba-credentials *::after {
    box-sizing: border-box;
}

.simba-credentials__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.simba-credentials__header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.simba-credentials__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #163300;
}

.simba-credentials__title {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 700;
    color: #163300;
}

.simba-credentials__description {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #4d5749;
}

/* =========================
   CARDS GRID
========================= */

.simba-credentials__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.simba-credential-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4e9e2;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(22, 51, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.simba-credential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(22, 51, 0, 0.13);
}

/* =========================
   IMAGE
========================= */

.simba-credential-card__image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    padding: 25px;
    background: #f1f5ef;
    overflow: hidden;
}

.simba-credential-card__image-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.simba-credential-card__image {
    display: block;
    width: 100%;
    max-width: 520px;
    height: 340px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.35s ease;
}

.simba-credential-card:hover .simba-credential-card__image {
    transform: scale(1.025);
}

/* =========================
   PLACEHOLDER
========================= */

.simba-credential-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 340px;
    padding: 30px;
    border: 2px dashed #cbd5c7;
    border-radius: 14px;
    text-align: center;
    color: #687261;
    background: #f8faf7;
    font-size: 15px;
}

/* =========================
   CARD CONTENT
========================= */

.simba-credential-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px;
}

.simba-credential-card__title {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
    color: #163300;
}

.simba-credential-card__description {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #5c6658;
}

.simba-credential-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 46px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: #163300;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.simba-credential-card__button:hover {
    background: #0081c6;
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================
   TRUST TEXT
========================= */

.simba-credentials__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #5c6658;
}

.simba-credentials__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #163300;
    color: #ffffff;
}

/* =========================
   LIGHTBOX
========================= */

.simba-credentials-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.88);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.simba-credentials-lightbox.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.simba-credentials-lightbox__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1100px;
    max-height: 90vh;
}

.simba-credentials-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
}

.simba-credentials-lightbox__close {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #163300;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.simba-credentials-lightbox__close:hover {
    background: #0081c6;
    color: #ffffff;
}

/* =========================
   BODY LOCK
========================= */

body.simba-credentials-lightbox-open {
    overflow: hidden;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .simba-credentials {
        padding: 70px 20px;
    }

    .simba-credentials__grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .simba-credential-card__image-wrap {
        min-height: 350px;
    }
}

@media (max-width: 600px) {
    .simba-credentials {
        padding: 55px 16px;
    }

    .simba-credentials__header {
        margin-bottom: 35px;
    }

    .simba-credentials__title {
        font-size: 34px;
    }

    .simba-credentials__description {
        font-size: 15px;
    }

    .simba-credentials__grid {
        gap: 20px;
    }

    .simba-credential-card {
        border-radius: 17px;
    }

    .simba-credential-card__image-wrap {
        min-height: 280px;
        padding: 18px;
    }

    .simba-credential-card__image {
        height: 250px;
    }

    .simba-credential-card__placeholder {
        min-height: 250px;
    }

    .simba-credential-card__content {
        padding: 22px;
    }

    .simba-credential-card__title {
        font-size: 22px;
    }

    .simba-credential-card__description {
        font-size: 15px;
    }

    .simba-credential-card__button {
        width: 100%;
    }

    .simba-credentials__trust {
        align-items: flex-start;
        font-size: 13px;
        line-height: 1.5;
    }

    .simba-credentials-lightbox {
        padding: 15px;
    }

    .simba-credentials-lightbox__close {
        top: 5px;
        right: 5px;
        width: 40px;
        height: 40px;
    }
}