@font-face {
    font-family: 'Vazir';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/vazir-font/30.1.0/Vazir-Regular.eot');
    src: url('https://cdnjs.cloudflare.com/ajax/libs/vazir-font/30.1.0/Vazir-Regular.eot?#iefix') format('embedded-opentype'),
         url('https://cdnjs.cloudflare.com/ajax/libs/vazir-font/30.1.0/Vazir-Regular.woff2') format('woff2'),
         url('https://cdnjs.cloudflare.com/ajax/libs/vazir-font/30.1.0/Vazir-Regular.woff') format('woff'),
         url('https://cdnjs.cloudflare.com/ajax/libs/vazir-font/30.1.0/Vazir-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
}

body {
    direction: rtl;
    background: linear-gradient(135deg, rgba(37, 55, 70, 0.95), rgba(122, 204, 0, 0.8));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 800px;
    height: 100vh;
    max-height: 800px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
 
}

.progress-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
}

.progress-bar {
    height: 6px;
    flex-grow: 1;
    background-color: #e2e2e2;
    border-radius: 3px;
    margin: 0 15px;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #7acc00, #253746);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 14px;
    color: #777;
}

.keyboard-nav {
    font-size: 12px;
    margin-right: 15px;
    color: #777;
}

.slides-container {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.slide.active {
    right: 0;
    opacity: 1;
}

.slide.previous {
    left: 100%;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #253746;
}

p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

.field-container {
    width: 100%;
    margin-bottom: 30px;
}

label {
    display: block;
    font-size: 24px;
    margin-bottom: 20px;
    color: #253746;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #7acc00;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 5px 15px rgba(122, 204, 0, 0.2);
    border-bottom: 2px solid #253746;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.radio-option {
    flex-basis: calc(50% - 15px);
    position: relative;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .radio-option {
        flex-basis: 100%;
    }
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    display: block;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    border: 2px solid #e2e2e2;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.radio-option input[type="radio"]:checked + label {
    border-color: #7acc00;
    background-color: rgba(122, 204, 0, 0.1);
    color: #253746;
    font-weight: bold;
}

.radio-option label:hover {
    border-color: #7acc00;
}

.navigation {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

button {
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:focus {
    outline: none;
}

.prev-btn {
    background-color: #f1f1f1;
    color: #777;
}

.prev-btn:hover {
    background-color: #e1e1e1;
}

.next-btn, .submit-btn {
    background: linear-gradient(90deg, #7acc00, #253746);
    color: white;
}

.next-btn:hover, .submit-btn:hover {
    background: linear-gradient(90deg, #253746, #7acc00);
    box-shadow: 0 5px 15px rgba(122, 204, 0, 0.3);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.thanks-message {
    text-align: center;
}

.thanks-message h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #7acc00;
}

@media (max-width: 768px) {
    .container {
        border-radius: 0;
        height: 100vh;
        max-height: none;
        margin: 0;
    }
    
    .slide {
        padding: 30px 20px;
		height: 100%;
		overflow-y: auto;
    }
    
    h1 {
        font-size: 28px;
    }
    
    p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    label {
        font-size: 20px;
    }
    
    input[type="text"], 
    input[type="tel"], 
    textarea {
        padding: 12px;
    }
    
    .navigation {
        margin-top: 30px;
    }
    
    button {
        padding: 10px 25px;
        font-size: 16px;
    }
	
}
.site-logo img {
    max-height: 66px;
    padding-bottom: 20px;
    width: auto;
}
.back_to_top {
    display: none;
}
.chaty-i-trigger {
    display: none;
}
.back-to-site-btn {
    text-decoration: none !important; /* جلوگیری از خط زیر لینک */
    color: #777; /* رنگ متن دکمه بازگشت به سایت */
    background-color: #f1f1f1; /* رنگ پس‌زمینه دکمه بازگشت به سایت */
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block; /* برای قرارگیری کنار دکمه دیگر */
}

.back-to-site-btn:hover {
    background-color: #e1e1e1; /* رنگ پس‌زمینه دکمه در حالت hover */
    color: #777;
}
.button-delete {
    background-color: #dc3232;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-delete:hover {
    background-color: #c72727;
}
#turnstile-error {
    display: none; /* مخفی کردن پیام خطای Turnstile به صورت پیش‌فرض */
}