﻿/* ============ Footer: Exit Popup + Cookie Consent ============ */
    #exit-popup-modal {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000005; /* Highest level */
        background: rgba(15, 23, 42, 0.8);
        backdrop-filter: blur(8px);
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    #exit-popup-modal.active {
        display: flex;
        opacity: 1;
    }
    
    .exit-popup-content {
        background: #fff;
        width: 90%;
        max-width: 500px;
        padding: 0;
        border-radius: 20px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        position: relative;
        transform: scale(0.9);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
    }
    
    #exit-popup-modal.active .exit-popup-content {
        transform: scale(1);
    }
    
    .dark .exit-popup-content {
        background: #1e293b;
        color: white;
    }
    
    .exit-header {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        padding: 2rem 2rem 1.5rem;
        text-align: center;
        color: white;
    }
    
    .exit-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255,255,255,0.2);
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s;
        border: none;
        font-size: 18px;
    }
    
    .exit-close:hover {
        background: rgba(255,255,255,0.4);
    }
    
    .exit-body {
        padding: 2rem;
        text-align: center;
    }
    
    .exit-btn {
        display: inline-block;
        width: 100%;
        padding: 12px;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: white;
        font-weight: 700;
        border-radius: 10px;
        text-decoration: none;
        transition: transform 0.2s, box-shadow 0.2s;
        border: none;
        cursor: pointer;
        font-size: 1.1rem;
    }
    
    .exit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
    }
    
    .exit-link-secondary {
        display: block;
        margin-top: 1rem;
        color: #64748b;
        font-size: 0.9rem;
        text-decoration: none;
    }
    
    .dark .exit-link-secondary {
        color: #94a3b8;
    }
    
    .exit-link-secondary:hover {
        text-decoration: underline;
    }
    
    /* Cookie Consent Banner */
    #cookie-consent {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        padding: 1rem 1.5rem;
        z-index: 999999;
        transition: bottom 0.5s ease-in-out;
        border-top: 1px solid #e2e8f0;
    }
    .dark #cookie-consent {
        background: #1e293b;
        border-color: #334155;
        color: #e2e8f0;
    }
    #cookie-consent.show {
        bottom: 0;
    }

/* ============ Chatbot Styles ============ */
#chatbot-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-inter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.quick-action-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-action-btn:active {
    transform: translateY(0);
}

#chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #94a3b8, #64748b);
}

#chat-window {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#chat-window:not(.hidden) {
    animation: slideUp 0.3s ease-out;
}

/* ============ WhatsApp Float ============ */
  .wa-float{position:fixed;top:calc(50% - 28px);right:24px;z-index:1000000;cursor:move;-webkit-user-select:none;user-select:none;touch-action:none}
  .wa-btn{width:56px;height:56px;border-radius:9999px;background:linear-gradient(135deg,#22c55e,#16a34a);border:2px solid #ffffff;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 20px rgba(0,0,0,.15);transition:transform .2s ease, box-shadow .2s ease}
  .wa-btn:hover{transform:translateY(-2px);box-shadow:0 14px 24px rgba(0,0,0,.2)}
  .wa-icon{width:28px;height:28px;fill:#fff}
  @media (max-width:480px){
    .wa-float{top:calc(50% - 28px);right:16px}
  }

/* ============ Breadcrumbs ============ */
.breadcrumb-nav {
    display: none !important; /* Hidden visually — JSON-LD schema still active for SEO */
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}
.breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.25rem 0;
}
.breadcrumb-item a:hover {
    color: #2563eb;
}
.breadcrumb-home-icon {
    flex-shrink: 0;
}
.breadcrumb-current span {
    color: #1e293b;
    font-weight: 600;
}
.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    margin: 0 0.35rem;
    list-style: none;
}
@media (max-width: 640px) {
    .breadcrumb-list {
        font-size: 0.78rem;
    }
    .breadcrumb-separator {
        margin: 0 0.2rem;
    }
}
