/* ========================
   Jumia-Style Footer
   ======================== */

/* Footer Reset */
#footer {
    background-color: var(--am-corporate-blue);
    color: var(--am-footer-text);
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    padding-top: 0;
    margin-top: 20px;
}

/* Newsletter Section (Dark Grey) */
.footer-newsletter {
    background-color: var(--am-corporate-blue);
    padding: 20px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.am-logo-small {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.am-logo-small span {
    color: var(--am-primary);
}

.newsletter-content h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.newsletter-content p {
    margin: 0;
    font-size: 11px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.newsletter-input-group {
    display: flex;
}

.newsletter-input-group .input-icon {
    background: #fff;
    color: #282828;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-radius: 4px 0 0 4px;
}

.newsletter-input-group input {
    border: none;
    padding: 10px;
    width: 250px;
    outline: none;
    border-radius: 0 4px 4px 0;
}

.btn-subscribe {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 10px;
    transition: all 0.3s;
}

.btn-subscribe:hover {
    background: #fff;
    color: #282828;
}

.app-download {
    display: flex;
    gap: 10px;
    align-items: center;
}

.app-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-icon {
    font-size: 24px;
    color: var(--am-primary);
}

.app-text {
    font-size: 10px;
    line-height: 1.2;
}

.app-text strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
}

.apps-buttons img {
    height: 30px;
    margin-right: 5px;
    cursor: pointer;
}

/* Footer Links Section */
.footer-links {
    padding: 30px 0;
    background-color: var(--am-corporate-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

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

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: #c7c7cd;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Social & Payment */
.footer-social-payment {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 20px;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--am-primary);
}

.payment-icons img {
    height: 20px;
    margin-right: 15px;
    opacity: 0.8;
    background: #fff;
    padding: 2px;
    border-radius: 2px;
}

/* Brands List */
.footer-brands {
    padding: 20px 0;
    font-size: 11px;
    color: #999;
}

.brand-col h6 {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.brand-list {
    margin-bottom: 10px;
}

.brand-list a {
    color: #999;
    margin-right: 5px;
}

.brand-list a:hover {
    color: #fff;
}

/* Bottom Bar */
.footer-bottom {
    background-color: var(--am-corporate-blue);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-logos img {
    height: 20px;
    margin: 0 10px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .newsletter-form {
        width: 100%;
        flex-wrap: wrap;
    }

    .newsletter-input-group input {
        width: 100%;
        flex: 1;
    }
}