/* Legacy Footer Styles */
footer {
    color: #fff;
    padding: 50px 0 20px
}

.footer-top {
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(255 255 255 / .1)
}

.footer-logo a {
    background-size: contain;
    width: 180px;
    height: 50px
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #fff
}

.footer-content {
    display: grid;
    gap: 30px;
    margin-bottom: 30px
}

.footer-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px
}

.footer-widget ul li {
    margin-bottom: 10px
}

.footer-links li a,
.footer-widget ul li a {
    color: #ccc;
    transition: .3s
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px
}

.footer-widget p {
    color: #ccc;
    margin-bottom: 15px
}

.footer-bottom {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / .1);
    font-size: 14px
}

.footer-links li {
    margin-left: 20px
}

/* Modern Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding-top: 60px;
    font-size: .95rem;
    position: relative;
    overflow: hidden
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .3;
    pointer-events: none
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgb(255 255 255 / .1);
    margin-bottom: 40px
}

.footer-brand {
    max-width: 300px
}

.footer-brand p {
    color: #999;
    margin-top: 15px;
    font-size: .9rem;
    line-height: 1.6
}

.footer-logo img {
    height: 40px;
    object-fit: contain
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px
}

.footer-column h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px
}

.footer-column h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--primary-color, #e30613);
    border-radius: 2px
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links-list li {
    margin-bottom: 12px
}

.footer-links-list a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block
}

.footer-links-list a:hover {
    color: var(--primary-color, #e30613);
    transform: translateX(5px)
}

.footer-bottom-bar {
    background: rgb(0 0 0 / .2);
    padding: 20px 0;
    border-top: 1px solid rgb(255 255 255 / .05)
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px
}

.copyright {
    color: #777;
    font-size: .85rem
}

.footer-bottom-links {
    display: flex;
    gap: 20px
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    font-size: .85rem;
    transition: color 0.2s
}

.footer-bottom-links a:hover {
    color: #fff
}

@media (max-width:768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center
    }
}

@media screen and (max-width:991px) {
    .footer {
        padding: 20px 10px
    }

    .footer-menu {
        flex-direction: column;
        gap: 10px
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px
    }
}