/* ===========================
   FOOTER
=========================== */

.site-footer {
    margin-top: 80px;
    padding: 70px 0 25px;
    background-color: var(--navy-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
    gap: 45px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.3;
}

.footer-column h3 {
    font-size: 24px;
}

.footer-column h4 {
    position: relative;
    padding-bottom: 12px;
    font-size: 17px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-description {
    margin-bottom: 0;
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.9;
}

.footer-links,
.footer-contact-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

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

.footer-links li:last-child,
.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.footer-links a,
.footer-contact-list a {
    color: #d1d5db;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--gold);
}

.footer-contact-list li {
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}

.footer-contact-label {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.footer-divider {
    width: 100%;
    height: 1px;
    margin: 45px 0 25px;
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #d1d5db;
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.footer-legal-links a {
    color: #d1d5db;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-legal-links a:hover {
    color: var(--gold);
}

/* Arabic footer alignment */

html[dir="rtl"] .footer-column h4::after {
    right: 0;
    left: auto;
}
