.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;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
}

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

.about-hero {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.about-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-btn {
    display: inline-block;
    margin-top: 15px;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    transition: .3s;
}

.skills h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.skill-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgb(191, 211, 218);
}

@media (max-width: 768px) {

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

    .nav-links {
        gap: 20px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        max-width: 300px;
        margin: auto;
    }

    .about-content h1 {
        font-size: 2.4rem;
    }
}