:root {
    --bg-main: #f3f2ef;
    /* LinkedIn light warm gray background */
    --bg-card: #ffffff;
    --primary: #0a66c2;
    /* LinkedIn Blue */
    --primary-hover: #004182;
    --text-dark: rgba(0, 0, 0, 0.9);
    --text-light: rgba(0, 0, 0, 0.6);
    --border-color: #e0dfdc;
}

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

body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 1128px;
    /* LinkedIn container width */
    margin: auto;
    padding: 2rem;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 0 0 1px var(--border-color);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    max-width: 1128px;
    margin: 0 auto;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -2px;
}

.logo span {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: color 0.1s;
}

.nav-links a i {
    font-size: 1.4rem;
}

.nav-links a:hover,
.nav-links a:active {
    color: var(--text-dark);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content {
    background: white;
    padding: 48px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 800px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.name {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.greeting {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    padding: 8px 24px;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
    margin: 4px;
    display: inline-block;
    transition: 0.15s;
    font-size: 1rem;
    cursor: pointer;
}

.btn.primary-btn {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn.primary-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn.secondary-btn {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.btn.secondary-btn:hover {
    background-color: rgba(10, 102, 194, 0.1);
    box-shadow: inset 0 0 0 2px var(--primary);
}

/* Sections */
section {
    padding: 3rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    padding-left: 24px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
    background: white;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.stat-item h3 {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Skills List Update */
.skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: white;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.skill-card-wide {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.skill-card-wide:last-child,
.skill-card-wide:nth-last-child(2) {
    border-bottom: none;
}

.skill-logo {
    flex-shrink: 0;
}

.skill-logo i {
    font-size: 2.5rem;
}

.skill-logo .fa-python {
    color: #3776AB;
}

.skill-logo .fa-js {
    color: #F7DF1E;
}

.skill-logo .fa-ethereum {
    color: #62688F;
}

.skill-logo .fa-code {
    color: var(--text-light);
}

.skill-logo .fa-network-wired {
    color: var(--text-light);
}

.skill-logo .fa-brain {
    color: var(--primary);
}

.skill-logo .fa-database {
    color: var(--text-light);
}

.skill-details h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--text-dark);
    font-weight: 600;
}

.skill-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.skill-desc {
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.project-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

.project-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.project-card p {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.tech-used-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    padding: 4px 12px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact */
.contact-subtitle {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    padding-left: 24px;
    text-align: left;
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.contact-card {
    background: white;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    flex: 1;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-card h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.contact-card a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media(max-width:900px) {

    .about-grid,
    .skills-list,
    .projects-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .skill-card-wide:nth-last-child(2) {
        border-bottom: 1px solid var(--border-color);
    }

    .contact-grid {
        flex-direction: column;
    }
}

@media(max-width:768px) {
    .name {
        font-size: 2.2rem;
    }
}