:root {
    --novacore-black: #000000;
    --novacore-dark: #0a0a0a;
    --novacore-dark-gray: #1a1a1a;
    --novacore-gray: #2d2d2d;
    --novacore-light-gray: #404040;
    --novacore-lighter-gray: #666666;
    --novacore-white: #ffffff;
    --novacore-accent: #505050;
    --novacore-glow: rgba(255, 255, 255, 0.1);
    
    --novacore-gradient: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    --novacore-gradient-glass: linear-gradient(135deg, rgba(42, 42, 42, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    --novacore-gradient-reverse: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.05);
    --shadow-intense: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    min-height: 100vh;
}

/* Chat Toggle Button - Futuristic Floating Orb */
#chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--novacore-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#chat-toggle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #404040, #666666, #404040);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#chat-toggle:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

#chat-toggle:hover::before {
    opacity: 1;
}

/* Chatbot Container - Glass Morphism */
#chatbot {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 420px;
    max-width: 90vw;
    height: 550px;
    max-height: 70vh;
    background: var(--novacore-gradient-glass);
    border-radius: 20px;
    box-shadow: 
        var(--shadow-intense),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    animation: slideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@keyframes slideUp {
    from { 
        transform: translateY(30px) scale(0.95); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

/* Chat Header - Sleek and Modern */
.chat-header {
    background: var(--novacore-gradient);
    color: white;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.chat-header h3 {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.chat-header button:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

/* Chat Body - Futuristic Scroll */
#chat-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--novacore-light-gray) transparent;
}

#chat-body::-webkit-scrollbar {
    width: 6px;
}

#chat-body::-webkit-scrollbar-track {
    background: transparent;
}

#chat-body::-webkit-scrollbar-thumb {
    background: var(--novacore-light-gray);
    border-radius: 3px;
}

#chat-body::-webkit-scrollbar-thumb:hover {
    background: var(--novacore-lighter-gray);
}

/* Messages - Enhanced with Depth */
.msg {
    display: flex;
    align-items: flex-end;
    max-width: 85%;
    animation: messageSlide 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes messageSlide {
    from { 
        opacity: 0; 
        transform: translateY(15px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.bot-msg {
    align-self: flex-start;
}

.user-msg {
    align-self: flex-end;
}

/* UPDATED: Avatar using Font Awesome Icons */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    background: var(--novacore-gradient);
    color: white;
    font-size: 18px;
}

.avatar:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.bot-msg .avatar {
    background: linear-gradient(135deg, #666, #404040);
}

.user-msg .avatar {
    background: linear-gradient(135deg, #404040, #2d2d2d);
}

.text {
    padding: 16px 20px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 14px;
    word-break: break-word;
    position: relative;
    transition: all 0.3s ease;
}

.bot-msg .text {
    background: rgba(42, 42, 42, 0.8);
    color: rgba(255, 255, 255, 0.9);
    border-bottom-left-radius: 6px;
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.user-msg .text {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    border-bottom-right-radius: 6px;
    box-shadow: 
        var(--shadow-soft),
        0 0 20px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Typing Indicator - Futuristic Pulse */
.typing {
    display: flex;
    align-items: center;
}

.typing .text {
    background: rgba(42, 42, 42, 0.8);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    gap: 6px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.typing-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--novacore-lighter-gray);
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
    box-shadow: 0 0 10px currentColor;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
    color: #666;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
    color: #888;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
    color: #aaa;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(0.8); 
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2); 
        opacity: 1;
    }
}

/* Chat Input - Futuristic Glass */
.chat-input {
    display: flex;
    padding: 20px;
    background: rgba(26, 26, 26, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
}

.chat-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.chat-input input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(42, 42, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chat-input input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.1);
    background: rgba(50, 50, 50, 0.8);
}

.chat-input button {
    background: var(--novacore-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-left: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        var(--shadow-soft),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.chat-input button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.chat-input button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        var(--shadow-glow),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.chat-input button:hover::before {
    left: 100%;
}

/* Quick Replies - Futuristic Chips */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 20px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
}

.quick-reply {
    background: rgba(42, 42, 42, 0.8);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.quick-reply::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-reply:hover {
    background: rgba(60, 60, 60, 0.9);
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-glow),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.quick-reply:hover::before {
    left: 100%;
}

/* Enhanced Services Display - Futuristic Cards */
.services-display {
    margin-top: 12px;
}

.service-card {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-intense),
        0 0 30px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--novacore-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 16px;
    font-size: 18px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-name {
    font-weight: 600;
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.service-price {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    border-left: 4px solid var(--novacore-lighter-gray);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-price {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
}

/* Enhanced Team Display */
.team-display {
    margin-top: 12px;
}

.team-member-card {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.team-member-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        var(--shadow-intense),
        0 0 20px rgba(255, 255, 255, 0.05);
}

.member-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--novacore-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 16px;
    font-size: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.team-member-card:hover .member-avatar {
    transform: scale(1.1);
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 600;
    color: white;
    font-size: 15px;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.member-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
}

.member-details {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.5;
    padding-left: 60px;
}

/* Enhanced Contact Display */
.contact-display {
    margin-top: 12px;
}

.contact-info {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--novacore-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 16px;
    font-size: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-details {
    flex: 1;
}

.contact-type {
    font-weight: 600;
    color: white;
    font-size: 14px;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-value {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Contact Buttons - Futuristic Action Buttons */
.contact-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.contact-btn {
    flex: 1;
    background: rgba(42, 42, 42, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 0;
    font-weight: 600;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-glow),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: rgba(37, 211, 102, 0.3);
}

.contact-btn.whatsapp:hover {
    background: linear-gradient(135deg, #34b7f1, #128C7E);
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.3),
        var(--shadow-glow);
}

.contact-btn.email {
    background: linear-gradient(135deg, #666, #404040);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-btn.email:hover {
    background: linear-gradient(135deg, #777, #505050);
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.1),
        var(--shadow-glow);
}

/* Clear Button */
#clear-chat {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
    padding: 8px;
    border-radius: 8px;
}

#clear-chat:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 500px) {
    #chatbot {
        width: 95vw;
        right: 2.5vw;
        bottom: 100px;
        height: 70vh;
        border-radius: 20px;
    }
    
    #chat-toggle {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-btn {
        padding: 16px 12px;
    }
    
    .member-details {
        padding-left: 0;
        margin-top: 8px;
    }
    
    .chat-header {
        padding: 16px 20px;
    }
    
    #chat-body {
        padding: 20px;
    }
}

/* Additional Futuristic Elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Glass morphism enhancement */
.glass {
    background: rgba(42, 42, 42, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}