/* ===============================================
   KARDERA - FOOTER COMPONENT
   =============================================== */

/* FOOTER BASE */
.footer {
    background: #000000 !important;
    color: var(--white) !important;
    padding: 2rem 0 0.5rem;
    margin-top: auto;
}

.footer h5,
.footer h6 {
    color: var(--white) !important;
    font-weight: var(--font-weight-700) !important;
    margin-bottom: 0.75rem !important;
    font-size: 1rem !important;
}

.footer p,
.footer li,
.footer span {
    color: var(--white) !important;
    line-height: 1.4;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer .list-unstyled li {
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.footer .list-unstyled li:hover {
    transform: translateX(5px);
}

/* FOOTER LINKS */
.footer a {
    color: var(--white) !important;
    text-decoration: none !important;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

/* FOOTER LOGO */
.footer .navbar-brand img,
.footer img {
    filter: brightness(0) invert(1) !important;
    max-height: 35px;
    transition: var(--transition);
}

.footer .navbar-brand:hover img,
.footer img:hover {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(45deg) !important;
    transform: scale(1.05);
}

/* FOOTER DIVIDER */
.footer hr {
    border-color: rgba(255, 255, 255, 0.3) !important;
    margin: 1.5rem 0 0.75rem;
}

/* FOOTER BOTTOM */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 0;
    margin-top: 1.5rem;
}

.footer-bottom p {
    margin-bottom: 0 !important;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* FOOTER SOCIAL LINKS */
.footer-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white) !important;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent);
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* FOOTER CONTACT INFO */
.footer-contact {
    margin-bottom: var(--space-lg);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-sm);
}

.footer-contact .contact-item i {
    color: var(--accent) !important;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* SOCIAL LINKS SPECIFIC STYLING */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white) !important;
    font-size: 1.2rem;
    text-decoration: none !important;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* FONT AWESOME BRANDS ICON SAFETY */
.social-link i,
.footer-social a i {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* SPECIFIC BRAND ICONS */
.fab.fa-linkedin-in,
.fab.fa-instagram,
.fab.fa-facebook-f,
.fab.fa-whatsapp {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer {
        padding: 1rem 0 0.25rem;
        text-align: center;
    }
    
    .footer .navbar-brand {
        justify-content: center;
        margin-bottom: 0.75rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 0.5rem;
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .footer-social a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .footer .col-md-6,
    .footer .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .footer h5,
    .footer h6 {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .footer p,
    .footer li,
    .footer span {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.15rem;
    }
    
    .footer-bottom {
        padding: 0.5rem 0;
        margin-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
    }
    
    .footer .navbar-brand img,
    .footer img {
        max-height: 30px;
        display: block;
        margin: 0 auto;
    }
    
    .footer hr {
        margin: 1rem 0 0.5rem;
    }
    
    .footer .list-unstyled li {
        margin-bottom: 0.15rem;
    }
    
    .footer .contact-item {
        justify-content: center;
    }
}

/* EXTRA SMALL MOBILE (< 576px) */
@media (max-width: 576px) {
    .footer {
        padding: 0.75rem 0 0.25rem;
    }
    
    .footer .navbar-brand {
        justify-content: center;
        margin-bottom: 0.5rem;
        display: flex;
    }
    
    .footer h5,
    .footer h6 {
        font-size: 0.8rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .footer p,
    .footer li,
    .footer span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .footer-bottom {
        padding: 0.4rem 0;
        margin-top: 0.75rem;
    }
    
    .footer-bottom p {
        font-size: 0.65rem;
    }
    
    .footer .navbar-brand img,
    .footer img {
        max-height: 25px;
        display: block;
        margin: 0 auto;
    }
    
    .footer-social a {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .footer .col-md-6,
    .footer .col-md-3 {
        margin-bottom: 0.75rem;
    }
    
    .footer hr {
        margin: 0.75rem 0 0.4rem;
    }
}
