/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    color: white;
    padding: 80px 0 30px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 103, 197, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(46, 139, 87, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-actions .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.footer-actions .btn:hover::before {
    left: 100%;
}

.footer-actions .btn-primary {
    background: linear-gradient(135deg, #0067C5 0%, #003B73 100%);
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 103, 197, 0.4);
}

.footer-actions .btn-primary:hover {
    background: linear-gradient(135deg, #005BB5 0%, #003366 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 103, 197, 0.5);
}

.footer-actions .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.footer-actions .btn-secondary:hover {
    background: white;
    color: #1a1a1a;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 20px;
}

.contact-info p {
    margin-bottom: 12px;
    color: #cccccc;
}

.contact-info a {
    color: #0067C5;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #64b5f6;
    text-decoration: underline;
}

.hours {
    font-weight: 500;
    color: #e0e0e0;
}

.disclaimer {
    font-size: 0.875rem;
    color: #999999;
    margin-top: 16px;
    font-style: italic;
}

/* Footer Links */
.footer-links {
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
    padding: 24px 0;
    margin-bottom: 24px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-nav li {
    position: relative;
}

.footer-nav li:not(:last-child)::after {
    content: '|';
    color: #666;
    margin-left: 8px;
}

.footer-nav a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.footer-nav a:hover {
    color: #0067C5;
    background: rgba(0, 103, 197, 0.1);
}

/* Footer Legal */
.footer-legal {
    text-align: center;
}

.footer-legal p {
    font-size: 0.8rem;
    color: #999999;
    line-height: 1.5;
    margin-bottom: 12px;
}

.copyright {
    font-size: 0.875rem;
    color: #cccccc;
    font-weight: 500;
    margin-bottom: 0 !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-actions .btn {
        width: 280px;
        max-width: 100%;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-nav li:not(:last-child)::after {
        display: none;
    }
    
    .footer-nav a {
        display: block;
        text-align: center;
        padding: 8px 16px;
    }
    
    .contact-info {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-section h4 {
        font-size: 1.25rem;
    }
    
    .footer-actions .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
    
    .footer-legal p {
        font-size: 0.75rem;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .main-footer {
        background: #000000;
        border-top: 2px solid #ffffff;
    }
    
    .footer-nav a:hover {
        background: #ffffff;
        color: #000000;
    }
}

/* Print Styles */
@media print {
    .main-footer {
        background: transparent;
        color: black;
        border-top: 2px solid black;
    }
    
    .footer-actions,
    .footer-nav {
        display: none;
    }
    
    .contact-info a {
        color: black;
        text-decoration: underline;
    }
}

/* Animation for Footer Elements */
.footer-content,
.footer-links,
.footer-legal {
    animation: fadeInUp 0.6s ease-out;
}

.footer-content {
    animation-delay: 0.1s;
}

.footer-links {
    animation-delay: 0.2s;
}

.footer-legal {
    animation-delay: 0.3s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .footer-content,
    .footer-links,
    .footer-legal {
        animation: none;
    }
    
    .footer-actions .btn,
    .footer-nav a {
        transition: none;
    }
}

/* Focus Styles */
.footer-nav a:focus,
.footer-actions .btn:focus,
.contact-info a:focus {
    outline: 2px solid #0067C5;
    outline-offset: 2px;
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .main-footer {
        background: #0d0d0d;
    }
    
    .footer-links {
        border-color: #404040;
    }
}

/* Footer Hover Effects */
.footer-actions .btn {
    position: relative;
    overflow: hidden;
}

.footer-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.footer-actions .btn:hover::before {
    left: 100%;
}