/* Footer */
footer {
    padding: 0;
    margin-top: 4rem;
    font-family: 'Inter', sans-serif;
}

/* 1. Top Strip */
.footer-strip {
    height: 10px;
    background-color: var(--primary-color);
    width: 100%;
}

/* 2. Main Wrapper */
.footer-main-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-main-wrapper a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.footer-main-wrapper a:hover {
    color: #fff;
}

/* Header Container (Logo + Socials) */
.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icons a {
    color: #fff;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-left: 10px;
    transition: all 0.3s;
    font-size: 1.2rem;
    text-decoration: none;
}

.footer-social-icons a:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Content Area */
.footer-building-sketch {
    max-width: 500px;
    margin: 0 auto 80px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
}

.footer-building-sketch img {
    width: 100%;
    height: auto;
}

.footer-quote {
    text-align: center;
    margin-bottom: 150px;
}

.footer-quote h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 400;
}

.footer-quote span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: left;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-row {
    margin-bottom: 1px;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: 600;
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 3. Bottom Bar */
.footer-copyright {
    height: 30px;
    line-height: 30px;
    background-color: var(--primary-color, #332a71);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    text-align: center;
    overflow: hidden;
}

@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-main-wrapper {
        padding: 25px 15px 40px;
    }

    .footer-header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .footer-logo img {
        height: 50px;
    }

    .footer-social-icons a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-left: 8px;
    }

    /* Building Sketch - Smaller */
    .footer-building-sketch {
        max-width: 280px;
        margin-bottom: 40px;
    }

    .footer-quote {
        margin-bottom: 30px;
    }

    .footer-quote h3 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .footer-quote span {
        font-size: 0.75rem;
    }

    /* Menu Columns - Compact Grid Layout */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 12px 0;
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-col h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-bottom: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-col h4::after {
        content: none;
    }

    .footer-col ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 15px;
    }

    .footer-col ul li {
        margin-bottom: 0;
    }

    .footer-col ul li a {
        font-size: 0.8rem;
        padding: 4px 0;
        display: inline-block;
    }

    /* Contact Section - Compact */
    .footer-col.contact-col .contact-row {
        display: inline-flex;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 6px;
        flex-wrap: wrap;
    }

    .contact-label {
        font-size: 0.75rem;
    }

    .footer-col.contact-col a {
        font-size: 0.75rem;
    }

    /* Copyright */
    .footer-copyright {
        font-size: 0.7rem;
        padding: 0 15px;
    }
}
