﻿.sh-kh-footer-outer-container {
    width: 100%;
    background-color: #002221;
    margin-top: 50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-top: 50px;
    padding-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.sh-kh-footer-grid-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sh-kh-footer-inner-container {
    width: min(var(--default-spacing), var(--default-max-spacing));
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 65px;
    z-index: 2;
}

.sh-kh-footer-content-container {
    display: flex;
    flex-direction: column;
    row-gap: 48px;
    width: 100%;
    align-items: center;
}

.sh-kh-footer-social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
}

.sh-kh-footer-logo {
    align-self: center;
}

.sh-kh-footer-sm-container {
    display: flex;
    column-gap: 20px;
    z-index: 3;
}

.sh-kh-footer-sm-item {
    padding: 10px;
    background-color: rgba(255,255,255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.sh-kh-footer-items {
    display: flex;
    column-gap: 40px;
}

.sh-kh-footer-item {
    text-decoration: none;
    color: #fff;
    opacity: 0.9;
    font-family: var(--kh-reg);
    position: relative;
}

.sh-kh-footer-item::after {
     content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--pr-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.sh-kh-footer-item:hover::after {
    transform: scaleX(1);
}

.sh-kh-footer-item:hover {
    color: #fff;
}

.sh-kh-footer-cr {
    color: var(--pr-color);
    opacity: 0.8;
    font-family: var(--kh-reg);
    font-size: 1.1rem;
}

.sh-kh-footer-sm-item img {
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease;
}

/* Hover */
.sh-kh-footer-sm-item:hover {
    background-color: transparent; /* أخضر */
    outline: 2px solid #5BE11E;
}

.sh-kh-footer-sm-item:hover img {
    filter: brightness(0) invert(1);
}


@media(max-width: 560px) {


    .sh-kh-footer-items {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }

}


@media(max-width: 350px) {


    .sh-kh-footer-cr {
        font-size: 0.9rem;
    }

    .sh-kh-footer-logo {
        width: 220px;
    }

    .sh-kh-footer-logo img {
        width: 100%;
        object-fit: cover;
    }

}