/*=============================================
  Africa Ultrasound - Modern Footer
=============================================*/

footer {
    width: 100%;
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 0;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 12px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

footer p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

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

footer ul li {
    padding: 5px 0;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

footer ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

footer ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

footer .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
}

footer .contact-list li i {
    color: var(--primary);
    margin-top: 4px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/*--- Footer Bottom ---*/
footer .footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

footer .footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    list-style: none;
    padding: 0;
}

footer .footer-bottom-links li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

footer .footer-bottom-links li a:hover {
    color: var(--primary);
}

footer .copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0.5rem 0;
}

footer .copyright a {
    color: var(--primary);
    font-weight: 600;
}

footer .copyright a:hover {
    color: #fff;
}

/*--- Social Icons ---*/
footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1.25rem;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

footer .social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    footer {
        padding: 2rem 0 0;
    }
    
    footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    footer ul li a {
        justify-content: center;
    }
    
    footer .contact-list li {
        justify-content: center;
    }
    
    footer .footer-bottom-links {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    footer .social-icons {
        gap: 10px;
    }
    
    footer .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/*--- Legacy class overrides for backward compatibility ---*/
.col_white_amrc { color: #FFF; }
.pt2 { padding-top: 40px; margin-bottom: 20px; }
.mb10 { padding-bottom: 15px; }
.bottom_border { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }

.footer_ul_amrc {
    margin: 0;
    list-style-type: none;
    font-size: 0.9rem;
    padding: 0;
}

.footer_ul_amrc li {
    padding: 5px 0;
}

.footer_ul_amrc li a {
    color: rgba(255,255,255,0.7);
}

.footer_ul_amrc li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer_ul2_amrc {
    margin: 0;
    list-style-type: none;
    padding: 0;
}

.footer_ul2_amrc li p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}

.footer_ul2_amrc li i {
    color: var(--primary);
}

.foote_bottom_ul_amrc {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.foote_bottom_ul_amrc li {
    display: inline;
}

.foote_bottom_ul_amrc li a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.85rem;
}

.foote_bottom_ul_amrc li a:hover {
    color: var(--primary);
}

.social_footer_ul {
    display: flex;
    justify-content: center;
    gap: 12px;
    list-style-type: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.social_footer_ul li {
    padding: 0;
    float: none;
}

.social_footer_ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social_footer_ul li a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.social_footer_ul li i {
    width: auto;
    height: auto;
    text-align: center;
}
