/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Linear Dark Theme */
    --primary-color: #5e6ad2;
    --primary-dark: #4e5bc2;
    --primary-light: #8b8fe8;
    --secondary-color: #6f7bba;
    --accent-color: #5e6ad2;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    
    /* Dark Theme Colors */
    --dark-bg: #0a0a0b;
    --dark-surface: #111113;
    --dark-card: #18181b;
    --dark-border: #27272a;
    --dark-hover: #1f1f23;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Gradients - Linear Style */
    --gradient-primary: linear-gradient(135deg, #5e6ad2 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #5e6ad2 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(94, 106, 210, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0b 0%, #111113 100%);
    --gradient-card: linear-gradient(145deg, rgba(94, 106, 210, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(94, 106, 210, 0.15) 0%, transparent 50%);
    
    /* Shadows - Dark Theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(94, 106, 210, 0.3);
    --shadow-glow-subtle: 0 0 60px rgba(94, 106, 210, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 10000;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 20px rgba(94, 106, 210, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(94, 106, 210, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 11, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.logo-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-image {
        width: 50px;
        height: 50px;
    }
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.bar {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float var(--duration) linear infinite;
    animation-delay: var(--delay);
    opacity: 0.6;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; }
.floating-element:nth-child(2) { top: 60%; left: 20%; }
.floating-element:nth-child(3) { top: 30%; left: 80%; }
.floating-element:nth-child(4) { top: 80%; left: 70%; }
.floating-element:nth-child(5) { top: 50%; left: 50%; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(-10px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) translateX(5px);
        opacity: 1;
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 106, 210, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse 50% 30% at 20% 80%, rgba(94, 106, 210, 0.08) 0%, transparent 50%);
}

/* Neural Network Animation */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.6;
}

.neural-svg {
    width: 100%;
    height: 100%;
}

.pulse-node {
    animation: nodePulse 3s ease-in-out infinite;
}

.pulse-node:nth-child(1) { animation-delay: 0s; }
.pulse-node:nth-child(2) { animation-delay: 0.3s; }
.pulse-node:nth-child(3) { animation-delay: 0.6s; }
.pulse-node:nth-child(4) { animation-delay: 0.9s; }
.pulse-node:nth-child(5) { animation-delay: 1.2s; }
.pulse-node:nth-child(6) { animation-delay: 1.5s; }
.pulse-node:nth-child(7) { animation-delay: 1.8s; }
.pulse-node:nth-child(8) { animation-delay: 2.1s; }

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.pulse-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: lineFlow 4s linear infinite;
}

.pulse-line:nth-child(1) { animation-delay: 0s; }
.pulse-line:nth-child(2) { animation-delay: 0.4s; }
.pulse-line:nth-child(3) { animation-delay: 0.8s; }
.pulse-line:nth-child(4) { animation-delay: 1.2s; }
.pulse-line:nth-child(5) { animation-delay: 1.6s; }
.pulse-line:nth-child(6) { animation-delay: 2s; }
.pulse-line:nth-child(7) { animation-delay: 2.4s; }
.pulse-line:nth-child(8) { animation-delay: 2.8s; }
.pulse-line:nth-child(9) { animation-delay: 3.2s; }
.pulse-line:nth-child(10) { animation-delay: 3.6s; }

@keyframes lineFlow {
    0% {
        stroke-dashoffset: 200;
        stroke: rgba(94, 106, 210, 0.1);
    }
    50% {
        stroke-dashoffset: 0;
        stroke: rgba(94, 106, 210, 0.4);
    }
    100% {
        stroke-dashoffset: -200;
        stroke: rgba(139, 92, 246, 0.1);
    }
}

@media (max-width: 768px) {
    .neural-network {
        opacity: 0.3;
    }
}

/* Floating Tech Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.15;
    animation: floatIcon 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.float-icon:nth-child(2) { color: var(--accent-purple); }
.float-icon:nth-child(3) { color: var(--secondary-color); }
.float-icon:nth-child(4) { color: var(--primary-light); }
.float-icon:nth-child(5) { color: var(--accent-blue); }
.float-icon:nth-child(6) { color: var(--primary-color); }

.float-icon i {
    filter: drop-shadow(0 0 20px currentColor);
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.25;
    }
}

@media (max-width: 768px) {
    .floating-icons {
        display: none;
    }
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(94, 106, 210, 0.1);
    border: 1px solid rgba(94, 106, 210, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge i {
    animation: iconBounce 2s ease-in-out infinite;
    color: var(--primary-color);
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(94, 106, 210, 0.2);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(94, 106, 210, 0);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 106, 210, 0.3), transparent);
}

/* Grid Animation */
.grid-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: rgba(94, 106, 210, 0.03);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-line.horizontal:nth-child(1) { top: 20%; animation-delay: 0s; }
.grid-line.horizontal:nth-child(2) { top: 50%; animation-delay: 1s; }
.grid-line.horizontal:nth-child(3) { top: 80%; animation-delay: 2s; }

.grid-line.vertical {
    height: 100%;
    width: 1px;
    animation: gridPulseV 4s ease-in-out infinite;
}

.grid-line.vertical:nth-child(4) { left: 20%; animation-delay: 0.5s; }
.grid-line.vertical:nth-child(5) { left: 50%; animation-delay: 1.5s; }
.grid-line.vertical:nth-child(6) { left: 80%; animation-delay: 2.5s; }

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
        background: rgba(94, 106, 210, 0.08);
    }
}

@keyframes gridPulseV {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
        background: rgba(94, 106, 210, 0.08);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-intro p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    border-color: rgba(94, 106, 210, 0.3);
    background: var(--dark-hover);
}

.highlight-item i {
    font-size: 1.3rem;
    color: var(--primary-light);
    width: 48px;
    height: 48px;
    background: rgba(94, 106, 210, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 14px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

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

.tech-item:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 106, 210, 0.3);
    background: var(--dark-hover);
}

.tech-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.tech-item:hover i {
    transform: scale(1.1);
    color: var(--primary-light);
}

.tech-item span {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

/* Floating Orbs Animation */
.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(94, 106, 210, 0.15);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.12);
    bottom: 10%;
    left: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(94, 106, 210, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

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

.service-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid var(--dark-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(94, 106, 210, 0.3);
    background: var(--dark-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(94, 106, 210, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card:hover .service-icon {
    background: rgba(94, 106, 210, 0.15);
    color: var(--primary-light);
}

.service-icon i {
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.service-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: normal;
}

/* ===== SKILLS SECTION ===== */
.skills {
    padding: var(--section-padding);
    background: var(--dark-surface);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.category-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-out;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background: var(--dark-surface);
}

/* Scanlines Effect */
.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(94, 106, 210, 0.01) 2px,
        rgba(94, 106, 210, 0.01) 4px
    );
    pointer-events: none;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100vh;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.portfolio-item:hover {
    border-color: rgba(94, 106, 210, 0.3);
    background: var(--dark-hover);
}

.portfolio-image {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.project-placeholder {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.project-placeholder .client-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-placeholder i {
    font-size: 2rem;
    color: var(--primary-color);
}

.project-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.portfolio-overlay {
    position: relative;
    background: transparent;
}

.portfolio-content {
    padding: 24px 30px 30px;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.portfolio-tech {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    padding: 4px 10px;
    background: rgba(94, 106, 210, 0.1);
    border: 1px solid rgba(94, 106, 210, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-light);
}

.portfolio-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.portfolio-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.portfolio-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== GITHUB / OPEN SOURCE SECTION ===== */
.github {
    padding: var(--section-padding);
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

/* Code Rain Animation */
.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.code-rain span {
    position: absolute;
    top: -50px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 1rem;
    color: rgba(94, 106, 210, 0.15);
    animation: codefall 15s linear infinite;
    text-shadow: 0 0 10px rgba(94, 106, 210, 0.3);
}

.code-rain span:nth-child(1) { left: 5%; animation-delay: calc(var(--i) * -2s); }
.code-rain span:nth-child(2) { left: 15%; animation-delay: calc(var(--i) * -2s); }
.code-rain span:nth-child(3) { left: 25%; animation-delay: calc(var(--i) * -2s); }
.code-rain span:nth-child(4) { left: 40%; animation-delay: calc(var(--i) * -2s); }
.code-rain span:nth-child(5) { left: 55%; animation-delay: calc(var(--i) * -2s); }
.code-rain span:nth-child(6) { left: 70%; animation-delay: calc(var(--i) * -2s); }
.code-rain span:nth-child(7) { left: 82%; animation-delay: calc(var(--i) * -2s); }
.code-rain span:nth-child(8) { left: 92%; animation-delay: calc(var(--i) * -2s); }

@keyframes codefall {
    0% {
        top: -50px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.github::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 106, 210, 0.2), transparent);
}

.github-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.github-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.github-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(45, 55, 72, 0.3);
}

.github-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.github-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.github-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.github-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.github-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.github-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.github-stat i {
    color: var(--primary-color);
    font-size: 1rem;
}

.github-tech {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.github-tech span {
    padding: 5px 12px;
    background: rgba(45, 55, 72, 0.08);
    border: 1px solid rgba(45, 55, 72, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all var(--transition-normal);
    margin-top: auto;
}

.github-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.github-link i:last-child {
    margin-left: auto;
}

.github-cta {
    text-align: center;
    margin-top: 40px;
}

.github-showcase {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}

.github-icon-large {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.github-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

@media (max-width: 480px) {
    .github-icon-large {
        font-size: 3rem;
    }
    
    .github-tagline {
        font-size: 1rem;
    }
    
    .github-showcase {
        padding: 40px 16px;
    }
}

/* ===== FOUNDER SECTION ===== */
.founder {
    padding: var(--section-padding);
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

/* Animated Rings */
.animated-rings {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    pointer-events: none;
}

.ring {
    position: absolute;
    border: 1px solid rgba(94, 106, 210, 0.1);
    border-radius: 50%;
    animation: ringExpand 6s ease-out infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.ring-2 {
    width: 100px;
    height: 100px;
    animation-delay: 2s;
}

.ring-3 {
    width: 100px;
    height: 100px;
    animation-delay: 4s;
}

@keyframes ringExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
    }
}

.founder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 106, 210, 0.2), transparent);
}

.founder-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.founder-image {
    flex-shrink: 0;
}

.founder-placeholder {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.founder-placeholder i {
    font-size: 5rem;
    color: white;
}

.founder-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.4);
}

.founder-info {
    flex: 1;
}

.founder-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(94, 106, 210, 0.1);
    border: 1px solid rgba(94, 106, 210, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.founder-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.founder-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.founder-social {
    display: flex;
    gap: 12px;
}

.founder-social .social-link {
    width: 44px;
    height: 44px;
    background: var(--dark-card);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    border: 1px solid var(--dark-border);
}

.founder-social .social-link:hover {
    background: rgba(94, 106, 210, 0.1);
    color: var(--primary-light);
    border-color: rgba(94, 106, 210, 0.3);
}

@media (max-width: 768px) {
    .founder-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .founder-placeholder {
        width: 150px;
        height: 150px;
    }

    .founder-placeholder i {
        font-size: 4rem;
    }

    .founder-name {
        font-size: 1.6rem;
    }

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding);
    background: var(--dark-surface);
}

.testimonials-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

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

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(45, 55, 72, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    min-width: 150px;
}

.logo-placeholder:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.logo-placeholder i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo-placeholder span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(45, 55, 72, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.client-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.client-logo span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

/* Gradient Blob Animation */
.gradient-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 106, 210, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes blobPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 106, 210, 0.2), transparent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    border-color: rgba(94, 106, 210, 0.3);
    background: var(--dark-hover);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(94, 106, 210, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--dark-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--dark-bg);
    box-shadow: 0 0 0 3px rgba(94, 106, 210, 0.1);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--dark-card);
    padding: 0 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-surface);
    padding: 60px 0 30px;
    border-top: 1px solid var(--dark-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.footer-logo-image:hover {
    transform: scale(1.05);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--dark-bg);
        border-left: 1px solid var(--dark-border);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 8px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        z-index: 999;
        align-items: stretch;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        border-bottom: 1px solid var(--dark-border);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1rem;
        color: var(--text-secondary);
        padding: 16px 0;
        display: block;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-link:hover {
        color: var(--primary-color);
        padding-left: 8px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        padding: 10px;
        background: var(--dark-surface);
        border-radius: 8px;
        border: 1px solid var(--dark-border);
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Overlay behind menu */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

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

    .hero-stats {
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

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

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

    .github-grid {
        grid-template-columns: 1fr;
    }

    .github-stats {
        gap: 15px;
    }

    .skills-categories {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .service-card,
    .contact-form-container {
        padding: 24px 16px;
    }

    .tech-stack {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== LOADING ANIMATIONS ===== */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}