/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 4rem 0 1.5rem;
    position: relative;
    border-top: 4px solid var(--primary);
    margin-top: 4rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--primary), var(--accent), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-brand {
    flex: 1;
    min-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-logo i {
    color: var(--accent);
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.footer-logo-img {
    max-height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.footer-tagline {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 320px;
}



.footer-navigation {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-column {
    flex: 1;
    min-width: 160px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

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

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

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

.footer-column a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: #f8f8ff;
    transform: translateX(5px);
}

.footer-column a i {
    font-size: 0.7rem;
    width: 15px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    padding: 1.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    padding: 4px 0;
}

.contact-item i {
    color: var(--white);
    width: 20px;
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-item:hover {
    color: #f8f8ff;
}

.contact-item a:hover {
    color: #f8f8ff;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 35px;
    height: 35px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-link:hover {
    color: #f8f8ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.8rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copyright {
    color: var(--gray-light);
}

.footer-links {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #f8f8ff;
}

/* Responsive adjustments for footer */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-navigation {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-column {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1.2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        align-self: flex-start;
        width: auto;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-column {
        min-width: 100%;
    }

    .footer-navigation {
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }
}
