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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

header {
    background: #4a90e2;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem; 
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background-color: transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #4a90e2, #9013fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #4a90e2;
    border-radius: 5px;
}

.card ul {
    margin-left: 1.5rem;
}

.card li {
    margin-bottom: 0.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.project {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.project:hover {
    transform: translate(-5px);
}

.tag {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

input, textarea {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

button {
    background: #4a90e2;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    background-color: transparent;
    transition: background-color 0.3s ease;
    transition: all 0.3s ease;
}

button:hover {
    background: #357ae8;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #2c3e50;
    color: white;
    border-radius: 10px;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

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