/* Modern Footer Styles - enhanced visual design */
/* Glassmorphism with subtle gradient overlay */
footer.footer {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 3rem 0;
    color: var(--text-light, #f0f0f0);
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* subtle decorative overlay */
footer.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
    opacity: 0.6;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Grid layout for footer sections */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    /* to keep overlay above content */
}

.footer-section {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color, #ff6b6b);
    font-weight: 600;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 30px;
    height: 3px;
    background: var(--primary-color, #ff6b6b);
    border-radius: 2px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray, #b0c4de);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-link {
    color: var(--text-light, #e0e0e0);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0.6rem;
}

.footer-link::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color, #ff6b6b);
    opacity: 0.7;
    transition: transform 0.3s;
}

.footer-link:hover {
    color: var(--primary-color, #ff6b6b);
    transform: translateX(6px);
}

.footer-link:hover::before {
    transform: translateX(-6px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    color: var(--text-light, #e0e0e0);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: var(--primary-color, #ff6b6b);
    transform: scale(1.2);
}

/* Animal icons – keep original animation, add gentle float */
.animal-icons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
    /* reduced spacing */
}

.animal-icons-wrapper a {
    display: flex;
    align-items: center;
    color: var(--text-light, #e0e0e0);
    text-decoration: none;
    transition: transform 0.4s, color 0.3s;
}

.animal-icons-wrapper a:hover {
    color: var(--primary-color, #ff6b6b);
    transform: translateY(-6px);
}

.animal-icons-wrapper i {
    margin-right: 0.4rem;
    font-size: 1.4rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-gray, #b0c4de);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    position: relative;
}

.footer-bottom a {
    color: var(--primary-color, #ff6b6b);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-description,
    .footer-link {
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .footer-description,
    .footer-link {
        font-size: 0.88rem;
    }

    .social-icon {
        font-size: 1.3rem;
    }

    .animal-icons-wrapper {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 1.1rem;
    }

    .footer-description,
    .footer-link {
        font-size: 0.8rem;
    }

    .social-icon {
        font-size: 1.2rem;
    }

    .animal-icons-wrapper {
        gap: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.78rem;
    }
}

/* Metrics and Implementation Section */
.metrics {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2rem 1rem;
    margin-top: 2rem;
    color: var(--text-light, #f0f0f0);
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
}

.metrics-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #ff6b6b);
    position: relative;
}

.metrics-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color, #ff6b6b);
    border-radius: 2px;
}

.metrics-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    text-align: left;
    line-height: 1.6;
}

.metrics-list li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.implementation-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color, #ff6b6b);
    position: relative;
}

.implementation-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color, #ff6b6b);
    border-radius: 2px;
}

.implementation-steps {
    list-style: decimal inside;
    padding-left: 0;
    margin: 0 auto;
    max-width: 800px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .metrics {
        padding: 1.5rem 0.5rem;
    }

    .metrics-title,
    .implementation-title {
        font-size: 1.4rem;
    }

    .metrics-list li,
    .implementation-steps li {
        font-size: 0.85rem;
    }
}