body {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    width: 100%;
    text-align: justify;
}

.navbar {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.navbar .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s ease-in-out;
}

.navbar .navbar-nav .nav-link:hover {
    color: #004747 !important;
}


/* Footer styling */
.footer {
    background-color: #111;
    color: #fff;
    padding: 40px 0;
}

.footer .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

.footer-logo img {
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h5 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 28px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #caff00;
}

.footer-column.social a img {
    width: 25px;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    margin-top: 20px;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-bottom ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom ul li a:hover {
    color: #caff00;
}

.footer-bottom p {
    margin-top: 10px;
    font-size: 24px;
    color: #aaa;
}

.footer .fa-brands {
    color: white;
}

.footer .fa-brands:hover {
    color: #d4ff4f;
    /* Example: green-yellow on hover */
}

[lang="ar"] body,
[lang="ar"] .main-text,
[lang="ar"] .footer {
    direction: rtl;
    /* text-align: right; */
}


@media (max-width: 512px) {

    .footer-column h5 {
        font-size: 22px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-column ul li a {
        font-size: 18px;
    }

    .footer-bottom p {
        font-size: 18px;
    }

    .footer-logo {
        margin-top: 25px;
    }

    .footer-content {
        align-items: center;
        justify-content: center;
    }

    .footer-logo img {
        max-width: 180px;
    }
}