* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}

html,
body {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: black;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(32, 31, 31);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 10px;
}

header>nav {
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #38bdf8;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem;
    flex-wrap: wrap;
    width: 80%;
}

.hero-left {
    flex: 1;
    max-width: 500px;
}

.hero-left h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-left p {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.prj-btn {
    padding: 15px 30px;
    background-color: #4ade80;
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #4ade80;
    transition: background 0.3s ease;
}

.prj-btn:hover {
    background-color: #22c55e;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 65%;
}

section {
    width: 80%;
    margin-top: 4rem;
}

.brands {
    text-align: center;
}

.brands p {
    margin-bottom: 1rem;
    color: #ccc;
}

.brand-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-logos img {
    width: 80px;
    filter: brightness(0.5);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-logos img:hover {
    filter: brightness(1);
    transform: scale(1.1);
}

img.github-icon {
    filter: invert(1);
}

#about p {
    color: #aaa;
    line-height: 1.6;
}

#skills ul {
    color: #ccc;
    line-height: 2;
}

.project-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    flex: 1;
    min-width: 250px;
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
}

.project-card p {
    color: #aaa;
}

.project-card a {
    color: #4ade80;
    text-decoration: none;
}

#contact {
    text-align: center;
}

#contact p {
    color: #aaa;
    margin-bottom: 20px;
}

.contact-ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.contact-li img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: invert(1);
}

.resume-btn {
    background-color: #22c55e;
    color: black;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
}

.resume-btn-box {
    padding: 20px;
}

@media (max-width: 768px) {
    header {
        width: 100%;
        border-radius: 0;
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-right {
        margin-top: 1rem;
    }
}