/* Footer Membership Badges Styling */
.footer-badges-container {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px 25px;
    margin-top: 30px;
}

.footer-badges-container h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-badges-container .row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 15px;
}

.footer-badge-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.footer-badge-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.footer-badge-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer-badge-item img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.member-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.member-badge .mn-widget-member {
    max-width: 200px;
}

.member-badge .mn-widget-member-logo {
    max-height: 100px !important;
    width: auto !important;
}

.member-badge .mn-widget-member-name {
    font-size: 14px !important;
    margin-bottom: 5px;
    color: white;
}

.member-badge .mn-widget-member-text {
    font-size: 12px !important;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.8);
}

/* Badge Image Styling */
#COCBadgeIMG {
    width: auto;
    height: 120px;
}

.footer-badge-item .bbb-badge-img {
    border: 0;
    height: 80px;
    width: auto;
}

/* Desktop specific styling */
@media (min-width: 992px) {
    .footer-badges-container {
        padding: 35px 30px;
    }
    
    .footer-badge-item {
        padding: 30px 25px;
        min-height: 160px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-badges-container {
        padding: 25px 20px;
    }
    
    .footer-badges-container .row {
        display: block;
    }
    
    .footer-badge-item {
        padding: 25px 20px;
        margin-bottom: 20px;
        min-height: 140px;
    }
    
    .footer-badge-item:last-child {
        margin-bottom: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .footer-badges-container {
        padding: 20px 15px;
    }
    
    .footer-badges-container .row {
        display: block;
    }
    
    .footer-badge-item {
        padding: 20px 15px;
        margin-bottom: 15px;
        min-height: 140px;
    }
    
    .footer-badge-item:last-child {
        margin-bottom: 0;
    }
    
    .footer-badges-container h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-badge-item img {
        max-height: 100px;
    }
}
