
@font-face {
    font-family: Vazirmatn;
    src: url('../Fonts/Vazir-Bold-FD-WOL.eot');
    src: url('../Fonts/Vazir-Bold-FD-WOL.eot?#iefix') format('embedded-opentype'), url('../Fonts/Vazir-Bold-FD-WOL.woff') format('woff'), url('../Fonts/Vazir-Bold-FD-WOL.ttf') format('truetype');
    font-weight: normal;
}

:root {
    --primary: #1e3a8a;
    --secondary: #84cc16;
}

body {
    font-family: Vazirmatn;
    background-color: #f8fafc;
    direction:rtl;
}

/* Custom utility for hiding scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Search Highlights */
.search-highlight {
    background-color: #fde047; /* Yellow-300 */
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: bold;
    animation: pulse-highlight 2s infinite;
}

@keyframes pulse-highlight {
    0% { background-color: #fde047; }
    50% { background-color: #facc15; }
    100% { background-color: #fde047; }
}

/* 3D Transform for Box */
.perspective-1000 {
    perspective: 1000px;
}
.rotate-y-12 {
    transform: rotateY(-12deg) rotateX(5deg);
}

/* Zig-Zag Category Styling */
.category-card {
    transition: all 0.4s ease;
}

/* Apply margin to every second item to create zig-zag effect */
.category-zigzag-item:nth-child(even) {
    margin-top: 3.5rem; /* Creates the down step */
}

.category-zigzag-item:hover .category-card {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border-color: var(--primary);
}

.category-zigzag-item:hover .category-icon {
    transform: scale(1.1);
}

/* Hero Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.hero-gradient {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(30, 58, 138, 0) 70%);
}

/* Timeline specific styles (RTL) */
.timeline-line {
    right: 0;
    left: auto;
}
.full-height {height:100vh;}
.text-filter {
    font-size: 1rem;
    line-height: 2.5rem;
}
.text-head-filter {
    font-size: 1.32rem;
    line-height: 2rem;
}
.article-header-bg {
    background: linear-gradient(207deg, rgb(17 32 75), rgb(36 56 115 / 87%), rgb(0 22 87 / 85%), white)
}

.ProductImage{

}
.ModernHero{

}
.flyed-right{

}
@media (max-width: 991px) {
    .ProductImage {
        max-width: 80%;
    }

    .ModernHero {
        height: unset;
        padding-bottom: 5rem;
        padding-top:8rem;
    }
    .flyed-right{
        right:0;
    }
    .flyed-left{
        left:0;
    }
}