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

html {
    scroll-behavior: smooth;
}

body {
    background: #111827;
    color: white;
    font-family: Arial;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #0f172a;
    position: sticky;
    top: 0;
}

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

nav a {
    color: white;
    text-decoration: none;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

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

.hero img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 60px;
}

.hero h2 {
    color: #94a3b8;
    margin-top: 10px;
}

.hero p {
    max-width: 600px;
    margin-top: 20px;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons a {
    text-decoration: none;
    color: white;
    border: 1px solid #38bdf8;
    padding: 12px 24px;
    border-radius: 10px;
    margin: 10px;
    display: inline-block;
}

.section {
    padding: 100px 10%;
}

.section-title {
    font-size: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.about-text {
    max-width: 700px;
    margin: auto;
    text-align: center;
    line-height: 1.8;
    color: #cbd5e1;
}

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

.card {
    background: #1e293b;
    padding: 20px 30px;
    border-radius: 12px;
}

.education-box {
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    margin: auto;
    text-align: center;
}

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

.project-card {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card h3 {
    padding: 20px 20px 10px;
}

.project-card p {
    padding: 0 20px 20px;
    color: #cbd5e1;
}

.project-links {
    padding: 20px;
}

.project-links a {
    text-decoration: none;
    color: #38bdf8;
    margin-right: 15px;
}

.contact-box {
    text-align: center;
    line-height: 2.5;
}

@media(max-width:768px) {

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

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 40px;
    }

}