/* Global Reset / Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #05060a;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: #7dd3fc;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Layout */
.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 6vw;
    background: rgba(5, 6, 10, 0.9);
    border-bottom: 1px solid #1f2933;
    backdrop-filter: blur(10px);
}

.nav-left {
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-right a {
    margin-left: 1rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

    .nav-right a:hover {
        opacity: 1;
    }

main {
    padding: 3rem 6vw 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero {
    padding: 3rem 0 2rem;
}

    .hero h1 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
        margin-bottom: 0.5rem;
    }

.tagline {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.hero-text {
    max-width: 40rem;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

.section {
    margin-top: 3rem;
}

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .section p {
        color: #d1d5db;
    }

.experience-entry {
    margin-bottom: 2rem;
}

.experience-entry h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}


.experience-entry h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.experience-entry ul li {
    margin-bottom: 0.5rem;
}


.footer {
    padding: 1.5rem 6vw 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Components */

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #05060a;
    font-weight: 600;
    border: none;
}

    .btn-primary:hover {
        filter: brightness(1.1);
        text-decoration: none;
    }

.card {
    background: #0b0f19;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #1f2937;
}

    .card h3 {
        margin-bottom: 0.4rem;
    }

    .card p {
        margin-bottom: 0.4rem;
    }

    .card .tech {
        font-size: 0.85rem;
        color: #9ca3af;
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.pill {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #111827;
    font-size: 0.9rem;
    border: 1px solid #1f2937;
}

/* Content Specific Styling */

html, body {
    height: 100%;
    margin: 0;
}

/* Global Overrides; Browser tweaks */

/* Hide scrollbars */
*::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Hide scrollbar for Firefox */
html {
    scrollbar-width: none;
}

/* Hide scrollbar for old IE/Edge */
body {
    -ms-overflow-style: none;
}

/* Media Queries (responsive adjustments) */