.certificate {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe4cc 100%);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.certificate::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 135, 6, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.certificate::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 135, 6, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.certificate__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.certificate__header {
    text-align: center;
    margin-bottom: 60px;
}

.certificate__title {
    margin-bottom: 15px;
    color: #0b0f33;
    font-family: "Raleway", sans-serif;
    font-size: 46px;
    font-weight: 900;
}

.certificate__subtitle {
    font-size: 20px;
    color: #666;
    font-weight: 400;
    margin: 0;
}

.certificate__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
}

.certificate__card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.certificate__card--image {
    padding-left: 0 !important;
}

.certificate__card--image {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(135deg, #fff 0%, #fff9f0 100%);
}

.certificate__image-wrapper {
    position: relative;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.certificate__badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #FD8706 0%, #ff9d2e 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(253, 135, 6, 0.3);
    z-index: 10;
}

.certificate__main-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 5;
}

.certificate__decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.certificate__decoration--1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(253, 135, 6, 0.2) 0%, rgba(253, 135, 6, 0.05) 100%);
    top: 10%;
    left: -5%;
    animation: float 6s ease-in-out infinite;
}

.certificate__decoration--2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(253, 135, 6, 0.15) 0%, rgba(253, 135, 6, 0.03) 100%);
    bottom: 15%;
    right: -3%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.certificate__card--info {
    padding: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.certificate__features {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 40px;
}

.certificate__feature {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.certificate__feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(253, 135, 6, 0.1);
    border-radius: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.certificate__feature:hover .certificate__feature-icon {
    background: rgba(253, 135, 6, 0.2);
    transform: scale(1.1);
}

.certificate__feature-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.certificate__feature-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.certificate__note {
    margin-top: 10px !important;
    padding: 10px 15px;
    background: rgba(253, 135, 6, 0.08);
    border-left: 3px solid #FD8706;
    border-radius: 6px;
    font-size: 14px !important;
    font-weight: 600;
    color: #333 !important;
}

.certificate__link {
    color: #FD8706;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.certificate__link:hover {
    border-bottom-color: #FD8706;
}

.certificate__btn {
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.certificate__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(253, 135, 6, 0.3);
}

.certificate__btn svg {
    transition: transform 0.3s ease;
}

.certificate__btn:hover svg {
    transform: scale(1.1);
}

.certificate__paper-link {
    margin-top: 20px;
    text-align: center;
}

.certificate__paper-link a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}

.certificate__paper-link a:hover {
    color: #FD8706;
    background: rgba(253, 135, 6, 0.08);
}

.certificate__paper-link a svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.certificate__paper-link a:hover svg {
    transform: scale(1.1);
}

@media screen and (max-width: 1279px) {
    .certificate {
        padding: 80px 0;
    }

    .certificate__header {
        margin-bottom: 50px;
    }

    .certificate__title {
        font-size: 36px;
    }

    .certificate__subtitle {
        font-size: 18px;
    }

    .certificate__content {
        gap: 40px;
    }

    .certificate__card--info {
        padding: 40px;
    }

    .certificate__features {
        gap: 30px;
        margin-bottom: 35px;
    }

    .certificate__feature-text h3 {
        font-size: 18px;
    }

    .certificate__feature-text p {
        font-size: 14px;
    }

    .certificate__note {
        font-size: 13px !important;
        padding: 8px 12px;
    }

    .certificate__btn {
        padding: 16px 35px;
        font-size: 16px;
    }

    .certificate__paper-link a {
        font-size: 15px;
        padding: 9px 18px;
    }
}

@media screen and (max-width: 967px) {
    .certificate {
        padding: 60px 0;
    }

    .certificate__header {
        margin-bottom: 40px;
    }

    .certificate__title {
        font-size: 28px;
    }

    .certificate__subtitle {
        font-size: 16px;
    }

    .certificate__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .certificate__card--image {
        padding: 30px;
    }

    .certificate__card--info {
        padding: 35px;
    }

    .certificate__badge {
        padding: 10px 16px;
        font-size: 13px;
        top: -5px;
        right: -5px;
    }

    .certificate__badge svg {
        width: 20px;
        height: 20px;
    }

    .certificate__features {
        gap: 25px;
    }

    .certificate__feature-icon {
        width: 50px;
        height: 50px;
    }

    .certificate__feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .certificate__feature-text h3 {
        font-size: 17px;
    }

    .certificate__feature-text p {
        font-size: 13px;
    }

    .certificate__note {
        font-size: 12px !important;
        padding: 8px 12px;
    }

    .certificate__btn {
        padding: 15px 30px;
        font-size: 15px;
    }

    .certificate__paper-link a {
        font-size: 14px;
        padding: 8px 16px;
    }

    .certificate__paper-link a svg {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 655px) {
    .certificate {
        padding: 50px 0;
    }

    .certificate::before,
    .certificate::after {
        display: none;
    }

    .certificate__header {
        margin-bottom: 35px;
    }

    .certificate__title {
        font-size: 24px;
    }

    .certificate__subtitle {
        font-size: 14px;
    }

    .certificate__content {
        gap: 25px;
    }

    .certificate__card--image {
        padding: 25px;
    }

    .certificate__card--info {
        padding: 30px;
    }

    .certificate__badge {
        padding: 8px 14px;
        font-size: 12px;
        top: 0;
        right: 0;
    }

    .certificate__badge svg {
        width: 18px;
        height: 18px;
    }

    .certificate__decoration--1,
    .certificate__decoration--2 {
        display: none;
    }

    .certificate__features {
        gap: 20px;
        margin-bottom: 30px;
    }

    .certificate__feature {
        gap: 15px;
    }

    .certificate__feature-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }

    .certificate__feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .certificate__feature-text h3 {
        font-size: 16px;
    }

    .certificate__feature-text p {
        font-size: 12px;
    }

    .certificate__note {
        font-size: 11px !important;
        padding: 7px 10px;
    }

    .certificate__btn {
        padding: 14px 25px;
        font-size: 14px;
        gap: 10px;
    }

    .certificate__btn svg {
        width: 20px;
        height: 20px;
    }

    .certificate__paper-link a {
        font-size: 13px;
        padding: 7px 14px;
        gap: 6px;
    }

    .certificate__paper-link a svg {
        width: 16px;
        height: 16px;
    }
}