/* Modern Minimal Footer - Clean White Design with Brand Accents */

.footer-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    color: #2d3748;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

/* Modern gradient accent border - green to orange */
.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4A6E1A 20%, #D97000 80%, transparent);
    box-shadow: 0 2px 8px rgba(217, 112, 0, 0.2);
}

/* Subtle texture overlay for depth */
.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(74, 110, 26, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(217, 112, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Main content area */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid rgba(74, 110, 26, 0.15);
}

.footer-logo {
    display: none; /* Hide logo on desktop */
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(74, 110, 26, 0.15));
    transition: all 0.3s ease;
    opacity: 0.95;
}

.footer-logo:hover {
    filter: drop-shadow(0 4px 12px rgba(217, 112, 0, 0.3));
    transform: translateY(-2px) scale(1.02);
    opacity: 1;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4A6E1A, #D97000);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #D97000;
    transform: translateY(-1px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-divider {
    color: rgba(74, 110, 26, 0.4);
    font-size: 1rem;
    font-weight: 300;
}

/* Footer bottom */
.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: #718096;
    font-weight: 400;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 1.5rem;
    }

    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-content {
        padding-bottom: 2rem;
        gap: 1.5rem;
    }

    .footer-logo {
        display: block; /* Show logo on mobile */
        height: 80px !important;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-divider {
        display: none;
    }

    .footer-link {
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-modern {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-content {
        gap: 1.25rem;
        padding-bottom: 1.5rem;
    }

    .footer-logo {
        display: block; /* Show logo on mobile */
        height: 75px !important;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Smooth entrance animation with modern easing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered entrance for footer links */
.footer-link {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.footer-link:nth-child(1) { animation-delay: 0.1s; }
.footer-link:nth-child(2) { animation-delay: 0.2s; }
.footer-link:nth-child(3) { animation-delay: 0.3s; }
.footer-link:nth-child(4) { animation-delay: 0.4s; }
.footer-link:nth-child(5) { animation-delay: 0.5s; }
