/* ============================================
   MODERN FOOTER STYLES
   ============================================ */

.modern-footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    color: #e8eaed;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(59, 130, 246, 0.5) 50%,
            transparent 100%);
}

/* Footer Top Section */
.footer-top {
    padding: 80px 20px 40px;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

/* Footer About Section */
.footer-about {
    padding-right: 20px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.1);
}

.footer-desc {
    color: #b4b8c5;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b4b8c5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.social-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Footer Column Titles */
.footer-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, transparent);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a,
.footer-contact a {
    color: #b4b8c5;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #3b82f6;
    transform: translateX(4px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #b4b8c5;
    font-size: 0.9375rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact span,
.footer-contact a {
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    padding: 28px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dev-credit {
    color: #9ca3af;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.dev-credit strong {
    color: #3b82f6;
    font-weight: 600;
}

.dev-credit:hover {
    color: #e8eaed;
}

.dev-credit:hover strong {
    color: #60a5fa;
}

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

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-about {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 60px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-about {
        grid-column: span 1;
        text-align: center;
    }

    .footer-logo-img {
        margin-left: auto;
        margin-right: auto;
    }

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


    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col:not(.footer-about) {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 50px 15px 25px;
    }

    .footer-logo-img {
        max-width: 150px;
    }

    .footer-desc {
        font-size: 0.875rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 0.875rem;
    }

    .social-btn {
        width: 38px;
        height: 38px;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-footer .footer-col {
    animation: fadeInUp 0.6s ease-out;
}

.modern-footer .footer-col:nth-child(1) {
    animation-delay: 0.1s;
}

.modern-footer .footer-col:nth-child(2) {
    animation-delay: 0.2s;
}

.modern-footer .footer-col:nth-child(3) {
    animation-delay: 0.3s;
}

.modern-footer .footer-col:nth-child(4) {
    animation-delay: 0.4s;
}