﻿/* Base resets and configuration */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Footer Wrapper */
.site-footer {
    background-color: #ffffff; /* Deep midnight dark navy blue tint */
    color: #a0aec0; /* Soft muted grey text color */
    padding: 10px 40px 10px 40px;
    width: 100%;
}

/* Master grid container for main columns */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 5px 5px;
}



/* Heading Titles */
.column-title {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

/* Links structure */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #718096;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff; /* Smooth interactive transition color hover state */
}

/* Forces Legal block to drop onto row 2 underneath brand info */
.legal-column {
    grid-column: 1;
    margin-top: 5px;
}

/* Divider panel and bottom texts rows alignment */
.footer-bottom {
    margin-top: 10px;
    border-top: 0px solid #1a202c; /* Subtle layout rule baseline horizontal divider */
    padding-top: 10px;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bottom-container p {
    font-size: 1.0rem;
    color: #4a5568; /* Subdued baseline typography shading */
    line-height: 1.4;
}

/* Dynamic styling fixes for responsive display on small mobile viewports */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .brand-column, .legal-column {
        grid-column: span 2;
        padding-right: 0;
    }
    
    .legal-column {
        margin-top: 0;
    }

    .bottom-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
