 /* --- تعریف متغیرهای رنگی --- */
        :root {
            --bg-color: #0b0b0b;
            --text-color: #ffffff;
            --secondary-text: #888888;
            --nav-bg: rgba(11, 11, 11, 0.95);
            --border-color: #222222;
            --card-bg: #111111;
            --card-hover: #151515;
            --accent-color: #ffffff;
            --accent-hover: #00f2ff; /* آبی فیروزه‌ای درخشان برای تم تاریک */
            --btn-text: #000000;
            --section-sep: #1a1a1a;
        }

        /* متغیرها برای تم روشن */
        body.light-theme {
            --bg-color: #f5f5f7;
            --text-color: #1d1d1f;
            --secondary-text: #515154;
            --nav-bg: rgba(245, 245, 247, 0.95);
            --border-color: #d2d2d7;
            --card-bg: #ffffff;
            --card-hover: #fbfbfb;
            --accent-color: #000000;
            --accent-hover: #00a8b5; /* فیروزه‌ای عمیق‌تر برای تم روشن */
            --btn-text: #ffffff;
            --section-sep: #e5e5e5;
        }

        /* --- تنظیمات پایه --- */
        html { scroll-behavior: smooth; }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
        body { background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; transition: background-color 0.5s ease, color 0.5s ease; }

        /* --- استایل هدر و نوبار --- */
        header { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
        
        nav { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 40px 60px; 
            position: fixed; 
            width: 100%; 
            top: 0; 
            z-index: 1000; 
            background: transparent; 
            transition: all 0.4s ease;
        }

        nav.scrolled {
            padding: 20px 60px;
            background: var(--nav-bg);
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .logo { font-size: 24px; font-weight: bold; letter-spacing: 2px; transition: 0.3s; }
        .logo:hover { color: var(--accent-hover); }

        nav ul { display: flex; list-style: none; gap: 40px; }
        nav ul li a { text-decoration: none; color: var(--secondary-text); font-size: 14px; transition: 0.3s; position: relative; }
        
        nav ul li a::after {
            content: ''; position: absolute; width: 0; height: 2px;
            bottom: -5px; left: 0; background-color: var(--accent-hover); transition: 0.3s;
        }
        nav ul li a:hover::after { width: 100%; }
        nav ul li a:hover { color: var(--accent-hover); }

        /* --- دکمه تم سوییچر --- */
        .theme-toggle {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 2000;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--accent-color);
            color: var(--btn-text);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: 0.3s;
        }
        .theme-toggle:hover { transform: scale(1.1); background-color: var(--accent-hover); color: white; }

        /* --- انیمیشن ورود المان‌ها --- */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* دکمه CTA */
        .nav-cta {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text-color);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1.2px;
            padding: 8px 16px;
            border-radius: 50px;
            border: 1px solid var(--border-color);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-cta:hover {
            background-color: var(--accent-hover);
            color: white;
            border-color: var(--accent-hover);
        }

        .dot-pulse {
            width: 6px; height: 6px;
            background-color: #2ecc71;
            border-radius: 50%;
            position: relative;
        }

        .dot-pulse::after {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-color: #2ecc71; border-radius: 50%; animation: pulse-ring 1.8s infinite;
        }

        @keyframes pulse-ring {
            0% { transform: scale(1); opacity: 0.8; }
            100% { transform: scale(3); opacity: 0; }
        }

        /* --- Hero Section --- */
        .hero-container { 
			display: flex;
			justify-content: center;
			align-items: left; 
			margin-top: 160px;
			animation: fadeIn 1.5s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .masked-text {
            font-size: 10vw;
            font-weight: 800;
            text-transform: uppercase;
            background-image: url('assets/img/hearo.png');
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            background-size: 110%;
            background-position: center;
            transition: transform 0.2s ease-out;
            display: inline-block;
        }
        
        body.light-theme .masked-text { -webkit-text-stroke: 1px #000; }

        .under-masked-text {     
			font-size: 20px;
			text-align: center;
			margin-top: 18px;
			margin-bottom: 20px;
			color: var(--secondary-text);
			animation: slideUp 1s ease-out 0.5s backwards; 
		}

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- سکشن ABOUT ME --- */
        .about-section {     padding: 60px 10% 120px; background-color: var(--bg-color); }
        .about-container { display: flex; align-items: flex-start; gap: 80px; }
        .about-image { flex: 1; max-width: 500px; }
        .about-image img { 
			width: 100%;
			filter: grayscale(15%) brightness(1.06) contrast(1.03) saturate(1.02);
			border-radius: 8px;
			transition: 0.5s;
			}
        .about-image:hover img {
			    filter: grayscale(0%) brightness(1.08) contrast(1.05) saturate(1.08);
				transform: scale(1.02);
				box-shadow:
					0 0 35px rgba(115, 215, 255, 0.35),
					0 0 80px rgba(255, 255, 255, 0.08);
		}
        
        .about-content { flex: 1; }
        .section-label { font-size: 12px; letter-spacing: 3px; color: var(--secondary-text); margin-bottom: 10px; display: block; }
        .about-headline { font-size: 30px; font-weight: 700; margin-bottom: 40px; line-height: 1.2; }

        /* آکاردئون */
        .accordion-list { border-top: 1px solid var(--border-color); }
        .accordion-item { border-bottom: 1px solid var(--border-color); display: block; transition: all 0.4s ease; }
        .accordion-header { padding: 25px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
        .accordion-header span { font-size: 17px; color: var(--secondary-text); transition: all 0.3s ease; padding: 5px 0; border: 1px solid transparent; border-radius: 20px; }
        
        /* هوور فیروزه‌ای برای آکاردئون */
        .accordion-header:hover span { color: var(--accent-hover); }
        .accordion-item.active .accordion-header span { color: var(--text-color); border-color: var(--accent-hover); padding: 5px 15px; }
        
        .arrow { width: 10px; height: 10px; border-right: 2px solid var(--secondary-text); border-bottom: 2px solid var(--secondary-text); transform: rotate(45deg); transition: 0.3s; }
        .accordion-item.active .arrow { transform: rotate(-135deg); border-color: var(--accent-hover); }
        .accordion-description { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); }
        .accordion-item.active .accordion-description { max-height: 1000px; transition: max-height 1s ease-in; }
        .accordion-description p { padding: 0 0 30px 0; color: var(--secondary-text); font-size: 15px; line-height: 1.8; max-width: 95%; }
        
        /* Who Am I Section */
        .who-am-i-section { background-color: var(--bg-color); padding: 100px 10%; border-top: 1px solid var(--section-sep); }
        .who-top-row { display: flex; justify-content: flex-start; align-items: flex-end; margin-bottom: 32px; gap: 100px; }
        .who-heading h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; line-height: 1.1; margin-top: 15px; }
        .who-description { max-width: 430px; color: var(--secondary-text); line-height: 1.7; border-left: 1px solid var(--border-color); padding-left: 38px; }
        .who-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.who-tags span {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.035);
    transition: 0.3s;
}

.who-tags span:hover {
    color: white;
    border-color: var(--accent-hover);
    background: rgba(115, 215, 255, 0.14);
}
		.who-bottom-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: stretch;}
        .quote-container .main-text {
    color: var(--secondary-text);
    margin-bottom: 28px;
    line-height: 1.8;
    font-size: 16px;
    max-width: 92%;
}
        .quote-container {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 38px 34px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.quote-container::before {
    content: 'UX PROCESS';
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent-hover);
    opacity: 0.65;
}
		.quote-container:hover {
    border-color: var(--accent-hover);
    background: rgba(115, 215, 255, 0.055);
    transform: translateY(-6px);
    box-shadow:
        0 0 30px rgba(115, 215, 255, 0.10),
        0 20px 50px rgba(0, 0, 0, 0.25);
}
		.design-quote {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.35;
    font-style: normal;
    color: var(--text-color);
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
}
        .author-info { display: flex; align-items: center; gap: 15px; }
        .author-img img { width: 50px; height: 50px; border-radius: 50%; filter: grayscale(100%); transition: 0.3s; }
        .author-img img:hover { filter: grayscale(0%); }
        .author-details strong { display: block; font-size: 14px; letter-spacing: 1px; }
        .author-details span { font-size: 12px; color: var(--secondary-text); }
		.skills-lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
        .skills-column { background: rgba(255, 255, 255, 0.035);border: 1px solid var(--border-color);border-radius: 18px;padding: 32px 28px;transition: all 0.4s ease;}
		.skills-column h3 { font-size: 26px; margin-bottom: 26px; font-weight: 700;transition: 0.3s; }
        .skills-column h3:hover { color: var(--accent-hover); }
        .skills-column ul { list-style: none; }
        .skills-column ul li { margin-bottom: 18px;color: var(--secondary-text);display: flex;align-items: center;gap: 14px;font-size: 15px;line-height: 1.5;transition: 0.3s; }
        .skills-column:hover {border-color: var(--accent-hover); background: rgba(115, 215, 255, 0.06); transform: translateY(-6px);box-shadow:0 0 30px rgba(115, 215, 255, 0.12),0 20px 50px rgba(0, 0, 0, 0.25);}
		.skills-column ul li:hover { color: var(--text-color); transform: translateX(5px); }
        .skills-column ul li i { color: var(--border-color); font-style: normal; font-size: 12px; transition: 0.3s; }
        .skills-column ul li:hover i { color: var(--accent-hover); }

        /* Offer Section */
        .offer-section { background-color: var(--bg-color); padding: 120px 10%; border-top: 1px solid var(--section-sep); }
        .offer-top-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; gap: 40px; }
        .offer-heading h2 { font-size: 48px; font-weight: 700; margin-top: 15px; max-width: 500px; }
        .offer-side-text { max-width: 400px; color: var(--secondary-text); font-size: 14px; line-height: 1.6; border-left: 1px solid var(--border-color); padding-left: 30px; }
        .offer-slider-container { display: flex; align-items: center; gap: 20px; position: relative; }
        .offer-cards-wrapper { display: flex; gap: 30px; flex: 1; overflow-x: auto; padding-bottom: 20px; }
        .offer-cards-wrapper::-webkit-scrollbar { display: none; }
        
        .offer-card { flex: 1; min-width: 350px; background-color: var(--card-bg); border: 1px solid var(--border-color); padding: 50px 40px; transition: all 0.4s ease; cursor: pointer; }
        /* هوور فیروزه‌ای کارت‌ها */
        .offer-card:hover { border-color: var(--accent-hover); background-color: var(--card-hover); transform: translateY(-10px); }
        .offer-card .card-icon { margin-bottom: 30px; color: var(--secondary-text); transition: 0.3s; }
        .offer-card:hover .card-icon { color: var(--accent-hover); }
        .offer-card h3 { font-size: 28px; margin-bottom: 20px; font-weight: 600; }
        .offer-card p { color: var(--secondary-text); line-height: 1.7; font-size: 15px; }
        
        .nav-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-color); width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
        .nav-btn:hover { background-color: var(--accent-hover); color: white; border-color: var(--accent-hover); }

        /* Work Section */
        .work-section { background-color: var(--bg-color); padding: 120px 10%; overflow: hidden; }
        .work-headline { font-size: 42px; font-weight: 700; margin-bottom: 50px; }
        .slider-container { width: 100%; overflow: hidden; }
        .projects-slider { display: flex; gap: 30px; transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1); will-change: transform; }
        .project-card {
			min-width: calc(50% - 15px);
			flex-shrink: 0;
			position: relative;
			cursor: pointer;
			border-radius: 18px;
			overflow: hidden;
			background: rgba(255, 255, 255, 0.035);
			border: 1px solid var(--border-color);
			transition: all 0.4s ease;
		}
        .project-card:hover {
			transform: translateY(-8px);
			border-color: var(--accent-hover);
			box-shadow:
				0 0 35px rgba(115, 215, 255, 0.14),
				0 24px 60px rgba(0, 0, 0, 0.35); 
		}
        /*.project-card:hover::after { content: 'VIEW PROJECT'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--accent-hover); font-weight: bold; letter-spacing: 2px; }*/
        .project-image { width: 100%; aspect-ratio: 16 / 9; background-color: var(--card-bg); border-radius: 4px; overflow: hidden; border: 1px solid var(--border-color); transition: 0.3s; }
        .project-card:hover .project-image {
			border-color: transparent;
			opacity: 0.72; 
			}
        .project-info {
    padding: 24px 24px 28px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.045)
    );
}

.project-info span {
    display: block;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-color);
}
		.project-image img {     width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--card-bg);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    transition: 0.3s; }
        
        .work-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
        .dot { width: 10px; height: 10px; background-color: var(--border-color); border-radius: 50%; cursor: pointer; transition: 0.3s; }
        .dot.active { background-color: var(--accent-hover); transform: scale(1.3); }

        /* Testimonial Section */
        .testimonial-section { background-color: var(--bg-color); padding: 0 10% 160px 10%; text-align: center; position: relative; overflow: hidden; }
        .testi-headline { font-size: 42px; font-weight: 700; margin-top: 15px; margin-bottom: 80px; }
        .testi-container { display: flex; justify-content: space-between; align-items: center; position: relative; max-width: 1000px; margin: 0 auto; }
        .testi-content-wrapper { max-width: 700px; text-align: left; z-index: 2; }
        .testi-text { font-size: 20px; font-style: italic; line-height: 1.8; color: var(--text-color); margin-bottom: 40px; font-weight: 300; }
        .testi-author { display: flex; align-items: center; gap: 15px; }
        /*.author-img img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; filter: grayscale(100%); }
        .author-info h4 { font-size: 16px; margin-bottom: 5px; color: var(--text-color); }
        .author-info span { font-size: 13px; color: var(--secondary-text); } */
        .testi-nav { background: none; border: none; color: var(--text-color); font-size: 40px; cursor: pointer; padding: 20px; transition: 0.3s; opacity: 0.5; z-index: 10; }
        .testi-nav:hover { opacity: 1; transform: scale(1.1); color: var(--accent-hover); }
        .decorative-quote { position: absolute; bottom: -60px; right: 50px; font-size: 250px; font-family: serif; color: var(--border-color); opacity: 0.3; pointer-events: none; z-index: 0; }

                /* --- استایل بخش تماس (Contact) - نسخه خطی --- */
        .contact-section {
            padding: 100px 60px;
            background-color: var(--bg-color);
            border-top: 1px solid var(--border-color);
        }

        .contact-container {
            display: flex;
            justify-content: space-between;
            gap: 60px;
            max-width: 1200px;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .contact-info {
            flex: 1;
            min-width: 300px;
        }

        .contact-info h2 {
            font-size: 2.5rem;
            margin: 20px 0;
            color: var(--text-color);
        }

        .contact-info p {
            color: var(--secondary-text);
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .contact-details {
            margin-top: 40px;
        }

        .contact-item {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
        }

        .contact-item span:first-child {
            font-weight: bold;
            color: var(--text-color);
            margin-bottom: 5px;
        }

        .contact-item a {
            color: var(--accent-hover);
            text-decoration: none;
            transition: 0.3s;
        }

        .contact-item a:hover {
            text-decoration: underline;
        }

        /* استایل آیکون‌های شبکه اجتماعی */
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icon {
            color: var(--secondary-text);
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1rem;
            transition: 0.3s;
            border-bottom: 1px solid transparent;
        }

        .social-icon:hover {
            color: var(--accent-hover);
            border-bottom: 1px solid var(--accent-hover);
        }

        /* استایل فرم خطی */
        .contact-form {
            flex: 1;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            gap: 30px; /* فاصله بین ردیف‌ها */
        }

        .form-row {
            display: flex;
            gap: 20px;
        }

        .form-group {
            flex: 1;
            position: relative;
        }

        /* استایل خطی اینپوت‌ها */
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 10px 0;
            background: transparent;
            border: none;
            border-bottom: 1px solid var(--border-color);
            color: var(--text-color);
            font-family: inherit;
            font-size: 1rem;
            transition: 0.3s;
            border-radius: 0; /* حذف گوشه‌های گرد */
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-bottom-color: var(--accent-hover);
        }

        /* دکمه ارسال */
        .submit-btn {
            align-self: center; /* وسط چین کردن دکمه */
            padding: 10px 20px;
            background-color: var(--accent-color);
            color: var(--btn-text);
            border: none;
            border-radius: 0; /* گوشه‌های تیز */
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            margin-top: 10px;
        }

        .submit-btn:hover {
            background-color: var(--accent-hover);
            color: white;
            transform: scale(1.1); /* بزرگ شدن با هاور */
            padding: 12px 25px; /* کمی بزرگ‌تر شدن */
        }

        /* ریسپانسیو برای موبایل */
        @media (max-width: 768px) {
            .contact-section {
                padding: 60px 20px;
            }
            .contact-container {
                flex-direction: column;
                gap: 40px;
            }
            .contact-info h2 {
                font-size: 2rem;
            }
            .form-row {
                flex-direction: column;
                gap: 20px;
            }
        }

        /* Footer */
        .site-footer { background-color: var(--bg-color); padding: 80px 5% 40px; border-top: 1px solid var(--section-sep); }
        .footer-content { display: flex; justify-content: center; align-items: center; margin-bottom: 60px; position: relative; }
        .footer-logo { font-size: 36px; font-weight: 900; letter-spacing: 2px; margin: 0 60px; cursor: default; transition: 0.3s; }
        .footer-logo:hover { color: var(--accent-hover); }
        .footer-nav { display: flex; list-style: none; gap: 40px; padding: 0; }
        .footer-nav li a { text-decoration: none; color: var(--secondary-text); font-size: 14px; font-weight: 500; text-transform: uppercase; transition: all 0.3s ease; letter-spacing: 1px; }
        .footer-nav li a:hover { color: var(--accent-hover); }
        .copyright-area { border-top: 1px solid var(--section-sep); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--secondary-text); }
        .social-icons { display: flex; gap: 20px; }
        .social-icons a { color: var(--secondary-text); text-decoration: none; transition: 0.3s; }
        .social-icons a:hover { color: var(--accent-hover); }

        /* ریسپانسیو */
        @media (max-width: 992px) {
            .who-top-row, .who-bottom-row { flex-direction: column; grid-template-columns: 1fr; }
            .who-description { border-left: none; padding-left: 0; border-top: 1px solid var(--border-color); padding-top: 20px; }
            .skills-lists { flex-direction: column; gap: 40px; }
            .offer-top-row { flex-direction: column; align-items: flex-start; }
            .offer-card { min-width: 100%; }
            nav { padding: 20px 30px; }
            nav ul { display: none; }
            .project-card { min-width: 100%; }
        }
