/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-card: rgba(20, 20, 30, 0.7);
    
    --color-primary: #667eea;
    --color-secondary: #764ba2;
    --color-accent: #4facfe;
    --color-cyan: #00f2fe;
    
    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --text-muted: #707089;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Effects */
    --glow: 0 0 30px rgba(102, 126, 234, 0.4);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 25%, #24243e 50%, #0f0c29 75%, #302b63 100%);
    background-size: 400% 400%;
    z-index: -2;
    animation: gradientShift 20s ease infinite;
}

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

/* Floating particles effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: particleFloat 25s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    33% {
        transform: translate(40px, -40px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.9;
    }
}

/* Animated floating particles container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    animation: floatParticle 20s infinite;
    opacity: 0;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Cyber Grid Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(79, 172, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 172, 254, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

/* Cyber Lines */
.cyber-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.cyber-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.4), transparent);
    height: 1px;
    width: 100%;
    animation: lineMove 8s linear infinite;
}

.cyber-line:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.cyber-line:nth-child(2) {
    top: 50%;
    animation-delay: 3s;
}

.cyber-line:nth-child(3) {
    top: 80%;
    animation-delay: 6s;
}

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

/* Circuit Pattern */
.circuit-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.circuit-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(79, 172, 254, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.8), 0 0 20px rgba(79, 172, 254, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.circuit-line {
    position: absolute;
    background: rgba(79, 172, 254, 0.2);
    box-shadow: 0 0 5px rgba(79, 172, 254, 0.4);
}

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

/* Data Flow Lines */
.data-stream {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.data-packet {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.8), transparent);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
    animation: dataFlow 6s linear infinite;
}

@keyframes dataFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Neon Glow Overlay */
.neon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.05), transparent 70%);
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

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

.nav-brand a {
    font-size: 28px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
}

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

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

.btn-secondary:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Matrix Canvas */
.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease-out;
}

.greeting {
    display: block;
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out 0.2s both;
}

.name {
    display: block;
    font-size: 64px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 1s both;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 250px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    text-align: center;
    pointer-events: none;
    transition: none;
}

.card-image {
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px currentColor);
}

.floating-card span {
    font-size: 16px;
    font-weight: 600;
    color: white;
    opacity: 0.95;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Card 1 - Code Icon */
.card-1 {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(167, 139, 250, 0.5);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.4),
        inset 0 0 60px rgba(167, 139, 250, 0.15),
        0 0 80px rgba(139, 92, 246, 0.2);
    top: 0;
    left: 50px;
    animation-delay: 0s;
    overflow: hidden;
}

.card-1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, transparent 70%);
    animation: cardGlow 4s ease-in-out infinite;
}

.card-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.card-1 .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #c4b5fd;
    text-shadow: 0 0 30px rgba(196, 181, 253, 1), 0 0 60px rgba(167, 139, 250, 0.8);
    position: relative;
    z-index: 1;
}

.code-bracket, .code-slash {
    font-size: 72px;
    font-weight: 300;
    font-family: 'Courier New', monospace;
}

.code-slash {
    color: #e879f9;
}

/* Card 2 - Cloud Icon */
.card-2 {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.2));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(56, 189, 248, 0.5);
    box-shadow: 
        0 8px 32px rgba(56, 189, 248, 0.4),
        inset 0 0 60px rgba(56, 189, 248, 0.15),
        0 0 80px rgba(56, 189, 248, 0.2);
    top: 150px;
    right: 50px;
    animation-delay: 2s;
    overflow: hidden;
}

.card-2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
    animation: cardGlow 4s ease-in-out infinite 1s;
}

.card-2::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.cloud-icon {
    position: relative;
    width: 90px;
    height: 80px;
    color: #7dd3fc;
    z-index: 1;
}

.cloud-shape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 35px;
    background: transparent;
    border: 3px solid currentColor;
    border-radius: 50px 50px 0 0;
    filter: drop-shadow(0 0 20px rgba(125, 211, 252, 0.8));
}

.cloud-shape::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -15px;
    width: 35px;
    height: 35px;
    background: transparent;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.cloud-shape::after {
    content: '';
    position: absolute;
    top: 5px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.server-stack {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.server-line {
    width: 60px;
    height: 12px;
    background: transparent;
    border: 3px solid currentColor;
    border-radius: 3px;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(125, 211, 252, 0.8));
}

.server-line::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: -10px 0 0 currentColor, -20px 0 0 currentColor;
}

/* Card 3 - Shield Icon */
.card-3 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.2));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(192, 132, 252, 0.5);
    box-shadow: 
        0 8px 32px rgba(168, 85, 247, 0.4),
        inset 0 0 60px rgba(192, 132, 252, 0.15),
        0 0 80px rgba(168, 85, 247, 0.2);
    bottom: 50px;
    left: 100px;
    animation-delay: 4s;
    overflow: hidden;
}

.card-3::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, transparent 70%);
    animation: cardGlow 4s ease-in-out infinite 2s;
}

.card-3::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.shield-icon {
    color: #d8b4fe;
    z-index: 1;
    position: relative;
}

.shield-shape svg {
    filter: drop-shadow(0 0 20px rgba(216, 180, 254, 0.8)) drop-shadow(0 0 40px rgba(192, 132, 252, 0.6));
}

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

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

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

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 2px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.scroll-indicator p {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.95), rgba(20, 20, 40, 0.95));
    border-radius: 35px;
    position: relative;
    overflow: hidden;
    border: 3px solid;
    border-image: linear-gradient(135deg, #667eea, #764ba2, #4facfe) 1;
    box-shadow: 
        0 0 60px rgba(102, 126, 234, 0.4),
        0 20px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 80px rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    animation: profileFloat 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #667eea, #764ba2, #4facfe, #00f2fe);
    border-radius: 35px;
    z-index: -1;
    animation: rotateGradient 8s linear infinite;
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.98), rgba(20, 20, 40, 0.95));
    border-radius: 32px;
    z-index: 0;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 32px;
    position: relative;
    z-index: 1;
    filter: brightness(1.05) contrast(1.1);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3), rgba(79, 172, 254, 0.2), transparent);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

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

@keyframes rotateGradient {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(20deg) brightness(1.2);
    }
    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

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

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

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-item h4 {
    font-size: 36px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===================================
   Education & Experience Section - Modern Design
   =================================== */
.education-experience {
    background: linear-gradient(180deg, 
        rgba(15, 12, 41, 0.95) 0%, 
        rgba(48, 43, 99, 0.98) 25%,
        rgba(36, 36, 62, 1) 50%, 
        rgba(48, 43, 99, 0.98) 75%,
        rgba(15, 12, 41, 0.95) 100%);
    background-size: 100% 400%;
    position: relative;
    overflow: hidden;
    animation: sectionGradientFlow 20s ease infinite;
}

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

.education-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(79, 172, 254, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(118, 75, 162, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.education-experience::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFloat 30s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gridFloat {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.education-experience .container {
    position: relative;
    z-index: 1;
}

.education-experience .container::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: orbFloat 20s ease-in-out infinite;
    z-index: -1;
    filter: blur(80px);
}

.education-experience .container::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.12), transparent 70%);
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
    animation: orbFloat 18s ease-in-out infinite reverse;
    z-index: -1;
    filter: blur(70px);
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Experience Stats Cards */
.experience-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.8), rgba(15, 15, 30, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-icon i {
    font-size: 28px;
    color: white;
}

.stat-card h3 {
    font-size: 36px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Timeline Tabs */
.timeline-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 50px 0 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.7), rgba(15, 15, 30, 0.9));
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: var(--text-secondary);
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

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

.tab-btn:hover::before {
    width: 300px;
    height: 300px;
}

.tab-btn i {
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.25),
        0 0 30px rgba(102, 126, 234, 0.1);
}

.tab-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.tab-btn.active {
    background: var(--primary-gradient);
    border-color: var(--color-cyan);
    color: white;
    box-shadow: 
        0 15px 50px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(102, 126, 234, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: tabGlow 2s ease-in-out infinite;
}

@keyframes tabGlow {
    0%, 100% {
        box-shadow: 
            0 15px 50px rgba(102, 126, 234, 0.5),
            0 0 40px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 
            0 15px 60px rgba(102, 126, 234, 0.7),
            0 0 50px rgba(102, 126, 234, 0.5);
    }
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Modern Timeline */
.timeline-modern {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg,
        transparent,
        #667eea 10%,
        #764ba2 30%,
        #4facfe 50%,
        #00f2fe 70%,
        #667eea 90%,
        transparent);
    border-radius: 10px;
    box-shadow: 
        0 0 20px rgba(102, 126, 234, 0.6),
        0 0 40px rgba(79, 172, 254, 0.3);
    animation: timelineFlow 3s ease-in-out infinite;
}

@keyframes timelineFlow {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 
            0 0 20px rgba(102, 126, 234, 0.6),
            0 0 40px rgba(79, 172, 254, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 
            0 0 30px rgba(102, 126, 234, 0.9),
            0 0 60px rgba(79, 172, 254, 0.5);
    }
}

.timeline-item-modern {
    position: relative;
    padding-left: 70px;
    margin-bottom: 50px;
}

.timeline-item-modern:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 8px;
    top: 10px;
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border: 4px solid rgba(10, 10, 20, 0.95);
    border-radius: 50%;
    box-shadow: 
        0 0 0 6px rgba(102, 126, 234, 0.3),
        0 0 25px rgba(102, 126, 234, 0.7),
        0 0 50px rgba(79, 172, 254, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 2;
    animation: markerPulse 2.5s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% {
        box-shadow: 
            0 0 0 6px rgba(102, 126, 234, 0.3),
            0 0 25px rgba(102, 126, 234, 0.7),
            0 0 50px rgba(79, 172, 254, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 0 10px rgba(102, 126, 234, 0.4),
            0 0 35px rgba(102, 126, 234, 0.9),
            0 0 70px rgba(79, 172, 254, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }
}

.timeline-card {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.95), rgba(15, 15, 30, 0.98));
    backdrop-filter: blur(30px);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.timeline-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(102, 126, 234, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.timeline-card:hover {
    transform: translateX(12px) translateY(-5px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(102, 126, 234, 0.3),
        inset 0 0 40px rgba(102, 126, 234, 0.08);
}

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

.timeline-card > .timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(102, 126, 234, 0.2));
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(79, 172, 254, 0.3);
    margin-bottom: 15px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.timeline-header h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.company-name {
    color: var(--color-accent);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.company-name i {
    font-size: 14px;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}

.badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: inherit;
    filter: blur(8px);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.timeline-card:hover .badge::before {
    opacity: 0.6;
}

.badge-current {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 35px rgba(16, 185, 129, 0.7);
    }
}

.badge-freelance {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
}

.badge-intern {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.badge-education {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

.timeline-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

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

.tech-tag {
    background: rgba(102, 126, 234, 0.15);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4), transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    border-radius: 50%;
}

.tech-tag:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.6);
    color: var(--color-cyan);
    transform: translateY(-3px);
    box-shadow: 
        0 5px 20px rgba(102, 126, 234, 0.3),
        0 0 15px rgba(102, 126, 234, 0.2);
}

.tech-tag:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    color: var(--text-secondary);
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    font-size: 14px;
    transition: var(--transition);
}

.achievement-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--accent-gradient);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.4);
    transition: var(--transition);
}

.achievement-list li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.timeline-card:hover .achievement-list li {
    color: var(--text-primary);
    padding-left: 35px;
}

.timeline-card:hover .achievement-list li::before {
    box-shadow: 0 0 25px rgba(79, 172, 254, 0.7);
    animation: checkGlow 1.5s ease-in-out infinite;
}

@keyframes checkGlow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(79, 172, 254, 0.7);
    }
    50% {
        box-shadow: 0 0 35px rgba(79, 172, 254, 1);
    }
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.cert-card {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.9), rgba(15, 15, 30, 0.95));
    backdrop-filter: blur(30px);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.cert-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.5), 
        0 0 50px rgba(102, 126, 234, 0.3),
        inset 0 0 30px rgba(102, 126, 234, 0.08);
    animation: certFloat 3s ease-in-out infinite;
}

@keyframes certFloat {
    0%, 100% {
        transform: translateY(-15px) scale(1.02);
    }
    50% {
        transform: translateY(-20px) scale(1.03);
    }
}

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

.cert-card:hover::after {
    opacity: 1;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
    position: relative;
}

.cert-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--accent-gradient);
    border-radius: 22px;
    opacity: 0;
    filter: blur(10px);
    transition: var(--transition);
    z-index: -1;
}

.cert-card:hover .cert-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 15px 50px rgba(102, 126, 234, 0.6),
        0 0 50px rgba(102, 126, 234, 0.5);
}

.cert-card:hover .cert-icon::before {
    opacity: 0.6;
    animation: iconRotateGlow 2s linear infinite;
}

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

.cert-icon i {
    font-size: 40px;
    color: white;
}

.cert-card h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.cert-issuer {
    color: var(--color-accent);
    font-size: 14px;
    margin-bottom: 10px;
}

.cert-date {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 15px;
}

.cert-verify {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.cert-verify:hover {
    color: var(--color-accent);
    gap: 8px;
}

.cert-verify i {
    font-size: 11px;
}

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

.skill-category {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(102, 126, 234, 0.3);
}

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

.category-header i {
    font-size: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-header h3 {
    font-size: 24px;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.skill-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.skill-item i {
    font-size: 24px;
    color: var(--color-accent);
}

.skill-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===================================
   Projects Section
   =================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

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

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(79, 172, 254, 0.2));
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transform: scale(0);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 6px 15px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 500;
}

/* ===================================
   Services Section
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    box-shadow: var(--glow);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features i {
    color: var(--color-accent);
    font-size: 16px;
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-details a,
.contact-details p {
    font-size: 15px;
    color: var(--text-secondary);
}

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

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: rgba(10, 10, 15, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 28px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

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

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

/* ===================================
   Utility Classes
   =================================== */
.fade-in {
    animation: fadeInUp 0.8s ease-out both;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out both;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out both;
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .name {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-img-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .name {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-visual {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-img-wrapper {
        max-width: 280px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .experience-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .timeline-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .timeline-modern::before {
        left: 15px;
    }
    
    .timeline-item-modern {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 5px;
        width: 24px;
        height: 24px;
    }
    
    .timeline-card {
        padding: 20px;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }


@media (max-width: 480px) {
    .name {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .experience-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-card h3 {
        font-size: 28px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .tab-btn span {
        display: none;
    }
    
    .tab-btn i {
        margin: 0;
    }
    
    .timeline-modern::before {
        left: 10px;
    }
    
    .timeline-item-modern {
        padding-left: 40px;
    }
    
    .timeline-marker {
        left: 3px;
        width: 20px;
        height: 20px;
    }
    
    .timeline-card {
        padding: 15px;
    }
    
    .timeline-header h3 {
        font-size: 18px;
    }
    
    .company-name {
        font-size: 13px;
    }
    
    .tech-stack {
        gap: 8px;
    }
    
    .tech-tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .achievement-list li {
        font-size: 13px;
        padding-left: 25px;
    }
    
    .cert-card {
        padding: 20px;
    }
    
    .cert-icon {
        width: 60px;
        height: 60px;
    }
    
    .cert-icon i {
        font-size: 30px;
    }
    
    .skill-items {
        grid-template-columns: 1fr;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
