 /* --- تعریف متغیرهای رنگی --- */
        :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;
			/* Typography System */
			--font-main: 'Inter', sans-serif;

			--fs-hero: clamp(58px, 8vw, 120px);
			--fs-section-title: clamp(42px, 5vw, 68px);
			--fs-card-title: 26px;
			--fs-body: 17px;
			--fs-body-small: 15px;
			--fs-label: 12px;

			--lh-heading: 1.06;
			--lh-body: 1.75;
        }

        /* متغیرها برای تم روشن */
        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: var(--font-main);
		}
        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: auto;
			display: flex;
			flex-direction: column;
			padding-bottom: 32px;
		}
        
        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 {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}

.logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.logo-dark {
    display: none;
}

body.light-theme .logo-light {
    display: none;
}

body.light-theme .logo-dark {
    display: block;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.35));
}

        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); }
		/* --- Mobile Navigation --- */
.mobile-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-color);
    transition: 0.3s ease;
}

.mobile-menu-btn.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-only {
    display: none;
}


        /* --- دکمه تم سوییچر --- */
        .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; 
			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-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 {
    background-image:
        linear-gradient(
            rgba(0, 35, 65, 0.16),
            rgba(0, 35, 65, 0.16)
        ),
        url("assets/img/hearo.png");

    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

        .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: 24px 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-start;
			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;
    left: 34px;
    right: auto;
    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;
}
       
		.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); }

        /* 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 {
			display: block;
			color: inherit;
			text-decoration: none;
			flex: 0 0 calc(50% - 15px);
			max-width: calc(50% - 15px);
			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:focus-visible {
		outline: 3px solid var(--accent-hover);
		outline-offset: 5px;
		}
        .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-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%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: 0.3s;
}
        
        .work-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
        .dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: 0.3s;
    appearance: none;
}

.dot.active {
    background-color: var(--accent-hover);
    transform: scale(1.3);
}

.dot:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 4px;
}

        /* Testimonial / Colleague Feedback Section */
/* Testimonial / Colleague Feedback Section */
.testimonial-section {
    background: var(--bg-color);
    padding: 130px 10% 170px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--section-sep);
}

.testi-header {
    position: relative;
    z-index: 2;
    margin-bottom: 72px;
}

.testi-headline {
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.08;
    max-width: 1050px;
    margin: 15px auto 0;
    letter-spacing: -1.5px;
}

.feedback-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.feedback-card {
    position: relative;
    text-align: left;
    padding: 36px 34px;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
    overflow: hidden;
    transition: all 0.45s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.feedback-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(0,242,255,0.55), transparent 28%, transparent 68%, rgba(0,120,255,0.45));
    opacity: 0;
    transition: 0.45s ease;
    z-index: 0;
}

.feedback-card::after {
    content: '“';
    position: absolute;
    top: -44px;
    right: 24px;
    font-size: 170px;
    font-family: 'Inter', sans-serif;
    color: var(--accent-hover);
    opacity: 0.10;
    line-height: 1;
    z-index: 1;
}

.feedback-card:hover {
    transform: translateY(-14px) scale(1.015);
    border-color: rgba(0, 242, 255, 0.45);
    box-shadow:
        0 0 45px rgba(0, 242, 255, 0.16),
        0 35px 90px rgba(0, 0, 0, 0.45);
}

.feedback-card:hover::before {
    opacity: 1;
}

.feedback-top,
.feedback-text,
.feedback-tag {
    position: relative;
    z-index: 2;
}

.feedback-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 42px;
}

.feedback-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
    font-weight: 900;
    font-size: 20px;
    border: 1px solid rgba(0, 242, 255, 0.45);
    background:
        radial-gradient(circle at top left, rgba(0,242,255,0.22), rgba(0,242,255,0.05));
    box-shadow:
        0 0 26px rgba(0, 242, 255, 0.16),
        inset 0 0 20px rgba(0, 242, 255, 0.08);
    flex-shrink: 0;
    transform: rotate(-2deg);
    transition: 0.45s ease;
}

.feedback-card:hover .feedback-avatar {
    transform: rotate(0deg) scale(1.08);
}

.feedback-meta h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 6px;
}

.feedback-meta span {
    font-size: 12px;
    color: var(--secondary-text);
    letter-spacing: 0.5px;
}

.feedback-text {
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 40px;
}

.feedback-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
	margin-top: auto;
    border-radius: 50px;
    border: 1px solid rgba(0, 242, 255, 0.22);
    color: var(--accent-hover);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0, 242, 255, 0.07);
    box-shadow: inset 0 0 18px rgba(0, 242, 255, 0.04);
}

.feedback-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-hover);
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.9);
}
                /* --- استایل بخش تماس (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;
        }


        /* استایل فرم خطی */
		.form-status {
    display: none;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 6px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.035);
}

.form-status.show {
    display: block;
}

.form-status.success {
    color: var(--accent-hover);
    border-color: rgba(0, 242, 255, 0.35);
    background: rgba(0, 242, 255, 0.07);
    box-shadow: 0 0 22px rgba(0, 242, 255, 0.08);
}

.form-status.error {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.35);
    background: rgba(255, 107, 107, 0.07);
}

.submit-btn.sending {
    opacity: 0.7;
    pointer-events: none;
}
        .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: 'Inter', sans-serif;
            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; /* کمی بزرگ‌تر شدن */
        }
		/* --- Global Typography System --- */

.masked-text {
    font-size: var(--fs-hero);
    line-height: 0.95;
}

.under-masked-text,
.who-description,
.quote-container .main-text,
.feedback-text,
.contact-info p,
.contact-item span:last-child,
.contact-item a,
.accordion-description p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.section-label,
.project-info span,
.feedback-tag,
.contact-item span:first-child,
.who-tags span,
.skills-column li::before {
    font-size: var(--fs-label);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-headline,
.who-heading h2,
.work-headline,
.testi-headline,
.contact-info h2 {
    font-size: var(--fs-section-title);
    line-height: var(--lh-heading);
    letter-spacing: -1.5px;
}

.skills-column h3,
.project-info h3,
.feedback-meta h4 {
    font-size: var(--fs-card-title);
    line-height: 1.2;
}

.skills-column ul li,
.feedback-meta span,
.contact-item span:last-child,
.contact-item a,
.form-group input,
.form-group textarea {
    font-size: var(--fs-body-small);
    line-height: 1.65;
}
		/* --- FINAL MOBILE FIX --- */
@media (max-width: 768px) {
	:root {
    --fs-hero: 42px;
    --fs-section-title: 34px;
    --fs-card-title: 22px;
    --fs-body: 15px;
    --fs-body-small: 14px;
    --fs-label: 11px;
}
	
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

.about-headline,
.who-heading h2,
.work-headline,
.testi-headline,
.contact-info h2 {
    font-size: var(--fs-section-title) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px;
    text-align: left;
}

.under-masked-text,
.who-description,
.quote-container .main-text,
.feedback-text,
.contact-info p,
.accordion-description p {
    font-size: var(--fs-body) !important;
    line-height: 1.75 !important;
}

.project-info h3,
.skills-column h3,
.feedback-meta h4 {
    font-size: var(--fs-card-title) !important;
    line-height: 1.2 !important;
}

.section-label,
.project-info span,
.feedback-tag,
.contact-item span:first-child,
.who-tags span {
    font-size: var(--fs-label) !important;
    letter-spacing: 2px;
}
.logo-img {
    width: 40px;
    height: 40px;
}
    nav {
        left: 0;
        right: 0;
        width: auto !important;
        max-width: 100vw;
        padding: 18px 16px !important;
        box-sizing: border-box;
    }

    nav.scrolled {
        padding: 16px 16px !important;
    }

    nav .nav-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        margin-left: auto;
    }

    nav ul.nav-menu {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: calc(100vw - 32px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 22px;
        border-radius: 26px;
        list-style: none;
        border: 1px solid rgba(0, 242, 255, 0.24);
        background: var(--nav-bg);
        backdrop-filter: blur(18px);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: 0.35s ease;
        z-index: 1001;
    }

    nav ul.nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

nav ul.nav-menu li a {
    display: block;
    color: var(--text-color) !important;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

    nav ul.nav-menu li a::after {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-only a {
        display: inline-flex;
        margin-top: 8px;
        padding: 12px 18px;
        border-radius: 999px;
        border: 1px solid rgba(0, 242, 255, 0.38);
        color: var(--accent-hover) !important;
        font-size: 12px !important;
        letter-spacing: 1.4px;
        text-transform: uppercase;
    }

    header {
        min-height: auto;
        padding-bottom: 42px;
        overflow-x: hidden;
    }

    .hero-container {
        margin-top: 105px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .masked-text {
        font-size: clamp(34px, 12vw, 52px);
        line-height: 1.05;
        text-align: center;
        max-width: 100%;
    }

    .under-masked-text {
        max-width: 280px;
        margin: 14px auto 0;
        font-size: 12px;
        line-height: 1.5;
        padding: 0 12px;
    }

	.about-section {
    padding: 54px 18px 36px !important;
    overflow-x: hidden;
}

.about-container {
    display: flex !important;
    flex-direction: column;
    gap: 26px;
    width: 100%;
    max-width: 100%;
    padding: 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 255, 0.18);
    background:
        radial-gradient(circle at top left, rgba(0, 242, 255, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    overflow: hidden;
}

.about-image {
    width: 120px !important;
    max-width: 120px !important;
    flex: none !important;
}

.about-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    box-shadow:
        0 0 24px rgba(0, 242, 255, 0.16),
        0 18px 45px rgba(0,0,0,0.35);
}

.about-content {
    width: 100%;
    min-width: 0;
}

.about-content .section-label {
    color: var(--accent-hover);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.about-headline {
    font-size: 31px !important;
    line-height: 1.08 !important;
    margin-bottom: 30px !important;
    max-width: 100%;
}

.accordion-list {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 20px 0;
    gap: 18px;
}

.accordion-header span {
    font-size: 17px;
    line-height: 1.25;
    color: var(--secondary-text);
    padding: 0;
    border: none;
    border-radius: 0;
}

.accordion-item.active .accordion-header span {
    display: inline-block;
    color: var(--text-color);
    border: 1px solid rgba(0, 242, 255, 0.55);
    border-radius: 22px;
    padding: 12px 16px;
    box-shadow: 0 0 18px rgba(0, 242, 255, 0.10);
}

.accordion-description p {
    max-width: 100%;
    padding: 0 0 26px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--secondary-text);
}

.arrow {
    flex-shrink: 0;
}

    img {
        max-width: 100%;
        height: auto;
    }
	.who-am-i-section {
    padding: 48px 18px 90px !important;
}

.who-top-row {
    align-items: flex-start !important;
    gap: 24px !important;
    margin-bottom: 28px !important;
}

.who-heading {
    width: 100%;
}

.who-heading h2 {
    text-align: left;
    font-size: 36px;
    line-height: 1.08;
}

.who-description {
    width: 100%;
    max-width: 100%;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
    .quote-container::before {
        left: 24px;
        right: auto;
    }
}
.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

        /* 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); }
#contact {
    scroll-margin-top: 130px;
}
        /* ریسپانسیو */
        @media (max-width: 992px) {
			.who-am-i-section {
    padding: 54px 18px 80px !important;
}
.logo-img {
    width: 40px;
    height: 40px;
}

.who-top-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 28px;
}

.who-heading {
    width: 100%;
}

.who-heading .section-label {
    color: var(--accent-hover);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.who-heading h2 {
    font-size: 34px;
    line-height: 1.08;
    text-align: left;
    max-width: 100%;
}

.who-description {
    width: 100%;
    max-width: 100%;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 22px;
    font-size: 15px;
    line-height: 1.75;
}

.who-tags {
    margin-top: 20px;
    gap: 8px;
}

.who-tags span {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 7px 10px;
}

.who-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quote-container {
    padding: 34px 24px 28px;
    border-radius: 28px;
}

.quote-container::before {
    top: 20px;
    left: 24px;
    right: auto;
    font-size: 9px;
    letter-spacing: 1.6px;
}

.quote-container .main-text {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.design-quote {
    font-size: 22px;
    line-height: 1.35;
}

.skills-lists {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.skills-column {
    padding: 26px 22px;
    border-radius: 24px;
}

.skills-column h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.skills-column ul li {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 13px;
}

/* Mobile Colleague Feedback */
.testimonial-section {
    padding: 70px 18px 90px;
    text-align: left;
}

.testi-header {
    margin-bottom: 34px;
}

.testi-headline {
    font-size: 34px;
    line-height: 1.08;
    max-width: 100%;
    margin: 12px 0 0;
    letter-spacing: -1px;
}

.feedback-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
}

.feedback-grid::-webkit-scrollbar {
    display: none;
}

.feedback-card,
.feedback-card:nth-child(2),
.feedback-card:nth-child(3) {
    flex: 0 0 84%;
    min-width: 84%;
    max-width: 84%;
    min-height: auto;
    margin-top: 0;
    padding: 24px 22px;
    border-radius: 24px;
    scroll-snap-align: start;
}

.feedback-card::after {
    top: -28px;
    right: 18px;
    font-size: 110px;
    opacity: 0.07;
}

.feedback-card:hover {
    transform: none;
}

.feedback-top {
    gap: 14px;
    margin-bottom: 24px;
}

.feedback-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 17px;
}

.feedback-meta h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feedback-meta span {
    font-size: 11px;
    line-height: 1.4;
}

.feedback-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feedback-tag {
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 1.2px;
}
            nav { padding: 18px 16px; }
            .work-section {
    padding: 70px 18px 90px !important;
}

.work-headline {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 34px;
    max-width: 100%;
}

.slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.projects-slider {
    gap: 18px;
    transform: none !important;
    transition: none;
}

.project-card {
    flex: 0 0 86%;
    max-width: 86%;
    min-width: 86%;
    scroll-snap-align: start;
}

.project-image {
    aspect-ratio: 16 / 10;
}

.project-info {
    padding: 20px 18px 24px;
}

.project-info span {
    font-size: 10px;
    line-height: 1.4;
}

.project-info h3 {
    font-size: 24px;
    line-height: 1.15;
}

.work-pagination {
    margin-top: 22px;
}
/* Mobile Contact Section */
.contact-section {
    padding: 70px 18px 90px !important;
    text-align: left;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.contact-info {
    width: 100%;
    min-width: 0;
    padding: 30px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 255, 0.18);
    background:
        radial-gradient(circle at top left, rgba(0, 242, 255, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.contact-info .section-label {
    color: var(--accent-hover);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.contact-info h2 {
    font-size: 34px;
    line-height: 1.08;
    margin: 0 0 20px;
    max-width: 100%;
    text-align: left;
}

.contact-info p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 100%;
}

.contact-details {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.contact-item {
    margin-bottom: 0;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
}

.contact-item span:first-child {
    color: var(--accent-hover);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-item span:last-child,
.contact-item a {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.contact-form {
    width: 100%;
    min-width: 0;
    padding: 28px 24px;
    gap: 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 255, 0.18);
    background:
        radial-gradient(circle at bottom right, rgba(0, 242, 255, 0.09), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
    box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.form-row {
    flex-direction: column;
    gap: 18px;
}

.form-group input,
.form-group textarea {
    font-size: 15px;
    padding: 14px 0;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    align-self: stretch;
    margin-top: 8px;
    padding: 15px 20px;
    border-radius: 999px;
    background: var(--accent-hover);
    color: #050505;
    letter-spacing: 1.4px;
}

.submit-btn:hover {
    transform: none;
    padding: 15px 20px;
}
#contact {
    scroll-margin-top: 90px;
}
        }
