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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e4e4e7;
    background-color: #0f0f23;
}

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

/* Header Styles */
header {
    background: #1a1a2e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header h1 {
    text-align: center;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #60a5fa;
}

/* Profile Picture - Fixed Position */
.profile-picture {
    position: fixed;
    top: 120px;
    left: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.2);
    z-index: 999;
    transition: transform 0.3s;
}

.profile-picture:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: #f8fafc;
    padding: 120px 20px 80px;
    margin-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #cbd5e1;
}

/* Section Styles */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background: #16213e;
}

section:nth-child(odd) {
    background: #0f0f23;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #f1f5f9;
}

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

.project-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #334155;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
}

.project-card h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.project-card p {
    color: #cbd5e1;
}

/* Blog Posts */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: #1e293b;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 1px solid #334155;
}

.blog-post h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.blog-post p {
    color: #cbd5e1;
}

/* Contact Section */
#contact {
    background: #0c4a6e;
    color: #f0f9ff;
    text-align: center;
}

#contact h2 {
    color: #f0f9ff;
}

#contact p {
    color: #bae6fd;
}

.contact-info {
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* Footer */
footer {
    background: #020617;
    color: #cbd5e1;
    text-align: center;
    padding: 2rem 0;
}

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

.social-link {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-link:hover {
    color: #60a5fa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-picture {
        top: 100px;
        left: 10px;
        width: 60px;
        height: 60px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .profile-picture {
        position: relative;
        top: auto;
        left: auto;
        margin: 20px auto;
        display: block;
        width: 100px;
        height: 100px;
    }
}