.shadow_box * {
    z-index: 2;
    position: relative;
}

.shadow_box {
    position: relative;
    border-radius: 30px;
    background: #0F0F0F;

    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
        border-radius: 30px;
        opacity: 0.25;
    }

    &::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to right, rgb(255 255 255 / 15%), rgb(255 255 255 / 1%));
        background: linear-gradient(120deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 1%));
        content: '';
        z-index: -1;
        border-radius: 30px;
        margin: -1px;
    }
}

.credential_area {
    padding-top: 80px;

    .gx-row {
        gap: 80px;
    }

    .credential_sidebar_wrap {

        .credential_sidebar {
            width: 370px;
            flex: none;
            position: sticky;
            top: 0;

            .shadow_box {
                padding: 22px;

                .bg_img {
                    opacity: 0.1;
                    position: absolute;
                    left: 0;
                    top: 0;
                    border-radius: 30px;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    z-index: 0;
                }

                .img_box {
                    border-radius: 30px;
                    margin-bottom: 40px;
                    z-index: 1;
                    position: relative;

                    img {
                        display: block;
                        margin: auto;
                        border-radius: 30px;
                        width: 100%;
                        height: 320px;
                        object-fit: cover;
                    }
                }

                h2 {
                    color: var(--white-color);
                    font-weight: 500;
                    font-size: 26px;
                }

                p {
                    color: var(--text-color);
                    opacity: 0.5;
                    font-size: 16px;
                    margin-bottom: 34px;
                }

                .social_links {
                    gap: 10px;
                    margin-bottom: 36px;

                    li {
                        a {
                            text-decoration: none;
                            width: 50px;
                            height: 50px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            border-radius: 50%;
                            position: relative;
                            box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.1);
                            border: 1px solid rgba(255, 255, 255, 0.1);
                            color: #fff;
                            transition: .3s;
                            z-index: 1;
                            text-decoration: none;

                            svg {
                                width: 16px;
                                height: 16px;
                            }

                            &:hover {
                                background: #ffffff;

                                svg {
                                    path {
                                        stroke: #000000;
                                    }
                                }
                            }

                            &::before {
                                content: '';
                                position: absolute;
                                width: 100%;
                                height: 100%;
                                border-radius: 50%;
                                z-index: -1;
                                opacity: 0.1;
                                background: linear-gradient(120deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
                                backdrop-filter: blur(40px);
                            }
                        }
                    }
                }

                .theme_btn {
                    width: 100%;
                }
            }
        }

    }

    .credential_content {

        .credential_about {
            padding-bottom: 110px;

            h2 {
                color: var(--white-color);
                font-size: 18px;
                text-transform: uppercase;
                margin-bottom: 35px;
                font-weight: 500;
            }

            p {
                font-size: 16px;
                color: var(--white-color);
                opacity: 0.8;
                line-height: 26px;
                margin-bottom: 30px;
                font-weight: 400;

                &:last-child {
                    margin-bottom: 0;
                }
            }
        }

        .credential_experience,
        .credential_education {
            margin-bottom: 85px;

            h2 {
                color: var(--white-color);
                font-size: 18px;
                text-transform: uppercase;
                margin-bottom: 35px;
                font-weight: 500;
            }

            .credential_edc_exp_item {
                h4 {
                    color: var(--text-color);
                    opacity: 0.6;
                    font-size: 16px;
                    font-weight: 500;
                }

                h3 {
                    font-size: 18px;
                    color: var(--primary-color);
                }

                h5 {
                    font-size: 14px;
                    color: var(--text-color);
                    opacity: 0.6;
                    font-weight: 400;
                }

                p {
                    margin: 0;
                    font-size: 16px;
                    color: var(--white-color);
                    opacity: 0.8;
                    line-height: 26px;
                }
            }

            .credential_edc_exp_item+.credential_edc_exp_item {
                margin-top: 50px;
            }
        }

        .skills_wrap {
            h2 {
                font-size: 18px;
                color: var(--white-color);
                text-transform: uppercase;
                margin-bottom: 20px;
            }

            .skill_items {
                gap: 24px;
                grid-template-columns: 1fr 1fr;

                .skill_item {
                    width: 100%;

                    .percent {
                        color: var(--text-color);
                        opacity: 0.6;
                        display: block;
                        font-weight: 500;
                        margin-bottom: 9px;
                    }

                    .name {
                        color: var(--white-color);
                        opacity: 0.9;
                        font-size: 18px;
                        margin-bottom: 4px;
                    }

                    p {
                        color: var(--text-color);
                        opacity: 0.6;
                        font-size: 14px;
                        margin: 0;
                    }
                }
            }
        }
    }
}


@media (max-width:810px) {
    .credential_area .gx-row {
        gap: 40px;
    }

    .credential_area .credential_sidebar_wrap .credential_sidebar {
        width: 300px;
    }
}

@media (max-width:767px) {
    .credential_area .gx-row {
        flex-direction: column;
    }

    .credential_area .credential_sidebar_wrap .credential_sidebar {
        width: 100%;
    }

    .credential_area .credential_sidebar_wrap .credential_sidebar .shadow_box .img_box img {
        object-position: 50% 30%;
    }
}

@media (max-width:480px) {
    .credential_area {
        padding-top: 50px;
    }
}

@media (max-width:428px) {
    .credential_area .credential_content .credential_about {
        padding-bottom: 70px;
    }

    .credential_area .credential_content .credential_experience {
        margin-bottom: 70px;
    }

    .credential_area .credential_content .credential_education {
        margin-bottom: 70px;
    }

    .credential_area .credential_content .skills_wrap .skill_items {
        grid-template-columns: 1fr;
    }

    .credential_area .credential_content .credential_experience .credential_edc_exp_item h3,
    .credential_area .credential_content .credential_education .credential_edc_exp_item h3 {
        line-height: 24px;
    }
}