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%);
}

form {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    max-width: 560px;
    margin: 32px auto;
    box-shadow: 0 2px 12px #eee;
}

label {
    font-weight: bold;
    color: #212c40;
}

.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%;
}

.menu-consult{
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
        box-shadow: 0 8px 32px #ed1c2426;
        color: #212c40;
        font-family: 'Vazirmatn';
        font-size: 15px;
        font-weight: bold;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
}

select,
::picker(select) {
    appearance: base-select;
}

select {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
        box-shadow: 0 8px 32px #ed1c2426;
    padding: 10px;
    transition: 0.5s;
}

select::picker-icon {
    color: #212c40;
    transition: 0.4s rotate;
}

select:open::picker-icon {
    rotate: 180deg;
}

::picker(select) {
    border: none;
}

option { 
    gap: 10px;
    background: #212c40;
    color: #fff;
    padding: 10px;
    transition: 0.4s;
}

option:first-of-type {
    border-radius: 8px 8px 0 0;
}

option:last-of-type {
    border-radius: 0 0 8px 8px;
}

::picker(select) {
    border-radius: 8px;
}

option:not(option:last-of-type) {
    border-bottom: none;
}

option:nth-of-type(odd) {
    background: #212c40;
    color: #fff;
}

option:hover,
option:focus {
        color: #c81d25;
}

option .icon {
    font-size: 1.6rem;
    text-box: trim-both cap alphabetic;
} */

selectedcontent .icon {
    display: none;
}

option::checkmark {
    order: 1;
    margin-left: auto;
    content: "☑️";
} 

::picker(select) {
    opacity: 0;
    transition: all 0.5s allow-discrete;
}

::picker(select):popover-open {
    opacity: 1;
}

@starting-style {
    ::picker(select):popover-open {
        opacity: 0;
    }
}

::picker(select) {
    top: calc(anchor(bottom) + 1px);
    left: anchor(10%);
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 48px;
}