:root {
    --purple-primary: #6d28d9;
    --purple-light: #f5f3ff;
    --purple-accent: #ddd6fe;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --bg-soft: #f9fafb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Nav Bar */
nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--purple-accent);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--purple-primary);
}

/* Hero Section */
.hero {
    background-color: var(--white);
    padding: 6rem 0;
    border-bottom: 1px solid #eee;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-frame {
    flex-shrink: 0;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 24px; /* Modern rounded corners over circles */
    object-fit: cover;
    border: 8px solid var(--purple-light);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1rem 0;
}

.text-purple { color: var(--purple-primary); }

.badge {
    background: var(--purple-light);
    color: var(--purple-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.hero-contact a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--purple-accent);
}

.dot { margin: 0 10px; color: var(--purple-accent); }

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: -3rem; /* Overlap effect */
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s ease;
}

.card:hover { transform: translateY(-5px); }

.card-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.7rem;
    font-weight: 800;
    background: #10b981;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.card h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.subtitle { color: var(--purple-primary); font-weight: 600; margin-bottom: 1rem; }
ul { margin-left: 1.2rem; color: var(--text-muted); }
li { margin-bottom: 0.5rem; }

/* Sidebar */
.sidebar-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--purple-accent);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    background: var(--bg-soft);
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-primary {
    background: var(--purple-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-content { flex-direction: column; text-align: center; }
    .grid-layout { grid-template-columns: 1fr; margin-top: 2rem; }
    .hero-text h1 { font-size: 2.5rem; }
}