:root {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;
}

footer {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    direction: rtl;
    justify-content: space-between;
    max-width: 1024px;
    align-self: center;
}

.left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.left-section-header p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    width: 200px;
}

.badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.badge img {
    width: 150px;
    height: auto;
    padding-left: 30px;
}

.right-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-right: 10%;
}

.column {
    text-align: right;
}

.column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.column a {
    color: #adadad;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s ease;
    max-width: 85%;
}

.column a:hover {
    color: #fff;
}

.enamad-footer {
    display: flex;
    width: 70vw;
}

.enamad-footer img {
    width: 100px;
    height: auto;
}

.footer {
    text-align: center;
    font-size: 14px;
    color: #adadad;
}

@media (max-width: 1024px) {
    .enamad-footer {
        width: 80vw;
    }
}

@media (max-width: 650px) {

    .footer-container {
        flex-direction: column;
    }

    .right-section {
        display: grid;
        grid-template-columns: repeat(2, 140px);
        padding-right: unset;
        justify-content: center;
    }

    .enamad-footer {
        justify-content: space-around;
    }

    .column a {
        max-width: unset;
    }
    .column {
        text-align: center;
    }

}


