:root {
    --btn-primary-color: #171A1F;
    --btn-primary-hover: #1a1d23;
    --btn-primary-shadow: rgba(23, 26, 31, 0.3);
}

/* Prevent horizontal scroll on mobile (100vw can exceed viewport) */
html {
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    margin-top: 100px;
}

/* Footer Styles */
.footer {
    background-color: #f3f4f6;
    padding: 1.5rem 1rem;
}

.footer-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    background-color: #000;
    color: #fff;
    font-weight: 800;
    font-size: 1.125rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.footer-chat-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #000;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.footer-chat-button:hover {
    background-color: #1a1a1a;
}

.footer-container {
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: #000;
    width: 100%;
}

.footer-column {
    width: 100%;
    margin-bottom: 1rem;
}

.footer-column h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-column li {
    cursor: pointer;
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.footer-column a {
    color: inherit;
    text-decoration: none;
}

.footer-column a:hover {
    color: #2563EB;
}

.footer-column li:hover {
    color: #2563EB;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.footer-socials a:hover {
    color: #2563EB;
}

.footer-bottom {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    font-size: 0.8rem;
    color: #4b5563;
}
.footer-copyright {
    margin: 0;
}

/* Responsive Footer Styles */
/* Mobile: Full width, center-aligned content */
@media (max-width: 768px) {
    .footer {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 1.5rem 1rem;
        text-align: center;
    }
    .footer-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .footer-column {
        text-align: center;
        align-items: center;
    }
    .footer-column ul {
        align-items: center;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-copyright {
        text-align: center;
    }
}

@media (min-width: 480px) {
    .footer {
        padding: 1.5rem;
    }
    
    .footer-header {
        padding: 1rem 1.5rem;
    }
    
    .footer-container {
        padding: 1rem 1.5rem;
        gap: 2rem;
    }
    
    .footer-column {
        width: calc(50% - 1rem);
    }
}

@media (min-width: 640px) {
    .footer-column {
        width: calc(33.33% - 1.33rem);
    }
    
    .footer-column h6 {
        font-size: 0.9rem;
    }
    
    .footer-column li {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .footer-column {
        width: calc(16.66% - 1.66rem);
    }
    
    .footer-header {
        flex-wrap: nowrap;
    }
}

@media (min-width: 992px) {
    .footer-container {
        justify-content: space-between;
    }
}

@media (max-width: 479px) {
    .footer {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 1rem 0.75rem;
        text-align: center;
    }
    
    .footer-header {
        padding: 0.75rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    
    .footer-chat-button {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .footer-container {
        padding: 1rem 0.75rem;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .footer-column ul {
        align-items: center;
    }
    
    .footer-column h6 {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }
    
    .footer-column li {
        font-size: 0.7rem;
        padding: 0.25rem 0;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

/* Desktop: Let sidebar.css handle margin-left, ensure proper width */
@media (min-width: 769px) {
    .footer {
        width: auto;
    }
}

/* Update existing styles */
/* ... existing code ... */