.navbar {
    background: rgb(191, 211, 218);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.nav-container {
    width: min(1100px, 90%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
}

main {
    width: min(1100px, 90%);
    margin: auto;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    max-width: 700px;
    margin: auto;
    color: #555;
    line-height: 1.7;
}

.projects-grid {
    display: grid;
    gap: 40px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.project-content h2 {
    margin-bottom: 20px;
}

.project-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.project-tech span {
    background: rgb(191, 211, 218);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: bold;
}

.project-btn {
    margin-top: auto;
    display: inline-block;
	background: rgb(115, 154, 162);
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    transition: .3s;
}

.project-btn:hover {
    background: rgb(90, 129, 137);;
}

@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
    }

    .page-header h1 {
        font-size: 2.3rem;
    }

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

    .project-content {
        padding: 30px;
    }
}