@font-face {
    font-family: 'iranyekan';
    src: url('font/woff/iranyekanwebregularfanum.woff') format('woff');
}
@font-face {
    font-family: 'iranyekan';
    src: url('font/woff/iranyekanweblightfanum.woff') format('woff');
    font-weight: 300;
}
@font-face {
    font-family: 'iranyekan';
    src: url('font/woff/iranyekanwebboldfanum.woff') format('woff');
    font-weight: bold;
}
body {
    font-family: 'iranyekan';
    margin: 0;
    padding: 0;
    background: #F5F7FA;
    color: #0B3C63;
    font-size: 16px;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: #0B3C63;
    font-weight: bold;
    transition: 0.3s;
}
a:hover {
    color: #4DB8FF;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    background: rgba(11, 60, 99, 0.86);
    border-radius: 16px;
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 20;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}
.desktop {
    display: flex;
    gap: 28px;
}
.desktop a {
    color: white;
}
.desktop a:hover {
    color: #4DB8FF;
}
.mobile {
    display: none;
    background: none;
    border: none;
}
.nav-img, .nav-img img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}
.m-i, .m-i img {
    width: 35px;
    height: 35px;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: -webkit-fill-available;
    height: 100vh;
    background: #0B3C63;
    padding: 60px 25px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 9999;
    transform: translateX(100%);
}
.mobile-menu a {
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.mobile-menu.open {
    transform: translateX(0);
}
.close-menu {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 34px;
    color: white;
    cursor: pointer;
}
main {
    margin: 160px auto 40px;
    max-width: 850px;
}
footer {
    margin: 0 auto 40px;
    max-width: 850px;
}
.main1 {
    background: white;
    border: 1px solid #CFE8FF;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    transition: 0.3s;
}
.main1:hover {
    box-shadow: 0 8px 25px rgba(77, 184, 255, 0.3);
}
input {
    font-family: 'iranyekan';
    width: -webkit-fill-available;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #B9D9FF;
    outline: none;
    margin: 8px 0 16px;
    background: #F5F9FF;
    transition: 0.2s;
}
input:focus {
    border-color: #4DB8FF;
    background: white;
    box-shadow: 0 0 0 4px rgba(77,184,255,0.2);
}
.desktop-input {
    display: flex;
    gap: 15px;
}
.desktop-input div {
    flex: 1;
}
.price span {
    color: #3CCF91;
    font-size: 18px;
    font-weight: bold;
}
.pay {
    font-family: 'iranyekan';
    background: #0B3C63;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}
.pay:hover {
    background: #4DB8FF;
}
.test-sms .sms-box {
    background: #0B3C63;
    padding: 18px;
    color: white;
    border-radius: 14px;
    max-width: 400px;
    height: min-content;
}
.test-sms {
    position: relative;
    margin: 40px 15px 0;
}
.sms-container {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px;
}
.sms-container::-webkit-scrollbar {
    display: none;
}
.sms-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.sms-box {
    min-width: 300px;
    background: #0B3C63;
    padding: 18px;
    color: white;
    border-radius: 14px;
}
.scroll-btn {
    display: none;
    top: 40%;
    transform: translateY(-50%);
    background: #0B3C63;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 32px;
    z-index: 50;
    opacity: 0.8;
    transition: 0.2s;
}
.scroll-btn:hover {
    opacity: 1;
}
.left-btn {
    left: -50px;
}
.right-btn {
    right: -50px;
}
.sms-box p {
    line-height: 2;
    margin: 0;
}
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
    .scroll-btn {
        display: block;
    }
    .test-sms h2 {
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    main {
        margin: 140px 20px 40px;
    }
    footer {
        margin: 0 20px 40px;
    }
    .desktop-input {
        flex-direction: column;
    }
    .test-sms {
        margin: 30px 0 0;
    }
    .pay {
        font-size: 15px;
    }
}