/* Single Row Footer Design */

.footer {
    background: white;
    padding: 2rem 0;
    margin-top: 5rem;
    border-top: none;
}

/* Main footer row - all in one line */
.footer-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Brand section */
.footer-brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.footer-tagline {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Social icons section */
.footer-social-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.social-link:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact section */
.footer-contact-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #6366f1;
    transform: translateX(2px);
}

.contact-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Bottom row - copyright and legal */
.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0 0.5rem;
    margin-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.copyright-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.footer-links-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #6366f1;
    text-decoration: underline;
}

.separator {
    color: #d1d5db;
    font-size: 0.875rem;
    user-select: none;
}

/* Remove all previous borders and dividers */
.footer-content,
.footer-brand,
.footer-social,
.footer-contact,
.footer-bottom,
.footer-legal {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Remove phone and email borders */
.footer-contact a {
    border: none !important;
    padding: 0;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .footer-main-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-brand-section {
        flex-direction: column;
    }
    
    .footer-contact-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-main-row {
        padding: 1rem 0;
    }
    
    .footer-tagline {
        font-size: 0.875rem;
    }
    
    .contact-link {
        font-size: 0.875rem;
    }
    
    .footer-social-section {
        gap: 1rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Ensure better visibility */
.footer a,
.footer p,
.footer span {
    opacity: 1 !important;
}

/* Hover states for better interaction */
@media (hover: hover) {
    .contact-link:hover svg {
        animation: iconPulse 0.5s ease;
    }
    
    .social-link:hover svg {
        animation: iconRotate 0.5s ease;
    }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}