/**
 * ==============================================================================
 * AL-ESRAA UNIVERSITY - FOOTER, PWA & NOTIFICATIONS STYLESHEET
 * ==============================================================================
 */

/* Footer Base: Cosmic Ultra-Deep Void (البلور الكوني فائق العمق - المعتمد رسمياً) */
.alr-glass-footer {
    background: radial-gradient(circle at 85% 15%, #181136 0%, #0d0a21 45%, #05040d 95%) !important;
    color: #ffffff;
    border-top: 1px solid rgba(139, 92, 246, 0.35) !important;
    box-shadow: 0 -12px 40px rgba(5, 4, 13, 0.6) !important;
}

.footer-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}
.footer-glow-1 {
    top: -50px;
    right: 5%;
    background: #6366f1 !important;
    opacity: 0.26 !important;
}
.footer-glow-2 {
    bottom: -50px;
    left: 5%;
    background: #38bdf8 !important;
    opacity: 0.22 !important;
}

.footer-grid-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 1;
}

/* Glass Card */
.alr-footer-glass-card {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.alr-footer-glass-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(5, 4, 13, 0.45);
}

/* Brand Details - Changa Geometric Font & Cosmic Text Gradient */
.footer-brand-logo {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.footer-brand-title {
    font-family: 'Changa', 'Tajawal', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.35rem !important;
    letter-spacing: 0.01em !important;
    line-height: 1.25 !important;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #ddd6fe 60%, #a78bfa 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.footer-brand-sub {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    margin-top: 1px;
}

.footer-badge-pill {
    background: rgba(14, 133, 73, 0.2);
    color: #10b981;
    border: 1px solid rgba(14, 133, 73, 0.35);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
}

.footer-brand-desc {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.9rem;
}

/* Social Icon Pills */
.footer-social-pill {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-pill:hover {
    background: #dfa82c;
    color: #0c3468;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(223, 168, 44, 0.4);
}

/* Card Headings */
.footer-card-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navigation Pills */
.footer-nav-pill {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 16px;
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    font-size: 0.92rem;
    font-weight: 600;
}

.footer-nav-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateX(-4px);
}

/* Contact Details */
.footer-contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-contact-icon-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.footer-contact-icon-box.icon-location {
    background: #198754 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.footer-contact-icon-box.icon-location i {
    color: #ffffff !important;
}
.footer-contact-icon-box.icon-phone {
    background: #ffc107 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.footer-contact-icon-box.icon-phone i {
    color: #1b1e26 !important;
}
.footer-contact-icon-box.icon-email {
    background: #0dcaf0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.footer-contact-icon-box.icon-email i {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Online Live Visitors & Daily Visitors in Footer */
.footer-contact-icon-box.icon-online-live {
    background: linear-gradient(135deg, #0e8549 0%, #00b4d8 100%) !important;
    border: 1px solid rgba(0, 230, 118, 0.35) !important;
    box-shadow: 0 4px 14px rgba(14, 133, 73, 0.3) !important;
}
.footer-contact-icon-box.icon-online-live i {
    color: #ffffff !important;
}

.footer-contact-icon-box.icon-today-visitors {
    background: linear-gradient(135deg, #0c3468 0%, #dfa82c 100%) !important;
    border: 1px solid rgba(223, 168, 44, 0.35) !important;
    box-shadow: 0 4px 14px rgba(223, 168, 44, 0.25) !important;
}
.footer-contact-icon-box.icon-today-visitors i {
    color: #ffffff !important;
}

.live-pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.8);
    animation: livePulseDot 1.8s infinite;
}

@keyframes livePulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.85);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 6px rgba(0, 230, 118, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

.footer-contact-text {
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.4;
    display: block;
}

.footer-call-btn {
    border-color: rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.04);
}
.footer-call-btn:hover {
    background: #dfa82c;
    border-color: #dfa82c;
    color: #0c3468;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(223, 168, 44, 0.35);
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hover-text-gold:hover {
    color: #dfa82c !important;
}

.hover-white:hover {
    color: #ffffff !important;
}

.alr-push-consent-card {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99999999;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(14, 165, 233, 0.25);
    animation: slideInPushCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    direction: inherit;
}
@keyframes slideInPushCard {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.push-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
    animation: bellRing 3s ease infinite;
}
@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(14deg); }
    20%, 40% { transform: rotate(-14deg); }
    50% { transform: rotate(0); }
}
.push-card-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}
.push-card-desc {
    color: #cbd5e1;
    font-size: 0.84rem;
    line-height: 1.5;
}
@media (max-width: 576px) {
    .alr-push-consent-card {
        right: 15px;
        left: 15px;
        max-width: none;
        top: 15px;
    }
}
.alr-inapp-toast {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 999999999;
    max-width: 420px;
    width: calc(100% - 50px);
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 35px rgba(245, 158, 11, 0.25);
    cursor: pointer;
    animation: bounceInToast 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    direction: inherit;
}
@keyframes bounceInToast {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pwa-network-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pwaSlideUp 0.4s ease-out;
}
@keyframes pwaSlideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.pwa-network-banner.offline {
    background: #082142;
    color: #dfa82c;
    border: 1.5px solid rgba(223, 168, 44, 0.65);
}
.pwa-network-banner.online {
    background: #0e8549;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.pwa-network-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

