/* === Footer Styles === */

.footer {
    background: transparent;
    color: white;
    padding: 40px 60px 20px;
    position: relative;
    z-index: 3;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-brand h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.footer-brand p {
    font-size: 1rem;
    margin-top: 4px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffffcc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-icons {
    display: flex;
    gap: 20px;
}

.footer-icons a {
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icons a:hover {
    color: #00aaff;
    transform: scale(1.1);
}


/* Fade-in animation */

.footer {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

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


/* ===================== Footer Mobile Optimization ===================== */


/* ===================== Footer Mobile Optimization (Left-Aligned) ===================== */

@media (max-width: 768px) {
    .footer {
        padding: 30px 20px;
        /* less padding for small screens */
        text-align: left;
        /* left-aligned */
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 15px;
    }
    .footer-brand h1 {
        font-size: 1.8rem;
        margin-bottom: 4px;
    }
    .footer-brand p {
        font-size: 0.9rem;
        margin-top: 0;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        margin-top: 10px;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .footer hr {
        margin: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 10px;
    }
    .footer-copy {
        font-size: 0.8rem;
    }
    .footer-icons {
        justify-content: flex-start;
        gap: 12px;
    }
    .footer-icons a {
        font-size: 1.1rem;
    }
}


/* Extra small devices (480px and below) */

@media (max-width: 480px) {
    .footer {
        padding: 25px 15px;
    }
    .footer-brand h1 {
        font-size: 1.5rem;
    }
    .footer-brand p {
        font-size: 0.85rem;
    }
    .footer-links a {
        font-size: 0.85rem;
    }
    .footer-copy {
        font-size: 0.75rem;
    }
    .footer-icons a {
        font-size: 1rem;
    }
}