/* ========================================
   FOOTER - MODERN IMPROVED DESIGN
======================================== */
#footer {
    background: linear-gradient(135deg, var(--header-navy) 0%, #1a2e6b 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}
#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footergrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(110,193,228,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footergrid)"/></svg>');
    opacity: 0.5;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}
/* Footer logo sizing to fit area neatly */
.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}
.footer-logo img {
    width: 120px;
    max-width: 100%;
    height: auto;
}
.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-section h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}
.footer-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), #24a7dc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(110, 193, 228, 0.3);
    transition: all var(--transition-medium);
}
.footer-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(110, 193, 228, 0.4);
}
.footer-icon i {
    font-size: 1.5rem;
    color: var(--white);
}
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.footer-contact i {
    color: var(--primary-blue);
    width: 20px;
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-medium);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-social a:hover {
    color: var(--white);
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}
.footer-social i {
    font-size: 1.2rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: block;
    padding: 5px 0;
}
.footer-links a:hover {
    color: var(--primary-blue);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    position: relative;
    z-index: 2;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.footer-bottom-links a:hover {
    color: var(--primary-blue);
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}
/* ========================================
   LOADING OVERLAY
======================================== */

/* Responsive adjustments inherited from main.css media queries */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
        align-items: center;
    }
    .footer-links {
        justify-content: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

