:root {
    /* Primary Palette */
    --primary-orange: #f46b45;
    --primary-red: #eea849;
    --primary-purple: #8e2de2;
    --primary-purple-light: #4a00e0;
    --primary-pink: #f20089;
    
    /* Neutrals */
    --bg-light: #F8FAFC;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --white: #FFFFFF;
    --border-color: #e5e7eb;
    
    /* Gradients */
    --grad-orange-red: linear-gradient(to right, #f27121, #e94057, #8a2387); /* Approximate */
    --grad-purple-pink: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    --grad-orange: linear-gradient(to right, #f12711, #f5af19);
    --grad-purple: linear-gradient(to right, #8e2de2, #4a00e0);
    --grad-orange-pink: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    --grad-purple-blue: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    --grad-blue-cyan: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    
    /* Shadows & Glass */
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    /* Fonts */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

/* Utilities */
.text-primary-gradient {
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-secondary-gradient {
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-purple { color: #8e2de2 !important; }
.text-orange { color: #f12711 !important; }
.bg-light-purple { background-color: #f3e8ff !important; }
.bg-light-orange { background-color: #fff3e0 !important; }

/* Buttons */
.btn-gradient-orange {
    background: var(--grad-orange);
    color: var(--white);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-gradient-orange:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(241, 39, 17, 0.3);
}

.btn-gradient-purple {
    background: var(--grad-purple);
    color: var(--white);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-gradient-purple:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(142, 45, 226, 0.3);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Services Row */
.services-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: none; /* Firefox */
}
.services-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.service-card {
    min-width: 130px;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.service-icon-bg {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.service-icon-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}
.service-icon-bg img {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Portfolio Tabs */
.portfolio-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.portfolio-tab {
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: var(--text-dark);
    transition: all 0.3s ease;
}
.portfolio-tab.active {
    background: #8e2de2;
    color: #fff;
    border-color: #8e2de2;
}

/* Portfolio Cards */
.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 250px;
}
.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.portfolio-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    font-size: 0.8rem;
}

.btn-gradient {
    background: var(--grad-orange-pink);
    color: var(--white);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-gradient:hover {
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.3);
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}
.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease;
    opacity: 0.5;
}


/* Navigation */
.premium-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.premium-nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--grad-orange-pink);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero-heading {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.particles-js {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* 3D Composition Placeholder */
.hero-3d-composition {
    position: relative;
    height: 600px;
    perspective: 1000px;
}
.floating-element {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-blue);
    border: 1px solid rgba(0,0,0,0.05);
}
.el-1 { width: 250px; height: 350px; top: 10%; left: 10%; animation: float 6s ease-in-out infinite; background: linear-gradient(135deg, #fff, #f0f0f0); }
.el-2 { width: 200px; height: 150px; top: 50%; right: 10%; animation: float 5s ease-in-out infinite reverse; background: var(--grad-blue-cyan); color: white; }
.el-3 { width: 150px; height: 150px; bottom: 10%; left: 30%; animation: float 7s ease-in-out infinite; border-radius: 50%; background: var(--grad-orange-pink); color: white; }

/* Sections */
.section-padding { padding: 100px 0; }
.section-title { font-size: 3rem; margin-bottom: 1.5rem; }

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px; right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}
.float-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: white; font-size: 1.2rem;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
    text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); color: white; }
.whatsapp-btn { background: #25D366; }
.call-btn { background: var(--primary-blue); }
.back-to-top { background: var(--text-dark); display: none; }

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-heading { font-size: 3rem; }
    .hero-section { height: auto; padding: 120px 0 60px; }
    .hero-3d-composition { height: 400px; margin-top: 40px; }
}

/* Dashboard Grid Classes */
.dashboard-card {
    border-radius: 20px !important;
}

.list-tick li {
    font-size: 0.85rem;
    color: #4b5563;
}

.timeline-step {
    position: relative;
    z-index: 2;
    flex: 1;
}

.industry-item {
    padding: 8px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.industry-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.industry-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background-color: rgba(0,0,0,0.03); /* Fallback */
}

.test-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
}
.test-nav-btn:hover {
    background: #f1f5f9;
}

.logo-track {
    width: max-content;
}

@keyframes scrollLogo {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.play-btn-pulse {
    position: relative;
}
.play-btn-pulse::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    opacity: 0.5;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Chatbot Styles */
.chatbot-toggle-btn {
    background: linear-gradient(135deg, #8e2de2, #4a00e0) !important;
    color: white !important;
    animation: bounce 2s infinite;
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chatbot-header {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    padding: 1rem 1.5rem;
    color: white;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg.user-msg {
    align-self: flex-end;
}

.chat-msg.bot-msg {
    align-self: flex-start;
}

.msg-bubble {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.user-msg .msg-bubble {
    background: #8e2de2;
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.bot-msg .msg-bubble {
    background: white;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.chatbot-input {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.chatbot-input .form-control {
    padding: 0.75rem 1.25rem;
}

.chatbot-input .form-control:focus {
    box-shadow: none;
    border: 1px solid #8e2de2 !important;
}

.send-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8e2de2;
    border: none;
}
.send-btn:hover {
    background: #7322b7;
}

.typing-indicator {
    display: inline-flex;
    gap: 4px;
    padding: 10px 15px;
    background: white;
    border-radius: 20px;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    border: 1px solid #e5e7eb;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 576px) {
    .chatbot-window {
        width: 100%;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        z-index: 1050;
    }
}

/* Modern Timeline Process Steps */
.process-step-hover:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateX(5px);
    z-index: 2;
}
.process-step-hover:hover .process-icon-wrapper {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(142, 45, 226, 0.2) !important;
}
.process-icon-wrapper {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Why Choose Us Modern UI */
.why-choose-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}
.cta-btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.2) !important;
    background: #000000 !important;
}
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}
.animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Modern Header UI */
.hover-white:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}
.modern-nav-link {
    position: relative;
    transition: all 0.3s ease;
}
.modern-nav-link:hover {
    color: #22c55e !important;
    background-color: rgba(34, 197, 94, 0.05);
    border-radius: 50px;
}
.header-container {
    pointer-events: none;
}
.header-container > nav {
    pointer-events: auto;
}

/* Modern Footer UI */
.transition-all {
    transition: all 0.3s ease !important;
}
.hover-bg-success:hover {
    background-color: #22c55e !important;
    border-color: #22c55e !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}
