.site-footer {
    background-color: #358FAF33;
    direction: rtl; /* Crucial for text alignment and flow */
    text-align: start;
    padding: 46px 0 0 0;
    margin-top: 100px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.footer-container {
    display: flex;
    max-width: 1715px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col {
    /* flex: 1; */
}

.social-list{
    display: flex;
    gap: 20px;
}

.footer-title {
    font-size: 20px;
    color: #002D58; /* Deep Navy */
    font-weight: 700;
    margin-bottom: 26px;
    padding-bottom: 8px;
    position: relative;
}

/* Right-aligned dark underline */
.footer-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 0; /* Aligned to right for RTL */
    width: 58px;
    height: 6px;
    background-color: #001F3F;
    border-radius: 100px;
}

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

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

.footer-links a {
    color: #0E2551;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
    font-weight: 400;
}

.footer-links a:hover {
    color: #F15A22;
    /* padding-right: 5px; */ /* Visual nudge on hover */
}

/* Contact List styling */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    font-size: 15px;
    margin-bottom: 12px;
    color: #373536;
}

.contact-list strong {
    color: #0E2551;
    margin-left: 5px;
    font-weight: 600;
}

/* Logo Alignment for RTL */
.logo-col {
    display: flex;
    justify-content: flex-start; /* Logo stays on the left of the screen */
}

.footer-main{
  padding-bottom: 60px;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgb(14 37 81 / 15%);
    margin-top: 50px;
    padding: 30px 0;
    max-width: 1715px;
    margin: 0 auto;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #0E2551;
    font-weight: 400;
}

.footer-social{
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .footer-title::after {
    }
    .logo-col {
        order: -1;
    }
    .bottom-inner {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }
    .footer-container {
        padding: 0 16px;
        gap: 16px;
    }
    .footer-main {
        padding-bottom: 40px;
    }
    .footer-title {
        font-size: clamp(16px, 4.5vw, 20px);
        margin-bottom: 18px;
    }
    .footer-links a {
        font-size: clamp(13px, 3.5vw, 16px);
    }
    .contact-list li {
        font-size: clamp(13px, 3.5vw, 15px);
    }
    .footer-bottom {
        padding: 20px 16px;
    }
    .bottom-inner {
        font-size: clamp(12px, 3vw, 15px);
        text-align: center;
    }
    .footer-social {
        justify-content: center;
        gap: 14px;
        margin: 14px 0;
    }
    .footer-col {
        width: 100%;
    }
    .footer-col.logo-col {
        justify-content: center;
        margin-bottom: 20px;
    }
}

/* ── Footer Accordion (mobile only) ────────────────────── */
.footer-accordion-icon {
    display: none;
    flex-shrink: 0;
    transition: transform 0.32s ease;
}

@media (max-width: 768px) {
    /* Show chevron icon */
    .footer-accordion-icon {
        display: block;
    }

    /* Turn h3 into a flex row trigger */
    .footer-col:not(.logo-col) .footer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
        margin-bottom: 10px; /* room for the ::after underline */
        position: relative;
    }

    /* Rotate chevron when open */
    .footer-col:not(.logo-col) .footer-title[aria-expanded="true"] .footer-accordion-icon {
        transform: rotate(180deg);
    }

    /* Accordion body — collapsed by default */
    .footer-col-body {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.32s ease;
    }

    .footer-col-body.is-open {
        grid-template-rows: 1fr;
    }

    /* Inner div required for the grid-template-rows trick */
    .footer-col-body > div {
        overflow: hidden;
    }

    /* Add top spacing inside when open */
    .footer-col-body > div > * {
        padding-top: 14px;
        text-align: start;
    }
}

