/* Reusable Footer Styles - Enhanced Design */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    color: #e4e4e4;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.footer-content {
    padding: 80px 0 50px;
    position: relative;
    background: transparent;
}

.footer-content .container {
    background: transparent;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Company Info Section */
.company-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.footer-logo h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.company-description {
    color: #b8b8d1;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #e4e4e4;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #3b5998, #4c70ba);
    border-color: #3b5998;
}

.social-link.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #4ab3f4);
    border-color: #1da1f2;
}

.social-link.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    border-color: #0077b5;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #f09433;
}

/* Footer Sections */
.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.5);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #b8b8d1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
    padding: 0.5rem 0 0.5rem 20px;
    border-radius: 8px;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: bold;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateX(5px);
    background: rgba(102, 126, 234, 0.1);
}

.footer-links a:hover::before {
    color: #f093fb;
    transform: translateX(5px) scale(1.2);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #b8b8d1;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(3px);
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 0.1rem;
    min-width: 24px;
    text-align: center;
}

.contact-item span {
    flex: 1;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright p {
    margin: 0;
    color: #b8b8d1;
    font-size: 0.95rem;
}

.copyright p::before {
    content: '© ';
    color: #667eea;
    font-weight: bold;
}

.footer-bottom-links {
    display: flex;
    gap: 2.5rem;
}

.footer-bottom-links a {
    color: #b8b8d1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-bottom-links a:hover {
    color: #ffffff;
    text-decoration: none;
    background: rgba(102, 126, 234, 0.1);
}

.footer-bottom-links a:hover::after {
    width: 80%;
}

/* Decorative Elements */
.footer-content::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .company-info .footer-logo {
        justify-content: center;
    }

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

    .footer-links a {
        justify-content: center;
    }

    .footer-links a::before {
        left: calc(50% - 50px);
    }

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

    .contact-item {
        justify-content: center;
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 0 30px;
    }

    .footer-grid {
        gap: 2rem;
    }

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

    .footer-logo h3 {
        font-size: 1.4rem;
    }

    .footer-logo-img {
        width: 50px;
        height: 50px;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .footer-bottom-links a {
        padding: 0.75rem 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
