:root {
    --primary-color: #6366f1; /* Indigo */
    --secondary-color: #1e293b; /* Dark Slate */
    --text-main: #334155;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); }
.logo span { color: var(--primary-color); }

.nav-links { display: flex; list-style: none; }
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 2rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary-color); }

.menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 150px;
    padding-bottom: 80px;
}

.highlight { color: var(--primary-color); }
.hero-text h1 { font-size: 3.5rem; line-height: 1.2; }
.tagline { font-size: 1.2rem; color: var(--text-light); margin: 1rem 0 2rem; }

.hero-img img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--bg-light);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 15px rgba(99, 102, 241, 0.3); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); }

.social-icons { display: inline-flex; gap: 1.5rem; margin-left: 1.5rem; font-size: 1.5rem; }
.social-icons a { color: var(--text-light); transition: var(--transition); }
.social-icons a:hover { color: var(--primary-color); }

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.skill-category h3 { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--primary-color); }

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.project-card:hover { transform: translateY(-10px); }

.tech-stack { margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-stack span {
    background: var(--bg-light);
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Experience */
.split-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.exp-item { margin-bottom: 2rem; }
.subtitle { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; }
.exp-item ul { margin-left: 1.2rem; margin-top: 0.5rem; }

.achievement-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.achievement-card i { font-size: 2rem; color: #f59e0b; }

/* Footer */
.footer { background: var(--secondary-color); color: white; padding: 4rem 0 2rem; }
.footer .section-title { color: white; }
.footer-links { margin: 2rem 0; }
.footer-links a { color: white; text-decoration: none; display: block; margin-bottom: 1rem; }
.copy { font-size: 0.8rem; opacity: 0.6; margin-top: 3rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero { flex-direction: column-reverse; text-align: center; }
    .hero-img img { width: 200px; height: 200px; margin-bottom: 2rem; }
    .hero-text h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Simplified for demo, can be expanded with JS toggle */
    .menu-btn { display: block; }
    .split-grid { grid-template-columns: 1fr; }
    .social-icons { margin-top: 1.5rem; margin-left: 0; }
}