@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
    --primaryColor: #212223;
    --middleColor: #F6672A;
    --helperColor: #223651;
    --lightHelper: #bbd9ff;
    --hrColor: rgb(222, 184, 135);
    --transparentColor: rgba(0, 0, 0, 0.699);
    --shadow: rgba(189, 188, 188, 0.514);
    /* --------------------------------- */
    --whatsappColor: #25D366;
    --white: var(--primaryColor)f;
    --blue: #1877F2;
    --green: #25D366;
    --gray: #f8f8f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.footer {
    background: var(--lightHelper);
    color: var(--primaryColor);
    padding: 40px;
}

.logo-and-intro {
    display: flex;
}

.logo-and-intro .footer-logo {
    margin-left: 50px;
}

.upper-footer-container {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 15px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid var(--primaryColor);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--primaryColor);
    font-size: 18px;

    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primaryColor);
}

/* الفوتر السفلي */
.footer-bottom {
    background: var(--middleColor);
    text-align: center;
    padding: 15px;
    font-size: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--helperColor);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* موبايل */
@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .upper-footer-container {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .footer-logo img {
        margin: 0 auto 15px;
    }

    .logo-and-intro {
        display: flex;
        flex-direction: column;
    }

    .footer-none {
        display: none;
    }
}