/* ===== MODERN PROFESSIONAL FOOTER ===== */

footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

/* Animated Background Pattern */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Top Wave Decoration */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 200% 100%;
    animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* Footer Container - Full Width */
footer .container {
    position: relative;
    z-index: 1;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Footer Content Wrapper */
.footer-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Top Section */
.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .footer-content-wrapper {
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Brand */
.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0 10px;
    color: #ffffff;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    margin-left: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Footer Column */
.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer-column h4 i {
    margin-right: 8px;
    color: #667eea;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 12px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 10px;
}

.footer-links a:hover i {
    transform: translateX(5px);
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact li i {
    margin-right: 12px;
    margin-top: 3px;
    color: #667eea;
    font-size: 16px;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    position: absolute;
    bottom: 0;
    padding: 25px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-content-wrapper {
    padding: 0 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    footer {
        margin-top: 60px;
    }

    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-top .footer-content-wrapper,
    .footer-bottom .footer-content-wrapper {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        padding-right: 0;
        text-align: left;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-logo {
        margin: 0 0 20px 0;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-column {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-column h4 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer-column h4::after {
        left: 0;
        transform: none;
    }

    .footer-links,
    .footer-contact {
        text-align: left;
    }

    .footer-links a,
    .footer-contact li {
        justify-content: flex-start;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-contact li {
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding: 20px 15px;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 30px 0 20px;
    }

    .footer-top .footer-content-wrapper,
    .footer-bottom .footer-content-wrapper {
        padding: 0 15px;
    }

    .footer-grid {
        gap: 25px;
    }

    .footer-brand h3 {
        font-size: 19px;
        margin: 10px 0 8px;
    }

    .footer-brand p {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-logo {
        width: 70px;
        height: 70px;
    }

    .footer-column {
        padding-bottom: 15px;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 13px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-contact li {
        margin-bottom: 10px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* Animation on Scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}