.certificate-body {
    background-color: #FBFBFB;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-body-img {
    background-color: var(--main-color);
    height: 557px;
    width: 460px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    position: relative;
}

.certificate-body-img img {
    position: absolute;
    max-width: none;
    top: -15%;
    position: absolute;
    max-width: none;
    left: -10%;
}

.certificate-body-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


.certificate-body-info h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--main-color);
}

.certificate-body-info form {
    width: 520px;
    z-index: 99;

}

.certificate-body-info input {
    margin-bottom: 32px;
    background-color: #fff;
    border-color: #596A7982;

}

.certificate-body-info input::placeholder {
    font-size: 14px;
    font-weight: 400;
    color: #7672728F;
}

.certificate-body-info .read-more {
    width: 100%;
    height: 60px;
    background: var(--main-color);
    color: #fff;
}

.certificate-body-info .read-more:hover {
    color: #fff;
}

.modal-title {
    font-size: 30px;
}

#cerModal .modal-dialog {
    max-width: 666px;
}

#cerModal label {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #001C5B;
}

#cerModal label span {
    color: #EF3340;
}

#cerModal .modal-content {
    padding: 20px;
}

#cerModal input {
    background-color: transparent;
    border-color: #596A7982;
    border-radius: 8px;
}

#cerModal .form-group {
    margin-bottom: 15px;
}

@media only screen and (max-width: 1200px) {
    .certificate-container .row {
        flex-direction: column-reverse;
    }

    .certificate-body {
        height: auto;
        padding: 60px 0;
    }

    .certificate-body-img {
        margin: 130px auto;
    }

    .certificate-body-info {
        align-items: center;
    }

    .certificate-body-img img {
        top: -15%;
        left: -13%;
    }
}

@media only screen and (max-width: 991px) {
    .certificate-body-img img {
        top: -15%;
        left: -13%;
    }
}

@media only screen and (max-width: 768px) {
    .certificate-body-img img {
        top: -15%;
        left: -10%;
    }
}

@media only screen and (max-width: 576px) {
    .certificate-body-img {
        width: 100%;
        height: 550px;
    }

    .certificate-body-img img {
        width: 450px;
        top: 10%;
        left: 5%;
    }

    .certificate-body-info h3 {
        font-size: 22px;
    }

    .certificate-body-info form {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .certificate-body-img {
        width: 100%;
        height: 450px;
    }

    .certificate-body-img img {
        width: 350px;
        top: 14%;
        left: 0%;
    }
}

@media only screen and (max-width: 500px) {
    .certificate-body-img {
        width: 100%;
        height: 330px;
    }

    .certificate-body-img img {
        width: 260px;
        top: 13%;
        left: 12%;
    }

    #cerModal .modal-content {
        padding: 0;
    }
}


