/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #1d4d7d; /* Dark Blue */
    color: white;
    padding: 40px 0 0 0; 
    margin-top: 50px; 
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between; /* Spreads layout columns smoothly across the row */
    align-items: flex-start; /* Locks headings and icons onto the exact same baseline horizontal path */
    gap: 30px; 
    padding: 0 20px;
}

.footer-col {
    flex: 0 1 auto; 
    min-width: 160px; 
    margin-bottom: 30px;
}

.footer-col h3 {
    color: white; 
    margin-bottom: 8px; /* Tighter baseline spacing */
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0; 
}

.footer-col p, .footer-col li {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc; 
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

/* --- FIXED: INLINE SOCIAL ALIGNMENT (PREVENTS SKYSCRAPER EFFECTS) --- */
.footer-social-inline {
    display: flex !important;       /* Establishes flex layout behavior */
    flex-direction: row !important;  /* Forces a flat single-line row structure */
    flex-wrap: nowrap;              /* Prohibits vertical dropping */
    gap: 12px;                      /* Clean spacing track boundaries */
    margin-bottom: 30px;
    padding-top: 0;                 
}

.footer-social-inline a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
}

.circle-icon {
    background-color: #f5f5dc; /* Off-White/Cream Fill */
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.circle-icon svg {
    width: 18px;
    height: 18px;
    fill: #000000; /* Pure Black Graphics */
}

.circle-icon:hover {
    transform: translateY(-3px);
    background-color: #ffffff;
}

/* --- BOTTOM BAR --- */
.footer-bottom {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    margin-top: 10px;
    padding: 20px 0;
    font-size: 13px;
    color: LightYellow;
}

/* --- MOBILE VIEW --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center; 
        gap: 20px;
    }

    .footer-social-inline {
        justify-content: center;
        order: -1; /* Keeps them cleanly organized at the top on phone view ports */
        margin-bottom: 10px;
    }
}