body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: linear-gradient(135deg, #181c26 0%, #212c40 100%);
    margin: 0;
    color: #f5f6fa;
}

.header {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    color: #fff;
    text-align: center;
    padding: 48px 0 28px 0;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
    box-shadow: 0 8px 32px #ed1c2426;
}

.nav {
    display: flex;
    justify-content: center;
    background: rgb(32 38 54);
    box-shadow: 0 4px 18px #17182290;
    border-radius: 30px;
    margin: -33px auto 24px auto;
    max-width: 900px;
    z-index: 2;
    position: sticky;
}

.nav-item {
    position: relative;
    overflow: hidden;
    padding: 18px 28px;
    color: #e5e5e5;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    border-radius: 28px;
    margin: 3px;
    background-color: transparent;
    transition: color 1s;
}

.nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    opacity: 0;
    transition: opacity 1s;
    z-index: -1;
    border-radius: 28px;
}

.nav-item:hover::before {
    opacity: 1;
    transition-delay: 0s;
}

.nav-item:hover {
    color: #fff;
}

.active {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 60px auto 0 auto;
    padding: 0 24px;
}

.projects-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px;
}

.project-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 18px #e0e4e7;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    color: #212c40;
    transition: 0.6s;
}

.project-card:hover{
    transform: scale(1.1);
    transition: 0.6s;
}

.project-img {
    width: 200px;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    background: #eee;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 48px;
}