


@import url('color.css');
@import url('fonts.css');

/* استایل‌های پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}





footer {
    background-color: rgba(4, 38, 124, 0.858);
    color: #fff;
    padding: 2rem 0;
    border-top: 5px solid #329AFA;
}

/* بخش بالایی فوتر */
.top_footer {
    text-align: center;
    padding: 0.55rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: rgba(238, 238, 238, 0.941);
    margin-bottom: 2rem;
    
}

.top_footer p {
    font-size: 1rem;
    margin-top: 0.75rem;
    color: #00154C;
}

.icon_massenger {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.icon_massenger a img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon_massenger a img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

/* بخش پایینی فوتر */
.butten_footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 1.75rem;
    padding-left: 0.25rem;
    gap: 2rem;
}

.butten_footer ul {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.butten_footer ul li {
    margin-bottom: 0.5rem;
}

.butten_footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.butten_footer ul li a:hover {
    color: #329AFA;
}

.explain_footer {
    width: 40%;
    display: flex;
    align-items: end;
    margin-top: -50px;
}

.explain_footer img {
    width: 65px;
    height: auto;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.explain_footer p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.6;
}



@media (max-width: 1200px) {
    .explain_footer {
        width: 80%;
        
        
    }
}



/* Media Queries برای ریسپانسیو کردن */
@media (max-width: 768px) {
    .top_footer {
        flex-direction: column;
        padding: 1rem;
    }
    .explain_footer {
        width: 100%;
        margin: 0px;
        display: flex;
        align-items: center;
        
    }
    .explain_footer p {
        font-size: 0.85rem;
        color: #ccc;
        margin: 0px!important;
        line-height: 1.6;
    }
    

    .top_footer p {
        margin-bottom: 0.9rem;
    }

    .icon_massenger {
        gap: 1rem;
    }

    .butten_footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 1.7rem;
    }

    .butten_footer ul {
        justify-content: center;
      
    }

    .explain_footer {
        max-width: 100%;
        flex-direction: column;
        margin-top: 1rem;
    }

    .explain_footer img {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .explain_footer p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top_footer p {
        font-size: 0.88rem;
    }

    .icon_massenger a img {
        width: 22px;
        height: 22px;
    }
    .butten_footer ul {
        padding: 0rem;
      
    }


    .butten_footer ul {
        flex-direction: column;
        gap: 1rem;
    }

    .explain_footer p {
        font-size: 0.8rem;
    }
}





