/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--primary-green);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 0;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    color: #ccc;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    color: #fff;
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid #444;
    margin-bottom: 1rem;
}

.footer-bottom-left p {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}

.footer-bottom-right {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-green);
}

/* Footer Credit */
.footer-credit {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.footer-credit p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.kind-code-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.kind-code-link:hover {
    text-decoration: underline;
}

/* Enhanced Responsive Footer */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-top {
        gap: 2rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-top {
        gap: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-tagline {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-column h4 {
        font-size: 1rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-icon {
        font-size: 1.2rem;
        padding: 0.4rem;
    }
    
    .footer-bottom-right {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-column h4 {
        font-size: 0.95rem;
    }
    
    .footer-column a {
        font-size: 0.85rem;
    }
    
    .social-icon {
        font-size: 1.1rem;
        padding: 0.3rem;
    }
    
    .footer-bottom-left p,
    .footer-link {
        font-size: 0.8rem;
    }
}
