﻿/*==================================================
                    FOOTER
==================================================*/

.footer {
    position: relative;
    background: linear-gradient(135deg,#08111F,#13233C);
    color: #fff;
    padding: 90px 0 30px;
    overflow: hidden;
}

    .footer::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(200,155,60,.06);
        top: -180px;
        right: -150px;
    }

    .footer::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(255,255,255,.03);
        bottom: -150px;
        left: -120px;
    }

    .footer .container {
        position: relative;
        z-index: 2;
    }

/*==================================================
                TOP GRID
==================================================*/

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 55px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

/*==================================================
                LOGO
==================================================*/

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.footer-logo-box {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
    /* الإطار الذهبي */
    border: 3px solid #D4AF37;
    /* بروز الإطار */
    box-shadow: 0 0 0 4px rgba(212,175,55,.18), 0 10px 25px rgba(0,0,0,.30), inset 0 0 10px rgba(255,255,255,.45);
    transition: .35s ease;
}

    .footer-logo-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .footer-logo-box:hover {
        transform: translateY(-3px) scale(1.05);
        border-color: #F2C94C;
        box-shadow: 0 0 0 5px rgba(212,175,55,.30), 0 16px 35px rgba(0,0,0,.40), inset 0 0 12px rgba(255,255,255,.50);
    }

.footer-logo h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 4px;
}

.footer-logo span {
    color: #D8DEE8;
    font-size: 14px;
}

.footer-about p {
    color: #C8D0DA;
    line-height: 2;
    margin-bottom: 30px;
}
/*==================================================
                TITLES
==================================================*/

.footer-col h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 14px;
}

    .footer-col h4::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 55px;
        height: 3px;
        border-radius: 20px;
        background: linear-gradient(90deg,#D8AF58,#B88628);
    }

/*==================================================
                LINKS
==================================================*/

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .footer-links li {
        list-style: none;
    }

    .footer-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #C9D2DD;
        transition: .35s;
    }

        .footer-links a:hover {
            color: #D8AF58;
            transform: translateX(-8px);
        }

    .footer-links i {
        color: #D8AF58;
        font-size: 14px;
    }

/*==================================================
            CONTACT
==================================================*/

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

    .footer-contact li {
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-contact i {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(200,155,60,.12);
        color: #D8AF58;
        font-size: 18px;
        flex-shrink: 0;
        transition: .35s;
    }

    .footer-contact li:hover i {
        background: #D8AF58;
        color: #fff;
        transform: rotate(360deg);
    }

    .footer-contact span,
    .footer-contact a {
        color: #C9D2DD;
        line-height: 1.9;
        transition: .35s;
    }

        .footer-contact a:hover {
            color: #fff;
        }

/*==================================================
            SOCIAL
==================================================*/

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 25px;
}

    .footer-social a {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: rgba(255,255,255,.06);
        transition: .35s;
    }

        .footer-social a:hover {
            background: linear-gradient(145deg,#D8AF58,#B88628);
            color: #fff;
            transform: translateY(-6px);
            box-shadow: 0 15px 35px rgba(200,155,60,.30);
        }
/*==================================================
                FOOTER BOTTOM
==================================================*/

.footer-bottom {
    margin-top: 35px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

    .footer-bottom p {
        margin: 0;
        color: #AEB8C5;
        font-size: 15px;
    }

    .footer-bottom strong {
        color: #D8AF58;
        font-weight: 700;
    }

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .footer-bottom-links span {
        color: rgba(255,255,255,.25);
    }

    .footer-bottom-links a {
        color: #C8D0DA;
        transition: .35s;
    }

        .footer-bottom-links a:hover {
            color: #D8AF58;
        }

/*==================================================
                FADE UP
==================================================*/

@keyframes footerFade {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    animation: footerFade .8s ease both;
}

    .footer-col:nth-child(1) {
        animation-delay: .10s;
    }

    .footer-col:nth-child(2) {
        animation-delay: .20s;
    }

    .footer-col:nth-child(3) {
        animation-delay: .30s;
    }

    .footer-col:nth-child(4) {
        animation-delay: .40s;
    }

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:1200px) {

    .footer-top {
        grid-template-columns: repeat(2,1fr);
        gap: 45px;
    }
}

@media(max-width:768px) {

    .footer {
        padding: 70px 0 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media(max-width:576px) {

    .footer-logo-box {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .footer-logo h3 {
        font-size: 22px;
    }

    .footer-logo span {
        font-size: 13px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

        .footer-bottom-links span {
            display: none;
        }
}

.footer-email {
    color: inherit;
    text-decoration: none;
    transition: .3s;
}

    .footer-email:hover {
        color: #C89B3C;
    }