/* 2030 Futuristic Portfolio Styles */

/* Futuristic Loader */
.futuristic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b0b0f 0%, #1a1a2e 50%, #0b0b0f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 1s ease;
}

.futuristic-loader.fade-out {
    opacity: 0;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-top: 3px solid var(--neon-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 10px;
    position: absolute;
    will-change: transform;
    backface-visibility: hidden;
}

.loader-ring:nth-child(1) {
    animation-delay: 0s;
    border-color: var(--neon-primary);
}

.loader-ring:nth-child(2) {
    animation-delay: 0.2s;
    width: 60px;
    height: 60px;
    border-color: var(--neon-secondary);
}

.loader-ring:nth-child(3) {
    animation-delay: 0.4s;
    width: 40px;
    height: 40px;
    border-color: #ff006e;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: var(--neon-primary);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 100px;
    text-shadow: 0 0 20px currentColor;
    animation: pulse 1s ease-in-out infinite;
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--neon-primary), var(--neon-secondary));
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    animation: trailFade 1s ease-out forwards;
    box-shadow: 0 0 10px var(--neon-primary);
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Optimized Float Animation - GPU Accelerated */
.float-animation {
    animation: float 4s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.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 ease;
}

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

.btn-primary {
    box-shadow: 
        0 0 20px rgba(0, 234, 255, 0.5),
        inset 0 0 20px rgba(0, 234, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 
        0 0 30px rgba(0, 234, 255, 0.8),
        inset 0 0 30px rgba(0, 234, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    box-shadow: 
        0 0 20px rgba(138, 46, 255, 0.5),
        inset 0 0 20px rgba(138, 46, 255, 0.1);
}

.btn-secondary:hover {
    box-shadow: 
        0 0 30px rgba(138, 46, 255, 0.8),
        inset 0 0 30px rgba(138, 46, 255, 0.2);
    transform: translateY(-2px);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-primary);
}

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

/* Holographic Card Effects */
.platform-card,
.service-card,
.result-card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.platform-card::before,
.service-card::before,
.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 234, 255, 0.1) 50%, 
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.platform-card:hover::before,
.service-card:hover::before,
.result-card:hover::before {
    transform: translateX(100%);
}

/* Enhanced Platform Cards */
.platform-card {
    background: linear-gradient(135deg, 
        rgba(20, 20, 26, 0.9) 0%, 
        rgba(20, 20, 26, 0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 234, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.platform-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--neon-primary) 90deg,
        transparent 180deg,
        var(--neon-secondary) 270deg,
        transparent 360deg
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover::after {
    opacity: 0.3;
}

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

/* Futuristic Form Inputs */
input, textarea {
    background: rgba(20, 20, 26, 0.8);
    border: 1px solid rgba(0, 234, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--neon-primary);
    box-shadow: 
        0 0 20px rgba(0, 234, 255, 0.3),
        inset 0 0 20px rgba(0, 234, 255, 0.1);
    background: rgba(20, 20, 26, 0.95);
}

/* Enhanced Social Icons */
.social-icon {
    background: linear-gradient(135deg, 
        rgba(20, 20, 26, 0.9) 0%, 
        rgba(20, 20, 26, 0.7) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--neon-primary), transparent);
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.social-icon:hover::after {
    width: 100%;
    height: 100%;
}

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

:root {
    --bg-dark: #0b0b0f;
    --bg-darker: #08080a;
    --bg-cards: #14141a;
    --neon-primary: #00eaff;
    --neon-secondary: #8a2eff;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --glass-bg: rgba(20, 20, 26, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Performance Optimizations */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
}

/* GPU-Accelerated Performance Optimized Animations */

/* Critical: Use transform and opacity only for 60fps performance */
@keyframes glowPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Optimized Loading Animation - Reduced complexity */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Simplified Float Animation - GPU Accelerated */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Optimized Rotate Animation */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Simplified Fade In Animation */
@keyframes fadeInUp {
    0% { 
        transform: translateY(20px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Optimized Glow Animation */
@keyframes glow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.02);
        opacity: 1;
    }
}

/* Simplified Pulse Animation */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Optimized Border Animation */
@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Simplified Typing Animation */
@keyframes typing {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Optimized Shimmer Animation */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* GPU Accelerated Transforms - Performance Optimized */
.gpu-accelerated {
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

/* Reduced Motion for Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animation complexity on mobile */
    .floating-element,
    .hero-image-glow,
    .about-img-glow {
        animation-duration: 0.3s !important;
        transition-duration: 0.2s !important;
    }
    
    /* Disable heavy animations on low-end mobile */
    .futuristic-bg-grid {
        animation: none !important;
        transform: none !important;
    }
}

/* Low-End Device Detection */
@media (max-width: 480px), (hover: none) {
    /* Minimal animations for low-end devices */
    .skill-card,
    .project-card,
    .service-card,
    .testimonial-card {
        transition: transform 0.2s ease !important;
    }
    
    .skill-card:hover,
    .project-card:hover,
    .service-card:hover,
    .testimonial-card:hover {
        transform: translateY(-2px) !important;
    }
}

/* GPU Accelerated Transforms - Performance Optimized */
.futuristic-bg-grid,
.hero-image,
.skill-card,
.project-card,
.service-card,
.testimonial-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

/* Optimized Loading States */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion for Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Containment for Better Performance */
.hero,
.about,
.skills,
.projects,
.services,
.testimonials,
.contact {
    contain: layout style paint;
}

/* Image Optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.navbar.scrolled {
    background: rgba(11, 11, 15, 0.98);
    border-bottom: 1px solid rgba(0, 234, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 234, 255, 0.1);
}

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

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 234, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-logo .logo-text:hover {
    text-shadow: 0 0 30px rgba(0, 234, 255, 0.5);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--neon-primary);
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

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

.nav-link.active {
    color: var(--neon-primary);
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

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

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

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

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

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

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

/* Project Image Placeholder */
.project-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.project-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.project-image-placeholder i,
.project-image-placeholder h4 {
    position: relative;
    z-index: 2;
}

.project-image-placeholder i {
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.project-image-placeholder h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}

/* Hero Section - Futuristic Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b0b0f 0%, #1a1a2e 50%, #0b0b0f 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 234, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 234, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    animation: slideInLeft 1s ease-out;
}

.hero-right {
    animation: slideInRight 1s ease-out;
}

@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);
    }
}

.hero-name-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.hero-name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: -0.02em;
}

.name-first {
    display: block;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.name-last {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-secondary);
    text-shadow: 0 0 20px rgba(0, 234, 255, 0.3);
}

.name-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 234, 255, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neon-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 234, 255, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.hero-image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--neon-primary), var(--neon-secondary), var(--neon-primary));
    border-radius: 20px;
    animation: borderRotate 4s linear infinite;
    z-index: 1;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(0, 234, 255, 0.4) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    z-index: 2;
    background: var(--bg-cards);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.02);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.5);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.element-1 {
    top: -25px;
    right: -25px;
    animation: float1 4s ease-in-out infinite;
}

.element-2 {
    bottom: -25px;
    left: -25px;
    animation: float2 4s ease-in-out infinite;
}

.element-3 {
    top: 50%;
    right: -25px;
    animation: float3 4s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-60%) rotate(90deg); }
}

/* Responsive Hero Section */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .hero-image-container {
        width: 350px;
        height: 350px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-description {
        max-width: none;
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-name {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-image-container {
        width: 280px;
        height: 280px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)),
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 50px 50px, 50px 0, 0 50px; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

@keyframes glow {
    from { text-shadow: 0 0 20px var(--neon-primary); }
    to { text-shadow: 0 0 30px var(--neon-primary), 0 0 40px var(--neon-secondary); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--neon-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.hero-social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-social-link:hover {
    background: var(--neon-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.4);
    border-color: var(--neon-primary);
}

.hero-social-link i {
    font-size: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--neon-primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--neon-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.placeholder-image i {
    font-size: 5rem;
    color: var(--neon-primary);
}

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

.about .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0 auto;
}

.about .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.about .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

.about .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}

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

.about-image {
    display: flex;
    justify-content: center;
}

.about-img-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.about-img-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--neon-primary), var(--neon-secondary));
    border-radius: 20px;
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-profile-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Optimized Project Images */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.project-img:hover {
    transform: scale(1.05);
}

/* Responsive Images */
@media (max-width: 768px) {
    .project-img {
        height: 200px;
    }
}

/* Image Loading States */
.project-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-img.loaded {
    opacity: 1;
}

/* Picture Element Optimization */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hero Image Optimization */
.hero-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

/* Critical Image Loading - HTML Attributes */
/* Note: loading and decoding are HTML attributes, not CSS properties */
/* These classes are used for semantic HTML structure and JavaScript targeting */

.critical-img {
    /* HTML attributes: loading="eager" decoding="sync" */
    /* Used for semantic identification and JavaScript targeting */
    /* Future CSS properties can be added here for critical images */
    opacity: 1;
    transition: opacity 0.3s ease;
}

.non-critical-img {
    /* HTML attributes: loading="lazy" decoding="async" */
    /* Used for semantic identification and JavaScript targeting */
    /* Future CSS properties can be added here for non-critical images */
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* About Image Glow Effect */
.about-img-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    filter: blur(30px);
    opacity: 0.2;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.about-placeholder i {
    font-size: 4rem;
    color: var(--neon-secondary);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-primary);
    text-shadow: 0 0 20px var(--neon-primary);
}

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

/* Skills Section */
.skills {
    background: var(--bg-dark);
}

.skills .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0 auto;
}

.skills .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.skills .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

.skills .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-primary);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.skill-icon i {
    font-size: 2rem;
    color: var(--text-primary);
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.skill-level {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
    box-shadow: 0 0 10px var(--neon-primary);
}

.skill-percentage {
    font-size: 0.9rem;
    color: var(--neon-primary);
    font-weight: 600;
}

/* Projects Section */
.projects {
    background: var(--bg-darker);
}

.projects .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0 auto;
}

.projects .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.projects .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

.projects .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}
.projects {
    background: var(--bg-darker);
}

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

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(123, 44, 255, 0.3);
    border-color: var(--neon-secondary);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--neon-secondary);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-secondary);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tech-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--neon-primary);
}

/* Services Section */
.services {
    background: var(--bg-dark);
}

.services .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0 auto;
}

.services .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.services .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

.services .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-primary);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Testimonials Section */
.testimonials {
    background: var(--bg-darker);
}

.testimonials .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0 auto;
}

.testimonials .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.testimonials .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

.testimonials .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}
.testimonials {
    background: var(--bg-darker);
}

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

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: var(--neon-primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(123, 44, 255, 0.2);
    border-color: var(--neon-secondary);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    color: #ffd700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

/* Platforms Section */
.platforms {
    background: var(--bg-darker);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.platforms .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.platforms .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin: 0 auto;
}

.platforms .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.platforms .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

@keyframes slideInRight {
    0% {
        transform: translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: translateX(30px);
        opacity: 1;
    }
}

.platforms .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}

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

.platform-card {
    background: var(--bg-cards);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 234, 255, 0.2);
    border-color: var(--neon-primary);
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 234, 255, 0.3);
    transition: all 0.3s ease;
}

.platform-card:hover .platform-logo {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
}

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

.platform-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Case Studies Section */
.case-studies {
    background: var(--bg-dark);
}

.case-studies .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin: 0 auto;
}

.case-studies .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.case-studies .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

.case-studies .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}

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

.result-card {
    background: var(--bg-cards);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 46, 255, 0.2);
    border-color: var(--neon-secondary);
}

.result-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon-primary);
    text-shadow: 0 0 20px var(--neon-primary);
    margin-bottom: 1rem;
}

.result-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.3);
}

.result-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
}

.contact .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0 auto;
}

.contact .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 234, 255, 0.5);
    animation: slideInRight 2s ease-out infinite alternate;
    letter-spacing: -0.02em;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.contact .section-title:hover {
    transform: translateX(20px);
    text-shadow: 0 0 60px rgba(0, 234, 255, 0.8);
}

.contact .section-divider {
    margin: 0 auto;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-primary);
}
.contact {
    background: var(--bg-darker);
}

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

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    width: 20px;
    color: var(--neon-primary);
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--neon-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.4);
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--neon-primary);
    background: var(--bg-darker);
    padding: 0 0.5rem;
}

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

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

.footer-content p {
    color: var(--text-secondary);
}

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

.footer-social-link {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--neon-primary);
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Floating Social Media Bar */
.floating-social-bar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-icon {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--bg-cards);
    border: 1.5px solid var(--neon-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(138, 46, 255, 0.5);
    border-color: var(--neon-primary);
}

.social-icon a {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.social-icon:hover a {
    color: var(--text-primary);
}

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

.social-icon:hover i {
    transform: scale(1.1);
}

/* Tooltip */
.social-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-cards);
    border: 1px solid var(--neon-secondary);
    color: var(--text-primary);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.social-icon[data-tooltip]::before {
    content: '';
    position: absolute;
    right: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--neon-secondary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.social-icon:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    right: calc(100% + 18px);
    box-shadow: 0 0 12px rgba(138, 46, 255, 0.3);
}

.social-icon:hover[data-tooltip]::before {
    opacity: 1;
    visibility: visible;
    right: calc(100% + 10px);
}

/* Responsive Social Bar */
@media (max-width: 768px) {
    .floating-social-bar {
        right: 15px;
        bottom: 90px;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 8px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
    }
    
    .social-icon i {
        font-size: 0.9rem;
    }
    
    .social-icon[data-tooltip]::after {
        display: none;
    }
    
    .social-icon[data-tooltip]::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-social-bar {
        right: 12px;
        bottom: 70px;
        gap: 6px;
    }
    
    .social-icon {
        width: 34px;
        height: 34px;
    }
    
    .social-icon i {
        font-size: 0.8rem;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 234, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(0, 234, 255, 0.6);
}

.chatbot-toggle i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--neon-secondary);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(138, 46, 255, 0.5);
}

.chatbot {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--bg-cards);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.chatbot.active {
    display: flex;
}

.chatbot-header {
    background: var(--gradient-primary);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    font-size: 1.2rem;
    color: var(--text-primary);
}

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

.chatbot-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.chatbot-close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-close i {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--neon-primary);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
}

.bot-message {
    align-self: flex-start;
}

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

.message-avatar {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--neon-secondary);
}

.message-avatar i {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.message-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1rem;
}

.user-message .message-content {
    background: var(--gradient-primary);
    border-color: var(--neon-primary);
}

.message-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.user-message .message-content p {
    color: var(--text-primary);
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.message-content li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.user-message .message-content li {
    color: var(--text-primary);
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-primary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

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

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

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

.chatbot-input-container {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
}

.chatbot-input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.chatbot-input-wrapper input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input-wrapper input:focus {
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.2);
}

.chatbot-input-wrapper input::placeholder {
    color: var(--text-secondary);
}

.chatbot-input-wrapper button {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-input-wrapper button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.4);
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-action {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: var(--neon-primary);
    color: var(--text-primary);
    border-color: var(--neon-primary);
    transform: translateY(-2px);
}

/* Responsive Chatbot */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot {
        width: calc(100vw - 40px);
        height: 600px;
        right: -10px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chatbot-toggle i {
        font-size: 1.2rem;
    }
    
    /* Mobile Section Header Fixes */
    .section-header {
        min-height: 60px !important;
        margin-bottom: 1rem !important;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .section-divider {
        width: 80px !important;
        height: 3px !important;
    }
    
    /* Mobile Navigation Improvements */
    .nav-menu {
        top: 60px !important;
    }
    
    /* Mobile Content Improvements */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    section {
        padding: 40px 0 !important;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .image-container {
        width: 250px;
        height: 250px;
    }

    .about-img-container {
        width: 240px;
        height: 240px;
    }

    .skills-grid,
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile Card Improvements */
    .skill-card,
    .project-card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile Touch Improvements */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Mobile Scroll Improvements */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile Font Improvements */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

/* Mobile Menu Styles - Priority Override */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1001;
        cursor: pointer;
    }
    
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 70px !important;
        flex-direction: column !important;
        background-color: rgba(10, 10, 10, 0.98) !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        text-align: center !important;
        transition: left 0.3s ease !important;
        padding: 2rem 0 !important;
        border-bottom: 1px solid var(--glass-border) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-item {
        margin: 1rem 0 !important;
    }
    
    .nav-link {
        font-size: 1.2rem !important;
        padding: 1rem 2rem !important;
        display: block !important;
        color: var(--text-primary) !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
    }
    
    .nav-link:hover {
        background: rgba(0, 234, 255, 0.1) !important;
        color: var(--neon-primary) !important;
        transform: translateY(-2px) !important;
    }
}

/* Desktop Mode Support - Only for screens larger than 768px */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        flex-direction: row !important;
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        text-align: left !important;
        padding: 0 !important;
        border: none !important;
        z-index: auto !important;
        overflow: visible !important;
    }
    
    .nav-item {
        margin: 0 1rem !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        padding: 0.5rem 0 !important;
        display: inline !important;
        color: var(--text-secondary) !important;
        background: none !important;
        border-radius: 0 !important;
    }
    
    .nav-link:hover {
        background: none !important;
        color: var(--neon-primary) !important;
        transform: none !important;
    }
}

/* Additional Mobile Styles */
@media (max-width: 768px) {
    /* Tablet and Mobile Section Headers */
    .section-header {
        min-height: 80px !important;
        margin-bottom: 1.5rem !important;
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 3rem) !important;
        margin-bottom: 1.2rem !important;
    }
    
    /* Mobile About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Mobile Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        order: 1;
    }
    
    .contact-info {
        order: 2;
    }
    
    /* Mobile Skills Grid */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    /* Mobile Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    /* Mobile Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    /* Mobile Results Grid */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .result-card {
        padding: 1.5rem;
    }
    
    /* Mobile Platforms Grid */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
}

/* Hero Section Mobile Styles */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .image-container {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-img-container {
        width: 280px;
        height: 280px;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

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

    section {
        padding: 60px 0;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .image-container {
        width: 250px;
        height: 250px;
    }

    .about-img-container {
        width: 240px;
        height: 240px;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Futuristic Background Grid for All Pages */
.futuristic-bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 234, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 234, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(138, 46, 255, 0.02) 2px, transparent 2px),
        linear-gradient(90deg, rgba(138, 46, 255, 0.02) 2px, transparent 2px);
    background-size: 50px 50px, 50px 50px, 200px 200px, 200px 200px;
    animation: gridMove 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Enhanced Section Headers for All Pages */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 234, 255, 0.3);
    animation: glowPulse 3s ease-in-out infinite;
}

/* Enhanced Cards for All Pages */
.skill-card,
.project-card,
.service-card,
.testimonial-card {
    background: linear-gradient(135deg, 
        rgba(20, 20, 26, 0.9) 0%, 
        rgba(20, 20, 26, 0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before,
.project-card::before,
.service-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 234, 255, 0.1) 50%, 
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.skill-card:hover::before,
.project-card:hover::before,
.service-card:hover::before,
.testimonial-card:hover::before {
    transform: translateX(100%);
}

/* Modern Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: linear-gradient(135deg, 
        rgba(20, 20, 26, 0.95) 0%, 
        rgba(20, 20, 26, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 234, 255, 0.1) 50%, 
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.skill-category:hover::before {
    transform: translateX(100%);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 234, 255, 0.3),
        0 0 60px rgba(138, 46, 255, 0.2),
        inset 0 0 30px rgba(0, 234, 255, 0.1);
    border-color: var(--neon-primary);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 234, 255, 0.2);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.5);
    transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 234, 255, 0.8);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

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

.skill-level {
    font-size: 0.85rem;
    color: var(--neon-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 234, 255, 0.1);
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 20px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0;
    transition: width 2s ease;
    position: relative;
    overflow: hidden;
}

.skill-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Skill Level Colors */
.skill-progress[data-progress="95"],
.skill-progress[data-progress="94"],
.skill-progress[data-progress="93"] {
    background: linear-gradient(135deg, #00eaff, #00ff88);
}

.skill-progress[data-progress="92"],
.skill-progress[data-progress="91"],
.skill-progress[data-progress="90"] {
    background: linear-gradient(135deg, #00eaff, #8a2eff);
}

.skill-progress[data-progress="89"],
.skill-progress[data-progress="88"],
.skill-progress[data-progress="87"] {
    background: linear-gradient(135deg, #8a2eff, #ff006e);
}

.skill-progress[data-progress="86"],
.skill-progress[data-progress="85"],
.skill-progress[data-progress="84"] {
    background: linear-gradient(135deg, #ff006e, #ffaa00);
}

/* Responsive Skills */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .category-header {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .skill-bar {
        max-width: 200px;
    }
}
