:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    scroll-behavior: smooth;
}

header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: auto;
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--dark); }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; }
.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.3s;
}
.nav-links li a:hover { color: var(--primary); }

.hero {
    height: 100vh;
    background: linear-gradient(rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.8)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 span { color: #60a5fa; }

.container { padding: 5rem 10%; max-width: 1200px; margin: auto; }
.bg-light { background: var(--light); }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.skill-card:hover { transform: translateY(-5px); }
.skill-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

footer { text-align: center; padding: 2rem; background: var(--dark); color: white; }