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

:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #262626;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --accent-green: #22c55e;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;  
    --accent-cyan: #06b6d4;        
    --border-color: #404040;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 30% 20%, #1a2332 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, #2d5f5d 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, #4a3d6d 0%, transparent 50%),
        linear-gradient(135deg, #1a2332 0%, #1a2332 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.05rem;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Gradient Mesh Background */
.gradient-mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh; 
    z-index: -1;
    background: 
        radial-gradient(circle at 30% 20%, #1a2332 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, #2d5f5d 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, #4a3d6d 0%, transparent 50%),
        linear-gradient(135deg, #1a2332 0%, #1a2332 100%);
    overflow: hidden;
}

.mesh-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    mix-blend-mode: multiply;
    will-change: transform;
}

/* Mesh 1 - Primary navy gradient */
.mesh-1 {
    background: radial-gradient(
        600px 800px at 20% 30%,
        rgba(26, 35, 50, 0.8) 0%,
        rgba(45, 95, 93, 0.4) 40%,
        transparent 100%
    );
    animation: meshFloat1 28s ease-in-out infinite;
}

/* Mesh 2 - Teal gradient */
.mesh-2 {
    background: radial-gradient(
        500px 700px at 80% 20%,
        rgba(45, 95, 93, 0.7) 0%,
        rgba(74, 61, 109, 0.5) 50%,
        transparent 100%
    );
    animation: meshFloat2 32s ease-in-out infinite reverse;
}

/* Mesh 3 - Purple gradient */
.mesh-3 {
    background: radial-gradient(
        400px 600px at 60% 80%,
        rgba(74, 61, 109, 0.6) 0%,
        rgba(26, 35, 50, 0.4) 60%,
        transparent 100%
    );
    animation: meshFloat3 25s ease-in-out infinite;
}

/* Mesh 4 - Subtle green accent */
.mesh-4 {
    background: radial-gradient(
        300px 500px at 40% 60%,
        rgba(16, 185, 129, 0.15) 0%,
        rgba(45, 95, 93, 0.2) 70%,
        transparent 100%
    );
    animation: meshFloat4 30s ease-in-out infinite reverse;
}

/* Gradient mesh animations */
@keyframes meshFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-50px, -30px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(30px, 50px) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(-20px, -40px) scale(1.05) rotate(270deg);
    }
}

@keyframes meshFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(40px, -20px) scale(1.15) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.85) rotate(240deg);
    }
}

@keyframes meshFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    40% {
        transform: translate(-40px, 20px) scale(1.2) rotate(144deg);
    }
    80% {
        transform: translate(35px, -25px) scale(0.8) rotate(288deg);
    }
}

@keyframes meshFloat4 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(60px, -50px) scale(1.3) rotate(180deg);
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    min-height: 100vh;
    min-height: 100dvh;
    background: 
        radial-gradient(circle at 30% 20%, #1a2332 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, #2d5f5d 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, #4a3d6d 0%, transparent 50%),
        linear-gradient(135deg, #1a2332 0%, #1a2332 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 42, 74, 0.8);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 8px 40px rgba(26, 42, 74, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-green);
    text-decoration: none;
    text-shadow: 0 0 25px rgba(34, 197, 94, 0.6),
                 0 0 50px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 35px rgba(34, 197, 94, 0.9),
                 0 0 70px rgba(34, 197, 94, 0.4);
    transform: scale(1.05);
    filter: brightness(1.2);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 10px currentColor;
}

.nav-links a:hover::before {
    width: 80%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    padding-top: 6rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

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

.hero-location {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile Card */
.profile-section {
    display: flex;
    justify-content: center;
}

.profile-card {
    background: rgba(32, 53, 69, 0.7);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    text-align: center;
    width: 100%;
    box-shadow: 0 12px 48px rgba(26, 42, 74, 0.4),
                inset 0 2px 0 rgba(255, 255, 255, 0.15),
                0 0 50px rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.08) 0%,
        rgba(79, 70, 229, 0.06) 30%,
        rgba(34, 197, 94, 0.06) 70%,
        rgba(6, 182, 212, 0.08) 100%);
    z-index: -1;
    border-radius: 28px;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(26, 42, 74, 0.6),
                0 0 60px rgba(99, 102, 241, 0.2),
                inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue), #8b5cf6);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(34, 197, 94, 0.5);
}

.profile-image:hover::before {
    opacity: 1;
}

.availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.availability:hover {
    background: rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

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

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(32, 53, 69, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(26, 42, 74, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.social-link:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4),
                0 0 25px rgba(34, 197, 94, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--accent-green);
}

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

.social-link i {
    position: relative;
    z-index: 2;
}

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

.btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(26, 42, 74, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), #16a34a);
    color: white;
    border: 1px solid var(--accent-green);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4),
                0 0 30px rgba(34, 197, 94, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, var(--accent-green));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.5),
                0 0 40px rgba(34, 197, 94, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #16a34a;
    filter: brightness(1.1);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(79, 70, 229, 0.9));
    color: white;
    border: 1px solid rgba(99, 102, 241, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4),
                0 0 30px rgba(99, 102, 241, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(99, 102, 241, 0.95));
    color: white;
    border-color: rgba(79, 70, 229, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5),
                0 0 40px rgba(99, 102, 241, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.section-icon {
    font-size: 1.25rem;
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.6),
                 0 0 40px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
}

.section-header:hover .section-icon {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.9),
                 0 0 60px rgba(34, 197, 94, 0.4);
    filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.7));
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.2),
                 0 0 50px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.section-header:hover .section-title {
    color: var(--accent-green);
    text-shadow: 0 0 35px rgba(34, 197, 94, 0.4),
                 0 0 70px rgba(34, 197, 94, 0.2);
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 1.5rem;
}

.experience-item {
    background: rgba(32, 53, 69, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 42, 74, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.05) 0%,
        rgba(99, 102, 241, 0.05) 100%);
    z-index: -1;
    border-radius: 20px;
}

.experience-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 42, 74, 0.4),
                0 0 30px rgba(6, 182, 212, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.experience-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.experience-company {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.experience-date {
    color: var(--text-primary);
    font-size: 0.85rem;
    background: rgba(96, 165, 250, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.1);
}

.experience-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.project-card {
    background: rgba(32, 53, 69, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 24px rgba(26, 42, 74, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%,
        rgba(79, 70, 229, 0.05) 50%,
        rgba(6, 182, 212, 0.05) 100%);
    z-index: -1;
    border-radius: 20px;
}

.project-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(26, 42, 74, 0.5),
                0 0 40px rgba(99, 102, 241, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.project-image {
    height: 180px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    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;
}

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

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 160px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.contact-method:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.contact-method-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
}

.contact-method-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-method-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
footer {
    padding: 1.2rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(32, 53, 69, 0.7);
    backdrop-filter: blur(25px);
    position: relative;
    box-shadow: 0 -8px 32px rgba(26, 42, 74, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%,
        rgba(6, 182, 212, 0.05) 100%);
    z-index: -1;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
    position: relative;
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.8),
                 0 0 40px rgba(34, 197, 94, 0.4);
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
    .modal-image {
        max-width: calc(100vw - 10px);
        max-height: 95vh;
        min-width: 95vw;
    }
    
    .modal-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .modal-nav-btn:first-of-type {
        left: 2px;
    }
    
    .modal-nav-btn:last-of-type {
        right: 2px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        flex-direction: column;
    }

    section {
        padding: 3rem 1rem;
    }

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

    .modal-image {
        max-width: calc(100vw - 20px);
        max-height: 90vh;
        min-width: 90vw;
    }

    .modal-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .modal-nav-btn:first-of-type {
        left: 5px;
    }

    .modal-nav-btn:last-of-type {
        right: 5px;
    }

    /* Mobile background optimizations */
    .gradient-mesh-background {
        height: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        background: 
            radial-gradient(circle at 30% 20%, #1a2332 0%, transparent 60%),
            radial-gradient(circle at 70% 80%, #2d5f5d 0%, transparent 60%),
            radial-gradient(circle at 20% 70%, #4a3d6d 0%, transparent 60%),
            linear-gradient(135deg, #1a2332 0%, #1a2332 100%);
    }
    
    .mesh-layer {
        opacity: 0.4; /* Reduce intensity on mobile */
        filter: blur(80px); /* Less blur for performance */
        height: 100%;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    /* Ensure body covers full height on mobile */
    body {
        min-height: 100vh;
        min-height: 100dvh;
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .mesh-1 {
        animation-duration: 35s; /* Slower for performance */
    }
    
    .mesh-2 {
        animation-duration: 40s;
    }
    
    .mesh-3 {
        animation-duration: 32s;
    }
    
    .mesh-4 {
        animation-duration: 38s;
    }
}

/* High-end device enhancements */
@media (min-width: 1400px) and (min-height: 800px) {
    .mesh-layer {
        opacity: 0.8; /* More pronounced on large screens */
        filter: blur(150px); /* Enhanced blur for better effect */
    }
    
    .gradient-mesh-background {
        background: 
            radial-gradient(circle at 30% 20%, #1a2332 0%, transparent 60%),
            radial-gradient(circle at 70% 80%, #2d5f5d 0%, transparent 60%),
            radial-gradient(circle at 20% 70%, #4a3d6d 0%, transparent 60%),
            radial-gradient(circle at 90% 10%, #10b981 0%, transparent 40%),
            linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .mesh-layer {
        animation: none;
        transform: none !important;
    }
    
    .gradient-mesh-background {
        background: 
            radial-gradient(circle at 30% 20%, #1a2332 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, #2d5f5d 0%, transparent 50%),
            radial-gradient(circle at 20% 70%, #4a3d6d 0%, transparent 50%),
            linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    animation: modalFadeIn 0.3s ease;
    touch-action: manipulation;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(15px);
    }
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.modal-image {
    max-width: calc(100vw - 140px);
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(34, 197, 94, 0.1);
    object-fit: contain;
    pointer-events: auto;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
    touch-action: pan-x pan-y pinch-zoom;
}

.modal-nav-btn {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    z-index: 2002;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.modal-nav-btn:first-of-type {
    left: 20px;
}

.modal-nav-btn:last-of-type {
    right: 20px;
}

.modal-nav-btn:hover {
    background: var(--accent-green);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4),
                0 0 20px rgba(34, 197, 94, 0.6);
    border-color: var(--accent-green);
}

.modal-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.close-modal:hover {
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.2);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    transform: scale(1.1);
}