/* Reset */

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

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

/* Navigation */

header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    position: sticky;
    top: 0;
}

nav {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: #333;
}

nav a:hover {
    color: #0077ff;
}

/* Hero */

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.btn {
    text-decoration: none;
    background: #0077ff;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    transition: .3s;
}

.btn:hover {
    background: #005fcc;
}

/* Sections */

.section {
    max-width: 1000px;
    margin: auto;
    padding: 80px 20px;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Projects */

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

.card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: transform .25s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 20px;
}

.card a {
    text-decoration: none;
    color: #0077ff;
}

/* Footer */

footer {
    text-align: center;
    padding: 40px;
    color: #777;
}

/* Responsive */

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 16px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

}