.custom-modal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
}

.custom-modal {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    z-index: 99;
    transition: opacity 0.3s, visibility 0.3s;
    transition: all 0.5s;
}

.custom-modal.modal-visible {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s;
}

.custom-modal .modal-content {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 99;

}

.custom-modal .modal-content .modal-content-inner {
    max-width: 55rem;
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin: 0 auto;
    min-height: 100%;
    z-index: 99;
    transform: translateY(-25px);
    transition: all 0.3s;
}

.custom-modal.detail-modal .modal-content .modal-content-inner {
    max-width: 83rem;
}

.custom-modal.modal-visible .modal-content .modal-content-inner {
    transform: translateY(0);
}

.custom-modal.modal-visible .modal-body {
    transform: scale(1);
    transition: all 0.5s;
}

.custom-modal.detail-modal .modal-body {
    max-width: 83rem;
}

.custom-modal .modal-body {
    position: relative;
    box-shadow: 0 0 40px 0 rgb(74 121 18 / 30%);
    background-color: var(--white);
    padding: 4rem;
    border-radius: 3rem;
    max-width: 60rem;
    width: 100%;
}

.custom-modal .modal-body {
    transform: scale(0);
    transition: all 0.5s;
}

.custom-modal .modal-content .modal-body .modal-close {
    position: absolute;
    content: '';
    top: 2rem;
    right: 2rem;
    height: 2rem;
    width: 2rem;
    padding: 0.3rem;
    margin: 0;
    z-index: 3;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: block;
}

.custom-modal .modal-content .modal-body .modal-close img {
    display: block;
}

.detail-modal .founder-info-section .founder-info-wrapper {
    background-color: transparent;
}

.founder-info-section .founder-info-wrapper {
    display: flex;
    border-radius: 2rem;
    background-color: var(--white1);
    flex-wrap: wrap;
}

.founder-info-wrapper .founder-image {
    flex: 0 0 37%;
    max-width: 37%;
    overflow: hidden;
    border-radius: 1rem;

}

.founder-info-wrapper .founder-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.founder-info-wrapper .founder-content {
    flex: 0 0 63%;
    max-width: 63%;
    padding-left: 4rem;
}

.founder-info-wrapper .founder-content .heading-title {
    line-height: 1;
}

.founder-info-wrapper .founder-content .green-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 2;
}

.founder-info-wrapper .founder-content p {
    font-size: 1.4rem;
    color: var(--body-text);
    line-height: 1.9;
    margin-bottom: 0.5rem;
}

.founder-info-wrapper .founder-content .social-icons-wrap .fab {
    font-size: 2.5rem;
    color: var(--black1);
    transition: all 0.5s;
}

.founder-info-wrapper .founder-content .social-icons-wrap .fab:hover {
    transition: all 0.5s;
    color: var(--primary);
}

.founder-info-wrapper .social-icons-wrap .social-icons-listing li {
    padding-left: 0;
    padding-right: 1.5rem;
}

.founder-info-wrapper .social-icons-wrap {
    margin-top: 1.5rem;
}


@media (max-width:991px) {
    .founder-info-wrapper .founder-image {
        flex: 0 0 100%;
        max-width: 100%;
        max-width: 40rem;
        margin: 0 auto;
        margin-bottom: 3rem;
    }

    .founder-info-wrapper .founder-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
    }

    .custom-modal .modal-body {
        padding: 4rem 2.5rem;
    }
}