/* ═══════════════════════════════════════════
   FOOTER — Professional & Fully Dynamic
   ═══════════════════════════════════════════ */

.site-footer {
    position: relative;
    z-index: 20;
    background: linear-gradient(180deg, rgba(2,4,12,.95), rgba(2,4,12,.98));
    border-top: 1px solid rgba(91,184,255,.08);
    backdrop-filter: blur(30px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Top Section ── */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 3rem;
    padding: 3.5rem 0 2.5rem;
}

.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: #5bb8ff;
    margin-bottom: 1rem;
}

.footer-logo-bracket {
    color: #3dffa0;
}

.footer-desc {
    font-size: .82rem;
    color: #4e7090;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    max-width: 300px;
}

/* ── Social Links ── */
.footer-social {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4e7090;
    transition: all .3s;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(91,184,255,.08);
    border-color: rgba(91,184,255,.2);
    color: #5bb8ff;
    transform: translateY(-2px);
}

/* ── Footer Headings ── */
.footer-heading {
    font-size: .8rem;
    font-weight: 600;
    color: #ecf5ff;
    margin-bottom: 1.2rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: .6rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #5bb8ff, transparent);
    border-radius: 1px;
}

/* ── Footer Links ── */
.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-links a {
    font-size: .8rem;
    color: #4e7090;
    text-decoration: none;
    transition: all .25s;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '›';
    margin-left: .4rem;
    color: #5bb8ff;
    opacity: 0;
    transition: all .25s;
}

.footer-links a:hover {
    color: #5bb8ff;
    transform: translateX(-4px);
}

.footer-links a:hover::before {
    opacity: 1;
}

/* ── Footer Contact ── */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .7rem;
    font-size: .78rem;
    color: #4e7090;
}

.footer-contact-icon {
    flex-shrink: 0;
    font-size: .85rem;
}

.footer-contact a {
    color: #5bb8ff;
    text-decoration: none;
    transition: opacity .2s;
}

.footer-contact a:hover {
    opacity: .8;
}

/* ── Enamad ── */
.footer-enamad {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.enamad-wrapper {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    padding: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enamad-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.enamad-image {
    max-width: 90px;
    height: auto;
    border-radius: 6px;
}

/* ── Bottom Bar ── */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.04);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: .72rem;
    color: #4e7090;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .7rem;
    color: #4e7090;
}

.footer-bottom-links a {
    color: #4e7090;
    text-decoration: none;
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: #5bb8ff;
}

.footer-separator {
    color: rgba(255,255,255,.1);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}