/* Font Family */
.site-footer,
.site-footer *,
.footer-brand-text,
.footer-tagline,
.footer-title,
.footer-links,
.footer-contact,
.footer-copyright {
  font-family: 'Tajawal', Arial, Helvetica, sans-serif !important;
}

/* Footer Container */
.site-footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
    box-shadow: 0 -2px 8px rgba(10, 15, 60, 0.15);
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 130px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
    background-image: linear-gradient(rgba(117, 117, 117, 0.53), rgba(194, 194, 194, 0.497)), url('../images/slide\ 1.PNG');
    background-size: cover;
    background-position: bottom;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}

.footer-brand-text {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem 0;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--gold-light);
    font-weight: bold;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -20px;
}

/* Footer Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-contact span {
    flex: 1;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(200, 160, 65, 0.4);
}

.footer-social a:active {
    transform: translateY(-1px);
}

.footer-social a i {
    padding-right: 8px !important;
}

[dir="ltr"] .footer-social a i {
    padding-right: 0;
    padding-left: 2px;
}

/* Footer Bottom - Copyright */
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright,
.footer-MAAY {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.footer-MAAY a{
    text-decoration: none;
    color: var(--gold-dark);
    font-size: 20px;
    font-weight: 700 !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .site-footer {
        padding: 2.5rem 0 1rem;
        margin-top: 3rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        margin-bottom: 1rem;
    }

    .footer-logo {
        height: 105px;
    }

    .footer-brand-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-logo {
        height: 90px;
    }

    .footer-brand-text {
        font-size: 1.1rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 0.9rem;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 1.5rem 0 0.75rem;
    }

    .footer-logo {
        height: 80px;
    }

    .footer-brand-text {
        font-size: 1rem;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 0.95rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 0.85rem;
    }

    .footer-contact i {
        font-size: 1rem;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* RTL Adjustments */
[dir="rtl"] .footer-contact li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .phone{
    direction: ltr;
}

[dir="rtl"] .footer-social {
    justify-content: flex-start;
}

[dir="ltr"] .footer-contact li {
    text-align: left;
}

[dir="ltr"] .footer-social {
    justify-content: flex-start;
}

/* Smooth Animations */
.site-footer {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Hover Effects for Better UX */
.footer-contact li {
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    transform: scale(1.1);
    color: var(--gold-dark);
}

/* Accessibility Improvements */
.footer-social a:focus,
.footer-links a:focus {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-footer {
        background-color: transparent;
        color: black;
        box-shadow: none;
        border-top: 2px solid black;
    }

    .footer-social {
        display: none;
    }
}