/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --background-primary: #0a0a0a;
    --background-secondary: #111111;
    --background-dark: #000000;
    --border-color: #27272a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 212, 255, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 212, 255, 0.2), 0 2px 4px -2px rgba(139, 92, 246, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 212, 255, 0.3), 0 4px 6px -4px rgba(139, 92, 246, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 212, 255, 0.4), 0 8px 10px -6px rgba(139, 92, 246, 0.4);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(139, 92, 246, 0.5);
}

html {
    scroll-behavior: smooth;
}

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

/* 3D Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
    background: rgba(20, 20, 30, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    position: relative;
    display: inline-block;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.section-title:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0 auto 5rem;
    max-width: 700px;
    line-height: 1.8;
    position: relative;
    padding: 0 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Add decorative elements */
.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.section-subtitle::before {
    left: -30px;
}

.section-subtitle::after {
    right: -30px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .section-subtitle::before,
    .section-subtitle::after {
        width: 30px;
    }
    
    .section-subtitle::before {
        left: -15px;
    }
    
    .section-subtitle::after {
        right: -15px;
    }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Fix for tab content overflow */
.tab-content {
    width: 100%;
    overflow: hidden;
}

/* Ensure sections don't cause horizontal scroll */
section {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Fix for container width */
.container {
    max-width: 100%;
    overflow: hidden;
}

/* Tabs Navigation */
.tabs-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabs-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none; /* Firefox */
}

.tabs-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
}

.tab-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.tab-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

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

/* Tab Content */
.tab-content {
    flex: 1;
    margin-top: 70px; /* Height of the tabs nav */
    width: 100%;
    perspective: 2000px;
    position: relative;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1), 
                opacity 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    pointer-events: none;
}

.tab-pane.active {
    position: relative;
    transform: rotateY(0);
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.1s;
}

/* 3D Flip Animation */
@keyframes flipInRight {
    from {
        transform: rotateY(90deg) translateX(100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: rotateY(0) translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes flipOutLeft {
    from {
        transform: rotateY(0) translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: rotateY(-90deg) translateX(-100px) scale(0.9);
        opacity: 0;
    }
}

/* Navigation Buttons */
.tab-btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    opacity: 0.8;
}

.tab-btn:hover {
    transform: translateY(-3px) rotateX(10deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tab-btn:hover::before {
    transform: translateY(0);
}

.tab-btn.active {
    transform: translateY(-2px) rotateX(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tab-btn.active::before {
    transform: translateY(0);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.bar {
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bar:nth-child(3) {
    bottom: 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--background-primary);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

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

.mobile-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 2rem 1rem;
}

.mobile-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    width: 100%;
}

.mobile-tab-btn i {
    width: 24px;
    text-align: center;
}

.mobile-tab-btn:hover, .mobile-tab-btn.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .tabs-container {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .tab-content {
        margin-top: 60px;
    }
}

@media (min-width: 1025px) {
    .mobile-menu {
        display: none;
    }
}

/* Hide section IDs to prevent double IDs */
section[id] {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo a {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.nav-logo a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-color), transparent);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-logo a:hover::before {
    width: 100px;
    height: 100px;
    opacity: 0.1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: block;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 0.1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.glow-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-primary);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 40px rgba(139, 92, 246, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-primary);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    box-shadow: var(--glow-primary);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out 0.8s both;
}

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-cube {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: var(--glow-primary);
    animation: float 3s ease-in-out infinite;
}

.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cube-2 {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.cube-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.cube-4 {
    top: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    margin: 0 auto 0.5rem;
    position: relative;
    box-shadow: var(--glow-primary);
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

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

.about-visual {
    position: relative;
    height: 400px;
}

/* CV Section */
/* CV Section */
.cv {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 25%);
    z-index: 0;
}

.cv-content {
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cv-preview {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cv-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradientBG 3s ease infinite;
}

.cv-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    z-index: -1;
    transform: translateZ(-1px);
}

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

.cv-preview:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.2);
}

.cv-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 15px rgba(0, 212, 255, 0.3));
}

.cv-preview:hover .cv-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 20px rgba(0, 212, 255, 0.4));
}

.cv-preview h3 {
    margin: 1.5rem 0 1rem;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cv-preview p {
    color: rgba(255, 255, 255, 0.8);
    margin: 1.5rem 0 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cv-preview .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cv-preview .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cv-preview .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
}

.cv-preview .btn:hover::before {
    opacity: 1;
}

.cv-preview .btn i {
    transition: transform 0.3s ease;
}

.cv-preview .btn:hover i {
    transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cv {
        padding: 4rem 0;
    }
    
    .cv-preview {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .cv-icon {
        font-size: 3rem;
    }
    
    .cv-preview h3 {
        font-size: 1.3rem;
    }
    
    .cv-preview p {
        font-size: 1rem;
        margin: 1rem 0 1.5rem;
    }
    
    .cv-preview .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .cv {
        padding: 3rem 0;
    }
    
    .cv-preview {
        padding: 1.75rem 1.25rem;
        margin: 0 0.75rem;
    }
    
    .cv-icon {
        font-size: 2.75rem;
        margin-bottom: 1.25rem;
    }
    
    .cv-preview h3 {
        font-size: 1.25rem;
    }
    
    .cv-preview p {
        font-size: 0.95rem;
        margin: 1rem 0 1.5rem;
    }
    
    .cv-preview .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        max-width: 100%;
    }
}

.tech-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.tech-item {
    position: absolute;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--secondary-color);
    box-shadow: var(--glow-secondary);
    animation: float 4s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition);
}

.tech-item:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), var(--glow-secondary);
}

.tech-item:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.tech-item:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.tech-item:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.tech-item:nth-child(4) {
    top: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--background-primary);
    position: relative;
}

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

.project-card {
    perspective: 1000px;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.project-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid var(--primary-color);
    box-shadow: var(--glow-primary);
}

.card-back {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 212, 255, 0.1));
    border: 2px solid var(--secondary-color);
    box-shadow: var(--glow-secondary);
    transform: rotateY(180deg);
}

.project-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
}

.card-front p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
}

.card-back p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--secondary-color);
    color: var(--text-primary);
    transform: scale(1.1);
    box-shadow: var(--glow-secondary);
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: var(--background-secondary);
    position: relative;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.skill-item {
    background: rgba(0, 212, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.skill-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--glow-primary);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--text-primary);
    box-shadow: var(--glow-primary);
}

.skill-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
    font-family: 'Orbitron', monospace;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
    box-shadow: var(--glow-primary);
}

.skill-level span {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
    font-family: 'Orbitron', monospace;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--background-primary);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--glow-primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.25rem;
    box-shadow: var(--glow-primary);
}

.contact-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-secondary);
}

.contact-form {
    background: rgba(0, 212, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
    background: rgba(0, 212, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--text-primary);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-radius: 8px;
        margin: 0.25rem 0;
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: var(--text-primary);
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem 0;
        border-radius: 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .floating-cube {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Loading animation for skill bars */
.skill-fill {
    animation: fillBar 2s ease-out forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    max-width: 300px;
    box-shadow: var(--shadow-lg);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
    border-left: 4px solid #34d399;
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-left: 4px solid #f87171;
}

.notification.info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-left: 4px solid var(--primary-color);
}

.notification.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-left: 4px solid #fbbf24;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Enhanced 3D Effects and Animations */
@keyframes float3D {
    0%, 100% {
        transform: translateY(0px) translateZ(0px) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-10px) translateZ(10px) rotateX(5deg) rotateY(5deg);
    }
    50% {
        transform: translateY(-20px) translateZ(20px) rotateX(0deg) rotateY(10deg);
    }
    75% {
        transform: translateY(-10px) translateZ(10px) rotateX(-5deg) rotateY(5deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(139, 92, 246, 0.6);
    }
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

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

/* Enhanced Floating Elements */
.floating-cube {
    animation: float3D 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.floating-cube:hover {
    animation: rotate3D 2s linear infinite, glowPulse 1s ease-in-out infinite;
}

/* Enhanced Skill Items */
.skill-item {
    /* transform-style: preserve-3d; */
    perspective: 1000px;
    animation: float3D 8s ease-in-out infinite;
}

.skill-item:hover {
    transform: translateY(-15px) scale(1.05) rotateX(10deg) rotateY(10deg);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--background-primary);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: particleFloat 20s ease-in-out infinite;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: float3D 10s ease-in-out infinite;
}

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

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

.service-item:hover {
    transform: translateY(-15px) scale(1.02) rotateX(5deg) rotateY(5deg);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.3),
        0 0 30px rgba(139, 92, 246, 0.2),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    animation: glowPulse 2s ease-in-out infinite;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.4),
        0 0 20px rgba(139, 92, 246, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-item:hover .service-icon::before {
    opacity: 1;
    animation: rotate3D 2s linear infinite;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 
        0 15px 40px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(139, 92, 246, 0.5);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(139, 92, 246, 0.2));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(139, 92, 246, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Enhanced Project Cards */
.project-card {
    animation: float3D 12s ease-in-out infinite;
}



/* Enhanced Background Particles */
#bg-canvas {
    opacity: 0.4;
    filter: blur(0.5px);
}

/* Enhanced Navigation - Removed old styles */

/* Enhanced Buttons */
.btn {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05) rotateX(5deg);
    animation: glowPulse 1s ease-in-out infinite;
}

/* Enhanced Hero Section */
.hero-title {
    animation: float3D 8s ease-in-out infinite;
}

.hero-subtitle {
    animation: float3D 8s ease-in-out infinite 0.5s;
}

.hero-description {
    animation: float3D 8s ease-in-out infinite 1s;
}

/* Enhanced Stats */
.stat-item {
    animation: float3D 10s ease-in-out infinite;
    transform-style: preserve-3d;
}

.stat-item:hover {
    animation: rotate3D 3s linear infinite, glowPulse 2s ease-in-out infinite;
}

/* Enhanced Contact Form */
.contact-form {
    animation: float3D 15s ease-in-out infinite;
}

.form-group input:focus,
.form-group textarea:focus {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-item h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Enhanced Scroll Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px) translateZ(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.service-item,
.skill-item,
.project-card {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Enhanced Loading States */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.service-item.loading {
    background: linear-gradient(90deg, 
        rgba(0, 212, 255, 0.05) 25%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(0, 212, 255, 0.05) 75%);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* Enhanced Hover Effects for All Interactive Elements */
.skill-item:hover .skill-icon,
.project-card:hover .project-icon,
.service-item:hover .service-icon {
    animation: rotate3D 2s linear infinite;
}

/* Enhanced Text Glow Effects */
.section-title,
.hero-title .glow-text,
.service-item h3 {
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.5),
        0 0 20px rgba(139, 92, 246, 0.3),
        0 0 30px rgba(0, 212, 255, 0.2);
}

/* Enhanced Border Glow */
.service-item,
.skill-item,
.project-card {
    border: 2px solid transparent;
    background-clip: padding-box;
}

.service-item:hover,
.skill-item:hover,
.project-card:hover {
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
    border-image-slice: 1;
}

/* Projects Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(0, 212, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: var(--text-primary);
    box-shadow: var(--glow-primary);
    transform: scale(1.1);
}

/* Services Carousel */
.services-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
}

.services-slide-container {
    position: relative;
    min-height: 400px;
    transition: transform 0.5s ease;
}

.services-slide {
    min-width: 100%;
    padding: 0 1rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.services-slide.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.carousel-dot.active {
    background: var(--primary-color);
    box-shadow: var(--glow-primary);
}

/* Hide projects on pagination */
.project-card {
    display: none;
}

.project-card.show {
    display: block;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .carousel-next {
        right: 0.5rem;
    }
    
    .services-carousel {
        margin: 0 -0.5rem;
    }
    
    .services-slide {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .pagination-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}
