body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: #f7f9fc;
    color: #222;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;
}

/* SECTIONS */
.section {
    margin-bottom: 70px;
}

/* CARD */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* NAVBAR */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* HERO */
.hero {
    background: #ffffff;
    text-align: center;
    padding: 100px 20px;
    border-bottom: 1px solid #eee;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #555;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 22px;
    margin: 10px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.btn-primary {
    background: #007BFF;
    color: #fff;
}

.btn-accent {
    background: #ff7a00;
    color: #fff;
}

/* PROJECT GRID */
.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* PROJECT CARD */
.project {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.project img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project p {
    flex-grow: 1;
}

.project a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

.project a:hover {
    text-decoration: underline;
}

/* ABOUT */
.about-flex {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

html {
    scroll-padding-top: 70px;
        scroll-behavior: smooth;

}

.about img {
    max-width: 250px;
    border-radius: 10px;
    margin-top: 20px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 40px;
    font-size: 14px;
    color: #777;
}

/* MOBILE */
@media (max-width: 768px) {

    .projects {
        grid-template-columns: 1fr;
    }

    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        margin-top: 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}