/* ================================================================
   ATAKALAM — SHARED FOOTER
   ================================================================ */

.footer-elegant {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 30px;
    background-color: #0a0a0c;
    background-image: url('../images/Dark_Page_Atkalam_bg_low_opacity.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes footerGlowDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-4%, 4%) scale(1.08);
        opacity: 0.82;
    }
}

.footer-glow-a {
    position: absolute;
    top: -180px;
    left: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 102, 52, 0.09), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: footerGlowDrift 11s ease-in-out infinite;
}

.footer-glow-b {
    position: absolute;
    bottom: -220px;
    right: -140px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(82, 1, 142, 0.16), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: footerGlowDrift 13s ease-in-out infinite 1.5s;
}

@keyframes footerFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-top .row>div {
    opacity: 0;
    animation: footerFadeUp 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.footer-top .row>div:nth-child(1) {
    animation-delay: 0.05s;
}

.footer-top .row>div:nth-child(2) {
    animation-delay: 0.18s;
}

.footer-top .row>div:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-tagline .tag-chip {
    opacity: 0;
    animation: footerFadeUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.footer-tagline .tag-chip:nth-child(1) { animation-delay: 0.35s; }
.footer-tagline .tag-chip:nth-child(2) { animation-delay: 0.42s; }
.footer-tagline .tag-chip:nth-child(3) { animation-delay: 0.49s; }
.footer-tagline .tag-chip:nth-child(4) { animation-delay: 0.56s; }
.footer-tagline .tag-chip:nth-child(5) { animation-delay: 0.63s; }
.footer-tagline .tag-chip:nth-child(6) { animation-delay: 0.7s; }

.footer-bottom {
    opacity: 0;
    animation: footerFadeUp 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}

.footer-elegant .container {
    position: relative;
    z-index: 1;
}

.footer-elegant .footer-logo img {
    height: 54px !important;
    width: auto !important;
    margin-bottom: 18px;
}

.footer-elegant h3 {
    color: #f0ece4;
    font-family: 'Exo', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-elegant h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #FF6634, #52018E);
    border-radius: 2px;
}

.footer-elegant .footer-desc {
    color: rgba(240, 236, 228, 0.45);
    font-size: 0.92rem;
    font-weight: 300;
    max-width: 380px;
}

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

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

.footer-elegant .footer-links a {
    color: rgba(240, 236, 228, 0.55);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 300;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-elegant .footer-links a .footer-link-icon {
    width: 0;
    height: 14px;
    margin-right: 0;
    opacity: 0;
    transform: translate(-4px, 2px);
    transition: width 0.3s ease, margin-right 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.footer-elegant .footer-links a:hover {
    color: #f0ece4;
}

.footer-elegant .footer-links a:hover .footer-link-icon {
    width: 14px;
    margin-right: 6px;
    opacity: 1;
    transform: translate(0, 0);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a i {
    background: linear-gradient(135deg, #FF6634, #52018E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social a:hover {
    border-color: rgba(255, 102, 52, 0.4);
    box-shadow: 0 0 22px rgba(255, 102, 52, 0.4), 0 0 34px rgba(158, 63, 214, 0.3);
    transform: translateY(-4px) scale(1.06);
}

.footer-tagline {
    margin-top: 55px;
    padding: 26px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-elegant .tag-chip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(240, 236, 228, 0.5);
    font-weight: 300;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.footer-elegant .tag-chip:hover {
    border-color: rgba(255, 102, 52, 0.3);
    color: #FF6634;
    background: rgba(255, 102, 52, 0.06);
}

.footer-elegant .tag-chip.arabic {
    font-family: 'Exo', sans-serif;
    font-size: 0.95rem;
    color: rgba(240, 236, 228, 0.65);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 0;
}

.footer-bottom p {
    color: rgba(240, 236, 228, 0.3);
    font-weight: 300;
    font-size: 0.82rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
}

.footer-legal span {
    color: rgba(240, 236, 228, 0.35);
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-legal a {
    color: rgba(240, 236, 228, 0.55);
    text-decoration: none;
    transition: color .3s;
    font-weight: 400;
}

.footer-legal a:hover {
    color: #FF6634;
}

@media (max-width: 768px) {
    .footer-elegant {
        padding: 56px 0 24px;
    }

    .footer-top .row > div {
        margin-bottom: 8px;
    }

    .footer-col-brand,
    .footer-col-nav,
    .footer-col-cta {
        text-align: center;
        margin-bottom: 28px;
    }

    .footer-col-brand h3::after,
    .footer-col-nav h3::after,
    .footer-col-cta h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col-nav .footer-links {
        display: inline-block;
        text-align: left;
    }

    .footer-col-brand .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col-brand .footer-social {
        justify-content: center;
    }

    .footer-tagline {
        margin-top: 36px;
        justify-content: center;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .footer-bottom .row > div {
        margin-bottom: 10px;
    }

    .footer-bottom .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-legal {
        flex-wrap: wrap;
    }

    .footer-legal span {
        flex-wrap: wrap;
    }
}
