body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: linear-gradient(135deg, #181c26 0%, #212c40 100%);
    padding: 0;
    box-sizing: border-box;
    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%);
    box-shadow: 0 8px 32px #ed1c2426;
}

.contact-section {
    max-width: 700px;
    margin: 48px auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 24px #e0e4e7;
}

form {
    background: #212c40;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px #212c40;
    font-family: 'Vazirmatn';
}

label {
    font-weight: bold;
    color: #fff;

}

.tel {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    box-shadow: 0 8px 32px #ed1c2426;
    border: none;
    border-radius: 10px;
    height: 30px;
    font-size: 18px;
    color: #fff;
    font-family: 'Vazirmatn';
}

.name {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    box-shadow: 0 8px 32px #ed1c2426;
    border: none;
    border-radius: 10px;
    height: 30px;
    font-size: 18px;
    color: #fff;
    font-family: 'Vazirmatn';
}

.message {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    box-shadow: 0 8px 32px #ed1c2426;
    border: none;
    border-radius: 10px;
    height: 60px;
    font-size: 18px;
    color: #fff;
    font-family: 'Vazirmatn';
}

button {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    box-shadow: 0 8px 32px #ed1c2426;
    color: #fff;
    padding: 10px 22px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 40%;
    height: 50%;
    font-family: 'Vazirmatn';
    font-weight: bold;
    font-size: 15px;
    margin-right: 30%;
}

.contact-info {
    margin-top: 28px;
}

.contact-info h3,
p {
    color: #212c40;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 48px;
}