/* ============================================================
   FOOTER PREMIUM — YAYASAN HUJJATUL ISLAM
   Putih / Emerald / Emerald Glow / Gold accent
   ============================================================ */

.site-footer-premium {
    --footer-deep: #032e21;
    --footer-deep-2: #064d37;
    --footer-emerald: #0a8d62;
    --footer-bright: #21c58d;
    --footer-glow: #74e5b8;
    --footer-gold: #d4b66a;
    --footer-white: #ffffff;
    --footer-soft: rgba(255,255,255,.70);
    --footer-line: rgba(153,236,204,.18);

    position: relative;
    z-index: 5;
    overflow: hidden;
    margin-top: 80px;
    color: var(--footer-white);
    background:
        radial-gradient(circle at 8% 15%, rgba(33,197,141,.16), transparent 27%),
        radial-gradient(circle at 91% 70%, rgba(33,197,141,.12), transparent 29%),
        linear-gradient(135deg, var(--footer-deep) 0%, var(--footer-deep-2) 52%, #063b2c 100%);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Fine texture / luxury atmosphere */
.site-footer-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.footer-shimmer-line {
    position: relative;
    height: 3px;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(116,229,184,.15) 8%,
        #55dca7 25%,
        #d8ffed 50%,
        #55dca7 75%,
        rgba(116,229,184,.15) 92%,
        transparent 100%
    );
    box-shadow:
        0 0 12px rgba(82,220,165,.75),
        0 0 30px rgba(82,220,165,.24);
}

.footer-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(75px);
    opacity: .13;
    background: #27d497;
}

.footer-glow-left {
    left: -130px;
    top: 230px;
}

.footer-glow-right {
    right: -130px;
    bottom: 80px;
}

/* =========================
   CTA
   ========================= */

.footer-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 44px 0 42px;
    border-bottom: 1px solid var(--footer-line);
}

.footer-cta-content {
    max-width: 720px;
}

.footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #8ae9bf;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.footer-eyebrow i {
    font-size: 13px;
    color: var(--footer-gold);
}

.footer-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.17;
    font-weight: 700;
    letter-spacing: -.02em;
}

.footer-cta p {
    margin: 0;
    max-width: 650px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.8;
}

.footer-cta-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 175px;
    padding: 14px 20px;
    color: #063b2b !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(222,255,240,.8);
    border-radius: 13px;
    background: linear-gradient(135deg, #effff7, #baf4da);
    box-shadow:
        0 12px 30px rgba(0,0,0,.16),
        0 0 24px rgba(116,229,184,.12);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

.footer-cta-button i {
    font-size: 15px;
    transition: transform .3s ease;
}

.footer-cta-button:hover {
    color: #033b29 !important;
    transform: translateY(-3px);
    filter: brightness(1.03);
    box-shadow:
        0 17px 36px rgba(0,0,0,.22),
        0 0 30px rgba(116,229,184,.22);
}

.footer-cta-button:hover i {
    transform: translate(3px, -3px);
}

/* =========================
   MAIN FOOTER
   ========================= */

.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.45fr .8fr .9fr 1.05fr;
    gap: 54px;
    padding: 55px 0 48px;
}

.footer-brand-column {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none !important;
    color: #fff !important;
}

.footer-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid rgba(161,241,211,.35);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 10px 28px rgba(0,0,0,.14);
}

.footer-logo-wrap::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(116,229,184,.15);
    border-radius: 12px;
    pointer-events: none;
}

.footer-logo {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-logo-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #aaf1cf;
    font-size: 25px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-brand-text strong {
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    line-height: 1.2;
}

.footer-brand-text small {
    color: #8ee6be;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-description {
    max-width: 410px;
    margin: 21px 0 22px;
    color: rgba(255,255,255,.61);
    font-size: 12px;
    line-height: 1.9;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #b9f6dc !important;
    text-decoration: none !important;
    border: 1px solid rgba(164,240,211,.22);
    border-radius: 11px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(8px);
    transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.footer-social:hover {
    color: #063c2b !important;
    border-color: #a8f3d1;
    background: #bff6dc;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.17), 0 0 18px rgba(116,229,184,.18);
}

/* =========================
   COLUMNS
   ========================= */

.footer-column-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 19px;
    padding-bottom: 12px;
    color: #fff;
    border-bottom: 1px solid rgba(154,236,204,.14);
    font-size: 12px;
    font-weight: 800;
}

.footer-column-title::after {
    content: "";
    position: absolute;
}

.footer-column-title i {
    color: #73ddb0;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.62) !important;
    text-decoration: none !important;
    font-size: 11px;
    line-height: 1.5;
    transition: color .25s ease, transform .25s ease;
}

.footer-links a i {
    color: #51d49d;
    font-size: 8px;
    transition: transform .25s ease;
}

.footer-links a:hover {
    color: #d5ffeb !important;
    transform: translateX(4px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* =========================
   CONTACT
   ========================= */

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    color: #8ae9bf;
    border: 1px solid rgba(143,238,203,.17);
    border-radius: 10px;
    background: rgba(255,255,255,.045);
}

.footer-contact-item small {
    display: block;
    margin-bottom: 3px;
    color: #7eddb0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-contact-item p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    line-height: 1.65;
}

/* =========================
   BOTTOM BAR
   ========================= */

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
    border-top: 1px solid var(--footer-line);
}

.footer-copyright,
.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(255,255,255,.43);
    font-size: 9px;
}

.footer-copyright strong {
    color: rgba(255,255,255,.72);
    font-weight: 700;
}

.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #55dca7;
    box-shadow: 0 0 7px rgba(85,220,167,.65);
}

.footer-bottom-links a {
    color: rgba(255,255,255,.52) !important;
    text-decoration: none !important;
    transition: color .25s ease;
}

.footer-bottom-links a:hover {
    color: #aaf1d0 !important;
}

.footer-bottom-links > span {
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,.18);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {

    .site-footer-premium {
        margin-top: 65px;
    }

    .footer-main {
        grid-template-columns: 1.2fr 1fr;
        gap: 42px 35px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 680px;
    }

    .footer-cta {
        align-items: flex-end;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .site-footer-premium {
        margin-top: 52px;
    }

    .footer-cta {
        display: block;
        padding: 36px 0 34px;
    }

    .footer-cta h2 {
        font-size: 27px;
    }

    .footer-cta p {
        font-size: 11px;
    }

    .footer-cta-button {
        margin-top: 22px;
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 22px;
        padding: 42px 0 38px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

    .footer-column-title {
        font-size: 11px;
    }

    .footer-bottom {
        display: block;
        padding: 20px 0;
    }

    .footer-copyright {
        margin-bottom: 10px;
    }

    .footer-bottom-links {
        gap: 8px;
    }
}


@media (max-width: 480px) {

    .footer-main {
        grid-template-columns: 1fr;
        gap: 31px;
    }

    .footer-brand-column {
        grid-column: auto;
    }

    .footer-brand-text strong {
        font-size: 18px;
    }

    .footer-description {
        font-size: 11px;
        line-height: 1.85;
    }

    .footer-cta h2 {
        font-size: 25px;
    }

    .footer-desktop-break {
        display: none;
    }

    .footer-social {
        width: 38px;
        height: 38px;
    }
}