body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

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

header {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.hero {
    background-color: #ddd;
    padding: 50px 0;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 1;
    padding-right: 20px;
}

.hero-content h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-content .button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    border-radius: 50%;
}

.about {
    padding: 50px 0;
    background-color: #fff;
}

.about h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.about .skills {
    margin-top: 30px;
}

.about .skills h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.about .skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.about .skills ul li {
    background-color: #eee;
    color: #333;
    padding: 8px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.projects {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.projects h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.projects .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.projects .project-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.projects .project-card img {
    width: 100%;
    display: block;
    height: auto;
}

.projects .project-card h3 {
    padding: 15px;
    margin: 0;
    font-size: 1.2em;
}

.projects .project-card p {
    padding: 0 15px 15px;
    line-height: 1.4;
}

.projects .project-card a {
    display: block;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
}

.contact {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact p {
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info {
    font-size: 1.1em;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    position: sticky;
    bottom: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        margin-top: 10px;
        flex-direction: column;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-image img {
        max-width: 200px;
    }

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