/* ==================================
   GOVERNMENT FOOTER (KUWAIT THEME)
================================== */

.footer {
    background: var(--footer-bg);
    color: var(--text-light);
}

.footer-top {
    padding: 50px 0 30px;
}

.footer-logo {
    max-height: 70px;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-title {
    color: var(--primary-white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

/* ==================================
   LINKS
================================== */

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-white);
    text-decoration: none;
    padding-left: 4px;
}

/* ==================================
   BADGES
================================== */

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badges span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    transition: var(--transition);
}

.footer-badges span:hover {
    background: rgba(206, 17, 38, 0.15);
    border-color: rgba(206, 17, 38, 0.25);
}

.footer-badges i {
    color: var(--green-light);
    margin-right: 5px;
}

/* ==================================
   SUPPORT
================================== */

.footer-support {
    margin-top: 15px;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.support-item i {
    color: var(--green-light);
    width: 18px;
    margin-top: 3px;
}

/* ==================================
   DISCLAIMER
================================== */

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.footer-disclaimer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    line-height: 1.7;
}

/* ==================================
   BOTTOM
================================== */

.footer-bottom {
    padding: 18px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
}

.secure-text {
    color: var(--green-light);
    font-size: 12px;
    font-weight: 600;
}

.text-right-res {
    font-size: 12px;
}

.payment-cards-bottom {
    max-height: 26px;
}

/* ==================================
   BACK TO TOP
================================== */

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: none;
    background: var(--primary-red);
    color: var(--primary-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 8px 20px rgba(206, 17, 38, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.back-to-top i {
    font-size: 14px;
}

.back-to-top::before {
    display: none;
}

/* ==================================
   DYNAMIC COUNTRY LISTS
================================== */

.country-item {
    list-style: none;
    margin-bottom: 6px;
}

.europe-list.collapsed .country-item:nth-child(n + 11) {
    display: none;
}

.see-more-btn {
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-dark);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.see-more-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-green);
}

/* ==================================
   MOBILE
================================== */

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-top {
        padding: 35px 0 20px;
    }

    .footer-title {
        margin-top: 20px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-badges {
        justify-content: center;
    }

    .support-item {
        justify-content: center;
    }

    .payment-cards-bottom {
        margin-top: 10px;
        max-height: 24px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        right: 15px;
        bottom: 15px;
    }
}
