/* ==========================================================================
   Main Footer Wrapper Configuration
   ========================================================================== */
.custom-site-footer {
    background-color: #1E306E; /* Deep dark blue background */
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    padding: 60px 0 30px 0;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Flex Grid Row Configuration */
.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-top-row {
    margin-bottom: 20px;
}

/* ==========================================================================
   Columns Layout Structure
   ========================================================================== */
.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Double sub-column spacing allocation overrides */
.footer-info-col {
    flex: 1.5; /* Gives extra reading room to the description block */
    min-width: 280px;
}

/* Column Header Titles */
.footer-col-title {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 12px;
    margin: 0 0 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

/* Description Text Blocks */
.footer-info-text {
    font-size: 13px;
    opacity: 0.85;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

/* ==========================================================================
   Clean Links Presentation and List Settings
   ========================================================================== */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list li a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.8;
    display: inline-block;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth progressive interactive link hover action */
.footer-links-list li a:hover {
    opacity: 1;
    transform: translateX(4px); /* Subtle horizontal move tracking indicator interaction */
}

/* Logo placement controls inside the third info column */
.footer-branding-mini {
    margin-top: 25px;
}

.footer-mini-logo {
    display: block;
    height: auto;
}

/* ==========================================================================
   Bottom Legal and Copyright Strip Bar
   ========================================================================== */
.footer-bottom-row {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-copyright-text p {
    margin: 0;
    opacity: 0.7;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Viewport Breakdown Optimization Rules
   ========================================================================== */
@media (max-width: 900px) {
    .footer-col {
        flex: 1 1 45%; /* Arranges columns into a clean 2x2 layout matrix on tablet devices */
    }
}

@media (max-width: 600px) {
    .custom-site-footer {
        padding: 40px 0 30px 0;
    }
    
    .footer-row {
        flex-direction: column;
    }
    
    .footer-col {
        width: 100%;
        padding-right: 0;
        margin-bottom: 25px;
    }
    
    .footer-links-list li a:hover {
        transform: none; /* Disables side text transformation shifts on tap screens */
    }
    
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-legal-links {
        gap: 12px 16px;
    }
}
