/* GLOBAL SETTINGS */
:root {
    --primary-color: #2563eb;    /* Professional Blue */
    --secondary-color: #1e293b;  /* Dark Slate */
    --bg-color: #f8fafc;         /* Light Grey Background */
    --card-bg: #ffffff;          /* White Cards */
    --text-main: #334155;        /* Dark Grey Text */
    --text-light: #64748b;       /* Lighter Grey for dates/subtitles */
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* LAYOUT CONTAINER */
.container {
    max-width: 800px;
    margin: 0 auto; /* Centers the content */
    padding: 60px 20px;
}

/* HEADER SECTION */
.profile-header {
    text-align: center;
    margin-bottom: 60px;
}

h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: -0.05rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0;
}

.bio {
    max-width: 600px;
    margin: 20px auto;
    color: var(--text-light);
}

/* BUTTONS */
.social-links {
    margin-top: 25px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
    margin: 0 5px;
}

.btn:hover {
    transform: translateY(-2px); /* Slight lift effect */
}

.primary {
    background-color: var(--primary-color);
    color: white;
}

.secondary {
    background-color: #e2e8f0;
    color: var(--secondary-color);
}

/* HEADINGS */
h2 {
    color: var(--secondary-color);
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-top: 60px;
    font-size: 1.5rem;
}

/* SKILLS TAGS */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: white;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* PROJECT CARDS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Auto-responsive grid */
    gap: 20px;
}

.card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

.card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.tiny-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--text-light);
    margin-right: 10px;
}

/* EXPERIENCE & EDUCATION */
.job-card, .education-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color); /* Blue bar on left */
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.job-header h3 { margin: 0; }

.date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}

footer {
    text-align: center;
    margin-top: 80px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* MOBILE FIXES */
@media (max-width: 600px) {
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    h1 { font-size: 2rem; }
}