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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

/* Container for sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styling */
header {
    background-color: white;
    padding: 40px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Section styling */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Skills section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

.skill-category li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.skill-category li:before {
    content: "•";
    position: absolute;
    left: 0;
}

/* Projects section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-card p {
    margin-bottom: 15px;
    color: #666;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    color: #0066cc;
    text-decoration: none;
}

.project-links a:hover {
    text-decoration: underline;
}

.project-tags {
    margin: 10px 0 15px 0;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    border-radius: 16px;
    font-size: 0.85em;
    font-weight: 500;
}

/* Contact section */
.contact-list {
    list-style: none;
    text-align: center;
}

.contact-list li {
    margin-bottom: 10px;
}

.contact-list a {
    color: #0066cc;
    text-decoration: none;
}

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

/* Responsive design */
@media (max-width: 768px) {
    header {
        padding: 30px 0;
    }

    header h1 {
        font-size: 2rem;
    }

    section {
        padding: 40px 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}