/* ========================================
   MODERN FOOTER STYLES
   ======================================== */

.footer {
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 50%, #4CAF50 100%);
    color: #FFFFFF;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: none;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    z-index: 2;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: transparent;
    border: none;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-section h5 {
    color: #FFD700;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h5::after {
    width: 60px;
}

.footer-section p {
    color: #E8F5E8;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    transition: color 0.3s ease;
}

.footer-section a {
    color: #E8F5E8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

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

.footer-section a:hover::before {
    width: 100%;
}

.footer-section i {
    color: #FFD700;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.footer-section a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding-top: 1.5rem;
    text-align: center;
    color: #C8E6C9;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    position: relative;
    z-index: 2;
}

.footer-bottom span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-bottom span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Social Media Icons (if needed) */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #E8F5E8;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: #FFD700;
    color: #2E8B57;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section:hover h5::after {
        width: 80px;
    }
    
    .footer-section a:hover {
        transform: translateY(-2px);
    }
    
    .footer-bottom span {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h5 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .footer-bottom span {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 375px) {
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-content {
        gap: 1.25rem;
    }
    
    .footer-section h5 {
        font-size: 1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-bottom span {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    }
    
    .footer-section h5 {
        color: #FFD700;
    }
    
    .footer-section p,
    .footer-section a {
        color: #E8F5E8;
    }
    
    .footer-bottom {
        color: #C8E6C9;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .footer {
        background: #2E8B57;
        border-top: 3px solid #FFD700;
    }
    
    .footer-section h5 {
        color: #FFD700;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .footer-section p,
    .footer-section a {
        color: #FFFFFF;
        font-weight: 600;
    }
    
    .footer-bottom {
        color: #FFFFFF;
        border-top-color: #FFD700;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer::before,
    .footer-section,
    .footer-section h5::after,
    .footer-section a,
    .footer-section a::before,
    .footer-section i,
    .footer-bottom span,
    .footer-social a {
        animation: none;
        transition: none;
    }
    
    .footer-section:hover,
    .footer-section a:hover,
    .footer-section a:hover i,
    .footer-bottom span:hover,
    .footer-social a:hover {
        transform: none;
    }
} 