﻿.site-footer {
    background: #222;
    color: #ddd;
    margin-top: 2px;
    font-size: 14px;
}

.footer-container {
    max-width: 95%;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .footer-column ul li {
        margin-bottom: 8px;
        text-align: left;
    }

.footer-column a {
    color: #ddd;
    text-decoration: none;
    text-align: left;
}

    .footer-column a:hover {
        color: #25D366;
        text-decoration: underline;
        text-align: left;
    }

.footer-bottom {
    text-align: center;
    padding: 15px 10px;
    background: #111;
    color: #aaa;
    font-size: 13px;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }
}

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0,0,0,.3) ;
    z-index: 99999 !important;
    pointer-events: auto !important;
}
/* ============================================================
   ALWAYS-ANIMATED DIGITAL VISITOR COUNTER
   ============================================================ */

/* Main Container - Ensuring it fits your footer bottom bar */
.footer-bottom-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 20px;
}

.digital-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Label Styling */
.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- THE ODOMETER BOX (ALWAYS ANIMATED) --- */
.digital-odometer {
    background: #000;
    color: #00d2ff; /* Professional Cyan */
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 210, 255, 0.5);
    position: relative;
    overflow: hidden;
    display: inline-block;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
    /* 1. Constant Breathing Glow Animation */
    animation: neonPulse 3s infinite ease-in-out;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 210, 255, 0.3), inset 0 0 5px rgba(0, 210, 255, 0.2);
        border-color: rgba(0, 210, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 15px rgba(0, 210, 255, 0.6), inset 0 0 10px rgba(0, 210, 255, 0.4);
        border-color: rgba(0, 210, 255, 1);
    }
}

/* 2. Constant Shimmer/Scanline (Moving Light Streak) */
.digital-odometer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100% );
    transform: rotate(25deg);
    /* Keeps the light moving forever */
    animation: constantLight 4s infinite linear;
}

@keyframes constantLight {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }

    100% {
        transform: translateX(450%) rotate(25deg);
    }
}

/* --- LIVE STATUS BADGE --- */
.online-badge {
    background: rgba(37, 211, 102, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .online-badge .stat-value {
        color: #25D366; /* Matching your WhatsApp green */
        font-weight: bold;
    }

/* Constant Pulsing Dot */
.pulse-dot {
    height: 10px;
    width: 10px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px;
    }

    .digital-stats {
        flex-direction: column !important;
        gap: 20px;
        align-items: center !important;
        width: 100%;
    }

    /* Force all groups to center content */
    .stat-group {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: auto;
    }

        /* Special handling for the Online Badge to keep dot and text aligned */
        .stat-group.online-badge {
            flex-direction: row !important; /* Keep dot next to text */
            padding: 8px 15px;
            width: fit-content;
        }

    .digital-odometer {
        font-size: 16px;
        padding: 4px 10px;
        margin-top: 5px; /* Adds space between label and numbers */
    }

    .footer-column {
        text-align: center !important;
    }

        .footer-column ul,
        .footer-column ul li,
        .footer-column a {
            text-align: center !important;
        }
}

/* 2. Desktop-specific fix for the footer text */
@media screen and (min-width: 1024px) {
    .footer-bottom-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* This is the magic part: it stops the stats from hitting the right edge */
        padding-right: 150px !important;
        box-sizing: border-box;
    }

    .digital-stats {
        /* Forces the stats to stay together and away from the corner */
        display: flex;
        gap: 20px;
    }
}

/* 1. Default for Desktop (Align to the left/column) */
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Aligns with the 'Contact Us' text */
    gap: 12px;
    margin-top: 15px;
}

/* 2. Responsive fix for Mobile (Align to center) */
@media (max-width: 768px) {
    .footer-social-links {
        justify-content: center; /* Centers icons on small screens */
        margin-bottom: 20px; /* Adds space at the bottom of mobile view */
    }
} 
    .footer-social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: #fff;
        font-size: 18px;
        transition: all 0.3s ease;
        text-decoration: none;
        /* Remove any margins here; 'gap' in the parent handles it better */
    }
        /* Brand Colors on Hover */
        .footer-social-links a[title="WhatsApp"]:hover {
            background-color: #25D366;
            transform: scale(1.1);
        }

        .footer-social-links a[title="Facebook"]:hover {
            background-color: #1877F2;
            transform: scale(1.1);
        }

        .footer-social-links a[title="Instagram"]:hover {
            background-color: #E4405F;
            transform: scale(1.1);
        }

        .footer-social-links a[title="LinkedIn"]:hover {
            background-color: #0077B5;
            transform: scale(1.1);
        }

        .footer-social-links a[title="Twitter"]:hover {
            background-color: #000000;
            transform: scale(1.1);
        }