:root {
    --primary: #00d4ff;
    --dark: #0f172a;
    --light: #1e293b;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container { max-width: 1000px; margin: auto; padding: 0 20px; }
.section { padding: 80px 0; text-align: center; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: #020617; }

h2 { font-size: 2.2rem; margin-bottom: 40px; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; }

/* Navigation */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: rgba(15, 23, 42, 0.95);
    position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #334155;
}

.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: white; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero {
    height: 70vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1350&q=80');
    background-size: cover; background-attachment: fixed;
}

.hero h1 { font-size: 3.5rem; }

.btn {
    padding: 10px 25px; border-radius: 4px; text-decoration: none;
    font-weight: bold; display: inline-block; transition: 0.3s; margin: 10px;
}

.btn:not(.btn-outline) { background: var(--primary); color: var(--dark); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); }
.btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* Timeline */
.timeline { text-align: left; max-width: 800px; margin: auto; position: relative; }
.timeline-item { border-left: 2px solid var(--primary); padding: 0 0 30px 20px; position: relative; }
.timeline-item h3 { font-size: 1.2rem; color: var(--primary); }
.timeline-item h4 { font-size: 1rem; color: var(--text-gray); margin-bottom: 5px; }

/* Grid */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.project-card { background: var(--light); padding: 30px; border-radius: 8px; border: 1px solid #334155; transition: 0.3s; }
.project-card i { color: var(--primary); margin-bottom: 15px; }
.project-card:hover { border-color: var(--primary); background: #243147; }

/* Contact */
.contact-details { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; flex-wrap: wrap; }
.contact-box i { color: var(--primary); margin-bottom: 10px; }
.contact-box a { color: white; text-decoration: none; }

.linkedin { background: #0077b5 !important; color: white !important; }
.github { background: #333 !important; color: white !important; }

footer { padding: 30px; text-align: center; border-top: 1px solid #334155; color: var(--text-gray); font-size: 0.8rem; }