@font-face {
    font-family: "vazir";
    src: url("../fonts/Vazir.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.7;
            scroll-behavior: smooth;
            font-family: "vazir", Tahoma, sans-serif !important;

        }

        h1, h2, h3, .display-font {
            /* font-family: 'Space Grotesk', sans-serif; */
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 95%;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #06b6d4);
            border-radius: 10px;
            /* text-align: center; */
        }
        .text-muted{
            padding: 10px;
        }

        .hero-section {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: white;
            padding: 80px 0;
            border-radius: 0 0 40px 40px;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
        }

        .hero-badge {
            background: rgba(59,130,246,0.2);
            backdrop-filter: blur(10px);
            padding: 8px 20px;
            border-radius: 40px;
            font-size: 0.9rem;
            display: inline-block;
            margin-bottom: 20px;
        }


        /* استایل هدر sticky */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-header.show {
    transform: translateY(0);
}

.sticky-header-content {
    padding: 12px 0;
    transition: all 0.3s ease;
}

.sticky-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
}

.sticky-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

/* حالت کوچک شده هدر */
.sticky-header.shrink .sticky-header-content {
    padding: 6px 0;
}

.sticky-header.shrink .sticky-avatar {
    width: 38px;
    height: 38px;
}

.sticky-header.shrink .sticky-name {
    font-size: 1rem;
}

/* تنظیم hero-section برای جلوگیری از همپوشانی */
.hero-section {
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

/* افکت اسکرول برای hero-section */
.hero-section.scrolled {
    transition: all 0.3s ease;
}
/* انیمیشن برای هدر */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-header.show {
    animation: slideDown 0.3s ease-out;
}

/* افکت hover روی هدر */
.sticky-header:hover {
    background: rgba(15, 23, 42, 0.98);
}

        .card-hover {
            transition: all 0.3s ease;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .section-padding {
            padding: 70px 0;
        }

        .skill-tag {
            background: #e2e8f0;
            padding: 6px 18px;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 500;
            display: inline-block;
            margin: 5px;
            transition: 0.2s;
        }

        .skill-tag:hover {
            background: #3b82f6;
            color: white;
        }

        .list-icon {
            color: #3b82f6;
            margin-left: 12px;
            font-size: 1.2rem;
        }

        .social-link {
            background: #1e293b;
            color: white;
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin: 5px;
            transition: 0.3s;
        }

        .social-link:hover {
            background: #3b82f6;
            color: white;
            transform: translateY(-3px);
        }

        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #0f172a;
            color: white;
            padding: 10px 15px;
            cursor: pointer;
            border-radius: 5px;
            display: none;
        }

        footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
            color: aqua;
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            .section-padding {
                padding: 40px 0;
            }
            h2 {
                font-size: 1.7rem;
            }
            .sticky-avatar {
        width: 38px;
        height: 38px;
    }
    
    .sticky-name {
        font-size: 1rem;
    }
    
    .sticky-header.shrink .sticky-avatar {
        width: 32px;
        height: 32px;
    }
    
    .sticky-header.shrink .sticky-name {
        font-size: 0.9rem;
    }
        }