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

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%);
    --fintech-primary: #22D3EE;
    --fintech-secondary: #10B981;
    --fintech-accent: #06b6d4;
    --fintech-gradient: linear-gradient(135deg, #22D3EE 0%, #10B981 100%);
    --ai-ml-primary: #9333EA;
    --ai-ml-secondary: #EC4899;
    --weather-primary: #3B82F6;
    --weather-secondary: #10B981;
    --medical-primary: #EF4444;
    --medical-secondary: #F59E0B;
    --portfolio-primary: #A855F7;
    --portfolio-secondary: #EC4899;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #142A4D;
    background-image:
        linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 50%, rgba(0,0,0,0.4) 100%),
        radial-gradient(1200px 800px at 10% -10%, rgba(56, 189, 248, 0.20), transparent 60%),
        radial-gradient(1000px 700px at 110% 10%, rgba(192, 132, 252, 0.20), transparent 60%),
        radial-gradient(900px 600px at 50% 120%, rgba(244, 63, 94, 0.20), transparent 60%),
        conic-gradient(from 180deg at 70% 30%, rgba(59, 130, 246, 0.10), rgba(147, 51, 234, 0.10), rgba(16, 185, 129, 0.10), rgba(234, 88, 12, 0.10), rgba(59, 130, 246, 0.10)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 6px);
    background-blend-mode: overlay, screen, screen, screen, normal, overlay;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(700px 500px at var(--mx1,18%) var(--my1,20%), rgba(56, 189, 248, 0.28), transparent 60%),
        radial-gradient(800px 600px at var(--mx2,82%) var(--my2,78%), rgba(168, 85, 247, 0.26), transparent 60%),
        radial-gradient(900px 550px at var(--mx3,50%) var(--my3,52%), rgba(250, 204, 21, 0.22), transparent 60%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60" fill="none"><circle cx="1" cy="1" r="1" fill="%23ffffff" fill-opacity="0.06"/></svg>');
    background-repeat: no-repeat, no-repeat, no-repeat, repeat;
    backdrop-filter: saturate(140%) blur(0.8px);
    pointer-events: none;
    z-index: -1;
    animation: meshShift 18s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% { --mx1: 18%; --my1: 20%; --mx2: 82%; --my2: 78%; --mx3: 50%; --my3: 52%; }
    50% { --mx1: 25%; --my1: 15%; --mx2: 75%; --my2: 70%; --mx3: 55%; --my3: 60%; }
    100% { --mx1: 15%; --my1: 28%; --mx2: 85%; --my2: 85%; --mx3: 48%; --my3: 45%; }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

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

/* Enhanced Floating Geometric Elements */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.2;
    filter: blur(1.2px);
    animation: float 10s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.floating-shape:nth-child(1) { top: 8%; left: 6%; width: 120px; height: 120px; background: radial-gradient(circle at 30% 30%, #93c5fd, #60a5fa); border-radius: 50%; animation-delay: 0s; }

.floating-shape:nth-child(2) { top: 65%; right: 18%; width: 90px; height: 90px; background: radial-gradient(circle at 30% 30%, #d8b4fe, #a78bfa); border-radius: 50%; animation-delay: 1.5s; }

.floating-shape:nth-child(3) { top: 78%; left: 18%; width: 140px; height: 140px; background: radial-gradient(circle at 30% 30%, #fde68a, #fbbf24); border-radius: 50%; animation-delay: 3s; }

.floating-shape:nth-child(4) { top: 22%; right: 26%; width: 110px; height: 110px; background: radial-gradient(circle at 30% 30%, #6ee7b7, #34d399); border-radius: 50%; animation-delay: 0.8s; }

.floating-shape:nth-child(5) { top: 70%; left: 5%; width: 100px; height: 100px; background: radial-gradient(circle at 30% 30%, #fda4af, #fb7185); border-radius: 50%; animation-delay: 2.2s; }

/* Enhanced floating shapes (6-10) */
.floating-shape:nth-child(6) { top: 12%; left: 75%; width: 80px; height: 80px; background: radial-gradient(circle at 30% 30%, #67e8f9, #22d3ee); border-radius: 50%; animation-delay: 1.2s; }
.floating-shape:nth-child(7) { top: 40%; left: 45%; width: 160px; height: 160px; background: radial-gradient(circle at 30% 30%, #c4b5fd, #a78bfa); border-radius: 50%; animation-delay: 2.8s; }
.floating-shape:nth-child(8) { top: 85%; left: 85%; width: 70px; height: 70px; background: radial-gradient(circle at 30% 30%, #f9a8d4, #f472b6); border-radius: 50%; animation-delay: 4.2s; }
.floating-shape:nth-child(9) { top: 5%; left: 50%; width: 60px; height: 60px; background: radial-gradient(circle at 30% 30%, #fdba74, #f97316); border-radius: 50%; animation-delay: 0.4s; }
.floating-shape:nth-child(10) { top: 55%; left: 2%; width: 120px; height: 120px; background: radial-gradient(circle at 30% 30%, #86efac, #4ade80); border-radius: 50%; animation-delay: 3.6s; }

/* New enhanced shapes with more complex animations */
.floating-shape.enhanced {
    opacity: 0.15;
    filter: blur(0.8px);
    animation: enhancedFloat 15s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-shape.enhanced:nth-child(11) { 
    top: 15%; left: 25%; width: 100px; height: 100px; 
    background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #10b981, #3b82f6);
    border-radius: 20px; 
    animation-delay: 0s;
    transform: rotate(45deg);
}

.floating-shape.enhanced:nth-child(12) { 
    top: 75%; left: 70%; width: 80px; height: 80px; 
    background: linear-gradient(45deg, #f97316, #ef4444, #8b5cf6, #06b6d4);
    border-radius: 50%; 
    animation-delay: 2s;
    box-shadow: 0 0 30px rgba(251, 146, 60, 0.3);
}

.floating-shape.enhanced:nth-child(13) { 
    top: 35%; left: 80%; width: 120px; height: 120px; 
    background: radial-gradient(circle at 20% 80%, #a855f7, #ec4899, #f59e0b);
    border-radius: 30px; 
    animation-delay: 4s;
    transform: rotate(-15deg);
}

.floating-shape.enhanced:nth-child(14) { 
    top: 85%; left: 15%; width: 90px; height: 90px; 
    background: conic-gradient(from 180deg, #10b981, #3b82f6, #f59e0b, #ef4444);
    border-radius: 50%; 
    animation-delay: 1s;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.floating-shape.enhanced:nth-child(15) { 
    top: 10%; left: 60%; width: 110px; height: 110px; 
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6);
    border-radius: 25px; 
    animation-delay: 3s;
    transform: rotate(30deg);
}

@keyframes enhancedFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.15;
    }
    25% { 
        transform: translateY(-15px) rotate(90deg) scale(1.1); 
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg) scale(0.9); 
        opacity: 0.25;
    }
    75% { 
        transform: translateY(-10px) rotate(270deg) scale(1.05); 
        opacity: 0.18;
    }
}

/* Particle System Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    opacity: 0.6;
}

/* Interactive Grid Background */
.interactive-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 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); }
}

/* Enhanced Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 1px;
    opacity: 0.5;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Title Decoration */
.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.title-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 1px;
    animation: titleLineGlow 3s ease-in-out infinite alternate;
}

.title-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: titleDotPulse 2s ease-in-out infinite;
}

@keyframes titleLineGlow {
    0% { box-shadow: 0 0 5px rgba(124, 58, 237, 0.3); }
    100% { box-shadow: 0 0 15px rgba(124, 58, 237, 0.6); }
}

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

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    border-radius: 50%;
    animation: logoGlow 3s ease-in-out infinite alternate;
    z-index: 1;
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

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

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

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

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

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('profile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Enhanced Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: bgCircleFloat 20s ease-in-out infinite;
}

.bg-circle-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
    animation-delay: 0s;
}

.bg-circle-2 {
    top: 60%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent);
    animation-delay: 5s;
}

.bg-circle-3 {
    top: 20%;
    right: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent);
    animation-delay: 10s;
}

.bg-circle-4 {
    bottom: 20%;
    left: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent);
    animation-delay: 15s;
}

@keyframes bgCircleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.1; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.15; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(40% 40% at 15% 25%, rgba(59, 130, 246, 0.14) 0%, transparent 60%),
        radial-gradient(40% 40% at 85% 75%, rgba(124, 58, 237, 0.14) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.45;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, transparent 50%, rgba(124, 58, 237, 0.02) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    animation: heroBadgeGlow 3s ease-in-out infinite alternate;
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.hero-badge span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes heroBadgeGlow {
    0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
    100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #FFFFFF;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #D1D5DB;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #D1D5DB;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.btn-primary {
    background: #22D3EE;
    color: white;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.5);
    background: #06b6d4;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

.stat:hover::before {
    transform: scaleX(1);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.stat:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

/* Enhanced Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

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

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

.profile-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.1), transparent, rgba(124, 58, 237, 0.1), transparent);
    animation: rotate 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.profile-image {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.profile-image i {
    font-size: 3rem;
    color: white;
    z-index: 2;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-photo-placeholder i {
    font-size: 3rem;
    color: white;
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: profileRingRotate 10s linear infinite;
}

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

.profile-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 30%, rgba(59, 130, 246, 0.1) 70%);
    animation: profileParticles 4s ease-in-out infinite;
}

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

.achievement-badge {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.achievement-badge::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;
}

.achievement-badge:hover::before {
    left: 100%;
}

.achievement-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
    border-radius: 2rem;
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mini-stat {
    text-align: center;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.mini-stat:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.mini-stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    background-size: 200px 200px, 300px 300px;
    background-position: 0 0, 0 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(59, 130, 246, 0.02) 50%, transparent 51%);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

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

/* Enhanced About Intro */
.about-intro {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.intro-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: introIconFloat 4s ease-in-out infinite;
}

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

.about-achievement {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    animation: achievementIconPulse 3s ease-in-out infinite;
}

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

.about-paragraph {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

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

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

.highlight-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

.education-timeline {
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: var(--shadow-md);
}

.timeline-item:hover .timeline-dot::after {
    opacity: 1;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

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

.timeline-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.year {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.percentage {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Enhanced Skills Section */
.skills {
    padding: 6rem 0;
    background: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    background-size: 250px 250px, 350px 350px;
    background-position: 0 0, 0 0;
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(-45deg, transparent 49%, rgba(124, 58, 237, 0.02) 50%, transparent 51%);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none;
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.skill-category::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-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.category-header {
    position: relative;
    margin-bottom: 1.5rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

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

.category-icon-bg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    border-radius: 50%;
    animation: categoryIconBg 4s ease-in-out infinite;
}

@keyframes categoryIconBg {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateY(-50%) scale(1.1); }
}

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

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.skill-name {
    font-weight: 500;
    color: var(--text-primary);
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-name i {
    font-size: 1.1em;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

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

.progress-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressGlow 2s infinite;
}

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

.skill-percentage {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.875rem;
    min-width: 40px;
    text-align: right;
}

.skill-progress::after {
    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%; }
}

/* Enhanced Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
    background-size: 300px 300px, 400px 400px;
    background-position: 0 0, 0 0;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(60deg, transparent 49%, rgba(59, 130, 246, 0.02) 50%, transparent 51%);
    background-size: 60px 60px;
    opacity: 0.3;
    pointer-events: none;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

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

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

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    background: rgba(255, 255, 255, 0.98);
}

/* Enhanced project card animations */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.project-card:hover::after {
    left: 100%;
}

/* Project Header */
.project-header {
    position: relative;
}

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image i {
    font-size: 4.5rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-image i {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

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

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

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.overlay-content span {
    font-size: 0.9rem;
    font-weight: 600;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.project-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* Special styling for fintech projects */
.project-card.fintech {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.project-card.fintech .project-image {
    background: var(--fintech-gradient);
}

.project-card.fintech:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(16, 185, 129, 0.08));
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.project-card.fintech .tech-tag {
    background: rgba(34, 211, 238, 0.1);
    color: var(--fintech-primary);
    border-color: rgba(34, 211, 238, 0.3);
}

.project-card.fintech .tech-tag:hover {
    background: rgba(34, 211, 238, 0.2);
    border-color: rgba(34, 211, 238, 0.5);
}

/* Special styling for AI/ML projects */
.project-card.ai-ml {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.project-card.ai-ml .project-image {
    background: linear-gradient(135deg, var(--ai-ml-primary), var(--ai-ml-secondary));
}

.project-card.ai-ml:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.08), rgba(236, 72, 153, 0.08));
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.2);
}

.project-card.ai-ml .tech-tag {
    background: rgba(147, 51, 234, 0.1);
    color: var(--ai-ml-primary);
    border-color: rgba(147, 51, 234, 0.3);
}

.project-card.ai-ml:hover .tech-tag {
    background: rgba(147, 51, 234, 0.2);
    border-color: rgba(147, 51, 234, 0.5);
}

/* Special styling for weather/prediction projects */
.project-card.weather {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-card.weather .project-image {
    background: linear-gradient(135deg, var(--weather-primary), var(--weather-secondary));
}

.project-card.weather:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.project-card.weather .tech-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border-color: rgba(59, 130, 246, 0.3);
}

.project-card.weather:hover .tech-tag {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Special styling for medical/healthcare projects */
.project-card.medical {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.project-card.medical .project-image {
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
}

.project-card.medical:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(245, 158, 11, 0.08));
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
}

.project-card.medical .tech-tag {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.project-card.medical:hover .tech-tag {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Special styling for portfolio projects */
.project-card.portfolio {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.project-card.portfolio .project-image {
    background: linear-gradient(135deg, var(--portfolio-primary), var(--portfolio-secondary));
}

.project-card.portfolio:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.08));
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.project-card.portfolio .tech-tag {
    background: rgba(168, 85, 247, 0.1);
    color: #A855F7;
    border-color: rgba(168, 85, 247, 0.3);
}

.project-card.portfolio:hover .tech-tag {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

.project-content {
    padding: 2rem;
}

.project-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

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

.tech-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tech-tag:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

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

.project-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Certifications Section */
.certifications {
    padding: 6rem 0;
    background: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
    background-size: 350px 350px, 450px 450px;
    background-position: 0 0, 0 0;
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(30deg, transparent 49%, rgba(245, 158, 11, 0.02) 50%, transparent 51%);
    background-size: 70px 70px;
    opacity: 0.3;
    pointer-events: none;
}

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

.cert-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.cert-card.elite::before {
    background: var(--gradient-secondary);
}

.cert-card.achievement::before {
    background: var(--gradient-accent);
}

.cert-card.publication::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

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

.cert-header {
    margin-bottom: 1rem;
    position: relative;
}

.cert-badge-container {
    position: relative;
    display: inline-block;
}

.cert-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.cert-badge.elite {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.cert-badge.achievement {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.cert-badge.publication {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.badge-sparkle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    border-radius: 1rem;
    animation: badgeSparkle 3s ease-in-out infinite;
    z-index: 1;
}

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

.cert-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cert-score {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.score {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

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

.score-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    border-radius: 50%;
    animation: scoreGlow 2s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes scoreGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail {
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.cert-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* Experience Section */
.experience {
    padding: 6rem 0;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 35% 65%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 65% 35%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    background-size: 280px 280px, 380px 380px;
    background-position: 0 0, 0 0;
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(75deg, transparent 49%, rgba(59, 130, 246, 0.02) 50%, transparent 51%);
    background-size: 45px 45px;
    opacity: 0.3;
    pointer-events: none;
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    animation: markerPulse 3s ease-in-out infinite;
}

@keyframes markerPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.8); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
}

.marker-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    border-radius: 50%;
    animation: markerGlow 2s ease-in-out infinite alternate;
}

@keyframes markerGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.98);
}

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

.timeline-header h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 1rem;
}

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

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

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

.timeline-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.timeline-content:hover .timeline-glow {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 40% 60%, rgba(124, 58, 237, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    background-size: 320px 320px, 420px 420px;
    background-position: 0 0, 0 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(15deg, transparent 49%, rgba(124, 58, 237, 0.02) 50%, transparent 51%);
    background-size: 55px 55px;
    opacity: 0.3;
    pointer-events: none;
}

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

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: contactIconFloat 4s ease-in-out infinite;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    border-radius: 50%;
    animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

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

.contact-item a,
.contact-item span {
    color: var(--text-secondary);
    text-decoration: none;
}

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

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    border-radius: 50%;
    animation: socialGlow 2s ease-in-out infinite alternate;
}

@keyframes socialGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

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

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.contact-form:hover::before {
    left: 100%;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.98);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

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

.input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.form-group input:focus + .input-glow,
.form-group textarea:focus + .input-glow {
    opacity: 1;
}

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

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn:hover .btn-glow {
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
    background-image: 
        var(--gradient-dark),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    background-size: 100% 100%, 200px 200px, 300px 300px;
    background-position: 0 0, 0 0, 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(59, 130, 246, 0.05) 50%, transparent 51%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-text {
    position: relative;
}

.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    animation: footerLineGlow 3s ease-in-out infinite alternate;
}

.footer-dot {
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: footerDotPulse 2s ease-in-out infinite;
}

@keyframes footerLineGlow {
    0% { box-shadow: 0 0 3px rgba(255, 255, 255, 0.2); }
    100% { box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0.3;
    animation: footerGlow 4s ease-in-out infinite alternate;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

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

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

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

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

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

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

    .container {
        padding: 0 1rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

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

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

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

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

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .social-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section-title::after {
        display: none;
    }
}
