﻿
        body { 
            font-family: 'Vazirmatn', sans-serif;
            overflow-x: hidden;
        }
        
.text-red{color:red!important;}
.text-green{color:green!important;}

.text-shadow {text-shadow: 6px 4px 6px rgba(0, 0, 0, 0.8);}



        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 10px; }
        ::-webkit-scrollbar-track { background: #f1f1f1; }
        ::-webkit-scrollbar-thumb { 
            background: linear-gradient(to bottom, #2563eb, #3b82f6); 
            border-radius: 5px; 
            transition: all 0.3s ease;
        }
        ::-webkit-scrollbar-thumb:hover { 
            background: linear-gradient(to bottom, #1d4ed8, #2563eb);
        }
        .dark ::-webkit-scrollbar-track { background: #1e293b; }
        .dark ::-webkit-scrollbar-thumb { 
            background: linear-gradient(to bottom, #1e40af, #3b82f6); 
        }
        .dark ::-webkit-scrollbar-thumb:hover { 
            background: linear-gradient(to bottom, #1e3a8a, #1d4ed8);
        }

        /* Mobile Menu Animation */
        #mobile-menu { 
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
            max-height: 0; 
            opacity: 0; 
            overflow: hidden; 
            transform: translateY(-10px);
        }
        #mobile-menu.open { 
            max-height: 500px; 
            opacity: 1;
            transform: translateY(0);
        }

        /* Card Hover Effects */
        .project-card { 
            transition: all 0.4s ease; 
            position: relative;
            overflow: hidden;
        }
        .project-card:hover { 
            transform: translateY(-10px) scale(1.02); 
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }
        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        .project-card:hover::before {
            left: 100%;
        }

        /* Skill Circle */
        .skill-circle {
            position: relative;
            width: 120px;
            height: 120px;
        }
        .skill-circle svg {
            transform: rotate(-90deg);
            width: 100%;
            height: 100%;
        }
        .skill-circle circle {
            fill: none;
            stroke-width: 10;
            stroke-linecap: round;
            transform: translate(5px, 5px);
        }
        .skill-circle .bg-circle {
            stroke: #e2e8f0;
        }
        .dark .skill-circle .bg-circle {
            stroke: #334155;
        }
        .skill-circle .progress-circle {
            stroke: #3b82f6;
            stroke-dasharray: 314;
            stroke-dashoffset: 314;
            animation: fillAnimation 1.5s ease-out forwards;
        }
        @keyframes fillAnimation {
            to {
                stroke-dashoffset: var(--dash-offset);
            }
        }

        /* Gradient Text */
        .gradient-text {
            background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradient 3s ease infinite;
        }

        /* Floating Elements */
        .floating-element {
            animation: float 6s ease-in-out infinite;
        }
        .floating-element:nth-child(2) {
            animation-delay: 1s;
        }
        .floating-element:nth-child(3) {
            animation-delay: 2s;
        }

        /* Glass Effect */
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .dark .glass-effect {
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid rgba(100, 116, 139, 0.2);
        }

        /* Progress Bar Animation */
        .progress-bar {
            transition: width 1.5s ease-in-out;
        }

        /* Typewriter Effect */
        .typewriter {
            overflow: hidden;
            border-right: .15em solid #3b82f6;
            white-space: nowrap;
            animation: typewriter 3.5s steps(40, end), blink 0.75s step-end infinite;
        }

        /* Counter Animation */
        .counter {
            font-variant-numeric: tabular-nums;
        }

        /* Testimonial Card */
        .testimonial-card {
            transition: all 0.3s ease;
        }
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        /* Technology Badge */
        .tech-badge {
            transition: all 0.3s ease;
        }
        .tech-badge:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Animation Classes for Scroll */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        .animate-on-scroll-delay-1 {
            transition-delay: 0.1s;
        }
        
        .animate-on-scroll-delay-2 {
            transition-delay: 0.2s;
        }
        
        .animate-on-scroll-delay-3 {
            transition-delay: 0.3s;
        }
        
        .animate-on-scroll-delay-4 {
            transition-delay: 0.4s;
        }
        
        .animate-on-scroll-delay-5 {
            transition-delay: 0.5s;
        }
        
        /* Staggered Animation for Children */
        .stagger-children > * {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .stagger-children.animated > * {
            opacity: 1;
            transform: translateY(0);
        }
        
        .stagger-children.animated > *:nth-child(1) { transition-delay: 0.1s; }
        .stagger-children.animated > *:nth-child(2) { transition-delay: 0.2s; }
        .stagger-children.animated > *:nth-child(3) { transition-delay: 0.3s; }
        .stagger-children.animated > *:nth-child(4) { transition-delay: 0.4s; }
        .stagger-children.animated > *:nth-child(5) { transition-delay: 0.5s; }
        .stagger-children.animated > *:nth-child(6) { transition-delay: 0.6s; }
        .stagger-children.animated > *:nth-child(7) { transition-delay: 0.7s; }
        .stagger-children.animated > *:nth-child(8) { transition-delay: 0.8s; }
        
        /* Special Animation Effects */
        .animation-zoom-in {
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .animation-zoom-in.animated {
            opacity: 1;
            transform: scale(1);
        }
        
        .animation-slide-left {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .animation-slide-left.animated {
            opacity: 1;
            transform: translateX(0);
        }
        
        .animation-slide-right {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .animation-slide-right.animated {
            opacity: 1;
            transform: translateX(0);
        }
        
        .animation-flip-in {
            opacity: 0;
            transform: perspective(1000px) rotateY(90deg);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .animation-flip-in.animated {
            opacity: 1;
            transform: perspective(1000px) rotateY(0);
        }
        
        .animation-rotate-in {
            opacity: 0;
            transform: rotate(-10deg) scale(0.9);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .animation-rotate-in.animated {
            opacity: 1;
            transform: rotate(0) scale(1);
        }
        
        .animation-blur-in {
            opacity: 0;
            filter: blur(10px);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .animation-blur-in.animated {
            opacity: 1;
            filter: blur(0);
        }
        
        /* Progress Animation for Skills */
        .skill-progress {
            width: 0;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .skill-progress.animated {
            width: var(--skill-width);
        }