/* Footer Component Styles */

/* Main Footer */
.main-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem 2rem;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Company Section */
.footer-company {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .footer-company {
        grid-column: span 2;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    height: 2.5rem;
    width: auto;
}

.footer-description {
    color: #bfdbfe;
    max-width: 28rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Footer Sections */
.footer-section h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    transition: transform 0.2s ease;
}

.footer-links li:hover {
    transform: translateX(0.25rem);
}

.footer-link {
    color: #bfdbfe;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

/* Contact Links with Icons */
.contact-link {
    display: flex;
    align-items: center;
    color: #bfdbfe;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 0.25rem;
}

.contact-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 0.5rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #bfdbfe;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 640px) {
    .footer-legal {
        justify-content: flex-end;
    }
}

.footer-legal a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.footer-legal a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Social Media Links (if needed in future) */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #bfdbfe;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Newsletter Section (if needed in future) */
.footer-newsletter {
    margin-top: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-button {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-grid {
        gap: 2.5rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .contact-link {
        padding: 0.75rem 0;
    }
}