@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --en-bg: #0a0a0a;
    --en-bg-card: #111;
    --en-border: #222;
    --en-text-main: #fff;
    --en-text-muted: #666;
    --en-accent: #EE2C2C;
}

/* Base Reset for Footer */
.en-footer-main {
    background-color: #010101 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    padding: 80px 40px 40px;
    border-top: 1px solid #1a1a1a;
    position: relative;
    z-index: 100;
    overflow: hidden;
}

/* GRADIENT ACCENT LINE */
.en-footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #EE2C2C, transparent);
    opacity: 0.5;
}

/* HIDE DEFAULT THEME FOOTER */
.site-footer,
#colophon,
footer:not(.en-footer-main),
.copyright-bar,
.footer-bottom:not(.en-footer-main *) {
    display: none !important;
}

.en-footer-main * {
    box-sizing: border-box;
}

.en-footer-inner {
    max-width: 1600px;
    margin: 0 auto;
}

/* TOP SECTION */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* 1/3 Brand, 2/3 Menus */
    gap: 60px;
    margin-bottom: 80px;
}

/* FOOTER LOGO - LIVE */
.footer-logo {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-logo img {
    max-width: 220px;
    height: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-logo span {
    color: var(--en-accent);
}

.footer-slogan {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-slogan::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00FF00;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: enPulseSupport 2s infinite;
}

@keyframes enPulseSupport {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--en-text-muted);
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.fs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #111;
}

.fs-icon svg {
    width: 18px;
    height: 18px;
    fill: #666;
    transition: 0.3s;
}

.fs-icon:hover {
    border-color: #EE2C2C;
    background: #EE2C2C;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(238, 44, 44, 0.2);
}

.fs-icon:hover svg {
    fill: #fff;
}

/* MENUS */
.footer-nav-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-nav-col h3 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-nav-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--en-accent);
}

.footer-nav-col h3:hover {
    color: #EE2C2C !important;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: 12px;
}

/* STANDARD SITE LINKS */
.footer-nav-col a {
    text-decoration: none;
    color: var(--en-text-muted);
    font-size: 13px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: inline-block;
}

.footer-nav-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--en-accent);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav-col a:hover {
    color: #fff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    padding-left: 0;
    /* Reset previous padding */
}

.footer-nav-col a:hover::after {
    width: 100%;
}

/* CARDS SECTION */
.footer-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 60px;
    border-top: 1px solid var(--en-border);
    margin-bottom: 60px;
}

.footer-card {
    background: transparent;
    border: 1px solid var(--en-border);
    padding: 25px;
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.footer-card:hover {
    border-color: rgba(238, 44, 44, 0.5);
    background: #080808;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
}

.footer-card:hover .card-icon {
    background: rgba(238, 44, 44, 0.2);
    transform: scale(1.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-card:hover .card-icon svg {
    stroke-width: 2.5px;
}

.footer-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(238, 44, 44, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-card:hover::after {
    opacity: 1;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--en-accent);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238, 44, 44, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.footer-card h4 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
}

.card-text {
    font-size: 13px;
    color: var(--en-text-muted);
    line-height: 1.4;
}

.card-email {
    font-size: 13px;
    font-weight: 600;
    color: var(--en-accent);
    text-decoration: none;
    margin-top: auto;
}

/* BOTTOM SECTION */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--en-border);
    font-size: 11px;
    color: #444;
}

.copyright {
    color: #444;
    font-weight: 600;
}

.copyright:hover {
    color: #666;
}

.policies {
    display: flex;
    gap: 20px;
}

.policies a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
}

.policies a:hover {
    color: #888;
}

.global-ops {
    font-weight: 800;
    color: #333;
    letter-spacing: 1px;
}

.global-ops:hover {
    color: #EE2C2C;
}

.scroll-top {
    width: 40px;
    height: 40px;
    background: var(--en-accent);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-nav-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .scroll-top {
        position: absolute;
        right: 20px;
        bottom: 20px;
    }
}