/* Foundation Footer Widget Styles */
.foundation-footer {
    background-color: #2d3748;
    color: #ffffff;
    width: 100%;
}

/* Container */
.foundation-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Footer Sections */
.footer-section h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer About Section */
.footer-about {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.footer-description {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4a5568;
    color: #cbd5e0;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: #e53e3e;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links-list,
.footer-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links-list li,
.footer-services-list li {
    margin-bottom: 12px;
}

.footer-links-list a,
.footer-services-list a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links-list a:hover,
.footer-services-list a:hover {
    color: #e53e3e;
    padding-left: 5px;
}

.footer-links-list a::before,
.footer-services-list a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links-list a:hover::before,
.footer-services-list a:hover::before {
    opacity: 1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e0;
    font-size: 14px;
    line-height: 1.5;
}

.contact-item i {
    color: #e53e3e;
    font-size: 16px;
    margin-top: 2px;
    min-width: 16px;
}

/* Copyright Section */
.footer-copyright {
    background-color: #1a202c;
    padding: 20px 0;
    border-top: 1px solid #4a5568;
}

.copyright-content {
    text-align: center;
}

.copyright-content p {
    margin: 0;
    color: #a0aec0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-about {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .contact-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .foundation-footer .container {
        padding: 0 15px;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo h3 {
        font-size: 20px;
    }
    
    .footer-description {
        font-size: 13px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-copyright {
        padding: 15px 0;
    }
    
    .copyright-content p {
        font-size: 12px;
    }
}

/* Animation Effects */
.footer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

/* Custom Scrollbar for long content */
.footer-section::-webkit-scrollbar {
    width: 4px;
}

.footer-section::-webkit-scrollbar-track {
    background: #4a5568;
}

.footer-section::-webkit-scrollbar-thumb {
    background: #e53e3e;
    border-radius: 2px;
}