/* Updated css/style.css */

/* Theme colors */
:root {
    --blue: #003366;
    --green: #008000;
    --white: #fff;
    --light-blue: #add8e6;
    --primary: #067BCF;
    --primary-light: #1E90FF;
    --accent: #90D5FF;
    --light: #79BAEC;
}

/* General */
body {
    font-family: 'Maven Pro', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--blue);
}
a { text-decoration: none; color: inherit; }

/* ====================== FOOTER ====================== */
.footer {
    background: #111111;           /* Pure Black */
    padding: 80px 5% 40px;
    color: #ddd;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-col p, .footer-col a {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #1E90FF;
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #aaa;
}

/* ====================== NEXA CHATBOT ====================== */
.nexa-float {
    position: fixed;
    bottom: 110px;
    right: 28px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1E90FF, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.45);
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s ease;
    animation: nexaPulse 3s infinite ease-in-out;
}

.nexa-float:hover {
    transform: scale(1.18) rotate(12deg);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.6);
}

.nexa-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid white;
}

    /* Nexa Chat Interface */
    .nexa-chat-modal {
        display: none;
        position: fixed;
        bottom: 100px;
        right: 28px;
        width: 380px;
        height: 520px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.25);
        overflow: hidden;
        z-index: 10000;
        flex-direction: column;
    }

    .chat-header {
        background: linear-gradient(135deg, #4f46e5, #6366f1);
        color: white;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .chat-header .chat-avatar img {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,0.6);
    }

    .chat-header h3 { margin: 0; font-size: 1.25rem; }
    .chat-header p { margin: 0; font-size: 0.9rem; opacity: 0.9; }

    .close-chat {
        margin-left: auto;
        font-size: 28px;
        cursor: pointer;
        line-height: 1;
    }

    .chat-body {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        background: #f8fafc;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .message {
        display: flex;
        gap: 10px;
        max-width: 80%;
    }

    .message.bot { align-self: flex-start; }
    .message.user { align-self: flex-end; flex-direction: row-reverse; }

    .message .bot-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .message-content {
        background: white;
        padding: 12px 16px;
        border-radius: 18px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        font-size: 15px;
        line-height: 1.5;
    }

    .message.user .message-content {
        background: #4f46e5;
        color: white;
        border-bottom-right-radius: 4px;
    }

    .chat-input-area {
        padding: 15px;
        background: white;
        border-top: 1px solid #eee;
        display: flex;
        gap: 10px;
    }

    #chatInput {
        flex: 1;
        padding: 14px 18px;
        border: 1px solid #ddd;
        border-radius: 30px;
        font-family: 'Maven Pro', sans-serif;
    }

    #sendBtn {
        background: #4f46e5;
        color: white;
        width: 48px;
        height: 48px;
        border: none;
        border-radius: 50%;
        cursor: pointer;
    }

@keyframes nexaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ====================== WHATSAPP (Unchanged) ====================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.28);
    animation: modalPop 0.4s ease-out;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    background: linear-gradient(135deg, #075e54, #128c7e);
    color: white;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.modal-header ion-icon { font-size: 2.4rem; }

.modal-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.close {
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.close:hover {
    color: #ff6b6b;
    transform: rotate(90deg);
}

.modal-content > p {
    padding: 20px 24px 12px;
    font-size: 0.98rem;
    color: #444;
    margin: 0;
}

.service-list {
    padding: 0 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-btn {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdf4, #e6f9ed);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    font-size: 1rem;
    color: #006600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0,128,0,0.06);
    font-family: Maven Pro;
}

.service-btn:hover {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-color: #4ade80;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,128,0,0.12);
}

.service-btn ion-icon {
    font-size: 1.8rem;
    color: #25d366;
}

.powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: #f8f9fa;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #eee;
}

.cks-logo {
    height: 22px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .modal-content {
        max-width: 340px;
        padding: 0;
    }
    .modal-header {
        padding: 16px 20px;
    }
    .service-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}