
.footer {
    width: 100%;
  position: relative;
  left: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  padding-top: 100px;
  color: #fff;
  background: url(../images/footer-bg.png) top center no-repeat;
  background-size: 80% auto;
    animation: fadeInUp 0.5s ease forwards;
    padding-bottom: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.logo {
    width: auto;
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #75dab4;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-section:hover h3::after {
    transform: scaleX(1);
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
    color: #75dab4;
}

.footer-section a {
    text-decoration: none;
    color: inherit;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2) rotate(15deg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.footer-bottom nav {
    margin-bottom: 1rem;
}

.footer-bottom a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-bottom a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.9rem;
    color: #718096;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }

    .footer-section:hover h3::after {
        transform: translateX(-50%) scaleX(1);
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom a {
        display: block;
        margin: 0.5rem 0;
    }
}


.footer-section .social-icons a:hover {
    color: #000; /* General hover color, which will be overridden */
}

.footer-section .social-icons a[aria-label="Facebook"]:hover {
    color: #3b5998; /* Facebook blue */
}

.footer-section .social-icons a[aria-label="Instagram"]:hover {
    color: #e1306c; /* Instagram pink */
}

.footer-section .social-icons a[aria-label="Twitter"]:hover {
    color: #1da1f2; /* Twitter blue */
}

.footer-section .social-icons a[aria-label="LinkedIn"]:hover {
    color: #0077b5; /* LinkedIn blue */
}

.footer-section .social-icons a[aria-label="YouTube"]:hover {
    color: #ff0000; /* YouTube red */
}
