/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding-top: 80px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #10b981, transparent);
    animation: gradientSlide 10s linear infinite;
}

@keyframes gradientSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Footer grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Company section */
.footer-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 40px;
    max-width: 150px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: 0;
    margin-right: auto;
}

.footer-tagline {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-address {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 15px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.contact-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3b82f6;
}

/* Social links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #94a3b8;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Column sections */
.footer-column h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: #3b82f6;
    padding-left: 5px;
}

/* Newsletter section */
.newsletter-form {
    margin-top: 20px;
}

.newsletter-description {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 15px;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
}

.newsletter-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.newsletter-note {
    font-size: 0.85rem;
    color: #64748b;
}

/* Bottom bar */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.95rem;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #3b82f6;
}

/* Certifications badges */
.footer-certifications {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cert-badge {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cert-badge:hover {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 50px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-certifications {
        order: -1;
    }
}