:root {
    --main: #bea46a;
    --main-color: #bea46a;
    /*--main: red;*/
    --dark: #020001;
}

/* FOOTER */
.main-footer {
    background: linear-gradient(135deg, #020001, #1a1a14);
    background: #1a1a1a;
    color: #ddd;
    padding: 70px 0 30px;
    font-family: 'Cairo', sans-serif;
    margin-top: 20px;
    border-radius: 25px;
}

/* ROW CONTAINER */
/*.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}*/

/* COLUMNS */
.footer-col {
    display: flex;
    flex-direction: column;
    text-align: right; /* RTL */
    flex: 1 1 250px; /* مرونة في العرض مع حد أدنى 250px */
    min-width: 250px;
}

/* LOGO */
.footer-logo {
    width: 200px;
    margin-bottom: 20px;
}

/* TITLES */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 26px;
    color: #fff;
    position: relative;
    display: inline-block; /* مهم للخط السفلي */
    padding-right: 5px; /* مساحة بسيطة ليتماشى مع RTL */
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -18px;
    right: 0; /* RTL */
    width: 40px;
    height: 3px;
    background: var(--main);
    border-radius: 10px;
    /*margin-top: 15px;*/
    /*top: 60px;*/
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--main);
    padding-right: 6px;
}

/* CONTACT */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
}

.footer-contact i {
    color: var(--main);
    margin-left: 10px;
    font-size: 18px;
}

/* SOCIAL */
.footer-social {
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /*background: rgba(255, 255, 255, 0.08);*/
    color: black;
    margin-left: 8px;
    transition: .35s;
    /*color: red;*/
    background-color: var(--main);
}

.footer-social a:hover {
    background: var(--main);
    transform: translateY(-4px);
}
.footer-social {
    /*color: var(--main-color);*/
    /*background-color: var(--main);*/
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--main-color);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-row {
        /*flex-direction: column;*/
        text-align: center;
        /*gap: 30px;*/
    }

    .main-footer {
        padding: 20px 0px;
    }

    .footer-logo {
        width: 160px;
        margin-bottom: 5px;
    }

    .footer-col {
        min-width: auto;
        align-items: center;
    }

    .footer-title {
        padding-right: 0;
    }

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

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

    .footer-social a {
        margin-left: 10px;
        margin-right: 10px;
    }
}
