
.certificate__item {
    max-width: 1170px;
    width: 100%;
    background: white;
    margin: 60px auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-image: repeating-linear-gradient(45deg, #f0f0f0 0, #f0f0f0 1px, white 1px, white 20px);
    font-family: "Roboto Slab", Sans-serif;
}

.certificate__item .certificate__outer {
    border: 2px solid #ccc;
    padding: 100px 40px;
}

.certificate__item .cert__container {
    max-width: 870px;
    width: 100%;
    margin: auto;
}

.certificate__item .cert__logo {
    text-align: right;
}

.certificate__item .cert__logo img {
    width: 300px;
}

.certificate__item .cert__title {
    margin-top: 50px;
}

.cert__title h5 {
    margin: 0;
    font-weight: 400;
    line-height: 36px;
    max-width: 750px;
}

.certificate__item .cert__name {
    font-weight: 700;
    margin: 0px 0 50px;
}

.certificate__item .cert__course {
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 50px;
}

.certificate__item .cert__details h6 {
    font-weight: 400;
}

.certificate__item .cert__details strong {
    font-weight: 600;
}

.certificate__item .cert__signature-row {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certificate__item .cert__signature-row h3 {
    margin-top: 0;
}

.certificate__item .cert__signature-row h6 {
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 0;
}

.certificate__item .cert__signature {
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid;
    padding-bottom: 16px;
}

.certificate__item .cert__signature span {
    display: block;
    font-weight: 400;
    margin-top: 5px;
    line-height: 30px;
}

.certificate__item .cert__seal {
    width: 200px;
}

.certificate__item .cert__footer {
    font-size: 13px;
    color: #666;
    margin: 10px 0 0;
}

.certificate__item .cert__footer a {
    color: #000;
    text-decoration: none;
}

.cert__no-found {
    margin: 60px 25px;
    text-align: center;
}

.organization__item .cert__logo img {
    height: 80px;
    object-fit: contain;
    width: auto !important;
}

.certificate__outer h2 {
    margin: 10px 0 25px;
}



@media only screen and (max-width: 1024px) {
    .certificate__item .certificate__outer {
        padding: 60px 30px;
    }

    .certificate__item {
        margin: 40px auto;
        padding: 30px;
    }

    .certificate__item .cert__logo img {
        width: 200px;
    }

    .certificate__item .cert__name {
        font-weight: 700;
        margin: 0px 0 30px;
    }

    .cert__title h5 {
        line-height: 30px;
    }

    .certificate__item .cert__course {
        font-weight: 700;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .certificate__item .cert__seal {
        width: 160px;
    }

    .certificate__item .cert__signature-row {
        margin-top: 40px;
    }

    .cert__no-found {
        margin: 40px 25px;
    }
}

@media only screen and (max-width: 767px) {
    .certificate__item {
        margin: 30px auto;
        padding: 10px;
    }

    .certificate__item .certificate__outer {
        padding: 30px 20px;
    }

    .certificate__item .cert__logo {
        text-align: center;
    }

    .certificate__item .cert__logo img {
        width: 140px;
    }

    .certificate__item .cert__title {
        margin-top: 20px;
    }

    .certificate__item h5 {
        line-height: 26px;
        font-size: 18px;
    }

    .certificate__item .cert__name {
        margin: 0px 0 16px;
    }

    .certificate__item .cert__details h6 {
        margin: 6px 0;
    }

    .certificate__item .cert__seal {
        width: 100px;
    }

    .certificate__item .cert__signature {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .certificate__item .cert__signature-row h6 {
        line-height: 24px;
    }

    .certificate__item .cert__course {
        margin-top: 0px;
    }

    .certificate__item .cert__signature-row {
        margin-top: 24px;
    }

    .cert__no-found {
        margin: 30px 0px;
    }
}



