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

.modern-footer {
    background: #252525;
    color: #ffffff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    clear: both;
    margin-top: auto;
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.04)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 2;
}

/* Footer Brand Section */
.footer-brand {
    margin-bottom: 30px;
    padding-right: 30px;
}

/* Footer Contact Info Section */
.footer-contact-info {
    margin-bottom: 30px;
    padding-left: 30px;
}

/* Footer Links Section */
.footer-links {
    margin-bottom: 30px;
    padding-left: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo .logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 300;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Footer Links */
.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

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

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px 0;
}

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

.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-menu li a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.footer-menu li a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.footer-menu li a:hover::before {
    width: 10px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

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

.social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #ff4444);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: all 0.3s ease;
}

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

.footer-legal a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-footer {
        padding: 40px 0 20px;
    }
    
    .footer-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-description {
        font-size: 15px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 30px 0 15px;
    }
    
    .footer-main .row > div {
        margin-bottom: 35px;
    }
    
    .footer-brand {
        text-align: center;
        padding-right: 0;
    }
    
    .footer-contact-info {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-links {
        text-align: center;
        padding-left: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-title {
        font-size: 16px;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .contact-item {
        font-size: 14px;
    }
    
    .footer-menu li a {
        font-size: 14px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animation Effects - Disabled to prevent scroll bugs */
/* @keyframes footerFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.modern-footer {
    animation: footerFloat 6s ease-in-out infinite;
} */

/* Hover Effects for Cards - Disabled transform to prevent scroll bugs */
.footer-brand,
.footer-links,
.footer-contact-info {
    transition: all 0.3s ease;
}

.footer-brand:hover,
.footer-links:hover,
.footer-contact-info:hover {
    /* transform: translateY(-2px); - Disabled to prevent scroll bugs */
    opacity: 0.9;
}
