
/* =========================================
   PREMIUM FOOTER
========================================= */

.footer {
    position: relative;
    padding: 75px 0 0;
    overflow: hidden;
    background: #0f172a;
    color: #cbd5e1;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(96, 165, 250, .7),
        transparent
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 17px;
    font-weight: 750;
}

.footer-about > p,
.footer-contact > p {
    margin: 18px 0;
    max-width: 340px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.9;
}

/* BRAND */

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.footer-brand strong {
    font-size: 17px;
}

/* SOCIAL */

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-socials a {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .04);
    color: #cbd5e1;
    text-decoration: none;
    transition: .25s ease;
}

.footer-socials a:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    transform: translateY(-4px);
}

/* LINKS */

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: .25s ease;
}

.footer-column ul a:hover {
    color: #60a5fa;
    transform: translateX(4px);
}

/* CONTACT */

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0 20px;
    color: #cbd5e1;
    font-size: 13px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-email:hover {
    color: #60a5fa;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 17px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: .25s ease;
}

.footer-contact-link:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* BOTTOM */

.footer-bottom {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.footer-bottom p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.8;
}

.footer-bottom span {
    color: #ef4444;
}

/* TABLET */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 20px 0;
    }
}







/* =========================================
   FOOTER — LIGHT MODE
   Dark Mode remains unchanged
========================================= */

body:not(.dark-mode) .footer {
    background: #f1f5f9;
    color: #334155;
    border-top: 1px solid #e2e8f0;
}

body:not(.dark-mode) .footer::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37, 99, 235, .45),
        transparent
    );
}

/* HEADINGS */

body:not(.dark-mode) .footer-column h3 {
    color: #0f172a;
}

/* DESCRIPTION */

body:not(.dark-mode) .footer-about > p,
body:not(.dark-mode) .footer-contact > p {
    color: #64748b;
}

/* BRAND */

body:not(.dark-mode) .footer-brand {
    color: #0f172a;
}

body:not(.dark-mode) .footer-brand:hover {
    color: #2563eb;
}

/* SOCIAL ICONS */

body:not(.dark-mode) .footer-socials a {
    background: #ffffff;
    border-color: #dbe3ef;
    color: #475569;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
}

body:not(.dark-mode) .footer-socials a:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .2);
}

/* FOOTER LINKS */

body:not(.dark-mode) .footer-column ul a {
    color: #64748b;
}

body:not(.dark-mode) .footer-column ul a:hover {
    color: #2563eb;
}

/* CONTACT EMAIL */

body:not(.dark-mode) .footer-email {
    color: #475569;
}

body:not(.dark-mode) .footer-email:hover {
    color: #2563eb;
}

/* CONTACT BUTTON */

body:not(.dark-mode) .footer-contact-link {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(37, 99, 235, .16);
}

body:not(.dark-mode) .footer-contact-link:hover {
    background: #1d4ed8;
    box-shadow: 0 8px 22px rgba(37, 99, 235, .24);
}

/* BOTTOM BAR */

body:not(.dark-mode) .footer-bottom {
    border-top-color: #dbe3ef;
}

body:not(.dark-mode) .footer-bottom p {
    color: #64748b;
}

body:not(.dark-mode) .footer-bottom span {
    color: #ef4444;
}

/* ACCESSIBILITY */

body:not(.dark-mode) .footer a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 5px;
}

/* MOBILE LIGHT MODE */

@media (max-width: 600px) {
    body:not(.dark-mode) .footer {
        background: #f1f5f9;
    }
}
