/*
    New Footer Theme — Light & Clear
    Bright, high-contrast, no dark background; preserves existing HTML classes
*/

 :root {
    --ft-bg-1: #ffffff;
    --ft-bg-2: #f9fafb;
    --ft-accent: #0b5fff;
    --ft-accent-2: #22d3ee;
    --ft-text: #0f172a;
    --ft-muted: #475569;
    --ft-border: #e5e7eb;
    --ft-card: #ffffff;
    --ft-glow: rgba(11, 95, 255, 0.12);
}

.footer {
    position: relative;
    background: linear-gradient(180deg, var(--ft-bg-1) 0%, var(--ft-bg-2) 100%);
    color: var(--ft-text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    padding: 28px 0 14px 0;
    margin-top: 36px;
    border-top: 1px solid var(--ft-border);
    overflow: hidden;
    width: 100%;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 95, 255, 0.35), rgba(34, 211, 238, 0.35), transparent);
    opacity: 0.6;
}


/* Shared container width for sections inside footer */

.footer-logo-section,
.footer-columns,
.footer-bottom {
    width: min(1200px, 92vw);
    margin: 0 auto;
}


/* Ensure sizing stability */

.footer *,
.footer *::before,
.footer *::after {
    box-sizing: border-box;
}

.footer img {
    max-width: 100%;
    height: auto;
}

.footer a {
    word-break: break-word;
}


/* Brand block */

.footer-logo-section {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo img.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo img.footer-logo-wordmark {
    height: 28px;
    width: auto;
    display: block;
}

.footer-logo svg {
    height: 40px;
    width: 40px;
    display: block;
}

.footer-brand {
    font-weight: 900;
    letter-spacing: .04em;
    font-size: 28px;
    background: linear-gradient(90deg, var(--ft-accent), var(--ft-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-rating {
    color: var(--ft-muted);
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-rating .stars {
    color: #ffd76a;
    letter-spacing: .08em;
}

.footer-desc {
    color: #334155;
    max-width: 920px;
    line-height: 1.7;
    opacity: .9;
}


/* Columns */

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.footer-col {
    background: var(--ft-card);
    border: 1px solid var(--ft-border);
    border-radius: 14px;
    padding: 16px 16px 14px 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.footer-col h4 {
    margin: 0 0 10px 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #0f172a;
    opacity: .85;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-col ul li {
    margin: 0;
}

.footer-col ul li a {
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: .18s ease;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus {
    background: #eef2ff;
    border-color: #c7d2fe;
    box-shadow: 0 6px 18px rgba(11, 95, 255, 0.12);
    transform: translateY(-1px);
}


/* Contact column tweaks */

.footer-contact address {
    font-style: normal;
    color: #475569;
    line-height: 1.6;
    margin-top: 6px;
}


/* Social */

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--ft-border);
    color: #0f172a;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.footer-social-icons a:hover,
.footer-social-icons a:focus {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(11, 95, 255, .12);
    border-color: #c7d2fe;
    background: #eef2ff;
    color: #0b5fff;
}


/* Bottom row */

.footer-bottom {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--ft-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 14px;
}


/* Responsive */


/* Auto-fit already handles medium screens; no special rule needed */

@media (max-width: 640px) {
    .footer {
        padding: 28px 0 14px 0;
    }
    .footer-logo-section {
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-brand {
        font-size: 22px;
    }
    .footer-logo img.footer-logo-img {
        height: 32px;
    }
    .footer-logo img.footer-logo-wordmark {
        height: 22px;
    }
    .footer-desc {
        font-size: 0.98rem;
    }
    .footer-columns {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}