﻿
/*
    LANGUAGE SWITCHER
*/

.language-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 0;
}

    .language-toggle .btn-toggle {
        padding: 12px 25px;
        font-weight: 700;
        font-size: 1.1rem;
        border-radius: 25px;
        border: 2px solid var(--primary);
        transition: all 0.3s ease;
        min-width: 80px;
    }

        .language-toggle .btn-toggle:first-child {
            border-radius: 25px 0 0 25px;
            border-right: 1px solid var(--primary);
        }

        .language-toggle .btn-toggle:last-child {
            border-radius: 0 25px 25px 0;
            border-left: 1px solid var(--primary);
        }

        .language-toggle .btn-toggle.active {
            background: var(--primary) !important;
            color: var(--secondary);
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(27, 77, 62, 0.3);
        }

        .language-toggle .btn-toggle:not(.active) {
            background: var(--secondary-label-light-color);
            color: var(--primary);
            border-color: var(--primary);
        }

            .language-toggle .btn-toggle:not(.active):hover {
                background: var(--primary);
                color: var(--secondary);
            }

/*
    BACK BUTTON
*/
.btn.btn-back {
    background: var(--secondary-label-light-color);
    border: 2px solid var(--primary);
    width: 51px;
    height: 51px;
    padding: 8px;
}

    .btn.btn-back .svg-icon svg {
        height: 1.75rem;
        width: 1.75rem;
    }


@media (max-width: 480px) {
    .language-toggle .btn-toggle {
        padding: 10px 15px;
        border-radius: 24px !important;
        min-width: 52px;
    }

        .language-toggle .btn-toggle:first-child {
            border-radius: 24px 0 0 24px !important;
        }

        .language-toggle .btn-toggle:last-child {
            border-radius: 0 25px 25px 0 !important;
        }

    .btn.btn-back {
        width: 48px;
        height: 48px;
        padding: 7px;
    }

        .btn.btn-back .svg-icon svg {
            height: 1.75rem;
            width: 1.75rem;
        }
}


/*
        SKILL CATEGEORY CARDS
*/

.skill-widget {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 420px) {
    .skill-widget {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .skill-widget {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

@media (min-width: 1280px) {
    .skill-widget {
        flex: 0 0 auto;
        width: 25%;
    }
}

.category-widget {
    cursor: pointer;
    height: calc(100% - 60px);
}

.category-style1 {
    position: relative;
    z-index: 1;
    padding: 40px 35px 40px 35px;
    border-radius: 30px;
    margin: 10px 0 40px 0;
}

    .category-style1 .category-bg {
        text-align: center;
    }

    .category-style1 .category-bg3,
    .category-style1 .category-bg2,
    .category-style1 .category-bg1 {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 30px;
        opacity: 1;
        visibility: visible;
        transform-origin: top center;
        transition: all ease 0.4s;
        box-shadow: 0 10px 4px rgba(#78338A, 0.30);
    }

    .category-style1 .category-bg1 {
        background-color: #fff;
        z-index: -1;
    }

    .category-style1 .category-bg2 {
        background-color: var(--primary);
        transform: scale(0.9) translateY(-10px);
        z-index: -2;
    }

    .category-style1 .category-bg3 {
        background-color: var(--secondary);
        transform: scale(0.7) translateY(-10px);
        z-index: -3;
        box-shadow: none;
    }

    .category-style1:hover .category-bg1 {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.08);
    }

    .category-style1:hover .category-bg2 {
        transform: scale(1.001) translateY(0);
    }

    .category-style1:hover .category-bg3 {
        transform: scale(0.9) translateY(-10px);
    }

    .category-style .category-bg img {
        width: 100%;
    }



    .category-style1 .category-grade {
        width: 90px;
        height: 90px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--primary);
        border-radius: 50%;
        line-height: 1;
        font-weight: 600;
        text-transform: uppercase;
        color: #fff;
        font-family: Karma;
        font-size: 14px;
        margin-bottom: 22px;
        box-shadow: inset 5px 0 0 1px rgba(#000, 0.18);
    }


    .category-style1 .grade-name {
        display: block;
        margin-top: 0px;
        font-size: 40px;
    }

    .category-style1 .category-name {
        margin: 0 0 10px 0;
    }

        .category-style1 .category-name a {
            font-size: 18px;
        }

    .category-style1:hover .category-name,
    .category-style1:hover .category-name a {
        color: var(--secondary) !important;
    }

    .category-style1 .category-label {
        margin: 0;
        line-height: 1;
        font-weight: 500;
        font-family: Philosopher;
        transition: all ease 0.4s;
    }

    .category-style1:hover .category-label,
    .category-style1:hover .category-name a {
        color: #fff;
    }

.category-style1 .category-bg2 {
    background-color: var(--primary-dark);
}

.category-style1 .category-name {
    position: absolute;
    display: inline-block;
    width: 100%;
    top: auto;
    left: 0;
    right: 0;
    bottom: 35px;
    margin: auto;
    padding: 0 15px;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
}

.category-style1:hover .category-label,
.category-style1:hover .category-name {
    color: var(--secondary);
}

.category-style1 .category-bg > div.text-center {
    min-height: 120px;
}

    .category-style1 .category-bg > div.text-center i {
        font-size: 50px !important;
    }

@media (max-width: 1024px) {
    .category-style1 {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .category-style1.v2 {
        width: calc(100% - 30px);
        margin: 10px 15px 40px 15px;
        padding: 30px 20px;
    }

        .category-style1.v2 .category-bg {
            text-align: center;
            width: 25%;
        }

            .category-style1.v2 .category-bg img {
                max-width: 100%;
            }

    .category-style1.v2 .category-name {
        width: 75%;
        right: 0;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .category-style1 .category-name {
        font-size: 16px;
        bottom: 25px;
        padding: 0 10px;
    }
}

@media (max-width: 420px) {
    .category-style1.v2 {
        width: 100%;
        margin: 10px 0px 40px 0px;
        padding: 20px 15px;
    }

        .category-style1.v2 .category-bg {
            text-align: center;
            width: 30%;
        }

            .category-style1.v2 .category-bg img {
                max-width: 100%;
            }

    .category-style1 .category-name {
        font-size: 14px;
        bottom: 20px;
        padding: 0 5px;
    }

    .category-style1.v2 .category-name {
        width: 70%;
        right: 0;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        font-size: 15px;
        bottom: auto;
        padding: 0 10px;
    }
}

ul.items {
}

.items .item {
    display: flex;
    margin: 0;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.items .item-h {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.items .item .item-desc {
    width: 100%;
    background: var(--primary-dark);
    color: var(--secondary);
}

.items .item-h .item-desc {
    padding: 14px 8px 0 15px;
}

.items .item .item-desc .item-label {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.items .item-h .item-action {
}

    .items .item-h .item-action .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        height: 100%;
        padding: 15px 11px;
    }

.items .item .item-desc .item-title {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 30px;
}

.items .item-h .item-action .btn .svg-icon svg {
    width: auto;
    height: 35px;
    max-height: 40px;
}

.hr-text {
    position: relative;
    outline: 0;
    border: 0;
    color: var(--accent);
    text-align: center;
    height: 1.5em;
    margin: 12px 0 12px 0;
    opacity: 1;
    font-family: 'Nunito Sans';
    font-size: 20px;
    line-height: 30px;
}

    .hr-text:before {
        content: "";
        background: linear-gradient(to right,transparent,var(--secondary),transparent);
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 2px
    }

    .hr-text:after {
        content: attr(data-content);
        position: relative;
        display: inline-block;
        padding: 0 6px;
        line-height: 1.5em;
        color: var(--secondary);
        background-color: #fcfcfa;
        font-weight: 600;
        font-size: 18px
    }