/* ===== IMPORT BETTER FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&family=Fira+Code:wght@400;500;600&display=swap');
/* ===== MODERN FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Space+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=JetBrains+Mono:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Source+Code+Pro:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;800;900&family=Roboto+Mono:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&family=Fira+Code:wght@400;500;600&display=swap');

:root {

    /* ===== SMOOTH TYPOGRAPHY & RENDERING ===== */
    html {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Primitive Color Tokens */
    --color-white: rgba(255, 255, 255, 1);
    --color-black: rgba(0, 0, 0, 1);
    --color-cream-50: rgba(252, 252, 249, 1);
    --color-cream-100: rgba(255, 255, 253, 1);
    --color-gray-200: rgba(245, 245, 245, 1);
    --color-gray-300: rgba(167, 169, 169, 1);
    --color-gray-400: rgba(119, 124, 124, 1);
    --color-slate-500: rgba(98, 108, 113, 1);
    --color-brown-600: rgba(94, 82, 64, 1);
    --color-charcoal-700: rgba(31, 33, 33, 1);
    --color-charcoal-800: rgba(38, 40, 40, 1);
    --color-slate-900: rgba(19, 52, 59, 1);
    --color-teal-300: rgba(50, 184, 198, 1);
    --color-teal-400: rgba(45, 166, 178, 1);
    --color-teal-500: rgba(33, 128, 141, 1);
    --color-teal-600: rgba(29, 116, 128, 1);
    --color-teal-700: rgba(26, 104, 115, 1);
    --color-teal-800: rgba(41, 150, 161, 1);
    --color-red-400: rgba(255, 84, 89, 1);
    --color-red-500: rgba(192, 21, 47, 1);
    --color-orange-400: rgba(230, 129, 97, 1);
    --color-orange-500: rgba(168, 75, 47, 1);

    /* RGB versions for opacity control */
    --color-brown-600-rgb: 94,
    82,
    64;
    --color-teal-500-rgb: 33,
    128,
    141;
    --color-slate-900-rgb: 19,
    52,
    59;
    --color-slate-500-rgb: 98,
    108,
    113;
    --color-red-500-rgb: 192,
    21,
    47;
    --color-red-400-rgb: 255,
    84,
    89;
    --color-orange-500-rgb: 168,
    75,
    47;
    --color-orange-400-rgb: 230,
    129,
    97;

    /* Background color tokens (Light Mode) */
    --color-bg-1: rgba(59, 130, 246, 0.08);
    /* Light blue */
    --color-bg-2: rgba(245, 158, 11, 0.08);
    /* Light yellow */
    --color-bg-3: rgba(34, 197, 94, 0.08);
    /* Light green */
    --color-bg-4: rgba(239, 68, 68, 0.08);
    /* Light red */
    --color-bg-5: rgba(147, 51, 234, 0.08);
    /* Light purple */
    --color-bg-6: rgba(249, 115, 22, 0.08);
    /* Light orange */
    --color-bg-7: rgba(236, 72, 153, 0.08);
    /* Light pink */
    --color-bg-8: rgba(6, 182, 212, 0.08);
    /* Light cyan */

    /* Semantic Color Tokens (Light Mode) */
    --color-background: var(--color-cream-50);
    --color-surface: var(--color-cream-100);
    --color-text: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-500);
    --color-primary: var(--color-teal-500);
    --color-primary-hover: var(--color-teal-600);
    --color-primary-active: var(--color-teal-700);
    --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
    --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
    --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
    --color-border: rgba(var(--color-brown-600-rgb), 0.2);
    --color-btn-primary-text: var(--color-cream-50);
    --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
    --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
    --color-error: var(--color-red-500);
    --color-success: var(--color-teal-500);
    --color-warning: var(--color-orange-500);
    --color-info: var(--color-slate-500);
    --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
    --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

    /* Common style patterns */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for opacity control */
    --color-success-rgb: 33,
    128,
    141;
    --color-error-rgb: 192,
    21,
    47;
    --color-warning-rgb: 168,
    75,
    47;
    --color-info-rgb: 98,
    108,
    113;

    /* Typography */
    --font-family-base: "FKGroteskNeue",
    "Geist",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
    --font-family-mono: "Berkeley Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 30px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 550;
    --font-weight-bold: 600;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --letter-spacing-tight: -0.01em;

    /* Spacing */
    --space-0: 0;
    --space-1: 1px;
    --space-2: 2px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-base: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

    /* Animation */
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
    :root {
        /* RGB versions for opacity control (Dark Mode) */
        --color-gray-400-rgb: 119, 124, 124;
        --color-teal-300-rgb: 50, 184, 198;
        --color-gray-300-rgb: 167, 169, 169;
        --color-gray-200-rgb: 245, 245, 245;

        /* Background color tokens (Dark Mode) */
        --color-bg-1: rgba(29, 78, 216, 0.15);
        /* Dark blue */
        --color-bg-2: rgba(180, 83, 9, 0.15);
        /* Dark yellow */
        --color-bg-3: rgba(21, 128, 61, 0.15);
        /* Dark green */
        --color-bg-4: rgba(185, 28, 28, 0.15);
        /* Dark red */
        --color-bg-5: rgba(107, 33, 168, 0.15);
        /* Dark purple */
        --color-bg-6: rgba(194, 65, 12, 0.15);
        /* Dark orange */
        --color-bg-7: rgba(190, 24, 93, 0.15);
        /* Dark pink */
        --color-bg-8: rgba(8, 145, 178, 0.15);
        /* Dark cyan */

        /* Semantic Color Tokens (Dark Mode) */
        --color-background: var(--color-charcoal-700);
        --color-surface: var(--color-charcoal-800);
        --color-text: var(--color-gray-200);
        --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
        --color-primary: var(--color-teal-300);
        --color-primary-hover: var(--color-teal-400);
        --color-primary-active: var(--color-teal-800);
        --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
        --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
        --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
        --color-border: rgba(var(--color-gray-400-rgb), 0.3);
        --color-error: var(--color-red-400);
        --color-success: var(--color-teal-300);
        --color-warning: var(--color-orange-400);
        --color-info: var(--color-gray-300);
        --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
        --color-btn-primary-text: var(--color-slate-900);
        --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
        --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
        --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15);
        --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
        --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
        --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

        /* Common style patterns - updated for dark mode */
        --focus-ring: 0 0 0 3px var(--color-focus-ring);
        --focus-outline: 2px solid var(--color-primary);
        --status-bg-opacity: 0.15;
        --status-border-opacity: 0.25;
        --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

        /* RGB versions for dark mode */
        --color-success-rgb: var(--color-teal-300-rgb);
        --color-error-rgb: var(--color-red-400-rgb);
        --color-warning-rgb: var(--color-orange-400-rgb);
        --color-info-rgb: var(--color-gray-300-rgb);
    }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
    /* RGB versions for opacity control (dark mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Colorful background palette - Dark Mode */
    --color-bg-1: rgba(29, 78, 216, 0.15);
    /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15);
    /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15);
    /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15);
    /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15);
    /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15);
    /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15);
    /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15);
    /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
    /* RGB versions for opacity control (light mode) */
    --color-brown-600-rgb: 94, 82, 64;
    --color-teal-500-rgb: 33, 128, 141;
    --color-slate-900-rgb: 19, 52, 59;

    /* Semantic Color Tokens (Light Mode) */
    --color-background: var(--color-cream-50);
    --color-surface: var(--color-cream-100);
    --color-text: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-500);
    --color-primary: var(--color-teal-500);
    --color-primary-hover: var(--color-teal-600);
    --color-primary-active: var(--color-teal-700);
    --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
    --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
    --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
    --color-border: rgba(var(--color-brown-600-rgb), 0.2);
    --color-btn-primary-text: var(--color-cream-50);
    --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
    --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
    --color-error: var(--color-red-500);
    --color-success: var(--color-teal-500);
    --color-warning: var(--color-orange-500);
    --color-info: var(--color-slate-500);
    --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

    /* RGB versions for light mode */
    --color-success-rgb: var(--color-teal-500-rgb);
    --color-error-rgb: var(--color-red-500-rgb);
    --color-warning-rgb: var(--color-orange-500-rgb);
    --color-info-rgb: var(--color-slate-500-rgb);
}

/* ===== PRELOADER STYLES ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Logo Animation */
.logo-container {
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

.preloader-logo {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #000000;
    margin: 0;
}

.preloader-logo .blue-dot {
    color: #0066ff;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Code Container */
.code-container {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 12px;
    border: 2px solid #0066ff;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    animation: slideInUp 1s ease;
}

.code-line {
    font-size: 18px;
    color: #000000;
}

.code-bracket {
    color: #0066ff;
    font-weight: bold;
    margin-right: 10px;
    animation: blink 1s infinite;
}

.code-text {
    color: #000000;
}

/* Typing Animation */
.typing-animation::after {
    content: '|';
    color: #0066ff;
    animation: blink 0.7s infinite;
}

/* Spinner */
.spinner-container {
    margin: 30px 0;
    animation: fadeIn 1.2s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 102, 255, 0.1);
    border-top-color: #0066ff;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

/* Loading Bar */
.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 10px;
    margin: 30px auto 20px;
    overflow: hidden;
    animation: fadeIn 1.5s ease;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #0066ff, #00a8ff);
    border-radius: 10px;
    animation: loadProgress 2s ease-in-out forwards;
}

/* Loading Text */
.loading-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #666666;
    margin: 20px 0 0;
    animation: fadeIn 1.8s ease;
}

.dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

/* Background Code Elements */
.bg-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.05;
    z-index: 1;
}

.bg-code span {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    color: #0066ff;
    animation: float 4s ease-in-out infinite;
}

.bg-code span:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-code span:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.bg-code span:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.bg-code span:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.bg-code span:nth-child(5) {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.bg-code span:nth-child(6) {
    top: 40%;
    right: 10%;
    animation-delay: 2.5s;
}

/* Keyframe Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .preloader-logo {
        font-size: 32px;
    }

    .code-container {
        width: 90%;
        margin: 20px auto;
    }

    .loading-bar {
        width: 80%;
    }

    .spinner {
        width: 50px;
        height: 50px;
    }
}

/* Base styles */
html {
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-md);
}

p {
    margin: 0 0 var(--space-16) 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
    color: var(--color-primary-hover);
}

code,
pre {
    font-family: var(--font-family-mono);
    font-size: calc(var(--font-size-base) * 0.95);
    background-color: var(--color-secondary);
    border-radius: var(--radius-sm);
}

code {
    padding: var(--space-1) var(--space-4);
}

pre {
    padding: var(--space-16);
    margin: var(--space-16) 0;
    overflow: auto;
    border: 1px solid var(--color-border);
}

pre code {
    background: none;
    padding: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-16);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-standard);
    border: none;
    text-decoration: none;
    position: relative;
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-btn-primary-text);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
}

.btn--primary:active {
    background: var(--color-primary-active);
}

.btn--secondary {
    background: var(--color-secondary);
    color: var(--color-text);
}

.btn--secondary:hover {
    background: var(--color-secondary-hover);
}

.btn--secondary:active {
    background: var(--color-secondary-active);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn--outline:hover {
    background: var(--color-secondary);
}

.btn--sm {
    padding: var(--space-4) var(--space-12);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
}

.btn--lg {
    padding: var(--space-10) var(--space-20);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-md);
}

.btn--full-width {
    width: 100%;
}

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

/* Form elements */
.form-control {
    display: block;
    width: 100%;
    padding: var(--space-8) var(--space-12);
    font-size: var(--font-size-md);
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    transition: border-color var(--duration-fast) var(--ease-standard),
        box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
}

select.form-control {
    padding: var(--space-8) var(--space-12);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: var(--select-caret-light);
    background-repeat: no-repeat;
    background-position: right var(--space-12) center;
    background-size: 16px;
    padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
    select.form-control {
        background-image: var(--select-caret-dark);
    }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
    background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
    background-image: var(--select-caret-light);
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: var(--focus-outline);
}

.form-label {
    display: block;
    margin-bottom: var(--space-8);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.form-group {
    margin-bottom: var(--space-16);
}

/* Card component */
.card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card__body {
    padding: var(--space-16);
}

.card__header,
.card__footer {
    padding: var(--space-16);
    border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
    display: inline-flex;
    align-items: center;
    padding: var(--space-6) var(--space-12);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.status--success {
    background-color: rgba(var(--color-success-rgb, 33, 128, 141),
            var(--status-bg-opacity));
    color: var(--color-success);
    border: 1px solid rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
    background-color: rgba(var(--color-error-rgb, 192, 21, 47),
            var(--status-bg-opacity));
    color: var(--color-error);
    border: 1px solid rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
    background-color: rgba(var(--color-warning-rgb, 168, 75, 47),
            var(--status-bg-opacity));
    color: var(--color-warning);
    border: 1px solid rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
    background-color: rgba(var(--color-info-rgb, 98, 108, 113),
            var(--status-bg-opacity));
    color: var(--color-info);
    border: 1px solid rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--space-16);
    padding-left: var(--space-16);
}

@media (min-width: 640px) {
    .container {
        max-width: var(--container-sm);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: var(--container-md);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: var(--container-lg);
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: var(--container-xl);
    }
}

/* Utility classes */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: var(--space-4);
}

.gap-8 {
    gap: var(--space-8);
}

.gap-16 {
    gap: var(--space-16);
}

.m-0 {
    margin: 0;
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mx-8 {
    margin-left: var(--space-8);
    margin-right: var(--space-8);
}

.my-8 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
}

.p-0 {
    padding: 0;
}

.py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.px-8 {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}

.py-16 {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.px-16 {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
}

.block {
    display: block;
}

.hidden {
    display: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
    border: 1px solid var(--color-border-secondary);
}

@font-face {
    font-family: 'FKGroteskNeue';
    src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 102, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Impact', Arial Black, sans-serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #0066FF;
}

.nav-cta {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    padding: 10px 20px !important;
    border-radius: 25px;
    color: #fff !important;
    font-weight: 600;
}

.nav-cta:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.code-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.code-snippet {
    position: absolute;
    color: rgba(0, 102, 255, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 24px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: 90px;
    font-weight: 900;
    color: #ffffff;
    margin: 40px 0 20px;
    letter-spacing: 1px;
    animation: glitch-title 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
    -webkit-font-smoothing: antialiased;
}





.hero-subtitle {
    font-size: 24px;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border: none;
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 40px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 64px;
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #000;
    font-weight: 400;
}

/* Section Title */
.section-title {
    font-family: 'Impact', Arial Black, sans-serif;
    font-size: 48px;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 60px;
    color: #000;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #0066FF;
    position: relative;
    overflow: hidden;
}

.binary-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(0, 102, 255, 0.1) 50px, rgba(0, 102, 255, 0.1) 51px);
    animation: binaryScroll 20s linear infinite;
}

@keyframes binaryScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(50px) rotateX(-10deg);
    cursor: pointer;
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0066FF, #00D4FF, #0066FF, #00D4FF);
    background-size: 400%;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 102, 255, 0.3);
    border-color: transparent;
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(360deg);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1.2) translateY(0);
    }

    50% {
        transform: scale(1.3) translateY(-10px);
    }
}

.service-name {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.service-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.code-bracket {
    position: absolute;
    font-size: 60px;
    color: rgba(0, 102, 255, 0.1);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: all 0.4s ease;
    pointer-events: none;
}

.code-bracket.left {
    top: -10px;
    left: -10px;
    animation: floatLeft 3s ease-in-out infinite;
}

.code-bracket.right {
    bottom: -10px;
    right: -10px;
    animation: floatRight 3s ease-in-out infinite;
}

.service-card:hover .code-bracket {
    color: rgba(0, 102, 255, 0.3);
    transform: scale(1.2);
}

@keyframes floatLeft {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-5px, -5px) rotate(-5deg);
    }
}

@keyframes floatRight {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(5px, 5px) rotate(5deg);
    }
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 100px 0;
    background: #bd93f9;
    position: relative;
    overflow: hidden;
}

.tech-category {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tech-category.slide-in-left {
    opacity: 1;
    transform: translateX(0);
}

.tech-category:nth-child(even) {
    transform: translateX(50px);
}

.tech-category:nth-child(even).slide-in-left {
    transform: translateX(0);
}

.tech-category-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
}

.tech-category-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066FF, #00D4FF);
    transition: width 0.6s ease;
}

.tech-category.slide-in-left .tech-category-title::after {
    width: 100%;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-badge {
    background: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    border: 2px solid #0066FF;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: techFloat 3s ease-in-out infinite;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.tech-badge:hover::before {
    width: 300px;
    height: 300px;
}

.tech-badge:hover {
    background: #0066FF;
    color: #fff;
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
    animation: none;
}

@keyframes techFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.tech-badge:nth-child(2n) {
    animation-delay: 0.5s;
}

.tech-badge:nth-child(3n) {
    animation-delay: 1s;
}

/* ===== MAKE ALL SECTION TITLES BLACK ===== */
h2.section-title,
.section-title {
    color: #000000;
    font-family: 'poppine', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   PORTFOLIO SECTION WITH TERMINAL THEME
   ======================================== */

.portfolio-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Coding Background */
.portfolio-code-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    z-index: 1;
}

.code-rain {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #0066ff, transparent);
    animation: rain-fall 3s linear infinite;
}

.float-code {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #0066ff;
    animation: float-text 8s ease-in-out infinite;
}

.bracket-anim {
    position: absolute;
    top: 20%;
    right: 15%;
    font-size: 80px;
    color: #0066ff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: rotate-bracket 10s ease-in-out infinite;
}

.bracket-anim-2 {
    position: absolute;
    bottom: 20%;
    left: 10%;
    font-size: 80px;
    color: #0066ff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: rotate-bracket 10s ease-in-out infinite reverse;
}

/* Section Header */
.terminal-prompt-title {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #0066ff;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 1s ease;
}

.terminal-prompt-title .prompt {
    color: #ff5f56;
    font-family: poppins, sans-serif;
    font-weight: bold;
}

.terminal-prompt-title .command-typing {
    animation: typing 2s steps(20) infinite;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Portfolio Card */
.portfolio-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

.portfolio-card:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-card:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-card:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-card:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-card:nth-child(5) {
    animation-delay: 0.5s;
}

.portfolio-card:nth-child(6) {
    animation-delay: 0.6s;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

/* Terminal Window */
.card-terminal {
    background: #1e1e1e;
    padding: 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.terminal-header {
    background: #2d2d2d;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-tab {
    color: #ffffff;
    font-size: 12px;
}

.terminal-content {
    padding: 20px;
    color: #ffffff;
    min-height: 150px;
}

.terminal-content p {
    margin: 8px 0;
    line-height: 1.6;
}

.terminal-content .indent {
    padding-left: 20px;
}

.terminal-content .keyword {
    color: #ff79c6;
}

.terminal-content .property {
    color: #50fa7b;
}

.terminal-content .string {
    color: #f1fa8c;
}

.terminal-content .success {
    color: #50fa7b;
}

.terminal-content .comment {
    color: #6272a4;
}

.terminal-content .info {
    color: #8be9fd;
}

.terminal-content .prompt {
    color: #50fa7b;
    font-weight: bold;
}

.terminal-content .commit {
    color: #ffb86c;
}

.terminal-content .type {
    color: #8be9fd;
}

/* Project Info */
.project-info {
    padding: 30px;
    background: #ffffff;
}

.project-status {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #0066ff 0%, #00a8ff 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.project-status.mobile {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.project-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 15px 0;
}

.project-info p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tags span {
    padding: 6px 14px;
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: #0066ff;
    color: #ffffff;
    transform: translateY(-2px);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0066ff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    gap: 15px;
    color: #003d99;
}

/* Project Footer */
.project-footer {
    padding: 15px 30px;
    background: #f8f9ff;
    border-top: 1px solid #e8e8e8;
}

.code-comment {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #999999;
    font-style: italic;
}

/* Animations */
@keyframes rain-fall {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes float-text {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}

@keyframes rotate-bracket {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }
}

@keyframes typing {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .terminal-content {
        font-size: 11px;
        padding: 15px;
        min-height: 120px;
    }

    .project-info {
        padding: 20px;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .bracket-anim,
    .bracket-anim-2 {
        font-size: 50px;
    }
}

/* ========================================
   HERO SECTION WITH CODING ANIMATION
   ======================================== */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #0066ff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

/* Code Background Animation */
.code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    z-index: 1;
}

.code-line {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    animation: float-code 15s ease-in-out infinite;
}

.floating-bracket {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 100px;
    color: #ffffff;
    font-weight: bold;
    animation: rotate-float 20s ease-in-out infinite;
}

.floating-symbol {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 60px;
    color: #ffffff;
    animation: pulse-float 4s ease-in-out infinite;
}

/* Matrix Canvas */
#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Terminal Window */
.hero-terminal {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideDown 1s ease;
}

.terminal-header {
    background: #2d2d2d;
    padding: 12px 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.red {
    background: #ff5f56;
}

.btn.yellow {
    background: #ffbd2e;
}

.btn.green {
    background: #27c93f;
}

.terminal-title {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #ffffff;
}

/* Hero Terminal Body */
.terminal-body {
    padding: 20px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00 !important;
    /* GREEN TEXT */
    line-height: 1.6;
}

/* Terminal Typing Text */
.typing-effect {
    color: #00ff00 !important;
    /* GREEN TEXT */
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 500;
}

.terminal-line {
    color: #00ff00 !important;
    /* GREEN TEXT */
}



.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt {
    color: #ff0099;
    /* Pink color */
    font-weight: bold;
}


.typing-effect {
    color: #00ff00;
    /* Pink color */
}


.cursor {
    color: #ff0099;
    /* Pink color */
    animation: blink-cursor 0.8s infinite;
}


/* Hero Title */
.hero-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 96px;
    font-weight: 900;
    color: #ffffff;
    margin: 40px 0 20px;
    letter-spacing: 4px;
    animation: glitch-title 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.code-tag {
    color: #ff0099;
    /* Pink color */
    font-family: 'Courier New', monospace;
    animation: pulse 2s ease-in-out infinite;
}


.title-text {
    display: inline-block;
    animation: scale-bounce 2s ease-in-out infinite;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    margin: 20px 0 40px;
    min-height: 40px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.typing-subtitle {
    border-right: 2px solid #ff0099;
    /* Pink color */
    animation: blink-border 0.75s step-end infinite;
}


.hero-code-block {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 0, 153, 0.3);
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: left;
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    animation: fadeInUp 1.2s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.code-block-line {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.line-number {
    color: #666;
    margin-right: 20px;
}

.code-keyword {
    color: #ff79c6;
}

.code-variable {
    color: #f8f8f2;
}

.code-operator {
    color: #ff79c6;
}

.code-function {
    color: #50fa7b;
}

.code-bracket {
    color: #f8f8f2;
}

.code-punctuation {
    color: #f8f8f2;
}

.code-property {
    color: #8be9fd;
}

.code-value {
    color: #bd93f9;
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-button {
    position: relative;
    padding: 18px 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff0099 0%, #cc0077 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 0, 153, 0.4);
}


.cta-button.secondary {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.6);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
}

.button-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.button-code {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Courier New', monospace;
    font-size: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.cta-button:hover .button-code {
    bottom: 5px;
    opacity: 0.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeIn 1.5s ease;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-icon 2s ease-in-out infinite;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: #00ff00;
}

.stat-number {
    font-family: 'Impact', sans-serif;
    font-size: 36px;
    color: #00ff00;
    font-weight: 900;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes float-code {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.7;
    }
}

@keyframes rotate-float {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes pulse-float {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

@keyframes blink-cursor {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@keyframes glitch-title {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-2px, -2px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes scale-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes blink-border {
    50% {
        border-color: transparent;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .floating-bracket {
        font-size: 60px;
    }
}

/* Brands Section */
.brands-section {
    padding: 100px 0;
    background: #0066FF;
}

.brands-title {
    color: #fff !important;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    align-items: center;
}

.brand-logo {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    font-family: 'Impact', Arial Black, sans-serif;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-logo:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-swiper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.swiper-container {
    overflow: visible;
    padding: 20px 0;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card {
    flex-shrink: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.7;
    transform: scale(0.9) rotateY(10deg);
}

.swiper-slide.active .testimonial-card {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.stars {
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.quote-icon {
    font-size: 80px;
    color: #0066FF;
    line-height: 1;
    margin-bottom: 20px;
    animation: quoteFloat 3s ease-in-out infinite;
}

@keyframes quoteFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.testimonial-text {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF, #00D4FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.5);
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {

    0%,
    100% {
        box-shadow: 0 5px 15px rgba(0, 102, 255, 0.5);
    }

    50% {
        box-shadow: 0 5px 25px rgba(0, 212, 255, 0.7);
    }
}

.author-name {
    font-weight: 700;
    color: #fff;
    font-size: 18px;
}

.author-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.swiper-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.swiper-prev,
.swiper-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.swiper-prev:hover,
.swiper-next:hover {
    background: rgba(0, 102, 255, 0.3);
    border-color: #0066FF;
    transform: scale(1.1);
}

.swiper-pagination {
    display: flex;
    gap: 12px;
}

.swiper-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-dot.active {
    background: #0066FF;
    width: 35px;
    border-radius: 6px;
}

/* ========================================
   QUOTE FORM SECTION WITH ANIMATED BACKGROUND
   ======================================== */

/* Quote Section Container */
.quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Code Background */
.quote-code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
    /* Increased for visibility */
    z-index: 1;
    overflow: hidden;
}

.quote-section .container {
    position: relative;
    z-index: 2;
}

/* Floating Code Lines */
.floating-code {
    position: absolute;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 16px;
    color: #0066ff;
    white-space: nowrap;
    animation: float-diagonal 15s ease-in-out infinite;
    font-weight: 600;
}

/* Large Code Brackets */
.code-bracket-large {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 150px;
    color: #0066ff;
    font-weight: bold;
    animation: rotate-slow 20s ease-in-out infinite;
    opacity: 0.2;
}

/* Code Symbols */
.code-symbol {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 80px;
    color: #ff0099;
    font-weight: bold;
    animation: pulse-scale 4s ease-in-out infinite;
    opacity: 0.2;
}

/* Binary Code */
.binary-code {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 30px;
    color: #00cc88;
    letter-spacing: 3px;
    animation: blink-binary 3s ease-in-out infinite;
    opacity: 0.2;
}

/* Grid pattern overlay */
.quote-code-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

/* Form Container */
.quote-form {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    animation: formFieldSlideIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    animation: inputGlow 0.5s ease;
}

/* Submit Button */
.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
    border: 2px solid #28a745;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
    border: 2px solid #dc3545;
}

/* Budget Checklist */
.budget-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.budget-option {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
}

.budget-option:hover {
    border-color: #0066FF;
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

.budget-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #0066FF;
    cursor: pointer;
}

.budget-option input[type="radio"]:checked+.budget-label {
    color: #0066FF;
    font-weight: 700;
}

.budget-option:has(input:checked) {
    border-color: #0066FF;
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.budget-label {
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
    font-family: 'Sora', sans-serif;
}

/* Form Field Animation Delays */
.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.form-group:nth-child(6) {
    animation-delay: 0.6s;
}

/* ANIMATIONS */
@keyframes formFieldSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes inputGlow {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.2);
    }
}

@keyframes float-diagonal {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }

    25% {
        transform: translate(30px, -20px) rotate(5deg);
        opacity: 0.7;
    }

    50% {
        transform: translate(15px, -40px) rotate(-3deg);
        opacity: 0.6;
    }

    75% {
        transform: translate(-20px, -25px) rotate(4deg);
        opacity: 0.7;
    }
}

@keyframes rotate-slow {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.15;
    }
}

@keyframes pulse-scale {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

@keyframes blink-binary {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.25;
    }
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* ===== TEST - REMOVE AFTER CONFIRMING ===== */
.quote-section {
    background: pink !important;
    min-height: 800px !important;
}

.quote-code-background {
    background: rgba(0, 255, 0, 0.3) !important;
    /* Green tint to see if div exists */
    opacity: 1 !important;
}

/* ===== END TEST ===== */

/* Responsive Design */
@media (max-width: 768px) {
    .quote-section {
        padding: 60px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .budget-checklist {
        grid-template-columns: 1fr;
    }

    .floating-code {
        font-size: 12px;
    }

    .code-bracket-large {
        font-size: 100px;
    }

    .code-symbol {
        font-size: 50px;
    }

    .binary-code {
        font-size: 20px;
    }
}



/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Impact', Arial Black, sans-serif;
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-location {
    color: #0066FF;
    font-size: 14px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0066FF;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #0066FF;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 14px;
}

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

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ===== MODERN CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chat-widget.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Chat Bubble */
.chat-bubble {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0066ff 0%, #00a8ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    animation: pulse-bubble 2s ease-in-out infinite;
}

.chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.6);
}

.chat-bubble:active {
    transform: scale(0.95);
}

.chat-icon {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.chat-bubble:hover .chat-icon {
    transform: scale(1.1);
}

/* Notification Badge */
.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #ff3b30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    animation: bounce-notification 1s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.5);
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #0066ff 0%, #00a8ff 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    animation: slideDown 0.5s ease;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 45px;
    height: 45px;
    position: relative;
    animation: fadeIn 0.6s ease 0.2s backwards;
}

.agent-avatar svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #34c759;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}

.agent-info {
    animation: fadeIn 0.6s ease 0.3s backwards;
}

.agent-info h4 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.status-text {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Typing Indicator */
.typing-indicator {
    display: inline-flex;
    gap: 3px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: typing-dot 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Close Button */
.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease 0.4s backwards;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-close svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: linear-gradient(to bottom, #f8f9ff 0%, #ffffff 100%);
    animation: fadeIn 0.6s ease 0.5s backwards;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: slideUp 0.5s ease backwards;
}

.message-avatar {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.message-avatar svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message-content {
    max-width: 75%;
}

.bot-message .message-content p {
    background: white;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    text-align: right;
}

.user-message .message-content p {
    background: linear-gradient(135deg, #0066ff 0%, #00a8ff 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.message-time {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Chat Form */
.chat-form {
    padding: 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
    animation: slideUp 0.6s ease 0.6s backwards;
}

.chat-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-form input,
.chat-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.chat-form input:focus,
.chat-form textarea:focus {
    outline: none;
    border-color: #0066ff;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.chat-form textarea {
    resize: none;
    min-height: 60px;
}

/* Send Button */
.chat-send-btn {
    background: linear-gradient(135deg, #0066ff 0%, #00a8ff 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.chat-send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.chat-send-btn:active {
    transform: translateY(-1px);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.chat-send-btn:hover svg {
    transform: translateX(3px);
}

/* Animations */
@keyframes pulse-bubble {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(0, 102, 255, 0.6);
    }
}

@keyframes bounce-notification {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes pulse-status {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes typing-dot {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Stats Section with Coding Theme */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

/* Coding Background Elements */
.coding-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
}

.code-line {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #0066ff;
    white-space: nowrap;
    animation: float-code 8s ease-in-out infinite;
}

.code-line:nth-child(2) {
    animation-delay: 1s;
}

.code-line:nth-child(3) {
    animation-delay: 2s;
}

.code-line:nth-child(4) {
    animation-delay: 3s;
}

.code-line:nth-child(5) {
    animation-delay: 4s;
}

.floating-bracket {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 60px;
    color: #0066ff;
    font-weight: bold;
    animation: rotate-bracket 6s ease-in-out infinite;
}

.floating-symbol {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 40px;
    color: #0066ff;
    animation: pulse-symbol 3s ease-in-out infinite;
}

.binary-rain {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #0066ff, transparent);
    animation: binary-fall 4s linear infinite;
}

.binary-rain:nth-child(11) {
    animation-delay: 1.5s;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Stat Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: #0066ff;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

/* Stat Icon */
.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066ff 0%, #00a8ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-icon 2s ease-in-out infinite;
}

.stat-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

/* Stat Number */
.stat-number {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 72px;
    font-weight: 900;
    color: #0066ff;
    line-height: 1;
    margin: 20px 0 10px;
    display: inline-block;
    position: relative;
}

.stat-plus {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 48px;
    color: #0066ff;
    display: inline-block;
    vertical-align: super;
    margin-left: 5px;
    animation: bounce 1s ease-in-out infinite;
}

.stat-rating {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 36px;
    color: #0066ff;
    display: inline-block;
    margin-left: 5px;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    margin: 15px 0 10px;
}

.stat-code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    margin-top: 10px;
    font-style: italic;
}

/* Terminal Window */
.terminal-window {
    max-width: 600px;
    margin: 60px auto 0;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease 0.5s backwards;
}

.terminal-header {
    background: #2d2d2d;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #27c93f;
}

.terminal-title {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #ffffff;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00;
}

.terminal-line {
    display: flex;
    gap: 10px;
}

.terminal-prompt {
    color: #0066ff;
    font-weight: bold;
}

.terminal-command {
    color: #00ff00;
}

.terminal-cursor {
    color: #00ff00;
    animation: blink 0.8s infinite;
}

.typing-text::after {
    content: '';
    animation: type 4s steps(40) infinite;
}

/* Animations */
@keyframes float-code {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.7;
    }
}

@keyframes rotate-bracket {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

@keyframes pulse-symbol {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

@keyframes binary-fall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(0, 102, 255, 0.8);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 56px;
    }

    .code-line {
        font-size: 10px;
    }

    .floating-bracket {
        font-size: 40px;
    }
}

/* Trusted Brands Section with Coding Theme */
.trusted-brands-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066ff 0%, #003d99 100%);
    position: relative;
    overflow: hidden;
}

/* Coding Background */
.brands-coding-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.08;
}

.code-snippet {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #000000;
    white-space: nowrap;
    animation: float-brand-code 10s ease-in-out infinite;
}

.floating-tag {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    color: #000000;
    font-weight: bold;
    animation: rotate-tag 8s ease-in-out infinite;
}

.binary-stream {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #000000, transparent);
    animation: binary-flow 3s linear infinite;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 48px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

.code-bracket {
    color: #000000;
    font-family: 'Courier New', monospace;
    animation: pulse-bracket 2s ease-in-out infinite;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.brand-item {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.brand-item:hover::before {
    left: 100%;
}

.brand-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.brand-item:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: #000000;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.brand-logo {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.logo-svg {
    width: 120px;
    height: 40px;
    color: #000000;
    transition: all 0.3s ease;
}

.brand-item:hover .logo-svg {
    color: #000000;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

/* Hover Code Display */
.brand-hover-code {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-item:hover .brand-hover-code {
    opacity: 1;
}

/* Terminal Display */
.brands-terminal {
    max-width: 600px;
    margin: 60px auto 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px 30px;
    font-family: 'Courier New', monospace;
    animation: slideUp 1s ease 0.5s backwards;
}

.terminal-text {
    color: #00ff00;
    font-size: 14px;
}

.terminal-prompt {
    color: #ffffff;
    margin-right: 10px;
    font-weight: bold;
}

.terminal-command {
    animation: typing 2s steps(30) infinite;
}

/* Animations */
@keyframes float-brand-code {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-15px) translateX(10px);
    }
}

@keyframes rotate-tag {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

@keyframes binary-flow {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes pulse-bracket {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes typing {
    from {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .trusted-brands-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .brand-item {
        padding: 30px 20px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 140px);
        max-height: 600px;
    }

    .chat-bubble {
        width: 60px;
        height: 60px;
    }

    .chat-icon {
        width: 28px;
        height: 28px;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }

    .services-grid-modern,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid-modern,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .budget-checklist {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 36px;
    }

    .chat-box {
        width: calc(100vw - 40px);
        right: -10px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .chat-widget {
        bottom: 90px;
        right: 20px;
    }

    .chat-button {
        width: 50px;
        height: 50px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: #0066ff;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: #0066ff;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, #ffffff 100%);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #0066ff;
}

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    color: #0066ff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: #000000;
    font-weight: 700;
}

/* Animation for opening FAQ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer p {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}


@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 48px;
    }

    .section-title {
        font-size: 28px;
    }

    .logo {
        font-size: 18px;
    }
}


/* ===== FOOTER SOCIAL MEDIA ICONS ===== */
/* ===== FOOTER WITH ANIMATED CODE BACKGROUND ===== */
.footer {
    background: linear-gradient(135deg, #001a33 0%, #000d1a 100%);
    color: #ffffff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Animated Code Background */
.footer-code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.08;
    z-index: 1;
    overflow: hidden;
}

.footer .container {
    position: relative;
    z-index: 2;
}

/* Floating Code Snippets */
.footer-code-float {
    position: absolute;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    color: #0066ff;
    font-weight: 600;
    animation: footer-float 20s ease-in-out infinite;
}

/* Binary Code */
.footer-binary {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 18px;
    color: #00ff99;
    font-weight: 500;
    letter-spacing: 2px;
    animation: footer-pulse 8s ease-in-out infinite;
}

/* Code Brackets */
.footer-bracket {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 80px;
    color: #ff0099;
    font-weight: bold;
    animation: footer-rotate 15s linear infinite;
    opacity: 0.1;
}

/* Animations */
@keyframes footer-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -15px) rotate(3deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(10px, -30px) rotate(-2deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(-15px, -20px) rotate(2deg);
        opacity: 0.5;
    }
}

@keyframes footer-pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

@keyframes footer-rotate {
    0% {
        transform: rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: rotate(180deg);
        opacity: 0.15;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.1;
    }
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #0066ff;
    margin-bottom: 15px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-heading {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #0066ff;
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 14px;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon.facebook:hover {
    background: #1877f2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-icon.linkedin:hover {
    background: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-icon.discord:hover {
    background: #5865f2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.social-icon.tiktok:hover {
    background: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.social-icon:hover svg {
    color: #ffffff;
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-code-float {
        font-size: 11px;
    }
    
    .footer-binary {
        font-size: 14px;
    }
    
    .footer-bracket {
        font-size: 60px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}