/* General Styles */
:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #334155;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    scroll-behavior: smooth;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
}

/* Navigation */
nav {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Header */
header {
    text-align: center;
    padding: 5rem 1rem;
}

.profile-img {
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary);
}

.highlight {
    color: var(--primary);
}

.tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Experience Cards */
.card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary);
}

.date {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* Skills Grid */
.bg-light {
    background: var(--light);
    padding: 4rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    background: #fff;
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Footer & Button */
footer {
    text-align: center;
    padding: 5rem 1rem;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1rem;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.socials {
    margin-top: 2rem;
}

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

.projects-grid .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid .card a {
    margin-top: auto;
    display: inline-block;
    margin-top: 1rem;
}