@font-face {
    font-family: FontAwesome;
    src: url('webfonts/fa-regular-400.woff2') format("woff2"), url('webfonts/fa-regular-400.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: IRANSans;
    src: url('webfonts/IRANSansWeb.woff') format("woff"), url('webfonts/IRANSansWeb.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0 !important;
    padding: 0;
    background-color: #f6f7fb;
    color: #4d4d4d;
    font-family: 'IRANSans', sans-serif;
    direction: rtl;
}

li {
    list-style: none !important;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

input:focus {
    outline: none;
}

a:hover,
a:focus,
a:visited,
a:active,
button:hover,
button:focus,
button:visited,
button:active {
    text-decoration: none;
    outline: none;
}

a {
  text-decoration: none !important;
}

h6{
    font-size: 13px;
    color:#0138ae;
}


input,
textarea {
    border-radius: 0;
    outline: none;
    box-shadow: none;
    direction: rtl;
    float: right;
    width: 100%;
}

/* ======================= Topbar ======================= */
.topbar-menu-area {
    font-size: 14px;
}


.hover-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    transition: all 0.2s ease-in-out;
}



.topbar-menu li a {
    color: #0138ae;
    text-decoration: none;
    transition: color 0.3s;
}

.topbar-menu li a:hover {
    color: #d4d2fa;
}

/* ======================= Middle Section ======================= */
.mid-section .wrap-logo-top img {
    max-height: 60px;
    display: block;
}

.my-top-menu li a {
    
    font-weight: 500;
    white-space: nowrap;
    padding: 5px 10px;
    transition: color 0.3s, background 0.3s;
}

.my-top-menu li a:hover {
    color: #2116ea;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
}

/* ======================= Icons ======================= */
.wrap-icon .icon-link {
    color: #ffffff;
    font-size: x-large;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.wrap-icon .icon-link:hover {
    color: #9db4e5;
}

.cart-item-count {
    background-color: #9893f9;
    color: #fff;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* ======================= Offcanvas ======================= */
.offcanvas .cat-new li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.offcanvas .cat-new li:hover {
    color: #007BFF;
    cursor: pointer;
}


/* حالت اولیه */
#sticky {
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #0138ae;
    /* رنگ دلخواه هدر */
    z-index: 999;
}

/* وقتی چسبنده شد */
#sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}




.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* پیش‌فرض = موبایل (فقط ویدیو اصلی) */
.bg-video {
    display: none;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* دسکتاپ: فعال کردن بک‌گراند */
@media (min-width: 521px) {
    .bg-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: blur(20px) brightness(0.7);
        transform: scale(1.2);
        z-index: 1;
    }

    .main-video {
        position: relative;
        max-height: 100%;
        max-width: 100%;
        z-index: 2;
        margin: 0 auto;
        object-fit: contain;
        /* یا cover بسته به سلیقه */
    }
}

/* ======================= Responsive ======================= */
@media (min-width: 990px) {
    .wrap-icon{
        gap: 2rem;
        
    }
    .wrap-icon .btn {
        display: inline-block;
    }

    .wrap-logo-mobile{
        display: none;
    }

}





@media (max-width: 990px) {
    
    .wrap-menu , .wrap-logo-top{
        display: none;
    }


    .wrap-icon{
        display: flex;
        justify-content: space-between;
        /* آیکونا دو سر همدیگه */
        align-items: center;
        flex: 1;
        flex-shrink: 1;
    }

    .wrap-icon .icon-link .a
    {
        flex: 1;
        /* همه آیکونا فضای مساوی بگیرن */
        text-align: center;
        /* وسط چین بشن */
    }

    .wrap-logo-mobile{
        width: 200px;
            display: table;
            margin: 0 auto;
    }

        /* حالت اولیه */
        #sticky-mob {
            position: relative;
            width: 100%;
            transition: all 0.3s ease;
            background-color: #0138ae;
            /* رنگ دلخواه هدر */
            z-index: 999;
        }
    
        /* وقتی چسبنده شد */
        #sticky-mob.sticky {
            position: fixed;
            top: 0;
            left: 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            padding: 10px;
        }



}

.offcanvas {
    transition: transform 0.15s ease-in-out;
    /* به جای 0.3s پیش‌فرض */
}


 .mega-menu-parent .mega-menu {
    display: none;
    top: 100%;
    right: 0;
    min-width: 900px;
    max-width: 80vw;
    z-index: 999;
    border-radius: 5px;
    background: #fff;
    padding: 20px;
}

.mega-menu-parent:hover .mega-menu {
    display: block;
}


.mega-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
}


.mega-img img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 5px;
} 


.mega-categories{
   flex: 1;
}

.ggrd {
    display: flex;
        width: 200px;
        flex-wrap: wrap;
        justify-content: flex-end;
        flex-direction: column-reverse;
}

/* دسته‌بندی‌ها */
.mega-categories ul {
    max-height: 400px;
    /* ارتفاع حداکثر قبل از رفتن به ستون بعد */
    overflow-y: auto;
    /* اسکرول عمودی اگر تعداد زیاد شد */
    padding: 0;
    margin: 0;
    list-style: none;
}

.mega-categories a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 2px 0;
    font-size: 12px;
}

.mega-categories a:hover {
    color: #0138ae;
}

/* .mega-menu h6 {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}

.mega-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mega-menu a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 2px 0;
}

.mega-menu a:hover {
    color: #0138ae;
} */



 :root {
     --vk-primary: #0d6efd;
     /* Bootstrap primary */
     --vk-gradient: linear-gradient(135deg, #0d6efd 0%, #6f42c1 50%, #20c997 100%);
     --vk-card-bg: rgba(255, 255, 255, 0.7);
     --vk-blur: blur(10px);
 }

 /* Smooth page fade-in */
 body {
     opacity: 0;
     transition: opacity .4s ease-in;
 }

 body.ready {
     opacity: 1;
 }

 /* Section spacing */
 .section {
     padding: clamp(48px, 8vw, 96px) 0;
 }

 /* Hero */
 .vk-hero {
     position: relative;
     background: var(--vk-gradient);
     color: #fff;
     overflow: hidden;
 }

 .vk-hero .bubble {
     position: absolute;
     inset: -10% -10% auto auto;
     width: 45vmax;
     height: 45vmax;
     background: radial-gradient(closest-side, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0));
     filter: blur(30px);
     transform: translate3d(0, 0, 0);
     animation: float 12s ease-in-out infinite alternate;
     pointer-events: none;
 }

 @keyframes float {
     to {
         transform: translate3d(-20px, -20px, 0) scale(1.03);
     }
 }

 .vk-hero h1 {
     font-weight: 800;
     letter-spacing: -.5px;
 }

 .vk-hero .lead {
     opacity: .95;
 }

 /* Glassy cards */
 .vk-card {
     background: var(--vk-card-bg);
     backdrop-filter: var(--vk-blur);
     border: 1px solid rgba(255, 255, 255, .35);
     border-radius: 1.25rem;
     box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
     transition: transform .25s ease, box-shadow .25s ease;
 }

 .vk-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
 }

 /* Feature icons */
 .vk-icon {
     
     height: 3rem;
     display: inline-grid;
     place-items: center;
     border-radius: .85rem;
     background: #fff;
     box-shadow: 0 6px 20px rgba(13, 110, 253, .25);
 }

 /* Steps */
 .vk-step {
     position: relative;
 }

 .vk-step::before {
     content: attr(data-step);
     position: absolute;
     inset-inline-start: -1.25rem;
     inset-block-start: -1.25rem;
     width: 2.5rem;
     height: 2.5rem;
     display: grid;
     place-items: center;
     border-radius: 1rem;
     color: #fff;
     background: var(--vk-gradient);
     box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
     font-weight: 700;
 }

 /* Reveal on scroll */
 .reveal {
     opacity: 0;
     transform: translateY(12px);
     transition: opacity .6s ease, transform .6s ease;
 }

 .reveal.show {
     opacity: 1;
     transform: none;
 }

 /* CTA button micro-interaction */
 .btn-cta {
     border-radius: 999px;
     padding: .75rem 1.25rem;
     box-shadow: 0 10px 30px rgba(13, 110, 253, .25);
     transition: transform .15s ease, box-shadow .2s ease;
 }

 .btn-cta:hover {
     transform: translateY(-2px);
     box-shadow: 0 16px 40px rgba(13, 110, 253, .3);
 }

 /* Illustration holder */
 .vk-illus {
     aspect-ratio: 4/3;
     background: conic-gradient(from 180deg at 50% 50%, #f8f9fa, #eef6ff, #f7ecff, #eafaf4, #f8f9fa);
     border-radius: 1.25rem;
     overflow: hidden;
     position: relative;
 }

 .vk-illus img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 /* Accessibility: reduce motion */
 @media (prefers-reduced-motion: reduce) {
     * {
         animation: none !important;
         transition: none !important;
     }
 }


 .vk-card .vk-icon img {
     width: 100%;
     /* پر کنه عرض کارت رو */
     height: 150px;
     /* هرچی خواستی ارتفاع ثابت بده */
     object-fit: contain;
     /* تناسب عکس حفظ بشه */
     display: block;
     margin: 0 auto;
 }

 


 .accordion-button {
     border-radius: 0.75rem !important;
     background: #f8f9fa;
     font-weight: 500;
     transition: all 0.3s ease;
 }

 .accordion-button:not(.collapsed) {
     color: #fff;
     background: #0138ae;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 }

 .accordion-body {
     line-height: 1.7;
     color: #555;
 }

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0138ae;
    /* آبی ویکی کالا */
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    /* اول مخفی باشه */
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    font-size: 20px;
}

#scrollTopBtn:hover {
    background-color: #0056d6;
    transform: scale(1.1);
}



 .whatsapp-float {
     position: fixed;
     width: 60px;
     height: 60px;
     bottom: 20px;
     left: 20px;
     background-color: #25d366;
     color: #FFF;
     border-radius: 50px;
     text-align: center;
     font-size: 30px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
     z-index: 1000;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
 }

 .whatsapp-float:hover {
     transform: scale(1.1);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
 }

 .whatsapp-float img {
     width: 35px;
     height: 35px;
 }




























