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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

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

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* Main Content */
main {
    margin-top: 70px;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-contact {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero-contact a {
    color: #3498db;
    text-decoration: none;
}

.hero-contact a:hover {
    text-decoration: underline;
}

.hero-contact span {
    margin: 0 15px;
    color: #999;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-links a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.hero-links a:hover {
    background-color: #2980b9;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

/* About Section */
.about {
    background-color: #ffffff;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Experience Section */
.experience {
    background-color: #f8f9fa;
}

.experience-item {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.experience-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.date {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 15px;
}

.experience-item p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.experience-item ul {
    margin-left: 20px;
}

.experience-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    background-color: #ffffff;
}

.project-item {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.project-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.project-type {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.project-item p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.project-item ul {
    margin-left: 20px;
}

.project-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Skills Section */
.skills {
    background-color: #f8f9fa;
}

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

.skill-category {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    background-color: #ffffff;
    text-align: center;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-size: 1.1rem;
}

.contact-item strong {
    color: #2c3e50;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-contact {
        font-size: 1rem;
    }
    
    .hero-contact span {
        display: block;
        margin: 10px 0;
    }
    
    .hero-links {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-links a {
        width: 200px;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .experience-item,
    .project-item,
    .skill-category {
        padding: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}