body {
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #e6f0ff 0%, #e8e5ff 25%, #e0e7ff 50%, #e8e5ff 75%, #e6f0ff 100%);
    position: relative;
}

/*
.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(137, 40, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(137, 40, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(137, 40, 255, 0.08) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}
*/

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.gold-gradient {
    background: linear-gradient(135deg, #64748b 0%, #8928ff 25%, #a855f7 50%, #8928ff 75%, #64748b 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(137, 40, 255, 0.2);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(137, 40, 255, 0.1), transparent);
    transition: left 0.5s;
}

.card-hover:hover::before {
    left: 100%;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(137, 40, 255, 0.3), 0 0 30px rgba(137, 40, 255, 0.1);
}

.btn-gold {
    background: linear-gradient(135deg, #64748b 0%, #8928ff 50%, #64748b 100%);
    background-size: 200% 200%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold::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: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(137, 40, 255, 0.4);
    background-position: 100% 0;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: #8928ff;
    background: rgba(137, 40, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    right: 50%;
    background: linear-gradient(90deg, #a855f7, #8928ff);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
    right: 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(137, 40, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #8928ff, #a855f7);
    background-size: 200% 100%;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.service-icon {
    background: linear-gradient(135deg, #64748b 0%, #8928ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(137, 40, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.neon-glow {
    box-shadow: 0 0 20px rgba(137, 40, 255, 0.3),
                0 0 40px rgba(137, 40, 255, 0.2),
                0 0 60px rgba(137, 40, 255, 0.1);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(137, 40, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(137, 40, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(137, 40, 255, 0);
    }
}

.typewriter {
    overflow: hidden;
    border-left: 3px solid #8928ff;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #8928ff; }
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.morphing-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.gradient-text {
    background: linear-gradient(135deg, #a855f7, #8928ff, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



@media(width<1000px){
    #home{
        margin-top:80px;
    }
    
}