/* ============================================================
   SSV EXIM — FLOATING WIDGETS
   1. WhatsApp Button (bottom-left)
   2. Mobile Bottom Navigation Bar
   ============================================================ */

/* ── 1. WHATSAPP FLOATING BUTTON ─────────────────────────────────────────── */
.ssv_whatsapp_btn {
    position: fixed;
    bottom: 28px;
    left: 22px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    animation: wa_bounce 2.5s ease-in-out infinite;
}

/* Icon circle */
.ssv_whatsapp_btn .wa_icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.ssv_whatsapp_btn .wa_icon i {
    font-size: 28px;
    color: #fff;
    line-height: 1;
}

/* Pulse ring */
.ssv_whatsapp_btn .wa_icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.25);
    animation: wa_pulse 2s ease-out infinite;
}

/* Tooltip label */
.ssv_whatsapp_btn .wa_label {
    background: #25D366;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0 20px 20px 0;
    margin-left: -4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 2px 4px 12px rgba(0,0,0,0.15);
}

.ssv_whatsapp_btn:hover .wa_label {
    opacity: 1;
    transform: translateX(0);
}

.ssv_whatsapp_btn:hover .wa_icon {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

@keyframes wa_pulse {
    0%   { transform: scale(1); opacity: 0.7; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes wa_bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* On mobile — move up so it doesn't overlap bottom nav bar */
@media (max-width: 991px) {
    .ssv_whatsapp_btn {
        bottom: 76px;
        left: 14px;
    }
    .ssv_whatsapp_btn .wa_icon {
        width: 50px;
        height: 50px;
    }
    .ssv_whatsapp_btn .wa_icon i {
        font-size: 24px;
    }
    .ssv_whatsapp_btn .wa_label {
        display: none; /* hide label on mobile — icon only */
    }
}

/* ── 2. MOBILE BOTTOM NAVIGATION BAR ────────────────────────────────────── */
.ssv_bottom_nav {
    display: none; /* hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1.5px solid #e8e8e8;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
    z-index: 8500;
}

.ssv_bottom_nav ul {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.ssv_bottom_nav ul li {
    flex: 1;
    display: flex;
}

.ssv_bottom_nav ul li a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
    gap: 4px;
    transition: color 0.2s;
    padding: 6px 2px 4px;
    position: relative;
}

.ssv_bottom_nav ul li a i {
    font-size: 22px;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.ssv_bottom_nav ul li a span {
    font-size: 9.5px;
    line-height: 1;
}

/* Active/hover state */
.ssv_bottom_nav ul li a:hover,
.ssv_bottom_nav ul li a.active {
    color: #1B5E20;
}

.ssv_bottom_nav ul li a.active i {
    transform: translateY(-2px);
}

/* Active indicator dot */
.ssv_bottom_nav ul li a.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: #1B5E20;
    border-radius: 0 0 3px 3px;
}

/* Centre CTA — Enquiry button (highlighted) */
.ssv_bottom_nav ul li.bnav_cta a {
    color: #fff;
    background: #1B5E20;
    border-radius: 16px 16px 0 0;
    margin: 0 3px;
    padding: 5px 4px 6px;
}

.ssv_bottom_nav ul li.bnav_cta a i {
    font-size: 24px;
    color: #D4AF37;
}

.ssv_bottom_nav ul li.bnav_cta a span {
    font-size: 9px;
    color: #fff;
}

.ssv_bottom_nav ul li.bnav_cta a:hover {
    background: #D4AF37;
    color: #1a3b1a;
}

.ssv_bottom_nav ul li.bnav_cta a:hover i {
    color: #1a3b1a;
}

.ssv_bottom_nav ul li.bnav_cta a::after {
    display: none; /* no indicator for CTA */
}

/* Show only on mobile */
@media (max-width: 991px) {
    .ssv_bottom_nav {
        display: block;
    }
    /* Push page content up so bottom nav doesn't hide footer */
    body {
        padding-bottom: 62px !important;
    }
}
