/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 720px;
    margin: 0 auto;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 999;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.2em;
    font-weight: 600;
    color: #111;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-size: 0.95em;
    color: #666;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #111;
}

/* Hero */
#hero {
    padding: 180px 0 120px;
}

#hero h1 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 15px;
}

#hero p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #666;
    font-size: 1.3em;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #111;
}

/* Sections */
section {
    padding: 80px 0;
    border-top: 1px solid #eee;
}

section h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 40px;
}

#about p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

/* Education */
.education-item {
    margin-bottom: 40px;
}

.education-item h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

.education-item .degree {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 5px;
}

.education-item .details {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 5px;
}

.education-item .coursework {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

/* Experience */
.experience-list {
    display: grid;
    gap: 40px;
    margin-bottom: 50px;
}

.experience-item h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}

.experience-item .company {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.experience-item .dates {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.experience-item .achievements {
    list-style: none;
    padding-left: 0;
}

.experience-item .achievements li {
    color: #444;
    font-size: 0.95em;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.experience-item .achievements li::before {
    content: "•";
    color: #111;
    position: absolute;
    left: 0;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.skill-category h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
}

.skill-category p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.resume-link {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.2s;
    border-radius: 4px;
}

.btn:hover {
    background-color: #333;
}

/* Projects */
.project-list {
    display: grid;
    gap: 20px;
}

.project-item {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: border-color 0.2s, transform 0.2s;
    display: block;
    position: relative;
}

.project-item:hover {
    border-color: #111;
    transform: translateY(-2px);
}

.project-item h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-item p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.project-item .arrow {
    font-size: 1.2em;
    color: #111;
}

/* Contact */
#contact-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    padding: 15px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #111;
}

#contact-form .btn {
    width: 100%;
    padding: 15px;
}

/* Footer */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid #eee;
}

footer p {
    text-align: center;
    color: #999;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    nav .container {
        padding: 15px 0;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 0.9em;
    }

    #hero {
        padding: 140px 0 80px;
    }

    #hero h1 {
        font-size: 2em;
    }

    #hero p {
        font-size: 1.1em;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.85em;
    }

    #hero h1 {
        font-size: 1.8em;
    }
}