/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    color: #333;
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 80px 0 40px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.footer-logo a {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo p {
    max-width: 300px;
    color: #666;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 100%;
    max-width: 100%;
}

.footer-column {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.footer-newsletter h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: #666;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form .btn {
    padding: 10px 20px;
    white-space: nowrap;
}

.footer-bottom {
    background-color: #f0f0f0;
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 16px;
}

.copyright p {
    color: #666;
    font-size: 14px;
}

/* Responsive Footer */
@media (min-width: 768px) {
    .footer-logo {
        flex: 0 0 30%;
        max-width: 30%;
    }
    
    .footer-links {
        flex: 0 0 65%;
        max-width: 65%;
    }
    
    .footer-column {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .footer-newsletter {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .footer-content {
        flex: 0 0 70%;
        max-width: 70%;
    }
    
    .footer-newsletter {
        flex: 0 0 25%;
        max-width: 25%;
        margin-top: 0;
    }
}