:root {
    --bg-color: #f9fafb;
    --text-color: #111827;
    --secondary-text: #4b5563;
    --card-bg: #ffffff;
    --border-color: #f3f4f6;
    --nav-text: #ffffff;
    --nav-active: #60a5fa;
    --button-bg: #ffffff;
    --button-text: #111827;
    --hero-gradient-start: #3b82f6;
    --hero-gradient-end: #4f46e5;
    --hero-gradient-tertiary: #8b5cf6;
    --hero-gradient-quaternary: #10b981;
    --skill-bg: #f9fafb;
    --contact-bg: #f9fafb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-hover: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --secondary-text: #e2e8f0;
    --card-bg: #1e293b;
    --border-color: #475569;
    --nav-text: #f8fafc;
    --nav-active: #60a5fa;
    --button-bg: #1e293b;
    --button-text: #f8fafc;
    --hero-gradient-start: #1e40af;
    --hero-gradient-end: #3730a3;
    --hero-gradient-tertiary: #5b21b6;
    --hero-gradient-quaternary: #065f46;
    --skill-bg: #1e293b;
    --contact-bg: #1e293b;
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(71, 85, 105, 0.3);
    --glass-hover: rgba(30, 41, 59, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
    transform: translateY(0);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.loader {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.loader-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    animation: loader-bounce 1.4s infinite ease-in-out both;
}

.loader-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
    animation-delay: -0.16s;
}

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes loader-bounce {

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

    40% {
        transform: scale(1);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

nav.hidden {
    transform: translateY(-100%);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] nav.scrolled {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nav-text);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

nav.scrolled .logo {
    color: var(--text-color);
    text-shadow: none;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding-bottom: 0.25rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

nav.scrolled .nav-links a {
    color: var(--text-color);
    text-shadow: none;
}

.nav-links a.active {
    color: var(--nav-active);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--nav-active);
}

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

nav.scrolled .nav-links a:hover {
    color: var(--hero-gradient-start);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle,
.theme-toggle {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: var(--glass-bg);
    color: var(--nav-text);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

nav.scrolled .lang-toggle,
nav.scrolled .theme-toggle {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav.scrolled .lang-toggle:hover,
nav.scrolled .theme-toggle:hover {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
    border-color: transparent;
}

.lang-toggle.glass,
.theme-toggle.glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.lang-toggle.glass:hover,
.theme-toggle.glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
}

nav.scrolled .mobile-menu-toggle {
    color: var(--text-color);
    text-shadow: none;
}

/* Mobile menu styles */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block !important;
        padding: 0.75rem;
        margin: -0.75rem;
        z-index: 1001;
        font-size: 1.5rem;
        color: var(--nav-text);
        background: none;
        border: none;
        cursor: pointer;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }

    nav.scrolled .mobile-menu-toggle {
        color: var(--text-color);
        text-shadow: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 1rem 1rem;
        z-index: 1000;
    }

    [data-theme="dark"] .nav-links {
        background: rgba(0, 0, 0, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    nav.scrolled .nav-links {
        background: rgba(17, 24, 39, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    [data-theme="dark"] nav.scrolled .nav-links {
        background: rgba(0, 0, 0, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        color: #ffffff;
        font-weight: 500;
        text-decoration: none;
    }

    .nav-links a:hover {
        background: rgba(59, 130, 246, 0.2);
        color: #60a5fa;
        transform: translateX(5px);
    }

    .nav-links a.active {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
        border-left: 3px solid #60a5fa;
    }

    /* Ensure nav controls are visible on mobile */
    .nav-controls {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        z-index: 1002;
    }

    /* Hide other nav items on mobile when needed */
    .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-up 20s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    mix-blend-mode: multiply;
    animation: blob 15s infinite;
}

.blob-1 {
    width: 24rem;
    height: 24rem;
    background-color: var(--hero-gradient-start);
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.blob-2 {
    width: 24rem;
    height: 24rem;
    background-color: var(--hero-gradient-end);
    top: 33%;
    right: 25%;
    animation-delay: 5s;
}

.blob-3 {
    width: 24rem;
    height: 24rem;
    background-color: var(--hero-gradient-tertiary);
    bottom: 25%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

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

/* Hero Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7), rgba(79, 70, 229, 0.7), rgba(139, 92, 246, 0.7), rgba(16, 185, 129, 0.7));
    mix-blend-mode: multiply;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-size: 1.2rem;
    pointer-events: all;
}

/* Slider Controls Mobile Responsive */
@media (max-width: 768px) {
    .slider-controls {
        padding: 0 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
    }
}

@media (max-width: 480px) {
    .slider-controls {
        padding: 0 0.5rem;
    }

    .slider-prev,
    .slider-next {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .slider-prev:hover,
    .slider-next:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 56rem;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

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

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: transform 0.7s;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero h1:hover {
    transform: scale(1.02);
}

.hero h2 {
    font-size: 2rem;
    color: #bfdbfe;
    margin-bottom: 1.5rem;
    transition: all 0.7s;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 500;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button.primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.15), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button.primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Focus states for accessibility */
.cta-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Active states */
.cta-button:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.cta-button span {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}



/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: var(--card-bg);
}

.about-card {
    display: flex;
    gap: 2rem;
    background: linear-gradient(to bottom right, var(--bg-color), var(--border-color));
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.about-image {
    flex: 0 0 400px;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #334155);
    position: relative;
}

/* 🚀 EPIC Professional Workspace Mockup */
.professional-workspace {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1200px;
    transform-style: preserve-3d;
    padding: 2rem;
    overflow: hidden;
}

/* 🖥️ Main Monitor Setup */
.monitor-setup {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-monitor {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotateY(-5deg);
    z-index: 3;
}

.secondary-monitor.left {
    top: 30px;
    left: 20px;
    transform: rotateY(15deg) scale(0.8);
    z-index: 2;
}

.monitor-frame {
    width: 180px;
    height: 110px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 8px 8px 0 0;
    padding: 4px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.monitor-screen {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.monitor-stand {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: linear-gradient(145deg, #e0e0e0, #c0c0c0);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* 💻 Desktop Interface */
.desktop-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    flex-direction: column;
    font-size: 6px;
    position: relative;
}

.taskbar {
    height: 12px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    padding: 0 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.start-button {
    width: 16px;
    height: 8px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4px;
    margin-right: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.start-button:hover {
    background: linear-gradient(135deg, #5dade2, #3498db);
    transform: scale(1.05);
}

.taskbar-apps {
    display: flex;
    gap: 2px;
    flex: 1;
}

.app-icon {
    width: 12px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4px;
    color: #bdc3c7;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.app-icon.active {
    background: rgba(52, 152, 219, 0.3);
    color: #3498db;
    border-bottom: 1px solid #3498db;
}

.app-icon.notification .notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    font-size: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.system-tray {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 3px;
    color: #bdc3c7;
}

.time {
    font-weight: bold;
}

.network-icon {
    color: #27ae60;
}

/* VS Code Window */
.active-window {
    flex: 1;
    background: #1e1e1e;
    margin: 2px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.window-header {
    height: 8px;
    background: linear-gradient(135deg, #333, #2d2d30);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    border-bottom: 1px solid #444;
}

.window-controls {
    display: flex;
    gap: 1px;
}

.control {
    width: 3px;
    height: 3px;
    border-radius: 50%;
}

.control.minimize {
    background: #fbc02d;
}

.control.maximize {
    background: #4caf50;
}

.control.close {
    background: #f44336;
}

.window-title {
    font-size: 3px;
    color: #ccc;
    font-weight: bold;
}

.window-content {
    height: calc(100% - 8px);
    display: flex;
}

.sidebar {
    width: 25%;
    background: #252526;
    border-right: 1px solid #3e3e42;
    padding: 2px;
}

.file-tree {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.folder,
.file {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 1px;
    border-radius: 1px;
    cursor: pointer;
    font-size: 3px;
    color: #cccccc;
}

.folder.expanded {
    color: #ff6b6b;
}

.file.active {
    background: #37373d;
    color: #ffffff;
}

.code-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.code-tabs {
    height: 8px;
    background: #2d2d30;
    display: flex;
    border-bottom: 1px solid #3e3e42;
}

.tab {
    padding: 0 4px;
    background: #2d2d30;
    color: #969696;
    font-size: 3px;
    display: flex;
    align-items: center;
    border-right: 1px solid #3e3e42;
    cursor: pointer;
}

.tab.active {
    background: #1e1e1e;
    color: #ffffff;
}

.code-content {
    flex: 1;
    display: flex;
    background: #1e1e1e;
}

.line-numbers {
    width: 15px;
    background: #1e1e1e;
    color: #858585;
    font-size: 3px;
    padding: 2px;
    text-align: right;
    border-right: 1px solid #3e3e42;
    font-family: 'Courier New', monospace;
}

.code-text {
    flex: 1;
    padding: 2px;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 3px;
    line-height: 1.3;
}

.code-line {
    white-space: nowrap;
}

.keyword {
    color: #569cd6;
}

.variable {
    color: #9cdcfe;
}

.property {
    color: #92c5f7;
}

.string {
    color: #ce9178;
}

/* 📊 Monitoring Dashboard */
.monitoring-dashboard {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    padding: 3px;
    font-size: 4px;
    color: #e2e8f0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header h4 {
    font-size: 4px;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.status {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 3px;
}

.status.online {
    color: #48bb78;
}

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

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 3px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 3px;
}

.metric-label {
    width: 15px;
    font-size: 3px;
    color: #a0aec0;
}

.metric-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 2s ease;
}

.metric-fill.cpu {
    width: 45%;
    background: linear-gradient(90deg, #48bb78, #38a169);
}

.metric-fill.ram {
    width: 67%;
    background: linear-gradient(90deg, #ed8936, #dd6b20);
}

.metric-fill.network {
    width: 23%;
    background: linear-gradient(90deg, #4299e1, #3182ce);
}

.metric-value {
    width: 12px;
    text-align: right;
    font-size: 3px;
    color: #e2e8f0;
    font-weight: bold;
}

.server-status {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.server {
    padding: 1px 2px;
    border-radius: 2px;
    font-size: 3px;
    font-weight: bold;
}

.server.active {
    background: rgba(72, 187, 120, 0.2);
    color: #48bb78;
}

.server.maintenance {
    background: rgba(237, 137, 54, 0.2);
    color: #ed8936;
}

/* 📱 Tablet Device */
.tablet-device {
    position: absolute;
    top: 160px;
    right: 80px;
    transform: rotateY(-10deg) rotateX(5deg);
    z-index: 2;
}

.tablet-frame {
    width: 90px;
    height: 120px;
    background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #ddd;
}

.tablet-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.tablet-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 3px;
    font-size: 4px;
    color: white;
}

.ticket-system {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ticket-header h5 {
    font-size: 4px;
    margin: 0;
    font-weight: bold;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 3px;
    border-radius: 8px;
    font-size: 3px;
    font-weight: bold;
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.ticket {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 2px solid;
}

.ticket.urgent {
    border-left-color: #ff4757;
}

.ticket.medium {
    border-left-color: #ffa502;
}

.ticket.low {
    border-left-color: #2ed573;
}

.ticket-id {
    font-size: 3px;
    font-weight: bold;
    font-family: monospace;
}

.ticket-desc {
    font-size: 3px;
    flex: 1;
    text-align: center;
}

.ticket-status {
    font-size: 2px;
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: bold;
}

.ticket-status.urgent {
    background: #ff4757;
}

.ticket-status.medium {
    background: #ffa502;
}

.ticket-status.low {
    background: #2ed573;
}

/* 📱 Smartphone */
.smartphone-device {
    position: absolute;
    top: 180px;
    right: 20px;
    transform: rotateY(-15deg) rotateZ(5deg);
    z-index: 1;
}

.phone-frame {
    width: 50px;
    height: 85px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 2px;
    background: #333;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.phone-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    flex-direction: column;
}

.status-bar {
    height: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3px;
    font-size: 2px;
    color: white;
    background: rgba(0, 0, 0, 0.2);
}

.carrier {
    font-weight: bold;
}

.battery {
    width: 8px;
    height: 3px;
    border: 1px solid white;
    border-radius: 1px;
    position: relative;
}

.battery-level {
    width: 70%;
    height: 100%;
    background: #4ade80;
    border-radius: 0.5px;
}

.app-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 6px;
}

.app-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    font-size: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.app-icon span {
    font-size: 2px;
    text-align: center;
}

/* 🖱️ Desktop Accessories */
.desk-accessories {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1;
}

.coffee-mug {
    position: relative;
}

.mug-body {
    width: 15px;
    height: 20px;
    background: linear-gradient(145deg, #8b4513, #654321);
    border-radius: 0 0 8px 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mug-handle {
    position: absolute;
    right: -3px;
    top: 5px;
    width: 4px;
    height: 8px;
    border: 1px solid #654321;
    border-left: none;
    border-radius: 0 4px 4px 0;
}

.coffee-steam {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.steam-line {
    width: 1px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 1px;
    border-radius: 1px;
    animation: steam 2s ease-in-out infinite;
}

.steam-line:nth-child(1) {
    animation-delay: 0s;
}

.steam-line:nth-child(2) {
    animation-delay: 0.3s;
}

.steam-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes steam {

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

    50% {
        opacity: 0.3;
        transform: translateY(-3px) scale(1.2);
    }
}

.keyboard {
    transform: rotateY(10deg);
}

.keyboard-body {
    width: 35px;
    height: 15px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 3px;
    padding: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.key-row {
    display: flex;
    gap: 1px;
    margin-bottom: 1px;
}

.key {
    width: 3px;
    height: 3px;
    background: linear-gradient(145deg, #444, #333);
    border-radius: 1px;
    transition: all 0.1s ease;
}

.key.active {
    background: linear-gradient(145deg, #3498db, #2980b9);
    box-shadow: 0 0 4px rgba(52, 152, 219, 0.5);
    transform: translateY(0.5px);
}

.gaming-mouse {
    transform: rotateY(-10deg);
}

.mouse-body {
    width: 12px;
    height: 18px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 6px 6px 3px 3px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mouse-led {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2px;
    background: #ff0080;
    border-radius: 50%;
    box-shadow: 0 0 4px #ff0080;
    animation: mouseLed 3s ease-in-out infinite;
}

@keyframes mouseLed {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 8px #ff0080;
    }
}

.tech-notebook {
    transform: rotateY(5deg) rotateZ(-5deg);
}

.notebook-cover {
    width: 18px;
    height: 12px;
    background: linear-gradient(145deg, #1e40af, #1e3a8a);
    border-radius: 1px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.notebook-pages {
    position: absolute;
    right: -1px;
    top: 1px;
    width: 15px;
    height: 10px;
    background: #f8f9fa;
    border-radius: 0 1px 1px 0;
    box-shadow: inset 0 0 0 0.5px #e9ecef;
}

/* 🔄 Floating Status Indicators */
.status-indicators {
    position: absolute;
    top: 50px;
    right: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 4;
}

.status-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    font-size: 6px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
    opacity: 0;
    animation-fill-mode: forwards;
}

.status-bubble.network {
    color: #16a085;
    animation-delay: 0.5s;
}

.status-bubble.security {
    color: #8e44ad;
    animation-delay: 1s;
}

.status-bubble.performance {
    color: #e67e22;
    animation-delay: 1.5s;
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    10% {
        opacity: 1;
    }

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

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

/* 🎭 Epic Hover Effects */
.professional-workspace:hover .main-monitor {
    transform: translateX(-50%) rotateY(-8deg) scale(1.05);
}

.professional-workspace:hover .secondary-monitor.left {
    transform: rotateY(20deg) scale(0.85);
}

.professional-workspace:hover .tablet-device {
    transform: rotateY(-15deg) rotateX(8deg) scale(1.1);
}

.professional-workspace:hover .smartphone-device {
    transform: rotateY(-20deg) rotateZ(8deg) scale(1.1);
}

.professional-workspace:hover .coffee-steam .steam-line {
    animation-duration: 1s;
}

.professional-workspace:hover .key.active {
    animation: keyPress 0.5s ease infinite;
}

@keyframes keyPress {

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

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

.professional-workspace:hover .mouse-led {
    animation-duration: 1s;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .professional-workspace {
        height: 250px;
        transform: scale(0.65);
        padding: 1rem;
    }

    .monitor-frame {
        width: 120px;
        height: 72px;
    }

    .tablet-frame {
        width: 60px;
        height: 80px;
    }

    .phone-frame {
        width: 35px;
        height: 58px;
    }

    .desk-accessories {
        gap: 8px;
    }

    .status-indicators {
        right: 120px;
        scale: 0.8;
    }

    /* Simplified animations on mobile */
    .professional-workspace:hover .main-monitor,
    .professional-workspace:hover .secondary-monitor.left,
    .professional-workspace:hover .tablet-device,
    .professional-workspace:hover .smartphone-device {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .professional-workspace {
        height: 200px;
        transform: scale(0.55);
        padding: 0.5rem;
    }

    .monitor-frame {
        width: 100px;
        height: 60px;
    }

    .tablet-frame {
        width: 50px;
        height: 65px;
    }

    .phone-frame {
        width: 30px;
        height: 48px;
    }

    .status-indicators {
        right: 100px;
        scale: 0.7;
    }
}

.editor-dots {
    display: flex;
    gap: 0.25rem;
}

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

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.editor-title {
    color: #9ca3af;
    font-size: 0.75rem;
    font-family: monospace;
}

.editor-content {
    flex: 1;
    padding: 0.5rem;
    background: #1e293b;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    line-height: 1.4;
    overflow: hidden;
    position: relative;
}

.code-line {
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

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

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

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

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

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

.code-line:nth-child(6) {
    animation-delay: 1.1s;
}

.code-line:nth-child(7) {
    animation-delay: 1.3s;
}

.code-line:nth-child(8) {
    animation-delay: 1.5s;
}

.code-line:nth-child(9) {
    animation-delay: 1.7s;
}

.indent {
    padding-left: 1rem;
}

.keyword {
    color: #c084fc;
}

.variable {
    color: #60a5fa;
}

.property {
    color: #fbbf24;
}

.string {
    color: #86efac;
}

.function {
    color: #fb923c;
}

.cursor {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 8px;
    height: 1rem;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    animation: cursorBlink 1s infinite, cursorGlow 2s ease-in-out infinite;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes cursorGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

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

/* Enhanced code syntax highlighting */
.keyword {
    color: #c084fc;
    text-shadow: 0 0 5px rgba(192, 132, 252, 0.3);
}

.variable {
    color: #60a5fa;
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
}

.property {
    color: #fbbf24;
    text-shadow: 0 0 5px rgba(251, 191, 36, 0.3);
}

.string {
    color: #86efac;
    text-shadow: 0 0 5px rgba(134, 239, 172, 0.3);
}

.function {
    color: #fb923c;
    text-shadow: 0 0 5px rgba(251, 146, 60, 0.3);
}

/* Enhanced Coffee Cup */
.coffee-cup {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    width: 40px;
    height: 50px;
    animation: coffeeFloat 4s ease-in-out infinite;
}

@keyframes coffeeFloat {

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

    50% {
        transform: translateY(-3px) rotate(2deg);
    }
}

.cup {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(to bottom, #8b4513, #654321);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cup::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 10px;
    background: #654321;
    border-radius: 50%;
}

.steam {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
}

.steam-particle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: steam-rise 3s infinite;
}

.steam-particle:nth-child(1) {
    left: 30%;
    animation-delay: 0s;
}

.steam-particle:nth-child(2) {
    left: 50%;
    animation-delay: 0.5s;
}

.steam-particle:nth-child(3) {
    left: 70%;
    animation-delay: 1s;
}

@keyframes steam-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-30px) scale(0);
        opacity: 0;
    }
}

/* Enhanced Notebook */
.notebook {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 80px;
    perspective: 1000px;
    animation: notebookBob 5s ease-in-out infinite;
}

@keyframes notebookBob {

    0%,
    100% {
        transform: translateY(0) rotateZ(-1deg);
    }

    50% {
        transform: translateY(-2px) rotateZ(1deg);
    }
}

.notebook-pages {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform-origin: left center;
    animation: page-flip 6s infinite;
}

.page:nth-child(1) {
    background: #fef3c7;
    animation-delay: 0s;
}

.page:nth-child(2) {
    background: #dbeafe;
    animation-delay: 2s;
}

.page:nth-child(3) {
    background: #dcfce7;
    animation-delay: 4s;
}

@keyframes page-flip {

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

    25% {
        transform: rotateY(-160deg);
    }

    50% {
        transform: rotateY(-160deg);
    }

    75% {
        transform: rotateY(0deg);
    }
}

/* Enhanced Plant */
.plant {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 100px;
    animation: plantSway 6s ease-in-out infinite;
}

@keyframes plantSway {

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

    25% {
        transform: translateX(-1px) rotate(-1deg);
    }

    75% {
        transform: translateX(1px) rotate(1deg);
    }
}

.pot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: linear-gradient(to bottom, #dc2626, #991b1b);
    border-radius: 0 0 10px 10px;
}

.stem {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 50px;
    background: #16a34a;
    animation: sway 4s ease-in-out infinite;
}

.leaves {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.leaf {
    position: absolute;
    width: 20px;
    height: 15px;
    background: #22c55e;
    border-radius: 0 100% 0 100%;
    animation: leaf-sway 3s ease-in-out infinite;
}

.leaf:nth-child(1) {
    transform: rotate(-45deg);
    left: -10px;
    animation-delay: 0s;
}

.leaf:nth-child(2) {
    transform: rotate(45deg);
    right: -10px;
    animation-delay: 0.5s;
}

.leaf:nth-child(3) {
    transform: rotate(-90deg);
    top: -10px;
    left: -5px;
    animation-delay: 1s;
}

@keyframes sway {

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

    50% {
        transform: translateX(-50%) rotate(3deg);
    }
}

@keyframes leaf-sway {

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

    50% {
        transform: rotate(calc(var(--rotation, 0deg) + 10deg)) scale(1.1);
    }
}

/* Floating Tech Icons */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    animation: float-icon 6s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tech-icon.react {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    color: #61dafb;
}

.tech-icon.nodejs {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
    color: #339933;
}

.tech-icon.js {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
    color: #f7df1e;
}

.tech-icon.python {
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
    color: #3776ab;
}

.tech-icon.docker {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
    color: #2496ed;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

/* Enhanced tech icon hover effects */
.tech-icon {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-icon:hover {
    transform: translateY(-5px) scale(1.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    z-index: 10;
}

.tech-icon.react:hover {
    box-shadow: 0 10px 30px rgba(97, 218, 251, 0.4) !important;
}

.tech-icon.nodejs:hover {
    box-shadow: 0 10px 30px rgba(51, 153, 51, 0.4) !important;
}

.tech-icon.js:hover {
    box-shadow: 0 10px 30px rgba(247, 223, 30, 0.4) !important;
}

.tech-icon.python:hover {
    box-shadow: 0 10px 30px rgba(55, 118, 171, 0.4) !important;
}

.tech-icon.docker:hover {
    box-shadow: 0 10px 30px rgba(36, 150, 237, 0.4) !important;
}

/* Enhanced Skills Radar Chart */
.skills-radar {
    margin: 1.5rem auto;
    padding: 1rem 2rem;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.skills-radar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.skills-radar h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.radar-chart {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s ease;
}

.radar-chart:hover {
    transform: scale(1.02);
}

.radar-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

/* Enhanced Radar Animations */
.radar-glow {
    animation: radarPulse 4s ease-in-out infinite;
}

@keyframes radarPulse {

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

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

.radar-grid {
    animation: radarSpin 20s linear infinite;
    transform-origin: center;
}

@keyframes radarSpin {
    from {
        transform: rotate(0deg);
    }

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

.radar-axis {
    animation: radarSweep 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes radarSweep {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.radar-polygon {
    transform-origin: center;
    animation: radarGrow 2s ease-out forwards, radarFloat 6s ease-in-out infinite 2s;
    opacity: 0;
}

.radar-chart.in-view .radar-polygon {
    opacity: 1;
}

@keyframes radarGrow {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }

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

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

@keyframes radarFloat {

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

    50% {
        transform: scale(1.02) rotate(365deg);
    }
}

.radar-point {
    animation: radarPointPulse 2s ease-in-out infinite;
    transform-origin: center;
}

.radar-point:nth-child(1) {
    animation-delay: 0s;
}

.radar-point:nth-child(2) {
    animation-delay: 0.3s;
}

.radar-point:nth-child(3) {
    animation-delay: 0.6s;
}

.radar-point:nth-child(4) {
    animation-delay: 0.9s;
}

.radar-point:nth-child(5) {
    animation-delay: 1.2s;
}

.radar-point:nth-child(6) {
    animation-delay: 1.5s;
}

@keyframes radarPointPulse {

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

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

.radar-label {
    animation: radarLabelFade 0.8s ease-out forwards;
    opacity: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.radar-chart.in-view .radar-label {
    opacity: 1;
}

@keyframes radarLabelFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Responsive radar chart */
@media (max-width: 768px) {
    .radar-chart {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .skills-radar {
        padding: 1rem 2.5rem;
        margin: 1.5rem auto;
        max-width: 350px;
    }

    .skills-radar h3 {
        font-size: 1.2rem;
    }

    .radar-label {
        font-size: 10px !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 480px) {
    .radar-chart {
        width: 120px;
        height: 120px;
    }
    
    .skills-radar {
        padding: 0.75rem 2rem;
        max-width: 280px;
    }
    
    .radar-label {
        font-size: 9px !important;
        font-weight: 700 !important;
    }
    
    /* Sağ/sol yazılar için artık daha büyük font - çünkü alan var! */
    .radar-svg text[text-anchor="start"],
    .radar-svg text[text-anchor="end"] {
        font-size: 8px !important;
        font-weight: 700 !important;
    }
}

/* Responsive adjustments for about section */
@media (max-width: 767px) {
    .about-image {
        flex: 0 0 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .about-image {
        flex: 0 0 200px;
        height: 200px;
    }
}

.about-content {
    flex: 1;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--secondary-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.about-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Experience Section - Enhanced */
.experience {
    background: linear-gradient(135deg, var(--bg-color), var(--border-color));
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.experience::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(59, 130, 246, 0.01) 20px,
            rgba(59, 130, 246, 0.01) 40px);
    animation: movePattern 20s linear infinite;
    z-index: 0;
}

@keyframes movePattern {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Experience Progress Indicator */
.experience-progress {
    text-align: center;
    margin-bottom: 3rem;
    z-index: 1;
    position: relative;
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-tertiary), var(--hero-gradient-end));
    border-radius: 10px;
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

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

.progress-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hero-gradient-start);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline Navigation */
.timeline-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    z-index: 1;
    position: relative;
}

.timeline-nav-btn {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.timeline-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.timeline-nav-btn:hover::before {
    left: 100%;
}

.timeline-nav-btn:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.timeline-nav-btn.active {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-tertiary));
    border-color: var(--hero-gradient-start);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.timeline-nav-btn.active::before {
    display: none;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--hero-gradient-start),
            var(--hero-gradient-tertiary),
            var(--hero-gradient-end));
    border-radius: 3px;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: timelineGlow 3s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

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

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    border: 5px solid var(--card-bg);
    z-index: 3;
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow:
        0 0 0 8px rgba(59, 130, 246, 0.3),
        0 8px 20px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, var(--hero-gradient-tertiary), var(--hero-gradient-start));
}

.timeline-item:nth-child(odd)::before {
    right: -12px;
}

.timeline-item:nth-child(even)::before {
    left: -12px;
}

.timeline-content {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

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

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.3);
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-tertiary));
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.timeline-content:hover::after {
    opacity: 0.2;
    transform: scale(1.1);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hero-gradient-start);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(79, 70, 229, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--text-color), var(--hero-gradient-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hero-gradient-start);
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content h4::before {
    content: '🏢';
    font-size: 1.2rem;
    opacity: 0.8;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Company Logo Placeholder */
.company-logo {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-tertiary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .company-logo {
    right: auto;
    left: 1.5rem;
}

.company-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Skills Tags */
.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--hero-gradient-start);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

/* Experience Mobile Responsive Styles */
@media (max-width: 768px) {
    .experience {
        padding: 3rem 0;
    }

    .experience-progress {
        margin-bottom: 2rem;
    }

    .progress-bar {
        max-width: 300px;
        height: 6px;
    }

    .progress-label {
        font-size: 0.8rem;
    }

    .timeline-navigation {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .timeline-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        width: 150px;
        text-align: center;
    }

    .timeline {
        padding: 1rem;
        max-width: 100%;
    }

    .timeline::before {
        left: 2rem;
        width: 4px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 4rem !important;
        padding-right: 1rem !important;
        text-align: left !important;
        margin-bottom: 3rem;
    }

    .timeline-item::before {
        left: 1.5rem !important;
        right: auto !important;
        top: 15px;
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        padding: 1.5rem;
        margin-left: 0;
        border-radius: 1rem;
    }

    .timeline-content::after {
        display: none;
    }

    .company-logo {
        position: static !important;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        align-self: flex-start;
    }

    .timeline-content {
        display: flex;
        flex-direction: column;
    }

    .timeline-date {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
        margin-bottom: 0.5rem;
        align-self: flex-start;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .timeline-content h4::before {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .experience-skills {
        margin-top: 0.75rem;
        gap: 0.4rem;
    }

    .skill-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    /* Disable hover effects on mobile */
    .timeline-content:hover {
        transform: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    }

    .timeline-item:hover::before {
        transform: none;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .skill-tag:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .experience {
        padding: 2rem 0;
    }

    .timeline {
        padding: 0.5rem;
    }

    .timeline-item {
        padding-left: 3rem !important;
        margin-bottom: 2.5rem;
    }

    .timeline::before {
        left: 1.5rem;
        width: 3px;
    }

    .timeline-item::before {
        left: 1rem !important;
        width: 16px;
        height: 16px;
        top: 12px;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .company-logo {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .experience-skills {
        gap: 0.3rem;
    }

    .skill-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, var(--bg-color), var(--border-color));
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* Modern Filter System */
.modern-filter-container {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.modern-filter-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    z-index: -1;
}

.filter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    position: relative;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-bg), var(--card-bg));
    border-color: var(--border-color);
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--btn-color, #6366F1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 0.1;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--btn-color, #6366F1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--btn-color, #6366F1), var(--btn-color, #6366F1)aa);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* "All Projects" butonu için özel renk */
.filter-btn[data-filter="all"] {
    color: #1a1a1a !important;
}

.filter-btn[data-filter="all"].active {
    color: #1a1a1a !important;
}

.filter-icon {
    font-size: 1.2rem;
}

.filter-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--btn-color, #6366F1)33, transparent);
    opacity: 0;
    transform: scale(0);
    border-radius: inherit;
}

@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 1;
    }

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

/* Modern Projects Grid */
.modern-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Filtering state styles */
.modern-projects-grid.filtering {
    opacity: 0.8;
    transform: scale(0.98);
}

/* Enhanced responsive grid for better filtering UX */
@media (max-width: 1400px) {
    .modern-projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .modern-projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .modern-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .modern-projects-grid {
        gap: 1rem;
        padding: 0;
    }
}

/* Enhanced Mobile Filter Experience */
@media (max-width: 768px) {

    .project-filters,
    .filter-buttons {
        gap: 0.75rem;
        padding: 0 1rem;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 0.75rem;
        min-width: auto;
        flex: 1;
        max-width: 130px;
        justify-content: center;
        gap: 0.4rem;
    }

    .filter-icon {
        font-size: 1.1rem;
    }

    .filter-label {
        font-size: 0.9rem;
    }

    .filter-btn:hover {
        transform: translateY(-2px);
    }

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

@media (max-width: 480px) {

    .project-filters,
    .filter-buttons {
        gap: 0.5rem;
        padding: 0 0.5rem;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 0.6rem;
        min-width: 90px;
        flex: 1;
        max-width: none;
        gap: 0.25rem;
    }

    .filter-icon {
        font-size: 1rem;
    }

    .filter-label {
        font-size: 0.8rem;
    }

    .filter-btn[data-filter="web"],
    .filter-btn[data-filter="all"] {
        flex-basis: 48%;
    }

    .filter-btn[data-filter="mobile"],
    .filter-btn[data-filter="backend"] {
        flex-basis: 48%;
    }

    .filter-btn:hover {
        transform: translateY(-1px);
    }

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

/* Smooth scroll after filtering for mobile */
@media (max-width: 768px) {
    .modern-projects-grid.filtering {
        scroll-margin-top: 100px;
    }

    /* Better visual feedback on mobile */
    .modern-project-card.filter-animate-in {
        animation: mobileFilterSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
}

@keyframes mobileFilterSlideIn {
    0% {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }

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

/* Modern Project Cards */
.modern-project-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(30px);
    opacity: 0;
    animation: projectSlideIn 0.6s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

.modern-project-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--project-color, #3B82F6), var(--project-color, #3B82F6)44, transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-project-card:hover::before {
    opacity: 1;
}

.modern-project-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modern-project-card.in-view {
    transform: translateY(0);
    opacity: 1;
}

/* Filtering Animation States */
.modern-project-card.hidden {
    transform: translateY(20px) scale(0.95) !important;
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-project-card.filter-animate-in {
    animation: filterSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Enhanced filter animations */
@keyframes filterSlideIn {
    0% {
        transform: translateY(30px) scale(0.9);
        opacity: 0;
    }

    50% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.7;
    }

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

/* Smooth filtering transitions */
.modern-projects-grid:not(.filtering) .modern-project-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-projects-grid.filtering .modern-project-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-project-card.hidden {
    transform: translateY(20px) scale(0.95) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
}

.project-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    position: relative;
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--card-bg);
    position: relative;
    z-index: 2;
}

.project-header {
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--project-color, #3B82F6), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--project-color, #3B82F6)22;
    color: var(--project-color, #3B82F6);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-description {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.375rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-links {
    display: flex;
    gap: 1rem;
}

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

.project-btn.primary {
    background: var(--project-color, #3B82F6);
    color: white;
}

.project-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--project-color, #3B82F6)44;
}

.project-btn.secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.project-btn.secondary:hover {
    background: var(--text-color);
    color: var(--card-bg);
    transform: translateY(-2px);
}

.project-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.modern-project-card:hover .project-glow {
    opacity: 1;
}

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

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

/* Animated Mockups */
.project-mockup {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--project-color, #3B82F6)11, var(--project-color, #3B82F6)05);
    overflow: hidden;
}

.animated-content {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-content.animate {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Browser Mockup */
.browser-mockup {
    width: 90%;
    max-width: 320px;
    background: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.browser-mockup::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.browser-mockup:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.browser-mockup:hover::before {
    opacity: 1;
}

.browser-header {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.browser-controls {
    display: flex;
    gap: 0.25rem;
}

.browser-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.browser-dot.red {
    background: #ef4444;
}

.browser-dot.yellow {
    background: #f59e0b;
}

.browser-dot.green {
    background: #10b981;
}

.browser-address-bar {
    flex: 1;
    background: white;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

.browser-content {
    height: 200px;
    background: white;
    position: relative;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.floating-card {
    width: 60px;
    height: 40px;
    background: var(--color, #3B82F6);
    border-radius: 0.375rem;
    animation: floatingCard 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-grid {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.animated-block {
    height: 20px;
    background: var(--border-color);
    border-radius: 0.25rem;
    animation: blockPulse 2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    33% {
        transform: translateY(-8px) rotate(3deg) scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    66% {
        transform: translateY(-5px) rotate(-2deg) scale(0.98);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }
}

@keyframes blockPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Enhanced Mobile Mockup */
.mobile-mockup {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.1));
}

.mobile-mockup::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 2.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.mobile-mockup:hover {
    transform: translateY(-8px) scale(1.05) rotateY(-3deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.mobile-mockup:hover::before {
    opacity: 1;
}

.mobile-frame {
    width: 180px;
    height: 360px;
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 2rem;
    padding: 1rem 0.75rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-notch {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #374151;
    border-radius: 2px;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.mobile-header {
    padding: 1rem;
    background: var(--project-color, #3B82F6)11;
}

.mobile-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.signal-bars {
    display: flex;
    gap: 2px;
    align-items: end;
}

.signal-bar {
    width: 3px;
    background: var(--project-color, #3B82F6);
    border-radius: 1px;
    animation: signalAnimation 1.5s ease-in-out infinite;
}

.signal-bar:nth-child(1) {
    height: 4px;
    animation-delay: 0s;
}

.signal-bar:nth-child(2) {
    height: 6px;
    animation-delay: 0.2s;
}

.signal-bar:nth-child(3) {
    height: 8px;
    animation-delay: 0.4s;
}

.signal-bar:nth-child(4) {
    height: 10px;
    animation-delay: 0.6s;
}

.mobile-battery {
    width: 20px;
    height: 10px;
    border: 1px solid var(--project-color, #3B82F6);
    border-radius: 2px;
    position: relative;
}

.mobile-battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 2px;
    width: 2px;
    height: 6px;
    background: var(--project-color, #3B82F6);
    border-radius: 0 1px 1px 0;
}

.mobile-content {
    padding: 1rem;
}

.mobile-elements {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.floating-icon {
    width: 30px;
    height: 30px;
    background: var(--color, #3B82F6);
    border-radius: 0.5rem;
    animation: floatingIcon 2.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.animated-chart {
    display: flex;
    align-items: end;
    gap: 0.25rem;
    height: 60px;
    justify-content: center;
}

.chart-bar {
    width: 15px;
    background: var(--color, #3B82F6);
    border-radius: 2px 2px 0 0;
    animation: chartBarGrow 2s ease-out infinite;
    animation-delay: var(--delay, 0s);
    height: var(--height, 50%);
}

.mobile-button {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #374151;
    border-radius: 2px;
}

@keyframes signalAnimation {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes floatingIcon {

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

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

@keyframes chartBarGrow {
    0% {
        height: 0;
    }

    50% {
        height: var(--height, 50%);
    }

    100% {
        height: var(--height, 50%);
    }
}

/* Code Mockup */
.code-mockup {
    width: 90%;
    max-width: 320px;
    background: #1e293b;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.code-header {
    background: #334155;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.code-controls {
    display: flex;
    gap: 0.25rem;
}

.code-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.code-dot.red {
    background: #ef4444;
}

.code-dot.yellow {
    background: #f59e0b;
}

.code-dot.green {
    background: #10b981;
}

.code-title {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-content {
    padding: 1rem;
    background: #1e293b;
    min-height: 200px;
    position: relative;
}

.code-lines {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.5;
}

.typing-animation {
    opacity: 0;
    animation: typeIn 0.8s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.keyword {
    color: #60a5fa;
}

.variable {
    color: #34d399;
}

.property {
    color: #f59e0b;
}

.string {
    color: #fbbf24;
}

.animated-cursor {
    display: inline-block;
    width: 2px;
    height: 1rem;
    background: var(--project-color, #3B82F6);
    animation: blink 1s infinite;
    margin-left: 2px;
    position: absolute;
    bottom: 1rem;
}

@keyframes typeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Responsive Design for Modern Projects */
@media (max-width: 768px) {
    .modern-projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .project-mockup {
        order: -1;
        height: 250px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

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

    .browser-mockup,
    .code-mockup {
        max-width: 280px;
    }

    .mobile-frame {
        width: 160px;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .modern-filter-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .filter-title {
        font-size: 1.25rem;
    }

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

    .filter-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Removed .project-card.visible rule to fix filtering */

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px) rotateY(5deg);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-description {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(79, 70, 229, 0.1));
    color: #3b82f6;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.2s;
}

.tech-tag:hover {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(79, 70, 229, 0.2));
    transform: translateY(-2px);
}

[data-theme="dark"] .tech-tag {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(79, 70, 229, 0.2));
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .tech-tag:hover {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.3), rgba(79, 70, 229, 0.3));
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.project-link:hover {
    background: var(--hero-gradient-start);
    color: white;
    transform: translateY(-3px);
}

/* Mockups */
.browser-mockup {
    position: relative;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    transition: transform 0.3s;
    transform-style: preserve-3d;
}

.browser-mockup:hover {
    transform: scale(1.03) rotateY(5deg);
}

.browser-header {
    background-color: #1f2937;
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .browser-header {
    background-color: #374151;
}

.browser-controls {
    display: flex;
    gap: 0.5rem;
}

.browser-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.browser-dot.red {
    background-color: #ef4444;
}

.browser-dot.yellow {
    background-color: #f59e0b;
}

.browser-dot.green {
    background-color: #10b981;
}

.browser-address-bar {
    flex: 1;
    height: 1.5rem;
    background-color: #374151;
    border-radius: 9999px;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

[data-theme="dark"] .browser-address-bar {
    background-color: #4b5563;
}

.browser-icon {
    font-size: 0.875rem;
}

.browser-url {
    color: #d1d5db;
    font-size: 0.75rem;
    font-family: monospace;
}

.browser-content {
    background-color: var(--card-bg);
    border-radius: 0 0.75rem 0.75rem 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.7s;
}

.browser-screen {
    height: 12rem;
    background-color: white;
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .browser-screen {
    background-color: #1f2937;
}

.browser-inner {
    padding: 0;
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 1s, transform 1s;
}

.browser-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Browser Screen Content */
.browser-nav {
    display: flex;
    background-color: #f3f4f6;
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .browser-nav {
    background-color: #374151;
    border-bottom: 1px solid #4b5563;
}

.browser-nav-item {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

[data-theme="dark"] .browser-nav-item {
    color: #9ca3af;
}

.browser-nav-item.active {
    background-color: white;
    color: #3b82f6;
    font-weight: 500;
}

[data-theme="dark"] .browser-nav-item.active {
    background-color: #1f2937;
    color: #60a5fa;
}

.browser-hero {
    display: flex;
    padding: 1rem;
    background: linear-gradient(to right, #dbeafe, #ede9fe);
    height: 6rem;
}

[data-theme="dark"] .browser-hero {
    background: linear-gradient(to right, #1e3a8a, #312e81);
}

.browser-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.browser-hero-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

[data-theme="dark"] .browser-hero-title {
    color: #93c5fd;
}

.browser-hero-subtitle {
    font-size: 0.875rem;
    color: #3b82f6;
}

[data-theme="dark"] .browser-hero-subtitle {
    color: #60a5fa;
}

.browser-hero-image {
    width: 4rem;
    height: 4rem;
    background-color: #3b82f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.browser-footer {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .browser-footer {
    background-color: #1f2937;
    border-top: 1px solid #374151;
}

.browser-footer-item {
    width: 2rem;
    height: 2rem;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
}

[data-theme="dark"] .browser-footer-item {
    background-color: #4b5563;
}

/* Analytics Dashboard */
.analytics {
    padding: 1rem;
    background-color: white;
}

[data-theme="dark"] .analytics {
    background-color: #1f2937;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.analytics-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

[data-theme="dark"] .analytics-title {
    color: #f9fafb;
}

.analytics-date {
    font-size: 0.75rem;
    color: #6b7280;
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

[data-theme="dark"] .analytics-date {
    color: #9ca3af;
    background-color: #374151;
}

.analytics-cards {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.analytics-card {
    flex: 1;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    position: relative;
}

[data-theme="dark"] .analytics-card {
    background-color: #374151;
}

.analytics-card-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

[data-theme="dark"] .analytics-card-value {
    color: #f9fafb;
}

.analytics-card-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .analytics-card-label {
    color: #9ca3af;
}

.analytics-card-change {
    font-size: 0.75rem;
    font-weight: 500;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.analytics-card-change.positive {
    color: #10b981;
}

.analytics-card-change.negative {
    color: #ef4444;
}

.analytics-chart {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    height: 5rem;
}

[data-theme="dark"] .analytics-chart {
    background-color: #374151;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    height: 3rem;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    border-radius: 0.25rem 0.25rem 0 0;
    transition: height 1s ease;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.625rem;
    color: #6b7280;
}

[data-theme="dark"] .chart-labels {
    color: #9ca3af;
}

/* Mobile Mockup */
.mobile-mockup {
    position: relative;
    width: 16rem;
    margin: 0 auto;
    transition: transform 0.3s;
    transform-style: preserve-3d;
}

.mobile-mockup:hover {
    transform: scale(1.05) rotateY(-5deg);
}

.mobile-frame {
    background-color: #1f2937;
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.7s;
    position: relative;
}

[data-theme="dark"] .mobile-frame {
    background-color: #374151;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 1rem;
    background-color: #1f2937;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    z-index: 2;
}

[data-theme="dark"] .mobile-notch {
    background-color: #374151;
}

.mobile-screen {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    height: 14rem;
    position: relative;
}

[data-theme="dark"] .mobile-screen {
    background-color: #1f2937;
}

.mobile-inner {
    padding: 0;
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 1s, transform 1s;
}

.mobile-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Screen Content */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .mobile-header {
    background-color: #374151;
    border-bottom: 1px solid #4b5563;
}

.mobile-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

[data-theme="dark"] .mobile-title {
    color: #f9fafb;
}

.mobile-avatar {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #3b82f6;
    border-radius: 50%;
}

.mobile-tabs {
    display: flex;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .mobile-tabs {
    background-color: #1f2937;
    border-bottom: 1px solid #374151;
}

.mobile-tab {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

[data-theme="dark"] .mobile-tab {
    color: #9ca3af;
}

.mobile-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

[data-theme="dark"] .mobile-tab.active {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}

.mobile-tasks {
    padding: 0.75rem;
    height: 7rem;
    overflow-y: auto;
}

.mobile-task {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

[data-theme="dark"] .mobile-task {
    border-bottom: 1px solid #374151;
}

.mobile-task-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    position: relative;
    cursor: pointer;
}

[data-theme="dark"] .mobile-task-checkbox {
    border-color: #4b5563;
}

.mobile-task-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
}

.mobile-task-checkbox.checked {
    background-color: #10b981;
    border-color: #10b981;
}

.mobile-task-content {
    flex: 1;
}

.mobile-task-title {
    font-size: 0.875rem;
    color: #1f2937;
    margin-bottom: 0.125rem;
}

[data-theme="dark"] .mobile-task-title {
    color: #f9fafb;
}

.mobile-task-title.completed {
    text-decoration: line-through;
    color: #9ca3af;
}

[data-theme="dark"] .mobile-task-title.completed {
    color: #6b7280;
}

.mobile-task-time {
    font-size: 0.75rem;
    color: #6b7280;
}

[data-theme="dark"] .mobile-task-time {
    color: #9ca3af;
}

.mobile-add-task {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to right, #3b82f6, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-add-task:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.mobile-add-icon {
    line-height: 1;
}

.mobile-side-button {
    position: absolute;
    width: 0.25rem;
    height: 4rem;
    background-color: #374151;
    border-radius: 0 0.5rem 0.5rem 0;
    top: 33%;
    left: 0;
    transform: translateY(-50%);
}

[data-theme="dark"] .mobile-side-button {
    background-color: #4b5563;
}

.mobile-volume-button {
    position: absolute;
    width: 0.25rem;
    height: 2rem;
    background-color: #374151;
    border-radius: 0.5rem 0 0 0.5rem;
    top: 25%;
    right: 0;
    transform: translateY(-50%);
}

[data-theme="dark"] .mobile-volume-button {
    background-color: #4b5563;
}

.mobile-home-button {
    position: absolute;
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #374151;
    border-radius: 50%;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

[data-theme="dark"] .mobile-home-button {
    border-color: #4b5563;
}

/* Skills Section */
.skills {
    background-color: var(--card-bg);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
}

.skill-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.skill-category:hover .skill-progress {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.skill-category:hover .skill-level {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-level {
    font-size: 0.75rem;
    color: var(--hero-gradient-start);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 0.375rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-bar {
    height: 0.5rem;
    background-color: var(--border-color);
    border-radius: 0.25rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-tertiary), var(--hero-gradient-end));
    border-radius: 0.25rem;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skillShimmer 3s infinite ease-in-out;
}

@keyframes skillShimmer {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* Testimonials Section */
/* Enhanced Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--bg-color), var(--border-color));
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    z-index: 0;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background:
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 30px,
            rgba(59, 130, 246, 0.02) 30px,
            rgba(59, 130, 246, 0.02) 60px);
    animation: moveTestimonialPattern 25s linear infinite;
    z-index: 0;
}

@keyframes moveTestimonialPattern {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Testimonials Progress Bar */
.testimonials-progress {
    text-align: center;
    margin-bottom: 3rem;
    z-index: 1;
    position: relative;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.progress-track {
    width: 300px;
    height: 6px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-tertiary), var(--hero-gradient-end));
    border-radius: 10px;
    width: 16.66%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShimmer 2s infinite;
}

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

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

.progress-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hero-gradient-start);
}

.current-testimonial,
.total-testimonials {
    transition: all 0.2s ease;
    min-width: 1.2rem;
    text-align: center;
}

.current-testimonial {
    font-weight: 700;
    color: var(--hero-gradient-start);
}

.total-testimonials {
    opacity: 0.7;
}

.progress-info::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hero-gradient-start);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

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

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    z-index: 1;
    overflow: hidden;
    min-height: 320px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-text {
    position: relative;
    padding-left: 2rem;
}

.testimonial-text i {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--nav-active);
    font-size: 1.5rem;
}

.testimonial-text p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    transition: color 0.3s ease;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
}

.author-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin: 0;
    transition: color 0.3s ease;
}

/* Testimonial Stats */
.testimonial-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    z-index: 1;
    position: relative;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hero-gradient-start);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--hero-gradient-end);
}

.stat-number::after {
    content: '+';
    position: absolute;
    top: 0;
    right: -1rem;
    font-size: 1.5rem;
    color: var(--hero-gradient-end);
    animation: counterGlow 2s ease-in-out infinite;
}

@keyframes counterGlow {

    0%,
    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px transparent;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px var(--hero-gradient-end);
    }
}

/* Counter animation styles */
.stat-number {
    font-family: 'Inter', monospace;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.stat-number.counting {
    animation: countingPulse 0.1s ease-in-out;
}

@keyframes countingPulse {

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

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

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Enhanced Testimonials Navigation */
.testimonials-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    z-index: 1;
    position: relative;
}

.nav-dots {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hero-gradient-start);
    transition: transform 0.3s ease;
}

.nav-dot.active {
    border-color: var(--hero-gradient-start);
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.nav-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.nav-dot:hover {
    border-color: var(--hero-gradient-start);
    transform: scale(1.1);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.testimonial-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.testimonial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.testimonial-btn:hover::before {
    left: 100%;
}

.testimonial-btn:hover {
    border-color: var(--hero-gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    color: var(--hero-gradient-start);
}

.testimonial-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.testimonial-prev:hover i {
    transform: translateX(-3px);
}

.testimonial-next:hover i {
    transform: translateX(3px);
}

.autoplay-toggle {
    margin-top: 1rem;
}

.autoplay-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.autoplay-btn.active {
    border-color: var(--hero-gradient-start);
    color: var(--hero-gradient-start);
    background: rgba(59, 130, 246, 0.1);
}

.autoplay-btn:hover {
    border-color: var(--hero-gradient-start);
    color: var(--hero-gradient-start);
}

.autoplay-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.autoplay-btn.active i {
    animation: spin 2s linear infinite;
}

/* Random Testimonial Button */
.random-testimonial {
    display: flex;
    justify-content: center;
    z-index: 1;
    position: relative;
    margin-top: 2rem;
}

.random-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.random-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.random-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonials-slider {
        min-height: 360px;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text p {
        font-size: 1rem;
    }

    .testimonial-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 0 auto;
    }

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

/* Mini Demo Window Styles */
.mini-demo-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 250px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    cursor: pointer;
}

.mini-demo-window:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.mini-demo-window.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: miniWindowSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expanded state for detailed developer workflow */
.mini-demo-window.expanded {
    width: 600px;
    height: 400px;
    bottom: 20px;
    right: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-demo-window.expanded .mini-demo-content {
    padding: 20px;
}

.mini-demo-window.expanded .mini-terminal-body {
    padding: 16px;
    font-size: 12px;
    max-height: 250px;
}

.mini-demo-window.expanded .mini-progress-text {
    font-size: 12px;
}

.mini-demo-window.expanded .mini-demo-header {
    padding: 16px 20px;
}

.mini-demo-window.expanded .mini-demo-title {
    font-size: 15px;
}

.mini-demo-window.expanded .mini-demo-expand,
.mini-demo-window.expanded .mini-demo-close {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

@keyframes miniWindowSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }

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

.mini-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-demo-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}

.mini-demo-title i {
    color: #3b82f6;
    font-size: 16px;
}

.mini-demo-controls {
    display: flex;
    gap: 8px;
}

.mini-demo-expand,
.mini-demo-close {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
}

.mini-demo-expand:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    transform: scale(1.1);
}

.mini-demo-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    transform: scale(1.1);
}

.mini-demo-content {
    padding: 16px;
    height: calc(100% - 65px);
    display: flex;
    flex-direction: column;
}

.mini-demo-screen {
    flex: 1;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-terminal {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mini-terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.terminal-button.red {
    background: #ef4444;
}

.terminal-button.yellow {
    background: #f59e0b;
}

.terminal-button.green {
    background: #10b981;
}

.terminal-title {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.mini-terminal-body {
    flex: 1;
    padding: 12px;
    font-size: 11px;
    line-height: 1.4;
    color: #e2e8f0;
    overflow-y: auto;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.terminal-prompt {
    color: #3b82f6;
    margin-right: 8px;
}

.terminal-cursor {
    background: #3b82f6;
    color: #0f172a;
    padding: 0 2px;
    animation: miniCursorBlink 1s infinite;
}

@keyframes miniCursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.mini-demo-progress {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.mini-progress-text {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
}

/* Mobile Responsive for Mini Demo */
@media (max-width: 768px) {
    .mini-demo-window {
        width: 280px;
        height: 200px;
        bottom: 15px;
        right: 15px;
    }

    .mini-demo-window.expanded {
        width: calc(100vw - 20px);
        height: 350px;
        bottom: 10px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
    }

    .mini-demo-header {
        padding: 10px 12px;
    }

    .mini-demo-title {
        font-size: 13px;
    }

    .mini-demo-content {
        padding: 12px;
    }

    .mini-demo-window.expanded .mini-demo-content {
        padding: 16px;
    }

    .mini-terminal-body {
        padding: 8px;
        font-size: 10px;
    }

    .mini-demo-window.expanded .mini-terminal-body {
        padding: 12px;
        font-size: 11px;
        max-height: 220px;
    }

    .mini-progress-text {
        font-size: 10px;
    }

    .mini-demo-window.expanded .mini-progress-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .mini-demo-window {
        width: calc(100vw - 30px);
        max-width: 300px;
        height: 180px;
        bottom: 10px;
        right: 15px;
        left: 15px;
        margin: 0 auto;
    }

    .mini-demo-window.expanded {
        width: calc(100vw - 20px);
        height: 320px;
        bottom: 5px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .mini-demo-title {
        font-size: 12px;
    }

    .mini-demo-expand,
    .mini-demo-close {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .mini-demo-window.expanded .mini-demo-expand,
    .mini-demo-window.expanded .mini-demo-close {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .terminal-title {
        font-size: 10px;
    }

    .terminal-button {
        width: 10px;
        height: 10px;
    }

    .mini-terminal-body {
        font-size: 9px;
        padding: 6px;
    }

    .mini-demo-window.expanded .mini-terminal-body {
        font-size: 10px;
        padding: 10px;
        max-height: 200px;
    }

    .mini-progress-text {
        font-size: 9px;
    }

    .mini-demo-window.expanded .mini-progress-text {
        font-size: 10px;
    }
}





.demo-container {
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }

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

@keyframes welcomeSlide {
    0% {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: translateY(-10px) scale(1.02);
        opacity: 0.8;
    }

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

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #374151, #1f2937);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.demo-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.demo-title i {
    color: var(--hero-gradient-start);
    font-size: 1.5rem;
}

.demo-close {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-close:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.demo-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(59, 130, 246, 0.1);
}

/* Terminal Styles */
.demo-terminal {
    background: #0d1117;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.terminal-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ff5f56;
}

.terminal-dot.yellow {
    background: #ffbd2e;
}

.terminal-dot.green {
    background: #27ca3f;
}

.terminal-title {
    color: #8b949e;
    font-size: 0.875rem;
    font-weight: 500;
}

.terminal-body {
    flex: 1;
    padding: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #f0f6fc;
    overflow-y: auto;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.terminal-prompt {
    color: #7c3aed;
    margin-right: 0.5rem;
}

.terminal-cursor {
    background: #f0f6fc;
    animation: terminalBlink 1s infinite;
    width: 0.5rem;
    height: 1.2rem;
    display: inline-block;
}

@keyframes terminalBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.terminal-output {
    color: #7dd3fc;
    margin-left: 1rem;
}

.terminal-success {
    color: #22c55e;
}

.terminal-error {
    color: #ef4444;
}

/* Code Editor Styles */
.demo-editor {
    background: #1e293b;
    display: flex;
    flex-direction: column;
}

.editor-header {
    background: #334155;
    border-bottom: 1px solid #475569;
}

.editor-tabs {
    display: flex;
}

.editor-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #475569;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    border-right: 1px solid #64748b;
}

.editor-tab.active {
    background: #1e293b;
    color: white;
}

.editor-tab:hover:not(.active) {
    background: #64748b;
}

.editor-body {
    flex: 1;
    display: flex;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-line-numbers {
    background: #0f172a;
    padding: 1rem 0.5rem;
    color: #64748b;
    text-align: right;
    border-right: 1px solid #334155;
    min-width: 3rem;
    user-select: none;
}

.code-content {
    flex: 1;
    padding: 1rem;
    color: #f1f5f9;
    position: relative;
    overflow-y: auto;
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2rem;
    background: #3b82f6;
    animation: codeBlink 1s infinite;
    position: relative;
}

@keyframes codeBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Code Syntax Highlighting */
.code-keyword {
    color: #c084fc;
}

.code-string {
    color: #34d399;
}

.code-function {
    color: #60a5fa;
}

.code-comment {
    color: #6b7280;
}

.code-tag {
    color: #f472b6;
}

.code-attribute {
    color: #fbbf24;
}

/* Preview Styles */
.demo-preview {
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
}

.preview-url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.status-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #f59e0b;
    animation: statusPulse 2s infinite;
}

.status-indicator.success {
    background: #10b981;
    animation: none;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.preview-body {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.preview-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748b;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Demo Progress */
.demo-progress {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.progress-bar {
    height: 0.5rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    width: 0%;
    transition: width 1s ease;
    border-radius: 0.25rem;
}

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

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.progress-step:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}

.progress-step.active {
    color: #3b82f6;
}

.progress-step.completed {
    color: #10b981;
}

.progress-step i {
    font-size: 1.5rem;
    padding: 0.75rem;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.1);
    border: 2px solid currentColor;
    transition: all 0.3s ease;
}

.progress-step.active i {
    background: rgba(59, 130, 246, 0.1);
    animation: stepPulse 2s infinite;
}

.progress-step.completed i {
    background: rgba(16, 185, 129, 0.1);
}

@keyframes stepPulse {

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .demo-container {
        width: 98%;
        height: 95vh;
    }
}

@media (max-width: 768px) {
    .demo-header {
        padding: 1rem;
    }

    .demo-title {
        font-size: 1rem;
    }

    .progress-steps {
        gap: 1rem;
    }

    .progress-step span {
        display: none;
    }
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--bg-color), var(--border-color));
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Contact Card Responsive Fixes */
@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        border-radius: 0.75rem;
    }

    .contact-info {
        order: -1;
        /* Show contact methods first on mobile */
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1rem;
        gap: 1.5rem;
        border-radius: 0.5rem;
        margin: 0 0.5rem;
    }
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Modern Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-tertiary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
        transform: scale(1.05);
    }
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-color), var(--hero-gradient-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--secondary-text);
    font-size: 1rem;
    margin: 0;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.floating-label {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    border-bottom: 2px solid var(--border-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 3rem;
    color: var(--secondary-text);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
    background: var(--card-bg);
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:valid,
.form-group textarea:valid {
    outline: none;
    border-color: var(--hero-gradient-start);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--bg-color);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:valid+label,
.form-group textarea:valid+label {
    top: -0.5rem;
    left: 2.5rem;
    font-size: 0.875rem;
    color: var(--hero-gradient-start);
    font-weight: 600;
}

.form-icon-input {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--secondary-text);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.form-group input:focus~.form-icon-input,
.form-group textarea:focus~.form-icon-input {
    color: var(--hero-gradient-start);
    transform: scale(1.1);
}

.form-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-tertiary));
    transition: width 0.3s ease;
}

.form-group input:focus~.form-border,
.form-group textarea:focus~.form-border {
    width: 100%;
}

/* Modern Submit Button */
.modern-submit {
    position: relative;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-tertiary));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    min-height: 56px;
    margin-top: 1rem;
}

.modern-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.modern-submit:active {
    transform: translateY(-1px);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.modern-submit:hover .btn-icon {
    transform: translateX(5px);
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-submit.loading .btn-content {
    opacity: 0;
}

.modern-submit.loading .btn-loader {
    opacity: 1;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.modern-submit.success .btn-content,
.modern-submit.success .btn-loader {
    opacity: 0;
}

.modern-submit.success .btn-success {
    opacity: 1;
    animation: success-bounce 0.6s ease;
}

@keyframes success-bounce {

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

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

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

/* Form validation states */
.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group textarea.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Error message styling */
.form-group .error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

/* Success message styling */
.form-group .success-message {
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.has-success .success-message {
    display: block;
}

.submit-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.form-message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* EPIC Contact Methods with Device Mockups 🚀 */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1500px;
}

/* Desktop Enhanced Grid Layout */
@media (min-width: 1200px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 4rem 0;
        max-width: 900px;
    }
    
    .contact-method {
        min-height: 460px;
        padding: 4rem 3rem;
        border-radius: 32px;
    }
    
    .phone-mockup {
        width: 150px;
        height: 220px;
    }
    
    .laptop-mockup {
        width: 180px;
        height: 126px;
    }
    
    .contact-content h3 {
        font-size: 2rem;
    }
    
    .contact-content p {
        font-size: 1.25rem;
    }
    
    .contact-action {
        font-size: 1.2rem;
        padding: 1.25rem 2.5rem;
    }
}

@media (min-width: 1400px) {
    .contact-methods {
        grid-template-columns: 1fr;
        max-width: 1000px;
        gap: 4rem;
        padding: 3rem 0;
    }
    
    .contact-method {
        padding: 3rem;
        min-height: 380px;
        border-radius: 28px;
    }
    
    .phone-mockup {
        width: 110px;
        height: 165px;
    }
    
    .laptop-mockup {
        width: 130px;
        height: 91px;
    }
    
    .contact-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .contact-methods {
        max-width: 900px;
        gap: 2.5rem;
    }
}

@media (max-width: 900px) {
    .contact-methods {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 2.5rem;
        perspective: none;
    }
    
    .contact-method {
        padding: 2rem;
        min-height: auto;
        flex-direction: row;
        text-align: left;
        border-radius: 20px;
    }
    
    .contact-content {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .contact-methods {
        max-width: 100%;
        gap: 1.25rem;
        padding: 0.5rem 0;
    }

    .contact-method {
        padding: 1.25rem;
        gap: 1.25rem;
        border-radius: 16px;
        flex-direction: row;
        text-align: left;
    }

    .contact-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .contact-content p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .contact-action {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .contact-methods {
        gap: 1rem;
        padding: 0;
    }

    .contact-method {
        padding: 1rem;
        gap: 1rem;
        border-radius: 12px;
        flex-direction: column;
        text-align: center;
    }

    .contact-content h3 {
        font-size: 1rem;
    }

    .contact-content p {
        font-size: 0.85rem;
    }

    .contact-action {
        font-size: 0.8rem;
    }

    .contact-arrow {
        align-self: center;
        margin-top: 0.5rem;
    }
}

.contact-method {
    background: linear-gradient(135deg, var(--card-bg), rgba(255, 255, 255, 0.98));
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    border: 2px solid var(--border-color);
    text-decoration: none;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    color: var(--text-color);
    perspective: 1500px;
    transform-style: preserve-3d;
    min-height: 420px;
    justify-content: space-between;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
}

.contact-method:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(79, 70, 229, 0.12));
    transform: translateY(-8px) rotateX(5deg) rotateY(2deg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .contact-method:hover {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(79, 70, 229, 0.2));
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(79, 70, 229, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.contact-method:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(to right, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
}

[data-theme="dark"] .contact-icon {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.3), rgba(79, 70, 229, 0.3));
}

.contact-method h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-method p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-action {
    font-size: 1.1rem;
    color: var(--hero-gradient-start);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(25px) scale(0.85);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.contact-method:hover .contact-action {
    opacity: 1;
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.contact-arrow {
    color: var(--secondary-text);
    font-size: 1.4rem;
    transition: all 0.5s ease;
    opacity: 0.7;
    padding: 0.75rem;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-method:hover .contact-arrow {
    color: var(--hero-gradient-start);
    transform: translateX(8px) scale(1.1);
    opacity: 1;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.contact-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    background: linear-gradient(135deg, var(--text-color), var(--hero-gradient-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.contact-content p {
    font-size: 1.15rem;
    color: var(--secondary-text);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-header {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-color), var(--hero-gradient-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.contact-header p {
    color: var(--secondary-text);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

/* Platform-specific colors */
.email-method .icon-bg {
    background: linear-gradient(135deg, #ea4335, #ff6b35);
}

.github-method .icon-bg {
    background: linear-gradient(135deg, #333, #6e5494);
}



.whatsapp-method .icon-bg {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Enhanced hover effects */
.email-method:hover {
    box-shadow: 0 30px 60px rgba(234, 67, 53, 0.25);
}

.email-method:hover .phone-mockup {
    transform: rotateX(-8deg) rotateY(12deg) scale(1.15);
    filter: drop-shadow(0 25px 50px rgba(234, 67, 53, 0.3));
}

.github-method:hover {
    box-shadow: 0 40px 80px rgba(51, 51, 51, 0.3);
}

.github-method:hover .laptop-mockup {
    transform: rotateX(-15deg) rotateY(-10deg) scale(1.15);
    filter: drop-shadow(0 25px 50px rgba(51, 51, 51, 0.4));
}

.whatsapp-method:hover {
    box-shadow: 0 40px 80px rgba(37, 211, 102, 0.3);
}

.whatsapp-method:hover .phone-mockup {
    transform: rotateX(-8deg) rotateY(-12deg) scale(1.15);
    filter: drop-shadow(0 25px 50px rgba(37, 211, 102, 0.3));
}

/* EPIC 3D Device Mockups CSS 🎨 */
.device-mockup {
    position: relative;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Phone Mockup (Email & WhatsApp) - Enhanced Desktop Version */
.phone-mockup {
    width: 130px;
    height: 190px;
    transform: rotateX(10deg) rotateY(-5deg);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

.phone-mockup .device-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f0f0f3, #cacaca);
    border-radius: 15px;
    padding: 8px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.phone-mockup .device-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

.phone-mockup .device-frame::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    opacity: 0.1;
}

/* Laptop Mockup (GitHub) - Enhanced Desktop Version */
.laptop-mockup {
    width: 160px;
    height: 112px;
    transform: rotateX(15deg) rotateY(3deg);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.laptop-mockup .device-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 8px 8px 0 0;
    padding: 6px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.laptop-mockup .device-frame::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -10px;
    right: -10px;
    height: 8px;
    background: linear-gradient(145deg, #e0e0e0, #c0c0c0);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}




/* Device Screens */
.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #000;
}

/* Email App Design */
.email-app {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
    display: flex;
    flex-direction: column;
    font-size: 6px;
}

.email-app .app-header {
    background: linear-gradient(135deg, #ea4335, #ff6b35);
    color: white;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 12px;
}

.app-controls {
    display: flex;
    gap: 2px;
}

.app-controls .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.app-title {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 5px;
    font-weight: bold;
}

.email-content {
    flex: 1;
    padding: 4px;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sender-avatar {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4px;
    font-weight: bold;
}

.email-details {
    flex: 1;
}

.sender {
    font-size: 4px;
    font-weight: bold;
    color: #333;
}

.subject {
    font-size: 3px;
    color: #666;
    margin-top: 1px;
}

/* GitHub App Design */
.github-app {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #24292e, #1a1e22);
    display: flex;
    flex-direction: column;
    font-size: 5px;
    color: white;
}

.github-app .app-header {
    background: #24292e;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #444;
}

.github-logo i {
    font-size: 6px;
    color: white;
}

.github-nav {
    font-size: 4px;
    font-weight: bold;
}

.github-content {
    flex: 1;
    padding: 4px;
}

.repo-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 4px;
    margin-bottom: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.repo-name {
    font-size: 4px;
    font-weight: bold;
    color: #58a6ff;
    margin-bottom: 2px;
}

.repo-stats {
    display: flex;
    gap: 4px;
    font-size: 3px;
    color: #8b949e;
}

.code-preview {
    background: #0d1117;
    padding: 3px;
    border-radius: 3px;
    border: 1px solid #30363d;
}

.code-line {
    display: block;
    font-size: 3px;
    color: #e6edf3;
    font-family: 'Courier New', monospace;
    line-height: 1.2;
}



/* WhatsApp App Design */
.whatsapp-app {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #25d366, #128c7e);
    display: flex;
    flex-direction: column;
    font-size: 5px;
    color: white;
}

.whatsapp-app .app-header {
    background: rgba(0, 0, 0, 0.1);
    padding: 3px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.contact-avatar {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4px;
    font-weight: bold;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-size: 4px;
    font-weight: bold;
}

.online-status {
    font-size: 3px;
    opacity: 0.8;
}

.whatsapp-logo i {
    font-size: 6px;
}

.chat-content {
    flex: 1;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.message {
    padding: 2px 4px;
    border-radius: 6px;
    font-size: 3px;
    max-width: 80%;
}

.message.incoming {
    background: rgba(255, 255, 255, 0.2);
    align-self: flex-start;
}

.message.outgoing {
    background: rgba(0, 0, 0, 0.2);
    align-self: flex-end;
}

.typing-indicator {
    font-size: 3px;
    opacity: 0.7;
    font-style: italic;
    animation: pulse 1.5s infinite;
}

/* EPIC Hover Effects 🎭 */
.contact-method:hover .device-mockup {
    transform: scale(1.15) rotateY(8deg) rotateX(-8deg);
}

.email-method:hover .phone-mockup {
    transform: scale(1.15) rotateZ(-8deg);
}

.github-method:hover .laptop-mockup {
    transform: rotateX(8deg) scale(1.15);
}



.whatsapp-method:hover .phone-mockup {
    transform: scale(1.15) rotateZ(8deg);
}

/* Enhanced Animations 🎬 */
.contact-method:hover .email-item {
    animation: emailBounce 0.6s ease infinite alternate;
}

.contact-method:hover .repo-stats {
    animation: statsGlow 1s ease infinite alternate;
}

.contact-method:hover .connection-btn {
    animation: connectionPulse 1s ease infinite;
}

.contact-method:hover .typing-indicator {
    animation: typingBounce 0.8s ease infinite;
}

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

    100% {
        transform: translateY(-2px);
    }
}

@keyframes statsGlow {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 3px rgba(88, 166, 255, 0.5);
    }
}

@keyframes connectionPulse {

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

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

@keyframes typingBounce {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Footer */
footer {
    padding: 3rem 0 1.5rem;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

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

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.footer-logo p {
    font-size: 0.875rem;
    color: var(--secondary-text);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--hero-gradient-start);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--secondary-text);
}

/* Responsive */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .floating-mockup {
        display: block;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

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

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item::before {
        left: 20px;
    }

    .contact-card {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

@media (max-width: 767px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        /* Better spacing between buttons */
        margin-top: 2rem;
        /* More breathing room */
    }

    /* Mobile-optimized CTA buttons */
    .cta-button {
        width: 100%;
        max-width: 280px;
        /* Prevent buttons from being too wide */
        padding: 1rem 2rem;
        /* Larger touch targets */
        font-size: 1rem;
        /* Slightly larger text */
        min-height: 48px;
        /* Accessibility guidelines */
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .about-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image {
        flex: 0 0 150px;
        height: 150px;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item::before {
        left: 10px;
    }

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

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

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
    }

    /* Better mobile section spacing */
    section {
        padding: 4rem 0;
        /* Reduced from 6rem for mobile */
    }

    .section-title {
        font-size: 2rem;
        /* Smaller but still prominent */
        margin-bottom: 2.5rem;
        /* Reduced margin */
    }

    .container {
        padding: 0 1.25rem;
        /* Slightly more padding for better content margins */
    }

    /* Mobile card improvements */
    .about-card,
    .contact-card {
        padding: 2rem;
        /* Better mobile padding */
        margin: 0 0.5rem;
        /* Small side margins */
    }

    /* Mobile form improvements */
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        /* Larger touch targets */
        font-size: 1rem;
        /* Prevent zoom on iOS */
    }

    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .slider-controls {
        padding: 0 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

/* ====================================
   PROJECT FILTERING & MOCKUPS
   ==================================== */

/* Code Mockup for Backend Projects */
.code-mockup {
    position: relative;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    transition: transform 0.3s;
    transform-style: preserve-3d;
}

.code-mockup:hover {
    transform: scale(1.03) rotateY(5deg);
}

.code-header {
    background-color: #1e293b;
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-controls {
    display: flex;
    gap: 0.5rem;
}

.code-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.code-dot.red {
    background-color: #ef4444;
}

.code-dot.yellow {
    background-color: #f59e0b;
}

.code-dot.green {
    background-color: #10b981;
}

.code-title {
    color: #94a3b8;
    font-size: 0.75rem;
    font-family: monospace;
}

.code-content {
    background-color: #1e293b;
    border-radius: 0 0.75rem 0.75rem 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.7s;
    padding: 1rem;
}

.code-content pre {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.code-keyword {
    color: #c084fc;
}

.code-variable {
    color: #60a5fa;
}

.code-function {
    color: #fb923c;
}

.code-string {
    color: #86efac;
}

.code-comment {
    color: #64748b;
}

.code-method {
    color: #fbbf24;
}

/* Fitness App Mockup */
.mobile-mockup.fitness {
    position: relative;
    width: 16rem;
    margin: 0 auto;
    transition: transform 0.3s;
    transform-style: preserve-3d;
}

.mobile-mockup.fitness:hover {
    transform: scale(1.05) rotateY(-5deg);
}

.fitness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .fitness-header {
    background-color: #374151;
    border-bottom: 1px solid #4b5563;
}

.fitness-date {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

[data-theme="dark"] .fitness-date {
    color: #9ca3af;
}

.fitness-avatar {
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
}

.fitness-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .fitness-stats {
    background-color: #1f2937;
    border-bottom: 1px solid #374151;
}

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

.fitness-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.25rem;
}

[data-theme="dark"] .fitness-number {
    color: #10b981;
}

.fitness-label {
    font-size: 0.625rem;
    color: #6b7280;
    text-transform: uppercase;
}

[data-theme="dark"] .fitness-label {
    color: #9ca3af;
}

.fitness-activities {
    padding: 0.75rem;
}

.fitness-activity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

[data-theme="dark"] .fitness-activity {
    border-bottom: 1px solid #374151;
}

.activity-icon {
    font-size: 1.25rem;
}

.activity-details {
    flex: 1;
}

.activity-name {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 500;
}

[data-theme="dark"] .activity-name {
    color: #f9fafb;
}

.activity-time {
    font-size: 0.625rem;
    color: #6b7280;
}

[data-theme="dark"] .activity-time {
    color: #9ca3af;
}

.fitness-progress {
    padding: 1rem 0.75rem;
    background-color: #f9fafb;
}

[data-theme="dark"] .fitness-progress {
    background-color: #1f2937;
}

.progress-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .progress-label {
    color: #9ca3af;
}

.progress-bar {
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

[data-theme="dark"] .progress-bar {
    background-color: #374151;
}

.progress-fill {
    height: 100%;
    width: 75%;
    background: linear-gradient(to right, #10b981, #059669);
    border-radius: 9999px;
    transition: width 1s ease;
}

/* Portfolio Website Mockup */
.browser-mockup.portfolio {
    position: relative;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    transition: transform 0.3s;
    transform-style: preserve-3d;
}

.browser-mockup.portfolio:hover {
    transform: scale(1.03) rotateY(5deg);
}

.browser-screen.portfolio {
    height: 12rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.portfolio-nav {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-nav-item {
    flex: 1;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.portfolio-nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
}

.portfolio-hero {
    display: flex;
    padding: 1rem;
    align-items: center;
    gap: 1rem;
}

.portfolio-hero-text {
    flex: 1;
}

.portfolio-hero-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.portfolio-hero-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-hero-image {
    width: 3rem;
    height: 3rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-weight: 700;
    font-size: 1.25rem;
}

.portfolio-projects-preview {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
}

.project-preview {
    flex: 1;
    text-align: center;
}

.preview-image {
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.preview-title {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Project Filtering System - Fixed */
.project-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    /* Removed display: block !important - was blocking JavaScript */
}

/* Responsive grid adjustments */
@media (max-width: 767px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====================================
   ALTERNATIVE FILTER BUTTONS
   ==================================== */

/* Removed unused filter styles (radio, link) */

/* Responsive for filter dropdown */
@media (max-width: 768px) {
    .project-filter-container {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .project-filter-dropdown {
        min-width: 100%;
        max-width: 300px;
    }
}

/* Project card hidden state - using hidden attribute like working example */
.project-card[hidden] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* 📱 Mobile Mockup Optimizations */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method {
        padding: 1rem;
        gap: 1rem;
    }

    /* Smaller device mockups for mobile */
    .device-mockup {
        transform: scale(0.8);
    }

    .phone-mockup {
        width: 60px;
        height: 90px;
    }

    .laptop-mockup {
        width: 75px;
        height: 52px;
    }

    /* Simplified hover effects for mobile */
    .contact-method:hover .device-mockup {
        transform: scale(0.85);
    }

    .email-method:hover .phone-mockup,
    .whatsapp-method:hover .phone-mockup {
        transform: scale(0.85);
    }

    .github-method:hover .laptop-mockup {
        transform: scale(0.85);
    }

    /* Adjust font sizes for mobile readability */
    .email-app,
    .github-app,
    .whatsapp-app {
        font-size: 4px;
    }

    .app-title {
        font-size: 3px;
    }

    .sender,
    .repo-name,
    .profile-name,
    .contact-name {
        font-size: 3px;
    }

    .subject,
    .repo-stats,
    .profile-title,
    .online-status {
        font-size: 2px;
    }

    /* Contact Form Tablet Fixes */
    .contact-form {
        gap: 1.75rem;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 1rem 1rem 1rem 2.75rem;
        font-size: 1rem;
        border-radius: 11px;
    }

    .form-group label {
        left: 2.75rem;
        font-size: 0.95rem;
    }

    .form-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .form-header h3 {
        font-size: 1.4rem;
    }

    .form-header p {
        font-size: 0.95rem;
    }

    .form-icon-input .input-icon {
        left: 1.25rem;
        font-size: 1.1rem;
    }

    .modern-submit {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        border-radius: 11px;
    }

    /* Skills Progress Bar Tablet Fixes */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
        border-radius: 0.875rem;
    }

    .skill-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .skill-list {
        gap: 1rem;
    }

    .skill-item {
        gap: 0.625rem;
        padding: 0;
    }

    .skill-name {
        font-size: 0.95rem;
        margin-bottom: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .skill-level {
        font-size: 0.8rem;
        color: var(--hero-gradient-start);
        font-weight: 600;
        order: 0;
    }

    .skill-bar {
        height: 0.5rem;
        border-radius: 0.25rem;
        background: var(--border-color);
        position: relative;
        overflow: hidden;
    }

    .skill-progress {
        border-radius: 0.25rem;
        height: 100%;
        position: relative;
        background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-end));
        transition: width 1.5s ease-in-out;
    }

    .skill-progress::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        animation: shimmer 2.5s infinite;
    }

    /* Reduce hover effects on tablet */
    .skill-category:hover {
        transform: translateY(-2px);
    }

    .skill-category:hover .skill-level {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .contact-methods {
        gap: 1rem;
    }

    .contact-method {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    /* Extra small device mockups */
    .device-mockup {
        transform: scale(0.7);
    }

    .phone-mockup {
        width: 50px;
        height: 75px;
    }

    .laptop-mockup {
        width: 65px;
        height: 45px;
    }

    /* No 3D effects on very small screens */
    .contact-method:hover .device-mockup,
    .email-method:hover .phone-mockup,
    .whatsapp-method:hover .phone-mockup,
    .github-method:hover .laptop-mockup {
        transform: scale(0.7);
    }

    /* Minimal animation on small screens */
    .contact-method:hover .email-item,
    .contact-method:hover .repo-stats,
    .contact-method:hover .connection-btn,
    .contact-method:hover .typing-indicator {
        animation: none;
    }

    /* Contact Form Mobile Fixes */
    .contact-form {
        gap: 1.5rem;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .form-group label {
        left: 2.5rem;
        font-size: 0.9rem;
    }

    .form-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .form-header h3 {
        font-size: 1.3rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .form-icon-input .input-icon {
        left: 1rem;
        font-size: 1rem;
    }

    .modern-submit {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    /* Skills Progress Bar Mobile Fixes */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .skill-category {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .skill-category h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .skill-list {
        gap: 0.875rem;
    }

    .skill-item {
        gap: 0.5rem;
        padding: 0;
    }

    .skill-name {
        font-size: 0.9rem;
        margin-bottom: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .skill-level {
        font-size: 0.75rem;
        color: var(--hero-gradient-start);
        font-weight: 600;
        order: -1;
    }

    .skill-bar {
        height: 0.5rem;
        border-radius: 0.25rem;
        background: var(--border-color);
        position: relative;
        overflow: hidden;
    }

    .skill-progress {
        border-radius: 0.25rem;
        height: 100%;
        position: relative;
        background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-end));
        transition: width 1.5s ease-in-out;
    }

    .skill-progress::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
    }

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

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

    /* Disable hover effects on mobile */
    .skill-category:hover {
        transform: none;
        box-shadow: var(--shadow);
    }

    .skill-category:hover .skill-progress {
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    }

    .skill-category:hover .skill-level {
        transform: none;
    }
}