:root {
    --color-bg: #ffffff;
    --color-text: #1a1a2e;
    /* Deep navy almost black */
    --color-primary: #0f3460;
    /* Professional Navy */
    --color-secondary: #e94560;
    /* Subtle accent */
    --color-light-gray: #f4f4f4;
    --color-border: #e0e0e0;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-secondary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background: #16213e;
    color: #fff;
}

/* Services Grid */
.services-section {
    padding: 4rem 0;
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    color: var(--color-primary);
}

/* About Section items */
.resume-section {
    margin-bottom: 3rem;
}

.job {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.job:last-child {
    border-bottom: none;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.job-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.job-company {
    color: var(--color-primary);
    font-weight: 600;
}

.job-date {
    color: #666;
    font-size: 0.9rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--color-light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #333;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: #666;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy);
    background-color: #f8f9fa;
    transition: all 0.2s ease;
    box-sizing: border-box;
    /* Ensure padding doesn't overflow width */
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    align-self: flex-start;
    width: 100%;
    margin-top: 0.5rem;
}