/* ============================================================
   GAARA EXPORT – Site Footer
   Rebuilt 1:1 from the (disabled) Divi Theme Builder footer.
   Loads site-wide — self-contained, no dependency on other
   page templates' CSS.
============================================================ */

.gaara-site-footer * { box-sizing: border-box; }

.gaara-site-footer {
    font-family: var(--gaara-font, "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif);
    position: relative;
    z-index: 1;
}

.gaara-ftr-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Subscribe / tagline bar ─────────────────────────────── */
.gaara-ftr-subscribe {
    background: #00463b;
}
.gaara-ftr-subscribe-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 32px;
}
.gaara-ftr-tagline {
    margin: 0;
    color: #fff;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1.35;
    font-weight: 500;
}
.gaara-ftr-highlight {
    position: relative;
    display: inline-block;
    font-weight: 700;
}
.gaara-ftr-highlight::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #f2862b;
    border-radius: 600px;
    transform: scaleX(1.1) rotate(-1deg);
    transform-origin: left bottom;
}
.gaara-ftr-contact-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border: 1px solid #fff;
    border-radius: 24px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease;
}
.gaara-ftr-contact-btn:hover {
    background: #fff;
    color: #00463b;
    text-decoration: none;
}

/* ── Main footer ─────────────────────────────────────────── */
.gaara-ftr-main {
    background-color: #00463b;
    background-image:
        linear-gradient(rgba(0,70,59,.86), rgba(0,70,59,.86)),
        url("https://gaaraexport.com/wp-content/uploads/2022/11/43130.jpg");
    background-size: cover;
    background-position: center;
    padding: 48px 0 0;
}

.gaara-ftr-logo-link { display: inline-block; }
.gaara-ftr-logo {
    height: auto;
    width: 150px;
    max-width: 100%;
    display: block;
    margin-bottom: 40px;
}

.gaara-ftr-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.gaara-ftr-col h4,
.gaara-ftr-col h5 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 16px;
}
.gaara-ftr-col h4 { font-size: 1.3rem; }
.gaara-ftr-col h5 { font-size: 1.05rem; }

.gaara-ftr-col-about p {
    color: rgba(255,255,255,.82);
    font-size: .95rem;
    line-height: 1.65;
    margin: 0 0 20px;
    max-width: 380px;
}
.gaara-ftr-social {
    display: flex;
    gap: 10px;
}
.gaara-ftr-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: #fff;
    transition: background .25s ease, border-color .25s ease;
}
.gaara-ftr-social a:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.gaara-ftr-social svg { width: 16px; height: 16px; }

.gaara-ftr-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gaara-ftr-link-list li { margin: 0 0 10px; }
.gaara-ftr-link-list a {
    color: #fff;
    font-size: .9rem;
    text-decoration: none;
}
.gaara-ftr-link-list a:hover { text-decoration: underline; }

.gaara-ftr-col-contact p { margin: 0 0 10px; font-size: .9rem; }
.gaara-ftr-phone a,
.gaara-ftr-email a {
    color: #fff;
    text-decoration: none;
}
.gaara-ftr-phone a:hover,
.gaara-ftr-email a:hover { text-decoration: underline; }
.gaara-ftr-address {
    color: rgba(255,255,255,.82);
    line-height: 1.6;
}

.gaara-ftr-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.24);
}
.gaara-ftr-copyright {
    margin: 0;
    color: #fff;
    font-size: .78rem;
}
.gaara-ftr-legal {
    margin: 0;
    font-size: .78rem;
}
.gaara-ftr-legal a { color: #fff; text-decoration: none; }
.gaara-ftr-legal a:hover { text-decoration: underline; }
.gaara-ftr-legal span { color: rgba(255,255,255,.5); }

/* ── RTL (Arabic) ─────────────────────────────────────────
   `direction: rtl` is inherited from .gaara-site-footer.gaara-rtl
   into every descendant, which already flips flex/grid main-start
   to the right on its own. Do NOT add flex-direction/justify
   overrides on top of it — see the FAQ accordion bug fix: doing
   both cancels out (double negation) and undoes the mirroring. */
.gaara-site-footer.gaara-rtl {
    direction: rtl;
}
.gaara-site-footer.gaara-rtl .gaara-ftr-highlight::after {
    left: auto;
    right: 0;
    transform-origin: right bottom;
}
.gaara-site-footer.gaara-rtl .gaara-ftr-phone a,
.gaara-site-footer.gaara-rtl .gaara-ftr-email a {
    unicode-bidi: isolate;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .gaara-ftr-grid { grid-template-columns: 1fr 1fr; }
    .gaara-ftr-col-about { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .gaara-ftr-container { padding: 0 20px; }
    .gaara-ftr-subscribe-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 20px;
    }
    .gaara-ftr-contact-btn { align-self: flex-start; }
    .gaara-ftr-main { padding-top: 36px; }
    .gaara-ftr-grid { grid-template-columns: 1fr; gap: 30px; }
    .gaara-ftr-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
