/* =========================================================
   AZMIA MODERN ISLAMIC FOOTER
   File: public/assets/css/footer-modern.css
   Load after main.css
========================================================= */

:root {
    --footer-primary: #052e22;
    --footer-secondary: #064e3b;
    --footer-emerald: #198754;
    --footer-gold: #c8a96a;
    --footer-light: #ecfdf5;
    --footer-muted: rgba(236, 253, 245, 0.68);
    --footer-border: rgba(255, 255, 255, 0.10);
}

.az-footer {
    position: relative;
    overflow: hidden;
    padding: 92px 0 28px;
    background:
        radial-gradient(circle at 10% 10%, rgba(25, 135, 84, 0.28), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(200, 169, 106, 0.18), transparent 28%),
        linear-gradient(135deg, #021a13 0%, var(--footer-primary) 45%, #07130e 100%);
    color: var(--footer-light);
    isolation: isolate;
}

.az-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.36;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 90%);
    z-index: -3;
}

.az-footer::after {
    content: "AZMIA";
    position: absolute;
    right: -20px;
    bottom: 18px;
    font-size: clamp(70px, 18vw, 230px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -12px;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
    z-index: -1;
}

.az-footer-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.42;
    z-index: -2;
}

.az-footer-glow-left {
    width: 360px;
    height: 360px;
    background: rgba(25, 135, 84, 0.34);
    left: -120px;
    top: 20%;
}

.az-footer-glow-right {
    width: 320px;
    height: 320px;
    background: rgba(200, 169, 106, 0.24);
    right: -110px;
    top: 8%;
}

.az-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(160px, .7fr) minmax(170px, .75fr) minmax(260px, 1fr);
    gap: clamp(28px, 5vw, 64px);
    padding-bottom: 48px;
}

.az-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 24px;
}

.az-footer-logo img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.az-footer-logo h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.az-footer-logo span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--footer-gold);
}

.az-footer-brand p {
    max-width: 460px;
    margin: 0 0 26px;
    color: var(--footer-muted);
    line-height: 1.9;
    font-size: 15px;
}

.az-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.az-footer-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--footer-border);
    color: #fff;
    text-decoration: none;
    transition: all 0.28s ease;
    backdrop-filter: blur(12px);
}

.az-footer-social a:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, var(--footer-emerald), #20c997);
    color: #fff;
    box-shadow: 0 16px 34px rgba(25, 135, 84, 0.24);
}

.az-footer-col h5,
.az-footer-contact h5 {
    position: relative;
    margin: 0 0 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.az-footer-col h5::after,
.az-footer-contact h5::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--footer-gold), var(--footer-emerald));
}

.az-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.az-footer-col li {
    margin-bottom: 12px;
}

.az-footer-col a,
.az-footer-bottom a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 14px;
}

.az-footer-col a:hover,
.az-footer-bottom a:hover {
    color: #fff;
}

.az-footer-col a:hover {
    padding-left: 6px;
}

.az-contact-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 13px;
    margin-bottom: 16px;
}

.az-contact-item i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--footer-border);
    color: var(--footer-gold);
    font-size: 18px;
}

.az-contact-item strong,
.az-contact-item span {
    display: block;
}

.az-contact-item strong {
    color: #fff;
    font-size: 13px;
    margin-bottom: 3px;
}

.az-contact-item span {
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.6;
}

.az-footer-cta {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--footer-gold), #f5d76e);
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.28s ease;
    box-shadow: 0 18px 38px rgba(200, 169, 106, 0.20);
}

.az-footer-cta:hover {
    color: #111827;
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(200, 169, 106, 0.28);
}

.az-footer-quote {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid var(--footer-border);
    color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    margin-bottom: 24px;
}

.az-footer-quote i {
    color: var(--footer-gold);
    font-size: 22px;
}

.az-footer-quote span {
    font-size: 14px;
    line-height: 1.7;
}

.az-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--footer-border);
}

.az-footer-bottom p {
    margin: 0;
    color: rgba(236, 253, 245, 0.62);
    font-size: 13px;
}

.az-footer-bottom div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.az-footer-bottom span {
    color: rgba(236, 253, 245, 0.35);
}

/* Responsive */
@media (max-width: 1199px) {
    .az-footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .az-footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .az-footer {
        padding: 70px 0 24px;
    }

    .az-footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 36px;
    }

    .az-footer-brand p {
        max-width: 100%;
    }

    .az-footer-quote {
        align-items: flex-start;
    }

    .az-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .az-footer-logo h3 {
        font-size: 21px;
    }

    .az-footer-logo img {
        width: 50px;
        height: 50px;
    }

    .az-contact-item {
        grid-template-columns: 40px 1fr;
    }

    .az-contact-item i {
        width: 40px;
        height: 40px;
    }

    .az-footer-cta {
        width: 100%;
    }
}
