/* ========================================
   WORLD-CLASS FOOTER DESIGN
   ======================================== */

.footer {
    background: linear-gradient(180deg,
            #0f172a 0%,
            #1e293b 50%,
            #0f172a 100%) !important;
    color: #e2e8f0;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #0284c7;
}

/* Animated background pattern */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 40%);
    pointer-events: none;
    animation: footerGlow 15s ease-in-out infinite;
}

@keyframes footerGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Footer Logo & Description */
.footer-column.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(2, 132, 199, 0.3));
}

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

/* Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.1);
    border: 2px solid rgba(2, 132, 199, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: #0284c7;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon i {
    position: relative;
    z-index: 2;
}

.social-icon:hover i {
    color: #ffffff;
}

/* Footer Column Headings */
.footer-column h4 {
    color: #38bdf8;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0284c7 0%, transparent 100%);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #38bdf8;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(5px);
}

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

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

.footer-contact li i {
    color: #38bdf8;
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #38bdf8;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

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

.footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #38bdf8;
}

/* Newsletter Subscription */
.footer-newsletter {
    margin-top: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #0284c7;
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

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

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
    }

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

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

    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
}