/* ===== FOOTER CSS - DESKTOP 4 COLUMNS, MOBILE 2 COLUMNS ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e44d2e;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(228,77,46,0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #c43d1e;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(228,77,46,0.4);
}

/* Footer Main Styles */
.footer {
    background: #0f172a;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    padding: 50px 0 25px;
    margin-top: 60px;
    border-top: 4px solid #e44d2e;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== DESKTOP - 4 COLUMNS ===== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Desktop Only - Hidden on mobile */
.desktop-only {
    display: block;
}

.mobile-contact {
    display: none;
}

/* Brand Column */
.brand-col {
    max-width: 280px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.social-link:hover {
    background: #e44d2e;
    transform: translateY(-3px);
}

/* Footer Titles */
.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: #e44d2e;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #e44d2e;
    transform: translateX(5px);
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 18px;
    color: #e44d2e;
    font-size: 16px;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: #94a3b8;
    font-size: 13px;
}

.legal-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #e44d2e;
}

.legal-links .dot {
    color: #334155;
    font-size: 12px;
}

/* ===== MOBILE & TABLET - 2 COLUMNS ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .brand-col {
        grid-column: span 2;
        max-width: 100%;
        text-align: left;
    }
    
    /* Hide desktop columns */
    .desktop-only {
        display: none;
    }
    
    /* Show mobile contact */
    .mobile-contact {
        display: block;
    }
    
    /* Quick Links and Contact Us will be in 2 columns */
    .quick-links-col {
        grid-column: 1;
    }
    
    .mobile-contact {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-title {
        font-size: 17px;
    }
    
    .footer-text,
    .footer-links a,
    .footer-contact li {
        font-size: 13px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 35px 0 20px;
        margin-top: 40px;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-logo {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .footer-text {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-title::after {
        width: 30px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .footer-contact li {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .copyright {
        font-size: 12px;
    }
    
    .legal-links a {
        font-size: 12px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .footer-logo {
        font-size: 20px;
    }
    
    .footer-title {
        font-size: 15px;
    }
    
    .footer-links a,
    .footer-contact li,
    .footer-text,
    .copyright,
    .legal-links a {
        font-size: 11px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
}