.scoped{
    all: revert;
    display: block; 
}
html {
    scroll-behavior: smooth;
}
.address{
    font-size: 15px !important;
}
nav {
    margin: auto;
    padding-left: 100px;
}
/* استایل‌های کلی */
body {
    font-family: 'LaleZar';
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}
.floating-menu-btn2 {
    position: fixed;
    bottom: 30px;
    right: 100px;
    background-color: #6b1cff !important;
    color: white;
    border: none;
    border-radius: 10px;
    width: 130px;
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}
.floating-menu-btn2 p{
    width: 65%;
    color: white;
    font-family: Lalezar;
    font-size: 20px;
}
.floating-menu-btn2:hover {
    background-color: #8f52ff;
    transform: scale(1.1);
}
.floating-menu-btn2 i {
    font-size: 24px;
}
.floating-menu-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #6b1cff !important;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}
.floating-menu-btn:hover {
    background-color: #8f52ff;
    transform: scale(1.1);
}
.floating-menu-btn i {
    font-size: 24px;
}
.floating-menu-btn.active i.fa-bars {
    display: none;
}
.floating-menu-btn.active i.fa-times {
    display: inline;
}
.floating-menu-btn i.fa-times {
    display: none;
}
/* استایل منوی نواری کشویی */
.floating-bar-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 200px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 999;
}
.floating-bar-menu.active {
    max-height: 400px;
}
.floating-bar-menu ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.floating-bar-menu li {
    padding: 12px 20px;
    font-family: 'LaleZar';
    font-size: 16px;
    color: #333;
    transition: background-color 0.2s ease;
}
.floating-bar-menu li:hover {
    background-color: #e6f3ff;
}
.floating-bar-menu li a {
    color: #1c90ff;
    text-decoration: none;
    display: block;
}
.floating-bar-menu li a:hover {
    color: #005bb5;
}
.li-register {
    padding: 8px 15px;
    color: white;
    background-color: #0088cc;
    border-radius: 5px;
    list-style: none;
    margin-right: 70px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
.li-register:hover {
    background-color: #1ebfdb;
}
h1, h2, h3 {
    color: #1e3a8a;
    font-weight: 700;
    margin: 0px 0;
}
p {
    font-weight: 300;
    color: #475569;
    margin: 8px 0;
}
a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #3b82f6;
}
button {
    background: linear-gradient(135deg, #733bf6, #8e60fa);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}
button:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}
/* انیمیشن‌ها */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}
/* هدر */
header {
    padding: 8px 40px;
    display: flex;
    justify-content: start;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}
header.scrolled {
    padding: 8px 30px;
    background: #1e3a8a;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.logo img {
    width: 120px;
    margin-left: 8px;
}
.logo span {
    font-size: 24px;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.menu-toggle {
    display: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}
.menu-toggle:hover {
    color: #60a5fa;
}
nav {
    display: flex;
    align-items: center;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}
nav ul li .menu-box {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
}
nav ul li:hover .menu-box {
    display: block;
}
nav ul li .menu-box a {
    padding: 8px 15px;
    color: #1e293b;
    font-size: 15px;
    transition: background 0.3s ease;
}
nav ul li .menu-box a:hover {
    background: #f1f5f9;
}
nav ul li a {
    color: white;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s, transform 0.3s;
}
nav ul li a:hover {
    color: #60a5fa;
    transform: translateY(-1px);
}
.close-menu {
    display: none;
    padding: 12px 15px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    background: #3b82f6;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}
.close-menu:hover {
    background: #2563eb;
}
.text-title {
    color: rgb(0, 144, 163);
    font-family: Lalezar;
    font-size: 50px;
    text-align: center;
}
.logo-title {
    width: 250px;
}
/* هیرو با اسلایدر تمام‌صفحه */
.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: linear-gradient(to top, #ffffff, rgb(114, 101, 233));
    z-index: 1;
}
.slider {
    position: relative;
    height: 100%;
    width: 100%;
}
.row-shlide1 {
    width: 100%;
    height: 35vh;
    margin-top: 0px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.title-page {
    color: rgb(94, 94, 94);
    font-family: Lalezar;
    font-weight: bolder;
    font-size: 45px;
    text-align: center;
}
.row-box-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.box-container.b1 {
    box-shadow: 0px 12px 36px rgb(216, 95, 95);
}   
.box-container.b2 {
    box-shadow: 0px 12px 36px rgb(115, 216, 95);
}   
.box-container.b3 {
    box-shadow: 0px 12px 36px rgb(95, 133, 216);
}   
.box-container.b4 {
    box-shadow: 0px 12px 36px rgb(95, 202, 216);
}   
.box-container {
    width: 95%;
    height: 40%;
    background-color: white;
    box-shadow: 0px 12px 36px rgb(228, 228, 228);
    border-radius: 15px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all ease 0.3s;
    cursor: pointer;
    margin-top: 15px;
    padding-top: 5px;
}
.scroll-to-top-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}
.scroll-to-top-container.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #861cff, #923bf6);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #52a8ff, #60a5fa);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
.scroll-to-top-btn i {
    font-size: 24px;
}
.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    transform: rotate(-90deg);
}
.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 3.8;
}
.circle {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}
/* ریسپانسیو */
@media screen and (max-width: 768px) {
    .scroll-to-top-container {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    .scroll-to-top-btn {
        width: 50px;
        height: 50px;
    }
    .scroll-to-top-btn i {
        font-size: 20px;
    }
    .progress-circle {
        width: 50px;
        height: 50px;
    }
}
@media screen and (max-width: 425px) {
    .stat-item span{
        font-size: 20px !important;
    }
    .scroll-to-top-container {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
    }
    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
    }
    .scroll-to-top-btn i {
        font-size: 18px;
    }
    .progress-circle {
        width: 40px;
        height: 40px;
    }
}
.box-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.box-container:hover {
    transform: translateY(-10px);
    box-shadow: 0px 12px 36px rgb(209, 209, 209);
    background-color: rgba(197, 186, 255, 0.349);
}
.p-box-container {
    width: 80%;
    font-size: 18px;
    font-weight: bolder;
    color: rgb(90, 90, 90);
    position: relative;
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1s ease-out 0.2s;
}
.fa-gift, .fa-shield-alt, .fa-clock, .fa-cart-arrow-down {
    font-size: 30px;
    color: rgb(25, 55, 95);
}
.text_container {
    color: rgb(73, 73, 73);
    width: 80%;
    font-size: 22px;
    text-align: center;
}
.col1 {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.col2 {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.title_container {
    color: black;
    font-family: Lalezar;
    width: 80%;
    font-size: 45px;
    text-align: center;
}
.text-ques {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 10px;
    color: #525252;
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    border-bottom: 3px solid rgb(192, 192, 192);
}
.box-title-ques {
    margin-top: 10vh;
    display: flex;
    justify-content: center;
    width: 100%;
}
.img-container {
    width: 80%;
}
.img-container2 {
    width: 35%;
    display: none;
}
.box-col1-container {
    width: 50%;
    height: 100%;
}
.box-col2-container {
    width: 50%;
    height: 100%;
}
.display {
    width: 90%;
    margin: auto;
    /* height: 40%; */
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width : 425px) {
    .box-container a h3{
        font-size: 18px !important;
    }    
    .box_container{
        margin-top: 18px !important;
    }
}
.imagesite{
    background-image: url("./img/img2.svg");
}
.display2 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.box_container {
    width: 95%;
    height: 88vh;
    margin: auto;
    border-radius: 15px;
    margin-top: 5vh;
    box-shadow: 0px 12px 35px rgb(209, 209, 209);
    background-image: url('./img/banner-bg.jpg');
    background-color: rgba(255, 255, 255, 0.733);
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-page {
    color: rgb(73, 73, 73);
    width: 80%;
    font-size: 25px;
    text-align: center;
}
.img_slide {
    width: 540px;
    margin: auto;
}
.box-img {
    margin: auto;
}
.box-text {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.301);
    box-shadow: 0px 10px 15px rgb(155, 155, 155);
    border-radius: 15px;
    width: 35%;
    margin: auto;
}
/* خط زیر تیتر */
.box-text1 h1::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background: #ffb347;
    bottom: -12px;
    left: 0;
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
/* افکت هاور تیتر */
.box-text1 h1:hover {
    transform: translateY(-10px) scale(1.05);
    text-shadow: 0 0 20px rgba(255,105,0,0.8), 0 0 40px rgba(255,165,0,0.6);
}
.box-text1 h1:hover::after {
    transform: scaleX(1);
}
/* متن زیر تیتر */
.box-text1 p {
    font-size: 1.3rem;
    font-weight: 500;
    background: linear-gradient(120deg, #ffa500, #ff7f50, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 25px;
    max-width: 750px;
    line-height: 1.6;
    display: inline-block;
    transition: transform 0.4s ease, filter 0.4s ease;
    letter-spacing: 0.5px;
}
/* افکت هاور متن */
.box-text1 p:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 5px 10px rgba(255,165,0,0.5));
}
.box-text2 {
    width: 20%;
    min-width: 80px;
    background-color: #74410773;
    box-shadow: 0px 2px 5px rgb(8, 8, 8);
    border-radius: 15px;
    padding: 20px;
    margin: auto;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide.s1::before {
    background-color: white;
    width: 100vw;
    height: 100vh;
}
.slide.s2::before {
    background-image: linear-gradient(
        rgba(30, 58, 138, 0.4),
        rgba(59, 130, 246, 0.4)
    ), url('img/slide2.png');
}
.slide.s3::before {
    background-image: linear-gradient(
        rgba(30, 58, 138, 0.4),
        rgba(59, 130, 246, 0.4)
    ), url('img/slide3.png');
}
.slide h1 {
    margin-bottom: 10px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-weight: 700;

    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}
.slide button {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.dot.active {
    background: white;
    transform: scale(1.3);
}
.btn-menu {
    width: 50px;
    height: 45px;
    border-radius: 5px;
    position: fixed;
    top: 90vh;
    right: 1%;
    z-index: 11111;
}
.ul-menu {
    width: 150px;
    height: 45px;
    position: relative;
    top: -42px;
    right: 45px;
    background-color: rgba(57, 124, 224, 0.719);
    border-radius: 10px;
}
/* درباره ما */
.about {
    width: 100%;
    
    margin-bottom: 50px;
}
.about2 {
    width: 84%;
    margin: auto;
    overflow: hidden;
    margin-top: 120vh;
    margin-bottom: 50px;
}
.about::-webkit-scrollbar {
    background-color: white;
    width: 8px;
}
.about::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background-color: #0f5edd;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
    z-index: 0;
}
.about .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.about .card {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.about .card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transition: transform 0.4s ease;
}
.about .card:hover::before {
    transform: translate(15%, 15%);
}
.about .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}
.about .card i {
    font-size: 50px;
    color: #3b82f6;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}
.about .card:hover i {
    transform: rotate(10deg) scale(1.05);
}
.about .card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e3a8a;
}
.about .card p {
    font-size: 16px;
    color: #64748b;
}
/* خدمات برتر */
.services {
    padding: 80px 40px;
    background: #f9fafb;
    text-align: center;
}
.services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.service-item.gold {
    background: radial-gradient(circle at center, #fff09a 20%, #e0bf00 90%);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: #333;
    border-left: 3px solid gray;
}
.service-item.gold i {
    font-size: 40px;
    color: #c5a800;
    margin-bottom: 10px;
}
.service-item.gold h3 {
    color: #DAA520;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 20px;
}
.service-item.gold p {
    color: #444;
    font-size: 13px;
}
.service-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid #3b82f6;
    text-align: center;
}
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.2);
}
.service-item i {
    font-size: 40px;
    color: #3b82f6;
    margin-bottom: 15px;
}
.service-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1e3a8a;
}
.service-item p {
    font-size: 15px;
    color: #64748b;
}
.task-box-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.task-box {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    max-width: 350px;
    width: 100%;
    text-align: right;
    border: 2px solid #3b82f6;
}
.task-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1e3a8a;
}
.task-box ul {
    list-style: none;
    padding: 0;
}
.task-box ul li {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.task-box ul li i {
    color: #3b82f6;
    font-size: 18px;
}
.highlight-box {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    max-width: 350px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transition: transform 0.4s ease;
}
.highlight-box:hover::before {
    transform: translate(15%, 15%);
}
.highlight-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}
.highlight-box p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}
.highlight-box button {
    background: white;
    color: #3b82f6;
    font-weight: 700;
}
.highlight-box button:hover {
    background: #f1f5f9;
    color: #2563eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* آمار */
.stats {
    padding: 80px 40px;
    background: linear-gradient(135deg, #48288f, #48288f);
    color: white;
    text-align: center;
    height: auto;
}
.stats .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: scale(1.03);
}
.stat-item .number {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
}
.stat-item span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}
/* اخبار */
.news {
    padding: 80px 40px;
    background: #ffffff;
    text-align: center;
}
.news .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.news-item {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}
.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-item .content {
    padding: 15px;
}
.news-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1e3a8a;
}
.news-item p {
    font-size: 15px;
    color: #64748b;
}
/* شرکا */
.partners {
    padding: 80px 40px;
    background: #f9fafb;
    text-align: center;
}
@media screen and (max-width:768px) {
    .partners img {
        width: 250px !important;
        height: 117px !important;
    }   

}
@media screen and (max-width:1239px) {
    .box-container{
        height: 220px !important;
    }
    
}
@media screen and (max-width:425px) {
    .box-container{
        width: 100%;
        height: 220px !important;
    }
    .about2{
        width: 80%;
    }
    .img1{
        height: 382px !important;
    }
    .title_container{
        font-size: 32px !important;
    }
}
@media screen and (min-width:1024px) {
    .about2{
        height: 70vh !important;
    }
}
.partners .logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.partners img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(80%);
    transition: filter 0.3s ease, transform 0.3s ease;
    padding: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.partners img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}
/* سوالات متداول */
.faq {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'LaleZar';
    padding: 20px;
}
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f5f9;
    font-weight: 500;
    font-size: 18px;
    transition: background 0.3s ease;
}
.faq-question:hover {
    background: #e0e7ff;
}
.faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0 20px;
    font-size: 15px;
    color: #64748b;
    display: block;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}
.faq-item.active .faq-answer {
    opacity: 1;
    padding: 15px 20px;
    max-height: 1000px; /* افزایش ارتفاع برای نمایش کامل محتوا */
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap; /* اجازه می‌دهد در صورت نیاز محتوا به خط بعدی منتقل شود */
}
.faq-image {
    flex: 1;
    padding: 10px;
    min-width: 200px; /* حداقل عرض برای جلوگیری از فشردگی بیش از حد */
}
.faq-image img {
    width: 100%;
    height: auto;
    max-height: 250px; /* محدود کردن حداکثر ارتفاع تصویر */
    border-radius: 10px;
    object-fit: cover;
}
.faq-text {
    flex: 2;
    padding: 10px;
    min-width: 200px; /* حداقل عرض برای متن */
}
.faq-text h3 {
    color: #1c90ff;
    margin-bottom: 10px;
    font-size: 20px;
}
.faq-text ul {
    list-style-type: none;
    padding-right: 20px;
}
.faq-text ul li {
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-text ul li i {
    color: #28a745;
}
/* تماس */
.contact {
    padding: 80px 40px;
    background: #ffffff;
    text-align: center;
    margin-bottom: 10vh;
}
.contact form {
    max-width: 450px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact input:focus, .contact textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.contact button {
    width: 100%;
    margin-top: 12px;
}
.contact-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.contact-item {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
    height: 116px;
}
.contact-item i {
    font-size: 18px;
    color: #3b82f6;
    margin-bottom: 8px;
}
.contact-item p {
    font-size: 18px;
    font-weight: bolder;
    color: #64748b;
}
/* فوتر */
footer {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 40px 40px 20px;
    text-align: center;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-logo img {
    width: 60px;
    margin-bottom: 8px;
}
.footer-logo span {
    font-size: 18px;
    font-weight: 700;
}
.footer-description {
    text-align: right;
}
.footer-description h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.footer-description p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}
.footer-links ul {
    list-style: none;
    padding: 0;
    text-align: right;
}
.footer-links li {
    margin-bottom: 6px;
}
.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #60a5fa;
}
.social-icons {
    text-align: center;
}
.social-icons h6 {
    margin-bottom: 8px;
    font-size: 16px;
    color: white;
}
.social-icons .icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.social-icons a {
    font-size: 28px;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    transform: scale(1.1);
}
.social-icons a[href*="t.me"]:hover i {
    color: #0088cc;
}
.social-icons a[href*="instagram.com"]:hover i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-icons a[href*="eitaa.com"]:hover i {
    color: orange;
}
footer p {
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}
.logo-footer {
    filter: saturate(0.5) brightness(1.0);
}
.h2-das {
    font-size: 40px;
    color: white;
    font-weight: bolder;
}
/* استایل دکمه‌های ناوبری اسلایدر */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}
.prev-slide, .next-slide {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 22px;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.prev-slide:hover, .next-slide:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.img1 {
    display: none;
    height: 150px;
}
/* ریسپانسیو کردن سوالات متداول */
@media screen and (max-width: 1024px) {
    .faq {
        max-width: 90%;
        padding: 15px;
    }
    .box-container h3{
        font-size: 20px !important;
        line-height: 25px !important;
    }
    .box-container p{
        font-size: 15px;
        width: 88% !important;
    }
    .faq-question {
        font-size: 16px;
        padding: 12px 15px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        padding: 12px 15px;
        max-height: 1200px; /* افزایش ارتفاع برای نمایش کامل محتوا */
    }

    .faq-content {
        flex-direction: column;
        gap: 15px;
    }

    .faq-image img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
    }

    .faq-text h3 {
        font-size: 18px;
    }

    .faq-text ul li {
        font-size: 14px;
    }

    .title_container {
        width: 100%;
        font-size: 28px;
    }
    .box-container h3 {
        font-size: 15px;
        line-height: 19px;
    }

    .text_container {
        width: 100%;
        font-size: 17px;
    }

    .fa-gift, .fa-shield-alt, .fa-clock, .fa-cart-arrow-down {
        font-size: 20px !important;
    }
}
@media screen and (max-width: 768px) {
    .faq {
        max-width: 95%;
        padding: 10px;
    }
    .faq-question {
        font-size: 14px;
        padding: 10px 12px;
    }
    .faq-answer {
        font-size: 13px;
    }
    .faq-item.active .faq-answer {
        padding: 10px 12px;
        max-height: 1400px; /* افزایش ارتفاع برای نمایش کامل محتوا */
    }
    .faq-text h3 {
        font-size: 16px;
    }
    .faq-text ul li {
        font-size: 12px;
    }

    .faq-image img {
        max-height: 150px;
    }

    .text_container {
        font-size: 14px;
    }

    .box-container h3 {
        font-size: 15px;
        line-height: 19px;
    }

    .p-box-container {
        font-size: 10px;
        width: 90%;
    }
}
@media screen and (max-width: 425px) {
    .faq {
        max-width: 100%;
        padding: 8px;
    }

    .faq-question {
        font-size: 12px;
        padding: 8px 10px;
    }

    .faq-answer {
        font-size: 12px;
    }

    .faq-item.active .faq-answer {
        padding: 8px 10px;
        max-height: 1600px; /* افزایش ارتفاع برای نمایش کامل محتوا */
    }

    .faq-text h3 {
        font-size: 14px;
    }

    .faq-text ul li {
        font-size: 11px;
    }

    .faq-image img {
        max-height: 120px;
    }

    .col2 {
        display: none;
    }

    .col1 {
        width: 100%;
    }

    .img1 {
        display: block;
    }

    .title_container {
        font-size: 22px;
    }

    .text_container {
        font-size: 16px;
    }

    .text-ques {
        font-size: 30px;
    }
}
/* استایل دکمه اسکرول به بالا */
.scroll-to-top-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: #1c90ff;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-to-top-btn:hover {
    background-color: #52a8ff;
    transform: scale(1.1);
}

.scroll-to-top-btn i {
    font-size: 24px;
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

/* استایل‌های اضافی برای باکس‌ها در ریسپانسیو */
@media screen and (max-width: 768px) {
    .row-box-container {
        flex-direction: column;
    }
    .box-col1-container, .box-col2-container {
        width: 100%;
    }
    .p-box-container {
        font-size: 12px;
    }
}
.homiyan{
    font-size: 30px;
}
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  .code-box {
      height: 220px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  .code-box:hover {
    
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  .copy-btn {
    transition: all 0.3s ease;
  }
  .copy-btn:hover {
    transform: translateY(-2px);
  }
  .notification {
    animation: slideIn 0.5s ease forwards;
  }
  @keyframes slideIn {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
  }
  @keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }
  .fade-out {
    animation: fadeOut 0.5s ease forwards;
  }
  @media (min-width: 641px) {
    .notification {
      position: absolute;
      top: -3rem;
      left: 50%;
      transform: translateX(-50%);
      width: max-content;
      max-width: 80%;
    }
  }
  @media (max-width: 640px) {
    .code-box {
      padding: 1rem;
    }
    h2 {
      font-size: 1.5rem;
    }
    #code-text {
      font-size: 0.9rem;
      padding: 0.5rem;
    }
    .copy-btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }
    .notification {
      position: fixed;
      top: 1rem;
      right: 1rem;
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
    }
  }
  #confetti-canvas {
        position: fixed;
        top: 0; 
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
      }
      .code-box {
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
      }
      .code-box:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      }
      .copy-btn {
        transition: all 0.3s ease;
      }
      .copy-btn:hover {
        transform: translateY(-2px);
      }
      .notification {
        animation: slideIn 0.5s ease forwards;
      }
      @keyframes slideIn {
        0% { transform: translateY(-20px); opacity: 0; }
        100% { transform: translateY(0); opacity: 1; }
      }
      @keyframes fadeOut {
        0% { opacity: 1; }
        100% { opacity: 0; }
      }
      .fade-out {
        animation: fadeOut 0.5s ease forwards;
      }
      @media (min-width: 641px) {
        .notification {
          position: absolute;
          top: -3rem;
          left: 50%;
          transform: translateX(-50%);
          width: max-content;
          max-width: 80%;
        }
      }
      @media (max-width: 640px) {
        .code-box {
          padding: 1rem;
        }
        h2 {
          font-size: 1.5rem;
        }
        #code-text {
          font-size: 0.9rem;
          padding: 0.5rem;
        }
        .copy-btn {
          padding: 0.5rem 1rem;
          font-size: 0.9rem;
        }
        .notification {
          position: fixed;
          top: 1rem;
          right: 1rem;
          font-size: 0.9rem;
          padding: 0.5rem 1rem;
        }
      }

       /* بخش اطلاع‌رسانی */
  .info-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }

  .info-text {
    color: #6b7280; /* خاکستری */
    font-size: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .info-text i {
    margin-left: 6px;
    color: #6b7280;
  }

  .highlight {
    font-weight: bold;
    color: #374151; /* خاکستری تیره */
    margin: 0 4px;
  }

  .arrow {
    color: #6b7280;
    margin: 0 4px;
  }

  /* بخش کد جشنواره */
  #festival-code {
    position: relative;
    z-index: 10;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 16px;
  }

  .code-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 24px;
    text-align: center;
  }

  .title {
    font-size: 22px;
    font-weight: bold;
    color: #6b21a8;
    margin-bottom: 16px;
    animation: bounce 1.5s infinite;
  }

  .input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
  }

  #code-input {
    background-color: #f3f4f6;
    padding: 10px 12px;
    border-radius: 0 10px 10px 0;
    font-size: 16px;
    border: 1px solid #d1d5db;
    text-align: center;
    outline: none;
    width: 60%;
  }

  #submit-btn {
    background-color: #7e22ce;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 16px;
    cursor: pointer;
    height: 54px;
    transition: background 0.3s ease;
  }

  #submit-btn:hover {
    background-color: #6b21a8;
  }

  .sub-text {
    color: #4b5563;
    font-size: 15px;
  }

  .notification {
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 16px;
    text-align: center;
  }

  /* انیمیشن */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }

  .hidden {
    display: none;
  }
.hero {
    margin-bottom: 200px;
}
.about, .about2 {
    margin-bottom: 50px;
    overflow: auto;
}
.title_container {
    margin-bottom: 4vh;
}
.fa-gift, .fa-star, .fa-clock, .fa-trophy {
    color: rgb(82, 51, 133);
}
.fa-star {
    font-size: 24px;
}
.fa-trophy {
    font-size: 28px;
}
.box-container h3 {
    font-size: 25px;
}
.stats p {
    font-size: 24px;
    color: rgb(101, 154, 252);
    font-weight: bolder;
}
.stat-item span {
    font-size: 30px;
    font-weight: bolder;
}
.stat-item span .plus {
    font-size: 52px;
}
.news h2, .partners h2 {
    font-size: 25px;
}
.contact .text-ques {
    font-size: 25px;
}
.floating-menu-btn2 i {
    font-size: 18px;
    width: 35%;
    display: flex;
    justify-content: center;
}