/**
 * FOOTER - CLEAN WHITE THEME WITH MINIMAL PURPLE
 * ===============================================
 * Modern white design with subtle purple accents
 */

/* ============================================
   MAIN FOOTER CONTAINER
   ============================================ */

footer {
    background: #ffffff !important;
    color: #1a1a1a !important;
    padding: 60px 0 0 !important;
    margin-top: 80px !important;
    position: relative !important;
    overflow: hidden !important;
    border-top: 3px solid #9333ea !important;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

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

/* ============================================
   FOOTER CONTENT GRID
   ============================================ */

.footer-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 40px !important;
    padding-bottom: 40px !important;
    border-bottom: 2px solid #f0f0f0 !important;
}

/* ============================================
   FOOTER SECTIONS
   ============================================ */

.footer-section h3 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    position: relative !important;
    display: inline-block !important;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #9333ea;
    border-radius: 2px;
}

.footer-section p {
    color: #666666 !important;
    line-height: 1.8 !important;
    margin-bottom: 15px !important;
    font-size: 0.95rem !important;
}

.footer-section p i {
    color: #9333ea !important;
    margin-right: 10px !important;
    width: 20px !important;
    text-align: center !important;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.footer-section.about p {
    max-width: 300px;
}

/* ============================================
   LINKS SECTION
   ============================================ */

.footer-section.links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section.links li {
    margin-bottom: 12px !important;
}

.footer-section.links a {
    color: #666666 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    position: relative !important;
    padding-left: 0px !important;
}

.footer-section.links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #9333ea;
}

.footer-section.links a:hover {
    color: #9333ea !important;
    padding-left: 20px !important;
    transform: translateX(5px);
}

.footer-section.links a:hover::before {
    opacity: 1;
    left: 0;
}

/* ============================================
   SOCIAL ICONS
   ============================================ */

.social {
    display: flex !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.social a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #f8f8f8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9333ea !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border: 2px solid #f0f0f0 !important;
}

.social a:hover {
    background: #9333ea !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3) !important;
    border-color: #9333ea !important;
}

/* ============================================
   CONTACT INFO STYLING
   ============================================ */

.footer-section.contact p {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 0 !important;
}

.footer-section.contact p i {
    font-size: 16px !important;
    background: #f8f8f8 !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin-right: 10px !important;
    border: 2px solid #f0f0f0;
}

.footer-section.contact p:hover i {
    background: #f3e8ff !important;
    border-color: #e9d5ff !important;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    text-align: center !important;
    padding: 30px 0 !important;
    color: #666666 !important;
    font-size: 0.9rem !important;
}

.footer-bottom p {
    margin: 0 !important;
    color: #666666 !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    footer {
        padding: 40px 0 0 !important;
        margin-top: 50px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding-bottom: 30px !important;
    }

    .footer-section h3 {
        font-size: 1.2rem !important;
    }

    .footer-section p {
        font-size: 0.9rem !important;
    }

    .social {
        justify-content: center !important;
    }

    .footer-section.about p {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 25px 0 !important;
        font-size: 0.85rem !important;
    }
}

/* ============================================
   DARK MODE COMPATIBILITY
   ============================================ */

body.dark-mode footer {
    background: #1a1a1a !important;
    border-top: 3px solid #9333ea !important;
}

body.dark-mode footer::before {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
}

body.dark-mode .footer-section h3 {
    color: #ffffff !important;
}

body.dark-mode .footer-section p {
    color: #b3b3b3 !important;
}

body.dark-mode .footer-section.links a {
    color: #b3b3b3 !important;
}

body.dark-mode .footer-section.links a:hover {
    color: #c084fc !important;
}

body.dark-mode .social a {
    background: #2a2a2a !important;
    border-color: #333333 !important;
    color: #9333ea !important;
}

body.dark-mode .social a:hover {
    background: #9333ea !important;
    color: #ffffff !important;
    border-color: #9333ea !important;
}

body.dark-mode .footer-section.contact p i {
    background: #2a2a2a !important;
    border-color: #333333 !important;
}

body.dark-mode .footer-section.contact p:hover i {
    background: #2d1b4e !important;
    border-color: #4c1d95 !important;
}

body.dark-mode .footer-content {
    border-bottom: 2px solid #2a2a2a !important;
}

body.dark-mode .footer-bottom p {
    color: #b3b3b3 !important;
}

/* ============================================
   ANIMATION
   ============================================ */

.footer-section {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

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