/* ========================================
   FILE UPLOAD BUTTON STYLES
   Add these styles to your style.css file
   ======================================== */

/* Control buttons for main chat */
.control-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
    color: white;
}

.control-btn:nth-of-type(1) {
    background: #f59e0b; /* Upload button - Amber */
}

.control-btn:nth-of-type(1):hover {
    background: #d97706;
    transform: scale(1.05);
}

.control-btn:nth-of-type(2) {
    background: #10b981; /* Voice button - Green */
}

.control-btn:nth-of-type(2):hover {
    background: #059669;
    transform: scale(1.05);
}

/* Control buttons for floating chat */
.float-control-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 18px;
}

.float-control-btn:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

.float-control-btn:active {
    transform: scale(0.95);
}

/* File upload animation */
@keyframes uploadPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.control-btn.uploading,
.float-control-btn.uploading {
    animation: uploadPulse 1s infinite;
    background: #3b82f6 !important;
}

/* File upload notification badge */
.upload-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Updated chat input wrapper to accommodate new buttons */
.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8fafc;
    padding: 12px;
    border-radius: 12px;
}

/* Update send button to match other buttons */
.send-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Floating chat input layout */
.chat-float-input {
    padding: 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-float-input input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-float-input button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-float-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* File input hidden */
input[type="file"] {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .control-btn,
    .send-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .chat-input-wrapper {
        gap: 8px;
        padding: 10px;
    }
}

/* Floating Chat Button */
.chat-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    z-index: 9999;
    font-size: 24px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.chat-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

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

/* Floating Chat Box */
.chat-float-box {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-float-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.chat-float-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
}

.chat-float-messages .msg {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 80%;
    word-wrap: break-word;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-float-messages .msg.bot {
    background: white;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    align-self: flex-start;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat-float-messages .msg.user {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-left: auto;
    text-align: right;
}

.chat-float-input {
    padding: 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
}

.chat-float-input input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-float-input input:focus {
    border-color: #667eea;
}

.chat-float-input button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-float-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Main Chat Section Improvements */
.chat-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.chat-messages {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 20px;
}

.chat-messages .message {
    margin-bottom: 16px;
    animation: messageSlide 0.3s ease;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8fafc;
    padding: 12px;
    border-radius: 12px;
}

.chat-input-field {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    background: white;
    transition: all 0.2s;
}

.chat-input-field:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.upload-btn,
.send-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
}

.upload-btn {
    background: #10b981;
    color: white;
}

.upload-btn:hover {
    background: #059669;
    transform: scale(1.05);
}

.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Upload Area */
.upload-area {
    display: none;
    flex-direction: column;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 20px;
}

.upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-box:hover {
    border-color: #667eea;
    background: #f1f5f9;
}

.upload-box input[type="file"] {
    display: none;
}

.file-list {
    margin-top: 16px;
}

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar,
.chat-float-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track,
.chat-float-messages::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb,
.chat-float-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.chat-float-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-float-box {
        width: calc(100vw - 40px);
        height: calc(100vh - 100px);
        bottom: 20px;
        right: 20px;
    }
    
    .chat-float-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}

/* Typing Indicator Animation */
@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Voice Recording Animation */
.upload-btn.recording {
    background: #ef4444 !important;
    animation: recording-pulse 1s infinite;
}

@keyframes recording-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    }
}
       
       
       /* Modern CSS Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Dark Theme Colors */
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --bg-tertiary: #334155;
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --text-muted: #64748b;
            --accent-blue: #3b82f6;
            --accent-indigo: #6366f1;
            --accent-green: #10b981;
            --accent-purple: #8b5cf6;
            --accent-amber: #f59e0b;
            --accent-red: #ef4444;
            
            /* Light Theme Colors */
            --light-bg: #ffffff;
            --light-text: #1e293b;
            --light-border: #e2e8f0;
            
            /* Gradients */
            --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
            --gradient-dark: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
            --gradient-light: linear-gradient(135deg, #f8fafc, #e2e8f0);
            --gradient-cyber: linear-gradient(135deg, #0ea5e9, #6366f1, #8b5cf6);
            
            /* Shadows */
            --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.2);
            --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.3);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--gradient-dark);
            overflow-x: hidden;
            position: relative;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
            z-index: -1;
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        h1 { font-size: 3.5rem; }
        h2 { font-size: 2.5rem; }
        h3 { font-size: 2rem;
        color: #0f172a; }
        h4 { font-size: 1.5rem; }

        p {
            margin-bottom: 1rem;
          color: #2e3a4e;
        }

        /* Utility Classes */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section {
            padding: 5rem 0;
            position: relative;
        }

        .text-center { text-align: center; }
        .text-gradient {
            background: var(--gradient-cyber);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 3rem;
        }

        .section-header h2 {
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.2rem;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 0.5rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: var(--shadow-sm);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }

        .btn-outline {
            background: transparent;
            
            border: 2px solid var(--bg-tertiary);
        }

        .btn-outline:hover {
            background: var(--bg-tertiary);
            border-color: var(--accent-blue);
        }

     .btn-light {
    background: var(--light-bg);
    color: var(--light-text);
    border: 2px solid var(--light-border);
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;   /* FIX: keeps text on one line */
}

        .btn-light:hover {
            background: var(--light-border);
            transform: translateY(-2px);
        }

        .btn-cyber {
            background: var(--gradient-cyber);
            color: white;
            box-shadow: var(--shadow-sm);
        }

        .btn-cyber:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
        }

        /* Cards */
        .card {
            background: var(--bg-secondary);
            border: 1px solid var(--bg-tertiary);
            border-radius: 1rem;
            padding: 2rem;
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--accent-blue);
        }

        .card-light {
            background: var(--light-bg);
            color: var(--light-text);
            border: 1px solid var(--light-border);  

        }

        .card-light:hover {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .card-header {
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .card-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-cyber);
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color:var(--gradient-cyber);
            font-size: 1.5rem;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--bg-tertiary);
            z-index: 1000;
            padding: 1rem 0;
            box-shadow: var(--shadow-sm);
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
            color: var(--text-primary);
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--gradient-primary);
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: var(--text-primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            padding: 10rem 0 5rem;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-text h1 {
            font-size: 3.8rem;
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }

        .hero-text p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            color: var(--text-secondary);
            max-width: 600px;
        }
        
        .hero-badges {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .badge-primary {
            background: rgba(59, 130, 246, 0.2);
            color: var(--accent-blue);
            border: 1px solid rgba(59, 130, 246, 0.3);
        }
        
        .badge-success {
            background: rgba(16, 185, 129, 0.2);
            color: var(--accent-green);
            border: 1px solid rgba(16, 185, 129, 0.3);
        }
        
        .badge-amber {
            background: rgba(245, 158, 11, 0.2);
            color: var(--accent-amber);
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .hero-features {
            display: flex;
            gap: 2rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .hero-image {
            position: relative;
            text-align: center;
        }

        .hero-visual {
            position: relative;
            background: var(--gradient-cyber);
            border-radius: 1.5rem;
            padding: 1.5rem;
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .dashboard-preview {
            width: 100%;
            height: 100%;
            background: var(--bg-secondary);
            border-radius: 1rem;
            overflow: hidden;
            position: relative;
            box-shadow: var(--shadow-md);
        }

        .dashboard-header {
            background: var(--gradient-primary);
            padding: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: white;
        }
        
        .dashboard-content {
            padding: 1.5rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        
        .dashboard-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 0.75rem;
            padding: 1rem;
            height: 110px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .dashboard-card h4 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            color: var(--accent-blue);
        }
        
        .dashboard-card p {
            font-size: 1.75rem;
            font-weight: 700;
            color: white;
            margin: 0;
        }
        
        .dashboard-card .trend {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }
        
        .trend-up {
            color: var(--accent-green);
        }
        
        .trend-down {
            color: var(--accent-red);
        }

        .status-badge {
            position: absolute;
          
            right: 20px;
            background: var(--accent-green);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-size: 0.8rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: var(--shadow-sm);
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background: white;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Features Section - Light Theme */
        .features {
            background: var(--light-bg);
            color: var(--light-text);
        }

        .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns */
    gap: 2rem;
    margin-top: 3rem;
}

/* Make it responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

        /* Resources Section */
        .resources {
            background: var(--bg-primary);
        }

        .resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        /* Training Section - Light Theme */
        .training {
            background: var(--light-bg);
            color: var(--light-text);
        }

        .training-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-top: 3rem;
        }

        .training-features {
            list-style: none;
        }

        .training-features li {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            color: var(--light-text);
        }

        .check-icon {
            width: 24px;
            height: 24px;
            background: var(--accent-green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .training-video {
            position: relative;
            background: var(--gradient-primary);
            border-radius: 1rem;
            padding: 2rem;
            text-align: center;
            color: white;
            height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
        }
        
        .training-video::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
            background-size: cover;
        }

        .play-button {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 1rem auto;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .play-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        /* AI Chat Section */
        .ai-chat {
            background: var(--bg-secondary);
        }

        .chat-container {
            max-width: 800px;
            margin: 0 auto;
            background: var(--bg-secondary);
            border-radius: 1rem;
            overflow: hidden;
            border: 1px solid var(--bg-tertiary);
            box-shadow: var(--shadow-md);
        }

        .chat-header {
            background: var(--gradient-primary);
            padding: 1.5rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

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

        .chat-messages {
            height: 400px;
            padding: 1.5rem;
            overflow-y: auto;
            background: var(--bg-secondary);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .message {
            display: flex;
            gap: 1rem;
        }

        .message-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .message-content {
            flex: 1;
            background: var(--bg-tertiary);
            padding: 1.25rem;
            border-radius: 1rem;
            border-top-left-radius: 0.25rem;
        }
        
        .message-content p {
            margin-bottom: 0.5rem;
        }
        
        .message-content small {
            color: var(--text-muted);
            font-size: 0.8rem;
        }
        
        .message.user .message-content {
            background: rgba(59, 130, 246, 0.15);
            border-top-left-radius: 1rem;
            border-top-right-radius: 0.25rem;
        }
        
        .typing-indicator {
            display: flex;
            gap: 0.25rem;
            padding: 1rem 0;
        }
        
        .typing-dot {
            width: 8px;
            height: 8px;
            background: var(--text-muted);
            border-radius: 50%;
            opacity: 0.6;
            animation: typing 1.4s infinite;
        }
        
        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes typing {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-5px); }
        }

        /* Updated Chat Input Styles */
        .chat-input-wrapper {
            padding: 1rem;
            background: var(--bg-tertiary);
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .chat-input-field {
            flex: 1;
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 1px solid var(--bg-tertiary);
            border-radius: 20px;
            padding: 0.75rem 1.25rem;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .chat-input-field:focus {
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
        }

        .chat-input-field::placeholder {
            color: var(--text-muted);
        }

        .send-btn, .upload-btn {
            background: var(--accent-blue);
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .send-btn:hover, .upload-btn:hover {
            background: var(--accent-indigo);
            transform: scale(1.05);
        }

        /* Upload Area Styles */
        .upload-area {
            padding: 1.5rem;
            background: var(--bg-tertiary);
            display: none;
            flex-direction: column;
            gap: 1rem;
        }

        .upload-box {
            border: 2px dashed var(--bg-secondary);
            border-radius: 1rem;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .upload-box:hover {
            border-color: var(--accent-blue);
            background: rgba(59, 130, 246, 0.05);
        }

        .upload-box i {
            color: var(--accent-blue);
            font-size: 2.5rem;
        }

        .upload-box p {
            color: var(--text-primary);
            margin: 0;
        }

        .upload-box input[type="file"] {
            display: none;
        }

        .file-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .file-list div {
            padding: 0.5rem 1rem;
            background: var(--bg-secondary);
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Testimonials Section */
        .testimonials {
            background: var(--light-bg);
            color: var(--light-text);
        }
        
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .testimonial-card {
            background: var(--light-bg);
            border: 1px solid var(--light-border);
            border-radius: 1rem;
            padding: 2rem;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-color: var(--accent-blue);
        }
        
        .testimonial-content {
            font-style: italic;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .testimonial-content::before {
            content: '"';
            position: absolute;
            top: -1.5rem;
            left: -1rem;
            font-size: 4rem;
            color: var(--accent-blue);
            opacity: 0.2;
            font-family: serif;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        
        .author-info h4 {
            margin-bottom: 0.25rem;
        }
        
        .author-info p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* CXO Advisors Section - Light Theme */
        .cxo-advisors {
            background: var(--bg-secondary);
        }

        .advisors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .advisor-card {
            background: var(--bg-tertiary);
            border: 2px solid var(--bg-tertiary);
            border-radius: 1rem;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
            color: var(--text-primary);
        }

        .advisor-card:hover {
            border-color: var(--accent-blue);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
        }
        
        .advisor-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 1.5rem;
        }

        /* Stats Section */
        .stats {
            background: var(--light-bg);
            color: var(--light-text);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .stat-card {
            text-align: center;
            padding: 2rem;
        }
        
        .stat-value {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            background: var(--gradient-cyber);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .stat-label {
            color: var(--text-muted);
            font-size: 1.1rem;
        }

        /* Newsletter Section */
        .newsletter {
            background: var(--gradient-primary);
            color: white;
            text-align: center;
            padding: 4rem 0;
            border-radius: 1rem;
            margin: 5rem auto;
            max-width: 800px;
        }
        
        .newsletter-content {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .newsletter-form {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }
        
        .newsletter-form input {
            flex: 1;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            border: none;
            font-size: 1rem;
        }
        
        .newsletter-form input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
        }

        /* Footer */
        .footer {
            background: var(--bg-primary);
            padding: 3rem 0 1rem;
            border-top: 1px solid var(--bg-tertiary);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            color: var(--text-primary);
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.75rem;
        }

        .footer-section ul li a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-section ul li a:hover {
            color: var(--text-primary);
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-tertiary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }
        
        .social-link:hover {
            background: var(--accent-blue);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--bg-tertiary);
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Floating Chat Button Styles */
        .chat-float-btn {
            position: fixed;
            bottom: 25px;
            right: 25px;
            background-color: var(--accent-blue);
            color: white;
            width: 60px;
            height: 60px;
            font-size: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-lg);
            cursor: pointer;
            z-index: 9999;
            transition: all 0.3s ease;
        }

        .chat-float-btn:hover {
            background-color: var(--accent-indigo);
            transform: scale(1.05);
        }

        .chat-float-box {
            position: fixed;
            bottom: 100px;
            right: 25px;
            width: 320px;
            max-height: 480px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 9999;
            border: 1px solid var(--bg-tertiary);
        }

        .chat-float-header {
            background: var(--gradient-primary);
            color: white;
            padding: 12px 16px;
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            align-items: center;
        }

        .chat-float-messages {
            padding: 12px;
            height: 260px;
            overflow-y: auto;
            background: var(--bg-tertiary);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .chat-float-input {
            display: flex;
            padding: 12px;
            background: var(--bg-secondary);
            gap: 8px;
            border-top: 1px solid var(--bg-tertiary);
        }

        .chat-float-input input {
            flex: 1;
            padding: 8px 12px;
            border-radius: 8px;
            border: 1px solid var(--bg-tertiary);
            background: var(--bg-primary);
            color: var(--text-primary);
        }

        .chat-float-input button {
            background: var(--accent-blue);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0 12px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .chat-float-input button:hover {
            background: var(--accent-indigo);
        }

        .msg {
            padding: 10px 14px;
            border-radius: 12px;
            max-width: 85%;
            font-size: 0.95rem;
        }

        .msg.user {
            background: rgba(59, 130, 246, 0.15);
            align-self: flex-end;
            color: var(--text-primary);
        }

        .msg.bot {
            background: var(--bg-secondary);
            color: var(--text-primary);
            align-self: flex-start;
            border: 1px solid var(--bg-tertiary);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }
            
            .hero-text {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .hero-features {
                justify-content: center;
            }
            
            .training-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 1.5rem;
            }
            
            h1 { font-size: 2.5rem; }
            h2 { font-size: 2rem; }
            
            .nav-links {
                display: none;
            }
            
            .hero-text h1 {
                font-size: 2.5rem;
            }
            
            .newsletter-form {
                flex-direction: column;
            }

            .chat-float-box {
                width: calc(100% - 40px);
                right: 20px;
                left: 20px;
                bottom: 90px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .floating {
            animation: float 4s ease-in-out infinite;
        }

      .theme-toggle {
    background: var(--bg-tertiary);
    border: none;
    padding: 10px;
    border-radius: 50%;
    width: 55px;      /* Increased width */
    height: 55px;     /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem; /* Slightly larger icon */
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

        .theme-toggle:hover {
            background: var(--accent-blue);
        }
 
        /* Fixed RTL text input */
        .input-field, .textarea-field {
            direction: ltr;
            text-align: left;
        }

        /* Original styles remain unchanged */
        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            padding: 24px;
            margin-bottom: 24px;
        }
        
        .input-field, .textarea-field, .select-field {
            width: 100%;
            padding: 12px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            transition: border-color 0.2s;
        }
        
        .input-field:focus, .textarea-field:focus, .select-field:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .textarea-field {
            resize: vertical;
            min-height: 100px;
        }
        
        .btn-primary {
            background: #3b82f6;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
            width: 100%;
        }
        
        .btn-primary:hover:not(:disabled) {
            background: #2563eb;
        }
        
        .btn-primary:disabled {
            background: #9ca3af;
            cursor: not-allowed;
        }
        
        .chat-container {
            height: 600px;
            display: flex;
            flex-direction: column;
        }
        
        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            background: #f9fafb;
            border-radius: 8px;
            margin-bottom: 16px;
        }
        
        .message {
            margin-bottom: 16px;
            display: flex;
        }
        
        .message.user {
            justify-content: flex-end;
        }
        
        .message.assistant {
            justify-content: flex-start;
        }
        
        .message-content {
            max-width: 80%;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 14px;
        }
        
        .message.user .message-content {
            background: #3b82f6;
            color: white;
        }
        
        .message.assistant .message-content {
            background: white;
            border: 1px solid #e5e7eb;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .label {
            display: block;
            font-weight: 500;
            color: #374151;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .tab-button {
            padding: 12px 24px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .tab-button.active {
            background: #3b82f6;
            color: white;
        }
        
        .tab-button:not(.active) {
            background: #f3f4f6;
            color: #6b7280;
        }
        
        .tab-button:hover {
            opacity: 0.8;
        }

        /* Password protection modal */
        .password-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        
        .password-box {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            width: 100%;
            max-width: 400px;
        }
    