 /* فونت‌ها */
 @font-face {
    font-family: "IRAN";
    src: url("../fonts/IRANSANS/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2");
}
 
@font-face {
    font-family: "lale";
    src: url("../fonts/Lalezar/Lalezar-Font/TTF/Lalezar-Regular.ttf") format(ttf);
}
 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IRAN", "yekan", "mikhi", "damavamd", "lale";
}

body {
     background: linear-gradient(150deg, #1a1a2e 0%, #10141e 25%, #0d212d 50%, #1f0b29 75%, #020208 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden; /* جلوگیری از اسکرول افقی */
    position: relative;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* استایل هدر */
.desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.7);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-top: none;
}

.desktop-header .navbar-nav {
    gap: 15px;
}

.desktop-header .nav-link {
    padding: 12px 25px !important;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8) !important;
}

.desktop-header .nav-link:hover,
.desktop-header .nav-link.active {
       background: linear-gradient(329deg, #2c0a3b96, #14284dfa);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgb(16 32 77);
     
}

/* استایل موبایل */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.9);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74, 144, 226, 0.2);
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 15px;
}

.mobile-nav-item.active {
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

/* المان‌های مدرن برنامه‌نویسی */
.code-decoration {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

.circuit-line {
    position: fixed;
    opacity: 0.4;
    filter: drop-shadow(0 0 8px rgba(74, 144, 226, 0.6));
    animation: circuitPulse 3s ease-in-out infinite;
}

.circuit-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 200px;
    animation-delay: 0s;
}

.circuit-2 {
    bottom: 15%;
    left: 5%;
    width: 350px;
    height: 200px;
    animation-delay: 1.5s;
}

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.3;
        filter: drop-shadow(0 0 5px rgba(74, 144, 226, 0.4));
    }
    50% {
        opacity: 0.6;
        filter: drop-shadow(0 0 15px rgba(155, 89, 182, 0.8));
    }
}

/* براکت‌های کد */
.code-brackets {
    position: fixed;
    font-family: 'Courier New', monospace;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(74, 144, 226, 0.15);
    z-index: 0;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
    animation: bracketGlow 4s ease-in-out infinite;
}

.bracket-1 {
    top: 20%;
    right: 8%;
    animation-delay: 0s;
}

.bracket-2 {
    bottom: 25%;
    left: 10%;
    animation-delay: 1s;
}

.bracket-3 {
    top: 50%;
    left: 5%;
    font-size: 3rem;
    animation-delay: 2s;
}

@keyframes bracketGlow {
    0%, 100% {
        opacity: 0.1;
        text-shadow: 0 0 10px rgba(74, 144, 226, 0.2);
    }
    50% {
        opacity: 0.25;
        text-shadow: 0 0 30px rgba(155, 89, 182, 0.5);
    }
}

/* اسنیپت‌های کد */
.code-snippet {
    position: fixed;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(74, 144, 226, 0.3);
    z-index: 0;
    pointer-events: none;
    background: rgba(26, 26, 46, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 2px solid rgba(74, 144, 226, 0.3);
    backdrop-filter: blur(5px);
    animation: codeFade 5s ease-in-out infinite;
}

.code-1 {
    top: 30%;
    right: 3%;
    animation-delay: 0s;
}

.code-2 {
    bottom: 30%;
    left: 3%;
    animation-delay: 2.5s;
}

.code-line {
    color: rgba(155, 89, 182, 0.5);
}

.code-var {
    color: rgba(74, 144, 226, 0.6);
}

.code-string {
    color: rgba(46, 204, 113, 0.4);
}

@keyframes codeFade {
    0%, 100% {
        opacity: 0.2;
        transform: translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-5px);
    }
}

/* الگوی هگز */
.hex-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(74, 144, 226, 0.03) 2px, rgba(74, 144, 226, 0.03) 4px),
        repeating-linear-gradient(60deg, transparent, transparent 2px, rgba(155, 89, 182, 0.03) 2px, rgba(155, 89, 182, 0.03) 4px),
        repeating-linear-gradient(120deg, transparent, transparent 2px, rgba(74, 144, 226, 0.03) 2px, rgba(74, 144, 226, 0.03) 4px);
    opacity: 0.3;
}

/* محتوای اصلی */
.luxury-section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
}

.main-content {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    align-items: center;
}

.content-area {
    flex: 1;
    padding: 40px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(74, 144, 226, 0.1);
    color: rgba(255, 255, 255, 0.9);
}


.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-bottom: 20px;
}

.sidebar h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.title {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1rem;
}

.location i {
    margin-left: 8px;
}

.contact-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.3);
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .sidebar {
        width: 100%;
        min-width: auto;
        order: -1;
    }
    
    .content-area {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    .luxury-section {
        padding: 80px 20px 100px;
    }
    
    .main-content {
        gap: 20px;
    }
    
    .content-area, .sidebar {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .sidebar h1 {
        font-size: 1.8rem;
    }
    
    /* تنظیم المان‌های کد در موبایل */
    .code-brackets {
        font-size: 2.5rem;
        opacity: 0.1;
    }
    
    .code-snippet {
        font-size: 0.7rem;
        opacity: 0.2;
    }
    
    .circuit-line {
        opacity: 0.2;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
}



.sidebar {
    width: 550px;
    min-width: 400px;
    background: linear-gradient(150deg, #1a1a2e 0%, #10141e 25%, #0d212d 50%, #1f0b29 75%, #020208 100%);
    color: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* افکت نور پس‌زمینه */
.sidebar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
       background: linear-gradient(45deg, #040718, rgb(255 255 255 / 6%), #0b0826b0);
    transform: rotate(45deg);
    z-index: -1;
    animation: shine 6s infinite linear;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

/* بهبود استایل محتوای داخل سایدبار */
.sidebar-content {
    position: relative;
    z-index: 2;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sidebar h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(74, 144, 226, 0.5);
}

.title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.location i {
    margin-left: 8px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.contact-btn {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(155, 89, 182, 0.3));
    color: white;
    border: 1px solid rgba(74, 144, 226, 0.5);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.5s;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(74, 144, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.5), rgba(155, 89, 182, 0.5));
    border-color: rgba(74, 144, 226, 0.8);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* افکت hover برای کل سایدبار */
.sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .sidebar {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .sidebar {
        padding: 30px 20px;
        border-radius: 20px;
        backdrop-filter: blur(15px);
    }
    
    .sidebar h1 {
        font-size: 1.8rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
}


.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item span {
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* اگر می‌خواهی فقط شماره تلفن داشته باشی */
.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.location span {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
/* استایل بخش نمونه کارهای ساده */
.portfolio-simple-section {
    padding: 80px 0;
    background: transparent;
    backdrop-filter: blur(3px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
}

/* اسلایدر ساده */
.simple-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.simple-slide {
    display: none;
    background: rgba(26, 26, 46, 0.7);
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.simple-slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.simple-slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4a90e2;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(74, 144, 226, 0.3);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.slide-content {
    padding: 40px;
}

.slide-content h3 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    font-weight: bold;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.slide-actions {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    color: white;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.6);
}

.btn-secondary:hover {
    background: rgba(74, 144, 226, 0.15);
    transform: translateY(-2px);
    border-color: #9b59b6;
    color: #9b59b6;
}

/* کنترل‌های ساده */
.simple-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.6);
}

.slide-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .portfolio-simple-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .slide-content {
        padding: 30px 25px;
    }
    
    .slide-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    
    .simple-controls {
        gap: 20px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .slide-image {
        height: 250px;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}



/* استایل بخش مهارت‌ها */
.skills-section {
    padding: 100px 0;
    background: transparent;
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    margin-top: 25px;
}

/* گرید مهارت‌ها */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.skill-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(74, 144, 226, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(74, 144, 226, 0.4),
        0 0 30px rgba(74, 144, 226, 0.2);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.5);
    transition: all 0.5s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.7);
}

/* آیکون‌های رنگی برای هر مهارت */
.skill-card:nth-child(1) .skill-icon {
    background: linear-gradient(135deg, #e34f26, #f06529);
}
.skill-card:nth-child(2) .skill-icon {
    background: linear-gradient(135deg, #1572b6, #33a9dc);
}
.skill-card:nth-child(3) .skill-icon {
    background: linear-gradient(135deg, #f7df1e, #f5de1a);
}
.skill-card:nth-child(4) .skill-icon {
    background: linear-gradient(135deg, #7952b3, #9370db);
}
.skill-card:nth-child(5) .skill-icon {
    background: linear-gradient(135deg, #21759b, #00a0d2);
}
.skill-card:nth-child(6) .skill-icon {
    background: linear-gradient(135deg, #777bb4, #8993be);
}

.skill-card h3 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    font-weight: bold;
}

.skill-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 15px;
}

.level-bar {
    flex: 1;
    height: 8px;
    background: rgba(74, 144, 226, 0.15);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.level-progress {
    height: 100%;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.level-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.level-percent {
    font-size: 1.1rem;
    font-weight: bold;
    color: #4a90e2;
    min-width: 45px;
}

/* آمارهای کلی */
.skills-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;


}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-family: 'IRAN', sans-serif;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .skills-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .skill-card {
        padding: 30px 25px;
    }
    
    .skill-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .skills-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .skills-stats {
        grid-template-columns: 1fr;
    }
    
    .skill-level {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .level-percent {
        text-align: center;
    }
}

/* انیمیشن‌های ویژه */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-card {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }





/* استایل بخش تماس */
.contact-section {
      padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.3), rgb(13 6 20 / 16%));
    backdrop-filter: blur(5px);
    position: relative;
    background: transparent;
    backdrop-filter: blur(4px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

 

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h3 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
}

.contact-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.3);
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    transform: translateX(10px);
    background: rgba(26, 26, 46, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.5);
}

.method-icon {
   
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #312c5a, #36154a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.method-content h4 {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    font-weight: bold;
}

.method-content p {
    font-size: 1.1rem;
    color: #4a90e2;
    font-weight: 600;
    margin-bottom: 5px;
}

.method-content span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* شبکه‌های اجتماعی در تماس */
.social-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-contact h4 {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-align: center;
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
      width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s 
ease;
    background: linear-gradient(135deg, #312c5a, #36154a);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.6);
}

/* فرم تماس */
.contact-form-container {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(74, 144, 226, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(26, 26, 46, 0.5);
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background: rgba(26, 26, 46, 0.7);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a90e2;
    font-size: 1.1rem;
}

.form-group textarea + .input-icon {
    top: 25px;
    transform: none;
}

.submit-btn {
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.7);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* فوتر */
.main-footer {
    background: linear-gradient(135deg, #0f0f1e4a, #1a1a2e00, #16213e9c);
    color: white;
    padding: 60px 0 20px;
    backdrop-filter: blur(7px);
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    /* background: transparent; */
    backdrop-filter: blur(4px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.footer-social-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #4a90e2;
    transform: translateX(5px);
}

.footer-services li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-services li:hover {
    color: #4a90e2;
    transform: translateX(5px);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2, #9b59b6);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

/* پایین فوتر */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-credits p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-credits .fa-heart {
    color: #e74c3c;
}

.footer-credits .fa-code {
    color: #4a90e2;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 30px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .method-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        border-radius: 25px;
        height: 45px;
    }
    
    .social-links-contact {
        flex-wrap: wrap;
    }
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center; /* وسط چین کردن تمام المان‌ها */
    gap: 20px;
    text-align: center; /* متن‌ها هم وسط چین بشن */
}

.footer-logo {
    display: flex;
    justify-content: center; /* وسط چین کردن عکس */
    margin-bottom: 10px;
}

.logo-img {
    width: 80px; /* اندازه مناسب */
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    max-width: 400px; /* محدود کردن عرض برای خوانایی بهتر */
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center; /* وسط چین کردن آیکون‌های اجتماعی */
}


.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item span {
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* اگر می‌خواهی فقط شماره تلفن داشته باشی */
.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.location span {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}





 #galaxy {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
