/* =========================================
   FOOTER STYLES (KidsParty Bee Theme)
========================================= */

:root {
    /* Theme Colors */
    --footer-bg-gradient: linear-gradient(135deg, #ff6cab 0%, #a55eea 100%); /* Pink to Purple */
    --accent-yellow: #ffd166;
    --text-white: #ffffff;
    --text-white-soft: rgba(255, 255, 255, 0.85);
}

/* Footer Container */
.footer-section {
    background: var(--footer-bg-gradient);
    color: var(--text-white);
    position: relative;
    padding-top: 150px; /* Space for the wave */
    padding-bottom: 30px;
    margin-top: 50px;
    font-family: 'Quicksand', sans-serif;
    overflow: hidden;
}

/* The Wavy Top - Matches website white background */
.footer-section .footer-wave {
    position: absolute;
    top: -1px; /* Fix small gap line */
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-section  .footer-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

.footer-section  .footer-wave path {
    fill: #ffffff;
}

/* Brand styling */
.footer-section  .footer-brand {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-section  .text-yellow {
    color: var(--accent-yellow);
}

.footer-section  .brand-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Titles */
.footer-section  .footer-title {
    font-family: 'Fredoka', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-section  .footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 5px;
}

.footer-section .footer-text {
    color: var(--text-white-soft);
    line-height: 1.6;
}

/* Links */
.footer-section  .footer-links li {
    margin-bottom: 12px;
}

.footer-section .footer-links a {
    color: var(--text-white-soft);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    font-weight: 600;
}

.footer-section  .footer-links a:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.footer-section .footer-links i.small {
    font-size: 0.9rem;
    margin-right: 8px;
    color: var(--accent-yellow);
}

/* Contact Box Styling */
.footer-section  .icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent-yellow);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-section  .contact-box h6 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
}

/* Social Icons */
.footer-section  .social-icons {
    display: flex;
    gap: 15px;
}

.footer-section  .social-link {
    width: 45px;
    height: 45px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ff6cab; /* Pink Icon */
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.footer-section .social-link:hover {
    background: var(--accent-yellow);
    color: #2d3436;
    transform: translateY(-5px) rotate(360deg);
}

/* Bottom Bar */
.footer-section  .footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0 20px;
}

.footer-section  .copyright, .credits {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* BACKGROUND ANIMATIONS */
.footer-section .footer-decor i {
    position: absolute;
    opacity: 0.1; /* Subtle overlay */
    color: #fff;
    pointer-events: none;
}

.footer-section  .f-balloon {
    font-size: 8rem;
    left: 5%;
    bottom: 10%;
    animation: floatUp 15s infinite linear;
}

.footer-section  .f-star {
    font-size: 4rem;
    right: 10%;
    top: 30%;
    animation: twinkle 3s infinite ease-in-out;
}

.footer-section  .f-music {
    font-size: 6rem;
    left: 45%;
    bottom: -20px;
    transform: rotate(15deg);
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-50px) rotate(10deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.2); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-section {
        padding-top: 100px;
        text-align: center;
    }
     .footer-brand {
         justify-content: center !important;
     }
    
    .footer-section  .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section  .social-icons {
        justify-content: center;
    }

    .footer-section   .contact-box .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-section .icon-box {
        margin-right: 0;
        margin-bottom: 10px;
    }
}