/* ================================================================
   CYBERPUNK NEO-GLASS CSS FRAMEWORK - Optimized & Enhanced
   ================================================================ */

:root {
    --primary-color: #FF5E13;
    --secondary-color: #00D1FF;
    --tertiary-color: #7000FF;
    --dark-bg: #0A0A0E;
    --glass-effect: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(255, 255, 255, 0.15);
    --text-light: #E0E0E0;
    --text-dim: #A0A0A0;
    --font-heading: 'Aldrich', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

/* Global Reset */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    text-decoration: none;
    list-style: none;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { 
    background: var(--primary-color); 
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--secondary-color); 
}

/* Custom Cursor */
#glow-cursor {
    position: fixed; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    pointer-events: none; 
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
    filter: blur(15px); 
    opacity: 0.7; 
    z-index: 9999;
}

/* Background Animation */
.animated-bg {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    overflow: hidden; 
    z-index: -1;
}

.line {
    position: absolute; 
    width: 2px; 
    height: 100%; 
    background: var(--border-glow);
    opacity: 0.2; 
    animation: moveLine 15s linear infinite;
}

.line:nth-child(1) { left: 10%; animation-delay: 0s; }
.line:nth-child(2) { left: 30%; animation-delay: 2.5s; }
.line:nth-child(3) { left: 50%; animation-delay: 5s; }
.line:nth-child(4) { left: 70%; animation-delay: 7.5s; }
.line:nth-child(5) { left: 90%; animation-delay: 10s; }
.line:nth-child(6) { left: 20%; animation-delay: 12.5s; }

@keyframes moveLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Glitch Effect */
.glitch {
    position: relative; 
    animation: glitch-anim 2s infinite alternate linear;
}

@keyframes glitch-anim {
    0% { clip-path: inset(0 0 100% 0); }
    15% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(10% 0 90% 0); }
    25% { clip-path: inset(0 0 0 0); }
    40% { clip-path: inset(70% 0 15% 0); }
    45% { clip-path: inset(0 0 0 0); }
    60% { clip-path: inset(10% 0 10% 0); }
    65% { clip-path: inset(0 0 0 0); }
    80% { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(0 0 0 0); }
}

/* Glass Effect */
.glass-effect {
    background: var(--glass-effect);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.glass-input {
    height: 45px;
    border-radius: 10px;
    padding: 0 20px;
    background: rgba(0,0,0,0.3); 
    border: 1px solid var(--border-glow);
    color: var(--text-light); 
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 14px;
}

.glass-input:hover {
    cursor: text;
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-input:focus { 
    border-color: var(--primary-color); 
    outline: none; 
    box-shadow: 0 0 15px rgba(255, 94, 19, 0.2);
}

.glass-input1 {
    min-height: 100px;
    border-radius: 10px;
    padding: 15px 20px;
    background: rgba(0,0,0,0.3); 
    border: 1px solid var(--border-glow);
    color: var(--text-light); 
    transition: all 0.3s ease;
    font-family: var(--font-body);
    resize: vertical;
}

.glass-input1:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 15px rgba(255, 94, 19, 0.2);
}

/* NAVBAR */
.cyber-nav {
    position: fixed; 
    top: 0; 
    width: 100%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 20px 8%; 
    z-index: 100;
    backdrop-filter: blur(15px); 
    background: rgba(10,10,14,0.85);
    border-bottom: 1px solid var(--border-glow);
}

.logo { 
    font-family: var(--font-heading); 
    font-size: 28px; 
    font-weight: 700; 
    color: var(--text-light);
}

.logo span { 
    color: var(--primary-color); 
}

.nav-menu { 
    display: flex; 
    gap: 40px; 
    list-style: none; 
}

.nav-item {
    text-decoration: none; 
    color: var(--text-dim); 
    font-weight: 500;
    position: relative; 
    transition: color 0.3s ease;
}

.nav-item::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: -5px; 
    width: 0; 
    height: 2px;
    background-color: var(--primary-color); 
    transition: width 0.3s ease;
}

.nav-item:hover::after { 
    width: 100%; 
}

.nav-item:hover { 
    color: var(--text-light); 
}

.nav-action-btn {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white; 
    border: none; 
    padding: 12px 28px; 
    border-radius: 50px;
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 94, 19, 0.4);
    text-decoration: none;
    display: inline-block;
}

.nav-action-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 5px 20px rgba(255, 94, 19, 0.6); 
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding: 0 8%; 
    background: transparent;
}

.hero-title {
    font-family: var(--font-heading); 
    font-size: clamp(3em, 8vw, 6em);
    margin-bottom: 20px; 
    line-height: 1.1; 
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1em, 2vw, 1.5em); 
    color: var(--text-dim);
    margin-bottom: 40px; 
    text-shadow: 0 0 8px var(--primary-color);
}

.hero-buttons { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    text-decoration: none; 
    padding: 15px 35px; 
    border-radius: 50px;
    font-weight: 700; 
    transition: all 0.4s ease;
    display: inline-block;
}

.primary-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white; 
    border: none; 
    box-shadow: 0 0 20px rgba(255, 94, 19, 0.5);
}

.primary-btn:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 30px rgba(255, 94, 19, 0.7); 
}

.secondary-btn {
    background: transparent; 
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color); 
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.3);
}

.secondary-btn:hover { 
    background: var(--secondary-color); 
    color: var(--dark-bg); 
    transform: scale(1.05); 
}

/* SERVICES GRID */
.services-grid {
    padding: 80px 8%; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--glass-effect); 
    border-radius: 20px; 
    padding: 40px;
    text-align: center; 
    border: 1px solid var(--border-glow);
    transition: all 0.4s ease-out; 
    position: relative; 
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(45deg, rgba(255, 94, 19, 0.1), rgba(0, 209, 255, 0.1));
    z-index: -1; 
    opacity: 0; 
    transition: opacity 0.4s ease-out;
}

.service-card:hover::before { 
    opacity: 1; 
}

.service-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px var(--primary-color); 
}

.card-icon { 
    margin-bottom: 25px; 
}

.card-icon img { 
    width: 60px; 
    height: 60px; 
    filter: drop-shadow(0 0 10px var(--primary-color)); 
}

.service-card h3 { 
    font-family: var(--font-heading); 
    font-size: 24px; 
    margin-bottom: 15px; 
}

.service-card p { 
    color: var(--text-dim); 
    font-size: 15px; 
    margin-bottom: 30px; 
    line-height: 1.6;
}

.card-btn {
    background: transparent; 
    border: 2px solid var(--primary-color);
    color: var(--primary-color); 
    padding: 10px 25px; 
    border-radius: 30px;
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease;
}

.card-btn:hover { 
    background: var(--primary-color); 
    color: var(--dark-bg); 
}

/* CONTACT SECTION */
.contact-section { 
    padding: 100px 8%; 
    display: flex;
    justify-content: center;
}

.contact-form-card {
    max-width: 800px;
    width: 100%;
    padding: 60px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 94, 19, 0.3);
    box-shadow: 0 0 30px rgba(255, 94, 19, 0.1);
    transition: all 0.5s ease;
}

.contact-form-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 50px rgba(255, 94, 19, 0.2);
    transform: translateY(-5px);
}

.contact-form-card h2 { 
    font-family: var(--font-heading); 
    font-size: 36px; 
    margin-bottom: 30px; 
    text-align: center;
}

.contact-form-card form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.submit-btn {
    height: 50px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(255, 94, 19, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(255, 94, 19, 0.6);
}

/* MODALS */
.modal-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px); 
    display: none; 
    place-items: center; 
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    padding: 40px; 
    border-radius: 25px; 
    text-align: center;
    position: relative; 
    width: 100%; 
    max-width: 450px;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px) scale(0.8); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.close-btn {
    position: absolute; 
    top: 20px; 
    right: 25px; 
    font-size: 30px; 
    color: var(--text-dim);
    cursor: pointer; 
    transition: all 0.3s ease;
}

.close-btn:hover { 
    color: var(--primary-color); 
    transform: rotate(90deg); 
}

.check-animation {
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    background: var(--primary-color);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 25px;
    animation: checkScale 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkScale { 
    from { transform: scale(0); opacity: 0; } 
    to { transform: scale(1); opacity: 1; } 
}

.check-icon { 
    font-size: 40px; 
    color: var(--dark-bg); 
}

/* ================================================================
   PREMIUM CHATBOT UI - Yangi Dizayn
   ================================================================ */

.chatbot-widget { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 1000; 
}

/* Chat Toggle Button - Yangilangan */
.chat-toggle-btn {
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    border: 3px solid rgba(255, 255, 255, 0.1);
    color: white; 
    font-size: 32px; 
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(255, 94, 19, 0.6), 
                inset 0 0 15px rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-toggle-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
}

.chat-toggle-btn:hover::before {
    opacity: 0.6;
}

.chat-toggle-btn:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 12px 40px rgba(255, 94, 19, 0.8);
}

.chat-toggle-btn:active {
    transform: scale(0.95);
}

/* Chat Window - Yangilangan */
.chat-window {
    position: absolute; 
    bottom: 95px; 
    right: 0; 
    width: 420px; 
    height: 600px;
    border-radius: 28px; 
    display: none; 
    flex-direction: column; 
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 14, 0.98), rgba(20, 10, 30, 0.95));
    backdrop-filter: blur(30px);
    border: 2px solid var(--border-glow);
    box-shadow: 0 25px 80px rgba(0,0,0,0.9), 
                0 0 40px rgba(255, 94, 19, 0.3),
                inset 0 0 30px rgba(255, 255, 255, 0.02);
    animation: chatSlideUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes chatSlideUp { 
    from { 
        transform: translateY(60px) scale(0.85); 
        opacity: 0; 
    } 
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    } 
}

/* Chat Header - Premium Design */
.chat-header {
    background: linear-gradient(135deg, 
                rgba(255, 94, 19, 0.15), 
                rgba(112, 0, 255, 0.15));
    padding: 20px 25px; 
    display: flex; 
    align-items: center; 
    gap: 12px;
    border-bottom: 2px solid var(--border-glow);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.2); 
    }
}

.header-info { 
    flex: 1; 
}

.header-info h4 { 
    font-family: var(--font-heading); 
    font-size: 17px; 
    color: var(--primary-color);
    margin: 0 0 3px 0;
    font-weight: 700;
}

.header-info span { 
    font-size: 12px; 
    color: var(--text-dim); 
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Selector - Yangilangan */
.language-selector {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.language-selector option {
    background: #1a1a2e;
    color: white;
}

.chat-close {
    font-size: 28px;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.chat-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Chat Body - Optimized */
.chat-body { 
    flex: 1; 
    padding: 25px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 18px; 
    scroll-behavior: smooth;
    background: rgba(0,0,0,0.1);
}

/* Messages - Enhanced */
.message { 
    max-width: 85%; 
    padding: 14px 18px; 
    border-radius: 18px; 
    font-size: 14.5px; 
    line-height: 1.5;
    position: relative;
    animation: msgAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    word-wrap: break-word;
}

@keyframes msgAppear {
    from { 
        opacity: 0; 
        transform: translateY(15px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.bot-msg { 
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08), 
                rgba(255, 255, 255, 0.03));
    color: var(--text-light);
    border: 1px solid var(--border-glow);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.user-msg { 
    background: linear-gradient(135deg, var(--primary-color), #ff8e53); 
    color: white; 
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 5px 20px rgba(255, 94, 19, 0.4);
    font-weight: 500;
}

.message p {
    margin: 0;
}

/* Image Preview Area - Yangilangan */
.image-preview {
    display: none;
    padding: 15px 20px;
    border-top: 1px solid var(--border-glow);
    background: linear-gradient(135deg, 
                rgba(255, 94, 19, 0.05), 
                rgba(112, 0, 255, 0.05));
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.preview-container {
    position: relative;
    display: inline-block;
    max-width: 200px;
}

.preview-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(255, 94, 19, 0.5);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.remove-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.6);
}

.remove-image-btn:hover {
    background: linear-gradient(135deg, #ff3838, #ff1f1f);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.8);
}

.remove-image-btn svg {
    width: 18px;
    height: 18px;
}

/* Chat Footer - Premium Input Design */
.chat-footer { 
    padding: 20px; 
    background: linear-gradient(135deg, 
                rgba(0,0,0,0.4), 
                rgba(20,0,30,0.3)); 
    border-top: 2px solid var(--border-glow);
    display: flex;
    align-items: flex-end;
    gap: 12px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.input-container {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 2px solid var(--border-glow);
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    transition: all 0.3s ease;
    position: relative;
}

.input-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, 
                rgba(255, 94, 19, 0.1), 
                rgba(112, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-container:focus-within {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(255, 94, 19, 0.3);
}

.input-container:focus-within::before {
    opacity: 1;
}

#chatInput {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 10px 8px;
    font-family: var(--font-body);
    font-size: 14px;
    resize: none;
    max-height: 100px;
    outline: none;
    position: relative;
    z-index: 1;
}

#chatInput::placeholder {
    color: var(--text-dim);
}

.upload-label {
    font-size: 22px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.upload-label:hover { 
    opacity: 1; 
    color: var(--secondary-color);
    background: rgba(0, 209, 255, 0.1);
    transform: scale(1.1);
}

.upload-label.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.send-msg-btn {
    width: 50px; 
    height: 50px; 
    border-radius: 10px;
    border: none;
    padding-top: 0px;
}
.send-msg-btn:hover{
    cursor: pointer;
}

/* ================================================================
   MOBILE RESPONSIVE - HAMBURGER MENU & OPTIMIZATIONS
   ================================================================ */

/* Hamburger Menu Button - Faqat mobilda */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 10px rgba(255, 94, 19, 0.6);
}

/* Hamburger Active Animation */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-30px);
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Menu Open Overlay */
body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.abouts{
    background-color: black;
    height: 370px;
}
/* ================================================================
   TABLET & MEDIUM SCREENS (max-width: 1024px)
   ================================================================ */
@media screen and (max-width: 1024px) {
    .cyber-nav {
        padding: 18px 6%;
    }

    .logo {
        font-size: 26px;
    }

    .nav-menu {
        gap: 30px;
    }

    .nav-item {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        padding: 70px 6%;
    }

    .contact-form-card {
        padding: 50px 35px;
    }
}

/* ================================================================
   TABLET (max-width: 992px) - HAMBURGER AKTIVLASHTIRISH
   ================================================================ */
@media screen and (max-width: 992px) {
    .cyber-nav {
        padding: 16px 5%;
    }

    .logo {
        font-size: 24px;
        z-index: 1001;
    }

    /* Hamburger ko'rsatish */
    .hamburger {
        display: flex;
    }

    /* Desktop tugmani yashirish */
    .cyber-nav > .nav-action-btn:not(.mobile-btn) {
        display: none;
    }

    /* Nav Menu Sidebar */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: linear-gradient(135deg, 
                    rgba(10, 10, 14, 0.98), 
                    rgba(30, 10, 40, 0.96));
        backdrop-filter: blur(30px);
        border-left: 2px solid var(--border-glow);
        box-shadow: -15px 0 60px rgba(0, 0, 0, 0.95),
                    0 0 50px rgba(255, 94, 19, 0.3);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 100px 0 40px;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
        overflow-y: auto;
    }

    /* Menu ochilganda */
    .nav-menu.active {
        right: 0;
    }

    /* Nav Items */
    .nav-item {
        font-size: 20px;
        padding: 20px 35px;
        text-align: left;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
    }

    .nav-item::after {
        display: none;
    }

    .nav-item:hover {
        background: rgba(255, 94, 19, 0.1);
        padding-left: 45px;
    }

    /* Mobile Button */
    .mobile-btn {
        margin: 30px 35px 0;
        text-align: center;
        padding: 16px 30px !important;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 60px 5%;
        gap: 30px;
    }

    /* Contact */
    .contact-section {
        padding: 80px 5%;
    }

    .contact-form-card {
        padding: 45px 30px;
    }
}

/* ================================================================
   MOBILE LARGE (max-width: 768px)
   ================================================================ */
@media screen and (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        padding: 0 5%;
        padding-top: 80px;
        min-height: 85vh;
    }

    .hero-title {
        font-size: clamp(2.2em, 9vw, 3.8em);
        margin-bottom: 18px;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: clamp(0.95em, 3.5vw, 1.25em);
        margin-bottom: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 32px;
    }

    /* Services */
    .service-card {
        padding: 35px 25px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p {
        font-size: 14.5px;
    }

    /* Contact Form */
    .contact-form-card h2 {
        font-size: 30px;
    }

    .glass-input,
    .glass-input1 {
        font-size: 14px;
    }

    /* Chatbot Positioning */
    .chatbot-widget {
        bottom: 18px;
        right: 18px;
    }

    .chat-toggle-btn {
        width: 62px;
        height: 62px;
        font-size: 30px;
    }

    .chat-window {
        width: calc(100vw - 36px);
        max-width: 400px;
        height: 560px;
        bottom: 88px;
        right: 0;
    }

    .chat-header {
        padding: 16px 20px;
    }

    .header-info h4 {
        font-size: 16px;
    }

    .header-info span {
        font-size: 11.5px;
    }

    .language-selector {
        font-size: 12px;
        padding: 6px 10px;
    }

    .chat-body {
        padding: 20px;
        gap: 16px;
    }

    .message {
        font-size: 14px;
        padding: 13px 16px;
    }

    .chat-footer {
        padding: 16px;
    }

    #chatInput {
        font-size: 13.5px;
    }

    .send-msg-btn {
        width: 48px;
        height: 48px;
    }
}

/* ================================================================
   MOBILE MEDIUM (max-width: 576px) - PREMIUM OPTIMIZATION
   ================================================================ */
@media screen and (max-width: 576px) {
    /* Navbar - Ultra Mobile */
    .cyber-nav {
        padding: 15px 5%;
        height: 65px;
        align-items: center;
    }

    .logo {
        font-size: 22px;
        font-weight: 700;
    }

    .hamburger {
        width: 30px;
        height: 22px;
    }

    .hamburger span {
        height: 3px;
    }

    /* Nav Menu Sidebar - Full Screen Experience */
    .nav-menu {
        width: 88%;
        max-width: 320px;
        padding: 85px 0 35px;
        background: linear-gradient(135deg, 
                    rgba(10, 10, 14, 0.99), 
                    rgba(25, 10, 35, 0.97));
    }

    .nav-item {
        font-size: 19px;
        padding: 20px 35px;
        font-weight: 500;
        letter-spacing: 0.3px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-item:hover {
        padding-left: 50px;
        background: linear-gradient(90deg, 
                    rgba(255, 94, 19, 0.15), 
                    transparent);
        border-left: 3px solid var(--primary-color);
    }

    .mobile-btn {
        margin: 28px 35px 0;
        padding: 15px 30px !important;
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 5px 20px rgba(255, 94, 19, 0.4);
    }

    /* Hero Section - Mobile First */
    .hero-section {
        padding: 0 5%;
        padding-top: 80px;
        min-height: 85vh;
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2.2em, 8.5vw, 3.5em);
        line-height: 1.15;
        margin-bottom: 20px;
        letter-spacing: -1.2px;
        background: linear-gradient(135deg, var(--text-light), var(--primary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: clamp(0.95em, 3.5vw, 1.2em);
        margin-bottom: 35px;
        line-height: 1.5;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        gap: 18px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-btn {
        padding: 14px 30px;
        font-size: 15.5px;
        border-radius: 40px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .primary-btn {
        box-shadow: 0 8px 25px rgba(255, 94, 19, 0.5);
    }

    .secondary-btn {
        border-width: 2.5px;
    }

    /* Services Grid - Card Optimization */
    .services-grid {
        padding: 55px 5%;
        gap: 28px;
    }

    .service-card {
        padding: 35px 25px;
        border-radius: 20px;
        border: 1.5px solid var(--border-glow);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }

    .service-card::before {
        opacity: 0.3;
    }

    .card-icon {
        margin-bottom: 22px;
    }

    .card-icon img {
        width: 58px;
        height: 58px;
        filter: drop-shadow(0 0 15px var(--primary-color));
    }

    .service-card h3 {
        font-size: 21px;
        margin-bottom: 14px;
        letter-spacing: 0.5px;
        background: linear-gradient(135deg, var(--text-light), var(--primary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 25px;
        color: var(--text-dim);
    }

    .card-btn {
        padding: 11px 26px;
        font-size: 14.5px;
        font-weight: 700;
        border-radius: 25px;
        border-width: 2px;
    }

    /* Contact Section - Form Enhancement */
    .contact-section {
        padding: 65px 5%;
    }

    .contact-form-card {
        padding: 40px 28px;
        border-radius: 30px;
        border: 2px solid rgba(255, 94, 19, 0.3);
        box-shadow: 0 10px 40px rgba(255, 94, 19, 0.15);
    }

    .contact-form-card h2 {
        font-size: 28px;
        margin-bottom: 28px;
        letter-spacing: 0.5px;
    }

    .contact-form-card form {
        gap: 18px;
    }

    .glass-input {
        height: 45px;
        font-size: 14px;
        padding: 0 18px;
        border-radius: 12px;
        border-width: 1.5px;
    }

    .glass-input1 {
        min-height: 100px;
        font-size: 14px;
        padding: 14px 18px;
        border-radius: 12px;
        border-width: 1.5px;
        line-height: 1.6;
    }

    .submit-btn {
        height: 48px;
        font-size: 15.5px;
        font-weight: 700;
        border-radius: 12px;
        margin-top: 5px;
    }

    /* Modal - Enhanced */
    .modal-content {
        padding: 38px 25px;
        margin: 20px;
        border-radius: 25px;
        max-width: 85%;
    }

    .modal-content h2,
    .modal-content h3 {
        font-size: 23px;
        margin-bottom: 15px;
    }

    .modal-content p {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .check-animation {
        width: 75px;
        height: 75px;
        margin-bottom: 22px;
    }

    .check-icon {
        font-size: 38px;
    }

    /* Chatbot - Premium Mobile Design */
    .chatbot-widget {
        bottom: 16px;
        right: 16px;
    }

    .chat-toggle-btn {
        width: 60px;
        height: 60px;
        font-size: 30px;
        border-width: 3px;
        box-shadow: 0 10px 35px rgba(255, 94, 19, 0.7), 
                    inset 0 0 20px rgba(255, 255, 255, 0.2);
    }

    .chat-toggle-btn::before {
        inset: -6px;
    }

    /* Chat Window - Full Mobile Experience */
    .chat-window {
        width: calc(100vw - 32px);
        max-width: 420px;
        height: 540px;
        bottom: 84px;
        border-radius: 26px;
        border-width: 2px;
    }

    /* Chat Header - Compact & Clean */
    .chat-header {
        padding: 16px 20px;
        background: linear-gradient(135deg, 
                    rgba(255, 94, 19, 0.18), 
                    rgba(112, 0, 255, 0.18));
    }

    .status-indicator {
        width: 12px;
        height: 12px;
        box-shadow: 0 0 18px #00ff88;
    }

    .header-info h4 {
        font-size: 16px;
        font-weight: 700;
    }

    .header-info span {
        font-size: 12px;
    }

    .language-selector {
        font-size: 12.5px;
        padding: 7px 11px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        border-width: 1.5px;
    }

    .chat-close {
        font-size: 28px;
        padding: 5px;
    }

    /* Chat Body - Message Optimization */
    .chat-body {
        padding: 20px 18px;
        gap: 16px;
    }

    .chat-body::-webkit-scrollbar {
        width: 5px;
    }

    .message {
        font-size: 14px;
        padding: 13px 17px;
        border-radius: 18px;
        line-height: 1.6;
        max-width: 88%;
    }

    .bot-msg {
        border-width: 1.5px;
        box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    }

    .user-msg {
        box-shadow: 0 6px 22px rgba(255, 94, 19, 0.45);
        font-weight: 600;
    }

    /* Chat Footer - Input Enhancement */
    .chat-footer {
        padding: 16px 18px;
        gap: 12px;
    }

    .input-container {
        padding: 8px 14px;
        border-radius: 18px;
        border-width: 2px;
    }

    .input-container:focus-within {
        box-shadow: 0 0 25px rgba(255, 94, 19, 0.35);
    }

    #chatInput {
        font-size: 13.5px;
        padding: 10px 8px;
        line-height: 1.5;
    }

    .send-msg-btn {
        width: 47px;
        height: 47px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        box-shadow: 0 5px 20px rgba(255, 94, 19, 0.5);
    }

    .send-msg-btn:active {
        transform: scale(0.92);
    }

    .upload-label {
        font-size: 22px;
        padding: 5px;
    }

    /* Image Preview - Mobile Friendly */
    .image-preview {
        padding: 14px 18px;
    }

    .preview-container {
        max-width: 150px;
    }

    .preview-container img {
        border-radius: 12px;
        border-width: 2px;
    }

    .remove-image-btn {
        width: 32px;
        height: 32px;
        top: -10px;
        right: -10px;
        box-shadow: 0 5px 18px rgba(255, 71, 87, 0.7);
    }

    .remove-image-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Animations - Smooth Mobile */
    @keyframes chatSlideUp {
        from {
            transform: translateY(50px) scale(0.9);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }

    @keyframes msgAppear {
        from {
            opacity: 0;
            transform: translateY(12px) scale(0.96);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

/* ================================================================
   MOBILE SMALL (max-width: 480px)
   ================================================================ */
@media screen and (max-width: 480px) {
    .cyber-nav {
        padding: 12px 4%;
    }

    .logo {
        font-size: 20px;
    }

    .nav-menu {
        width: 90%;
        padding: 80px 0 25px;
    }

    .nav-item {
        font-size: 17px;
        padding: 16px 25px;
    }

    .mobile-btn {
        margin: 20px 25px 0;
        font-size: 14px;
    }

    .hero-section {
        padding-top: 70px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: clamp(1.8em, 7.5vw, 2.8em);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: clamp(0.85em, 2.8vw, 1.05em);
        margin-bottom: 28px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .services-grid {
        padding: 45px 4%;
        gap: 22px;
    }

    .service-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .card-icon img {
        width: 50px;
        height: 50px;
    }

    .service-card h3 {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .card-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .contact-section {
        padding: 50px 4%;
    }

    .contact-form-card {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .contact-form-card h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .contact-form-card form {
        gap: 16px;
    }

    .glass-input {
        height: 40px;
        font-size: 13px;
        padding: 0 16px;
    }

    .glass-input1 {
        min-height: 85px;
        font-size: 13px;
        padding: 12px 16px;
    }

    .submit-btn {
        height: 44px;
        font-size: 14px;
    }

    .chatbot-widget {
        bottom: 12px;
        right: 12px;
    }

    .chat-toggle-btn {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }

    .chat-window {
        width: calc(100vw - 24px);
        height: calc(100vh - 90px);
        max-height: 480px;
        bottom: 72px;
        border-radius: 20px;
    }

    .chat-header {
        padding: 13px 16px;
    }

    .header-info h4 {
        font-size: 14px;
    }

    .header-info span {
        font-size: 10.5px;
    }

    .language-selector {
        font-size: 11px;
        padding: 5px 9px;
    }

    .chat-close {
        font-size: 26px;
    }

    .chat-body {
        padding: 16px;
        gap: 13px;
    }

    .message {
        font-size: 13px;
        padding: 11px 14px;
        max-width: 90%;
    }

    .chat-footer {
        padding: 13px;
        gap: 9px;
    }

    .input-container {
        padding: 6px 12px;
        border-radius: 16px;
    }

    #chatInput {
        font-size: 12.5px;
        padding: 8px 6px;
    }

    .send-msg-btn {
        width: 43px;
        height: 43px;
        border-radius: 9px;
    }

    .upload-label {
        font-size: 19px;
        padding: 4px;
    }

    .image-preview {
        padding: 12px 16px;
    }

    .preview-container {
        max-width: 120px;
    }

    .preview-container img {
        border-radius: 10px;
    }

    .remove-image-btn {
        width: 28px;
        height: 28px;
        top: -9px;
        right: -9px;
    }

    .remove-image-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ================================================================
   EXTRA SMALL MOBILE (max-width: 375px)
   ================================================================ */
@media screen and (max-width: 375px) {
    .logo {
        font-size: 18px;
    }

    .hero-title {
        font-size: clamp(1.7em, 7vw, 2.5em);
    }

    .chat-window {
        max-height: 450px;
    }

    .message {
        font-size: 12.5px;
    }

    #chatInput {
        font-size: 12px;
    }
}

/* ================================================================
   LANDSCAPE MODE OPTIMIZATION
   ================================================================ */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 90px 5% 50px;
    }

    .hero-title {
        margin-bottom: 12px;
    }

    .hero-subtitle {
        margin-bottom: 25px;
    }

    .nav-menu {
        padding: 70px 0 20px;
        gap: 0;
    }

    .nav-item {
        padding: 14px 25px;
        font-size: 16px;
    }

    .mobile-btn {
        margin-top: 15px;
    }

    .chat-window {
        height: calc(100vh - 70px);
        max-height: none;
    }

    .services-grid {
        padding: 40px 5%;
    }


}
/* Umumiy Footer stili */
.foot {
    background-color: #1a1a1a; /* To'q rang */
    color: white;
    padding: 40px 20px;
    font-family: sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    margin-bottom: 30px;
}

.logo span {
    color: #ff6600; /* Apelsin rangi */
}

/* Footer tarkibini yonma-yon joylashtirish */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Sig'maganda pastga tushadi */
    gap: 30px;
}

.footer-links ul, 
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Ijtimoiy tarmoqlar piktogrammalari */
.footer-social ul {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); /* Rasmlarni oq rangga o'tkazish (ixtiyoriy) */
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* --- MOBILE VERSIYA (Ekran 768px dan kichik bo'lganda) --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Ustma-ust joylash */
        align-items: center;
        text-align: center;
    }

    .logo {
        text-align: center;
        margin-left: 0; /* Inline marginni bekor qilish */
    }

    .footer-links ul li {
        margin-left: 0; /* Avvalgi koddagi 150px ni nolga tushirish */
    }

    .footer-social ul {
        justify-content: center;
    }
}
/* ================================================================
   TOUCH DEVICE OPTIMIZATIONS
   ================================================================ */
@media (hover: none) and (pointer: coarse) {
    /* Touch feedback */
    .service-card:hover {
        transform: none;
    }

    .service-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .hero-btn:hover,
    .card-btn:hover,
    .submit-btn:hover,
    .nav-action-btn:hover {
        transform: none;
    }

    .hero-btn:active,
    .card-btn:active,
    .submit-btn:active,
    .nav-action-btn:active {
        transform: scale(0.96);
    }

    .chat-toggle-btn:hover {
        transform: none;
    }

    .chat-toggle-btn:active {
        transform: scale(0.92);
    }

    /* Larger touch targets */
    .nav-item,
    .hero-btn,
    .card-btn,
    .submit-btn,
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ================================================================
   ACCESSIBILITY & UTILITIES
   ================================================================ */

/* Hide glow cursor on mobile */
@media screen and (max-width: 992px) {
    #glow-cursor {
        display: none !important;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile scrollbar */
@media screen and (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 4px;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 4px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-item,
    .hero-btn,
    .card-btn {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    .chatbot-widget,
    .chat-toggle-btn,
    .hamburger,
    .animated-bg,
    #glow-cursor,
    .hero-buttons {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}