/* ==========================================
   ENHANCED HEADER & FOOTER STYLES
   ========================================== */

/* Promo Bar */
.promo-bar {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #fff;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translate Y(0);
        opacity: 1;
    }
}

.promo-bar strong {
    color: #fde68a;
    font-weight: 800;
}

/* Enhanced Navbar */
.navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.navbar-quick-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Balance Badge */
.balance-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 0.5rem 1.2rem;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.balance-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.balance-badge small {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Notification Icon */
.notification-icon {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Premium Footer */
.premium-footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    margin-top: 5rem;
}

.footer-main {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-600);
    border-radius: 2px;
}

.footer-text {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(-4px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-600);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.3);
}

/* Trust Badges */
.trust-badges .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.85rem;
    font-weight: 700;
    border-radius: 20px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links li {
    display: inline;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-600);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.3);
    transition: all 0.3s ease;
    z-index: 1020;
}

.back-to-top:hover {
    background: var(--primary-700);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .navbar-quick-actions {
        margin-top: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-main {
        padding: 3rem 0 1.5rem;
    }

    .footer-section {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    .promo-bar {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .balance-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}