/* ===========================
   Modern Footer Layout
   =========================== */

.site-footer {
    position: relative;
    background-color: #020617; /* slate-950 */
    color: #e5e7eb;            /* slate-200 */
    margin-top: 4rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

/* Subtle gradient glow sa background */
.site-footer::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.45), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56,189,248,0.32), transparent 55%);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 3vw, 2.5rem);
    align-items: flex-start;
}

/* Generic column base */
.footer-column {
    min-width: 0;
}

/* Headings */
.site-footer h3,
.site-footer h4 {
    margin: 0 0 .75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f9fafb; /* near-white */
    font-size: 1.05rem;
}

/* About + contact column */
.footer-about-contact p {
    margin: 0 0 .6rem;
    color: #cbd5f5;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-contact-block {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.footer-contact-block a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-contact-block a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Quick links column */
.footer-links ul,
.footer-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 0.93rem;
    color: #e5e7eb;
    text-decoration: none;
    opacity: .88;
    transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.footer-links a::before {
    content: "•";
    font-size: 0.85rem;
    color: #38bdf8; /* sky-400 */
    transform: translateY(-1px);
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 1;
    transform: translateX(2px);
}

/* Social links column */
.footer-social .social-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
}

.footer-social .social-links li {
    margin: 0;
}

.footer-social .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ecfeff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.footer-social .social-links a:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    filter: brightness(1.05);
}

/* ===========================
   Footer Bottom (highlighted)
   =========================== */

.footer-bottom {
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, rgba(15,118,255,0.35), rgba(56,189,248,0.25));
    border-top: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 -10px 35px rgba(15,23,42,0.9);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .35rem .75rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #e0f2fe;
}

.footer-copy {
    font-weight: 500;
}

.footer-credit {
    opacity: .85;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding-inline: 1.25rem;
        row-gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}