* {
    font-family: 'Vazirmatn', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #1e40af);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Background */
.animated-bg {
    background: linear-gradient(-45deg, #1e3a8a, #3b82f6, #60a5fa, #1d4ed8);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Blob Animation */
.blob {
    border-radius: 50%;
    filter: blur(40px);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

/* Dropdown Menu */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nested Dropdown */
.nested-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}
.nested-dropdown:hover .nested-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Video Play Button */
.play-btn {
    animation: pulse 2s infinite;
}

/* Swiper Custom Styles */
.swiper-pagination-bullet {
    background: #3b82f6 !important;
    width: 12px !important;
    height: 12px !important;
}
.swiper-pagination-bullet-active {
    background: #1d4ed8 !important;
    width: 30px !important;
    border-radius: 6px !important;
}
.swiper-button-next, .swiper-button-prev {
    color: #3b82f6 !important;
    background: white;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.accordion-item.active .accordion-content {
    max-height: 2000px;
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.active {
    transform: translateX(0);
}

/* Feature Card Icon */
.feature-icon {
    transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Category Card */
.category-card {
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(29, 78, 216, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.category-card:hover::before {
    opacity: 1;
}
.category-card .category-content {
    position: relative;
    z-index: 10;
}
/* Blob Animation */
@keyframes blob {
0%, 100% {
    transform: translate(0, 0) scale(1);
}
25% {
    transform: translate(20px, -50px) scale(1.1);
}
50% {
    transform: translate(-20px, 20px) scale(0.9);
}
75% {
    transform: translate(50px, 50px) scale(1.05);
}
}

.animate-blob {
animation: blob 7s infinite;
}

.animation-delay-2000 {
animation-delay: 2s;
}

.animation-delay-4000 {
animation-delay: 4s;
}

/* Smooth Accordion Transition */
.accordion-content {
transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RTL Support */
[dir="rtl"] .fas.fa-chevron-down {
transform-origin: center;
}
