/* Footer Styles */
.footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Logo styling */
.footer__logo {
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer__logo img {
    max-height: 70px;
    width: auto;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer__brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Contact section with SVG icons */
.footer__contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer__icon {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact a:hover {
    color: #ff6b35 !important;
}

.footer__section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__link {
    margin-bottom: 0.5rem;
}

.footer__link a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.3;
}

.footer__link a:hover {
    color: #ff6b35;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile Responsive - Improved */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer__container {
        padding: 0 1.5rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    
    .footer__brand {
        text-align: left;
    }
    
    .footer__brand p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .footer__contact p {
        justify-content: flex-start;
        font-size: 0.9rem;
        text-align: left;
    }
    
    .footer__section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .footer__link a {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .footer__bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Mobile menu layout - 2 columns for first 2 menus */
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer__content > div:nth-child(1) {
        grid-column: 1 / -1;
    }
    
    /* Resources menu as separate element with 2 columns */
    .footer__content > div:nth-child(4) {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
    
    .footer__content > div:nth-child(4) .footer__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .footer__content > div:nth-child(4) .footer__link {
        margin-bottom: 0.3rem;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer__brand {
        grid-column: 1 / -1;
    }
    
    .footer__brand p {
        font-size: 0.9rem;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer__container {
        padding: 0 1rem;
    }
    
    .footer__content {
        gap: 2rem;
    }
    
    .footer__brand p {
        font-size: 0.85rem;
    }
    
    .footer__contact p {
        font-size: 0.85rem;
    }
    
    .footer__section-title {
        font-size: 0.95rem;
    }
    
    .footer__link a {
        font-size: 0.85rem;
    }
}
