/* ==========================================================================
   FOOTER SECTION (Mobile-First, Centered, SaaS Styled)
   ========================================================================== */

.dwu-footer {
    background-color: var(--dark-navy);
    color: #f8fafc;
    padding: 5rem 0 2rem 0;
    margin-top: 4rem; 
    border-top: 4px solid var(--primary-blue); 
    text-align: center; /* 📱 Mobile First: Everything Centered */
}

.dwu-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

/* --- Column Styling (Mobile First Center) --- */
.dwu-footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.dwu-footer-brand span {
    color: var(--primary-blue);
}

.dwu-footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center; /* Center underline on mobile */
}

.dwu-footer-col h4::after {
    content: '';
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
    margin-top: 8px;
}

.dwu-footer-col p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* --- Premium Social Media Icons --- */
.dwu-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1.5rem;
}

.dwu-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dwu-social-icons a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* --- Lists and Links --- */
.dwu-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center lists on mobile */
}

.dwu-footer-col ul li {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    display: flex;
    align-items: center; /* Center list items on mobile */
    justify-content: center;
    gap: 12px;
    line-height: 1.6;
}

.dwu-footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dwu-footer-col ul li a:hover {
    color: var(--primary-blue);
}

/* --- Tablet & Desktop Overrides (Left Aligned) --- */
@media (min-width: 768px) {
    .dwu-footer {
        text-align: left; /* 💻 Desktop: Left Aligned */
    }
    
    .dwu-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dwu-footer-col h4 {
        align-items: flex-start; /* Left align underline */
    }
    
    .dwu-footer-col ul {
        align-items: flex-start;
    }
    
    .dwu-footer-col ul li {
        justify-content: flex-start; /* Left align list content */
    }
    
    .dwu-social-icons {
        justify-content: flex-start; /* Left align social icons */
    }
    
    /* Hover padding effect only on desktop */
    .dwu-footer-col ul li a:hover {
        padding-left: 6px; 
    }
}

@media (min-width: 1024px) {
    .dwu-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* --- Footer Bottom (Copyright) --- */
.dwu-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center; /* Always centered */
}

.dwu-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* ==========================================================================
   DEVELOPER CREDIT & LIVE BLINKING INDICATOR
   ========================================================================== */

.dwu-developer-credit {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dwu-developer-credit a {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.dwu-developer-credit a:hover {
    color: var(--primary-blue);
}

/* The Core Light */
.dwu-live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    margin-bottom: 2px;
}

/* The Pulsing Ring */
.dwu-live-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background-color: transparent;
    border: 2px solid #22c55e;
    border-radius: 50%;
    animation: dwu-pulse 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dwu-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}




/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Global)
   ========================================================================== */

.dwu-floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Official WA Green */
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999; /* Ensures it stays on top of everything */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: dwu-wa-bounce 2.5s infinite;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .dwu-floating-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

.dwu-floating-wa:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    background-color: #1ebc59;
    animation: none; /* Stop the bounce when user hovers */
}

.dwu-floating-wa svg {
    transition: transform 0.3s ease;
}

.dwu-floating-wa:hover svg {
    transform: scale(1.1) rotate(-10deg);
}

/* Custom Bounce Animation for Attention */
@keyframes dwu-wa-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}