/* Logo Transition Modal */
.inceif-logo-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.inceif-logo-modal.is-active {
    display: flex;
}

.inceif-logo-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 20, 38, 0.72);
    backdrop-filter: blur(6px);
}

.inceif-logo-modal-box {
    position: relative;
    width: 100%;
    max-width: 850px;
    background: #ffffff;
    border-radius: 28px;
    padding: 45px 45px 40px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    z-index: 2;
    overflow: hidden;
    animation: logoModalIn 0.55s ease forwards;
}

.inceif-logo-modal-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, #00a5d7, #3a8e43, #025873);
}

.inceif-logo-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f2f5f7;
    color: #025873;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.inceif-logo-modal-close:hover {
    background: #025873;
    color: #ffffff;
    transform: rotate(90deg);
}

.inceif-logo-modal-content {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 20px;
}

.inceif-logo-card {
    min-height: 230px;
    padding: 28px 24px;
    border-radius: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(2, 88, 115, 0.12);
}

.current-logo-card {
    box-shadow: 0 18px 45px rgba(0, 165, 215, 0.12);
}

.former-logo-card {
    background: linear-gradient(135deg, #fafafa, #f5f8f9);
    box-shadow: 0 18px 45px rgba(2, 88, 115, 0.08);
}

.inceif-logo-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(0, 165, 215, 0.10);
    color: #025873;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.former-logo-card .inceif-logo-label {
    background: rgba(58, 142, 67, 0.12);
    color: #3a8e43;
}

.inceif-brand-logo {
    max-width: 230px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.former-logo {
    opacity: 0.82;
    filter: grayscale(15%);
}

.former-logo-card p {
    margin: 18px 0 0;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.5;
}

.former-logo-card p strong {
    color: #025873;
    font-weight: 800;
}

.inceif-logo-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.inceif-logo-divider span {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a5d7, #3a8e43);
    box-shadow: 0 12px 28px rgba(0, 165, 215, 0.25);
}

.inceif-logo-divider span::before {
    content: "→";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
}

@keyframes logoModalIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

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

@media (max-width: 767px) {
    .inceif-logo-modal-box {
        margin-top:40px;
        padding: 38px 22px 28px;
        border-radius: 22px;
    }

    .inceif-logo-modal-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .inceif-logo-divider span {
        transform: rotate(90deg);
    }

    .inceif-logo-card {
        min-height: auto;
        padding: 24px 18px;
    }

    .inceif-brand-logo {
        max-width: 210px;
        max-height: 95px;
    }
}