/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding-top: 5rem;
    margin-top: 4rem;
}

.main-footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.main-footer a:hover {
    opacity: 0.75;
}

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

.footer-desc {
    font-size: 0.88rem;
    opacity: 0.85;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 36px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links li a {
    font-size: 0.9rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links li a::before {
    content: "‹";
    font-size: 1rem;
    color: var(--primary-color);
}

.arabic-version .footer-links li a::before {
    content: "›";
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0.7rem;
}

.footer-contact-item i {
    width: 18px;
    text-align: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-newsletter p {
    font-size: 0.88rem;
    opacity: 0.85;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-newsletter-form input {
    flex: 1;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.55rem 0.8rem;
    font-size: 0.88rem;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: 0;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    margin-top: 2.5rem;
    font-size: 0.82rem;
    opacity: 0.7;
    text-align: center;
}
