@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Zain:wght@200;300;400;700;800;900&display=swap');


footer{
    position: relative;
    background: #1D4680;
    width: 100%;
    bottom: 0;
    right: 0;
}
footer::before{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background: #AFAFB6;
    right: 0;
    top: 125px;
}
footer .footer-content{
    background: #1D4680;
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
}
footer .footer-content .footer-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}
.footer-content .footer-top .footer-logo{
    display: flex;
    align-items: center;
    gap: 1.8rem;
    color: #fff;
    font-size: 2rem;
}
.footer-content .footer-top .media-icons{
    display: flex;
}
.footer-content .footer-top .media-icons a{
    height: 40px;
    width: 40px;
    /* background: rgba(255, 0, 0, 0.24); */
    margin: 0 8px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.6s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);

}
.footer-top .media-icons a:nth-child(1){
    background: #121212;
}
.footer-top .media-icons a:nth-child(1):hover{
    color: #121212;
    background: #fff;
}
.footer-top .media-icons a:nth-child(2){
    font-size: 1.5rem;
    background:  linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.footer-top .media-icons a:nth-child(2):hover{
    color: #E1306C;
    background: #fff;
}
.footer-top .media-icons a:nth-child(3){
    font-size: 1.5rem;
    background: #12bc7e;
}
.footer-top .media-icons a:nth-child(3):hover{
    color: #12bc7e;
    background: #fff;
}
.footer-top .media-icons a:nth-child(4){
    font-size: 1.5rem;
    background: #be2826;
}
.footer-top .media-icons a:nth-child(4):hover{
    color: #be2826;
    background: #fff;
}
.footer-top .media-icons a:nth-child(5){
    font-size: 1.5rem;
    background: #24A1DE;
}
.footer-top .media-icons a:nth-child(5):hover{
    color: #24A1DE;
    background: #fff;
}
.footer-top .media-icons a:nth-child(6){
    font-size: 1.5rem;
    background: #41ca70;
}
.footer-top .media-icons a:nth-child(6):hover{
    color: #41ca70;
    background: #fff;
}
footer .footer-content .footer-link-boxes{
    padding: 0 2rem 0 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
footer .footer-content .footer-link-box{
    width: calc(100% / 5 -1rem);
}
.footer-content .footer-link-box li{
    list-style: none;
}
.footer-content .footer-link-box .footer-link-namae{
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    position: relative;
}
.footer-link-boxes .footer-link-box .footer-link-namae::before{
    content: '';
    position: absolute;
    height: 2px;
    width: 35px;
    background: #fff;
    right: 0;
    bottom: -6px;
}
.footer-content .footer-link-boxes .footer-link-box li{
    margin: 1rem 0;
    list-style: none;
}
.footer-content .footer-link-boxes .footer-link-box li a{
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    transition: all 0.3s ease;
}
.footer-content .footer-link-boxes .footer-link-box li a:hover{
    opacity: 1;
    color: #e6683c;
    text-decoration: underline;
}
footer .footer-bottom{
    width: 100%;
    background: #052452;
    opacity: 0.8;
}
footer .footer-bottom .footer-bottom-text{
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
}
.footer-bottom .footer-bottom-text span,
.footer-bottom .footer-bottom-text a{
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}
.footer-bottom .footer-bottom-text a:hover{
    opacity: 1;
    text-decoration: underline;
}
.footer-bottom .footer-bottom-text a{
    margin-left: 0.5rem;
}

.the-design{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.photo-for-design{
    display: flex;
    align-items: center;
    gap: 6px;
}
.photo-for-design img{
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover; /* يجعل الصورة تغطي كامل الخلفية */
    background-position: center; /* يضع الصورة في منتصف الصفحة */
}
.text-design .text-one{
    display: flex;
    align-items: center;
    gap: 10%;
}

.the-design .photo-for-design h4{
    margin: 0;
}
.the-design h6{
    margin: 0;
}
.text-design .text-one p{
    margin: 0;
}

@media (max-width: 900px) {
    footer .footer-content .footer-link-boxes{
    flex-wrap: wrap;
    }
}
@media (max-width: 750px){
    footer{
    position: relative;
    }
    .footer-content .footer-top{
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    footer::before {
        top: 250px;
    }
    .footer-content .footer-top .footer-logo{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    }
    .footer-content .top .media-icons a{
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
    }
    footer .footer-content .footer-link-boxes .footer-link-box{
    width: calc(100% / 3 - 10px);
    }
    .footer-bottom .footer-bottom-text span,
    .footer-bottom .footer-bottom-text a{
    font-size: 12px;
    }
}
@media (max-width: 520px){
    footer .footer-content{
        padding-left: 20px;
        padding-right: 20px;
    }
    footer::before{
    top: 250px;
    }
    footer .footer-content .footer-top{
    gap: 1.5rem;
    flex-direction: column;
    }
    .footer-content .top .media-icons{
    margin-top: 16px;
    }
    footer .footer-content .footer-link-boxes .footer-link-box{
    width: calc(100% / 2 - 10px);
    }
}
@media (max-width: 520px){
    footer .footer-content{
        padding-left: 10px;
        padding-right: 10px;
    }
    footer::before{
    top: 300px;
    }
}

