/* ═══════════════════════════════════════ */
/* ANSEL PRO — Minimal B&W Theme         */
/* ═══════════════════════════════════════ */

/* ─── Font Face ─── */
@font-face {
    font-family: 'Abar';
    src: url('assets/fonts/Abar-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Abar';
    src: url('assets/fonts/Abar-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Abar';
    src: url('assets/fonts/Abar-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Abar';
    src: url('assets/fonts/Abar-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ─── Variables ─── */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --accent: #1d4ed8;
    --accent-light: #3b82f6;
    --font: 'Abar', Tahoma, sans-serif;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Abar', Tahoma, sans-serif !important;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Animations ─── */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }



/* ══════════════════════════════════════════════════════
   NAVBAR — AnselPro
   ══════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.35s ease,
                backdrop-filter 0.35s ease,
                -webkit-backdrop-filter 0.35s ease,
                box-shadow 0.35s ease;
    direction: rtl;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo .logo-svg {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #555;
}

.nav-links .nav-cta {
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
}

.nav-links .nav-cta:hover {
    background: #333333 !important;
    transform: translateY(-1px);
}



/* ══════════════════════════════════════════════════════
   دکمه همبرگری مدرن (Modern Hamburger Button)
   ══════════════════════════════════════════════════════ */
.nav-toggle {
    display: none; /* در دسکتاپ مخفی */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    
    /* ✅ رفع مشکل قرمز شدن و اضافه کردن افکت شیشه‌ای مدرن */
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px; /* گوشه‌های گرد و مدرن */
    
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    
    /* حذف کامل استایل‌های پیش‌فرض مرورگر که باعث قرمز شدن می‌شدند */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* افکت هاور نرم */
.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* خطوط دکمه (باریک‌تر و ظریف‌تر) */
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px; /* باریک‌تر برای ظاهر لوکس‌تر */
    background: #1a1a1a !important; /* ✅ اجبار به رنگ مشکی/تیره */
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* انیمیشن فنری و نرم */
    transform-origin: center;
}


/* ══════════════════════════════════════════════════════
   انیمیشن تبدیل به ضربدر (X) هنگام باز شدن منو
   ══════════════════════════════════════════════════════ */
.nav-toggle.active {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* خط بالایی: چرخش و حرکت به پایین */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: #0c42d8 !important; /* ✅ تغییر رنگ به آبی برند هنگام باز شدن (اختیاری ولی باحال) */
}

/* خط وسطی: محو شدن و کوچک شدن */
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

/* خط پایینی: چرخش و حرکت به بالا */
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: #0c42d8 !important; /* ✅ تغییر رنگ به آبی برند */
}




/* ══════════════════════════════════════════════════════
   منوی موبایل — نسخه اصلاح‌شده ✅
   ══════════════════════════════════════════════════════ */

/* در دسکتاپ کاملاً پنهان */
.mobile-menu {
    display: none;
}

/* در موبایل: همیشه flex است ولی با max-height و visibility پنهان */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .nav-toggle {
        display: flex !important;
    }

    .nav-container {
        padding: 14px 16px;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        /* ✅ transition روی max-height, opacity و visibility */
        transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s ease,
                    visibility 0.35s ease,
                    padding 0.45s ease;
    }

    /* ✅ حالت باز — با visibility و opacity */
    .mobile-menu.open {
        max-height: 500px;
        padding: 16px 0 24px;
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu a {
        text-decoration: none;
        color: #1a1a1a;
        font-size: 16px;
        font-weight: 500;
        padding: 14px 24px;
        width: 100%;
        text-align: center;
        transition: background 0.2s ease,
                    opacity 0.35s ease,
                    transform 0.35s ease;
        opacity: 0;
        transform: translateY(-8px);
    }

    .mobile-menu.open a {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
    .mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
    .mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
    .mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
    .mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }

    .mobile-menu a:hover {
        background: rgba(0, 0, 0, 0.04);
    }
}

body.menu-open {
    overflow: hidden;
}





/* ═══════════════════════════════════════ */
/* HERO — 2026 Light Luxe Edition         */
/* ═══════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--white);
    overflow: hidden;
    padding: 120px 0 60px;
}

@media (min-width: 768px) {
    .hero {
        padding: 0;
    }
}



/* ── Mesh Gradient Background ── */

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    filter: blur(80px) saturate(1.4);
    opacity: 0.45;
}

.hero-mesh-blob {
    position: absolute;
    border-radius: 50%;
    animation: meshFloat linear infinite;
}

.hero-mesh-blob--1 {
    width: 55vw;
    height: 55vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, #c7d2fe 0%, #c4d1e5 40%, transparent 70%);
    top: -15%;
    right: -10%;
    animation-duration: 18s;
}

.hero-mesh-blob--2 {
    width: 45vw;
    height: 45vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, #e9d5ff 0%, #ececec 40%, transparent 70%);
    bottom: -10%;
    left: -8%;
    animation-duration: 22s;
    animation-direction: reverse;
}

.hero-mesh-blob--3 {
    width: 35vw;
    height: 35vw;
    max-width: 400px;
    max-height: 400px;
    background: radial-gradient(circle, #fce7f3 0%, #f9a8b0 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 20s;
}

.hero-mesh-blob--4 {
    width: 30vw;
    height: 30vw;
    max-width: 350px;
    max-height: 350px;
    background: radial-gradient(circle, #dbeafe 0%, #93c5fd 40%, transparent 70%);
    top: 10%;
    left: 20%;
    animation-duration: 16s;
    animation-direction: reverse;
}

@keyframes meshFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -40px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(15px, 35px) scale(1.03);
    }
}

/* ── Grid Pattern Overlay ── */

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(var(--gray-200) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.45;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

/* ── Floating Particles ── */

.h-particle {
    position: absolute;
    z-index: 1;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    opacity: 0.18;
    animation: particleDrift var(--d) ease-in-out infinite;
    animation-delay: var(--del);
}

.h-particle--circle {
    border-radius: 50%;
    background: var(--gray-400);
}

.h-particle--square {
    border-radius: 2px;
    background: var(--gray-300);
    transform: rotate(45deg);
}

.h-particle--triangle {
    width: 0;
    height: 0;
    background: none;
    border-left: calc(var(--s) / 2) solid transparent;
    border-right: calc(var(--s) / 2) solid transparent;
    border-bottom: var(--s) solid var(--gray-300);
    opacity: 0.15;
}

@keyframes particleDrift {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) translateX(10px) rotate(120deg);
    }
    66% {
        transform: translateY(15px) translateX(-15px) rotate(240deg);
    }
}

/* ── Hero Container & Content ── */

.hero .container {
    position: relative;
    z-index: 3;
    padding-top: 50px
}

.hero-content {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ── Manager Badge ── */

.hero-manager-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--gray-200);
    font-size: 0.78rem;
    color: var(--gray-600);
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ── Eyebrow ── */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gray-300);
    vertical-align: middle;
}

/* ── Title ── */

.hero-title {
    font-size: 4.5rem;
    line-height: 1.3;
    letter-spacing: -0.045em;
    margin-bottom: 22px;
    font-weight: 900;
    color: var(--black);
}

.hero-title .text-stroke {
    -webkit-text-stroke: 2px var(--black);
    -webkit-text-fill-color: transparent;
    text-stroke: 1px var(--black);
    color: transparent;
    position: relative;
    transition: all 0.4s ease;
}

.hero-title .text-stroke:hover {
    -webkit-text-fill-color: var(--black);
}

.hero-title-accent {
    background: #0c42d8;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}



@keyframes accentLineGrow {
    from { transform: scaleX(0); transform-origin: right; }
    to { transform: scaleX(1); transform-origin: right; }
}

/* ── Subtitle ── */

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--gray-600);
    max-width: 540px;
    margin-bottom: 32px;
}

/* ── Action Buttons ── */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Primary CTA with shine effect */
.hero-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    background: var(--black);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    text-decoration: none;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(0, 0, 0, 0.05);
}

.hero-btn-text {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    color: #fff;
}

.hero-btn-primary:hover .hero-btn-icon {
    transform: translateX(-4px);
}

.hero-btn-shine {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transition: right 0.6s ease;
}

.hero-btn-primary:hover .hero-btn-shine {
    right: 100%;
}

/* ── Scroll Indicator ── */

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-scroll-mouse {
    width: 22px;
    height: 34px;
    border-radius: 11px;
    border: 1.5px solid var(--gray-300);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.hero-scroll-wheel {
    width: 3px;
    height: 7px;
    border-radius: 999px;
    background: var(--gray-400);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    40% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.hero-scroll-text {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
}

/* ── Hero Decorative Line ── */

.hero-line {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    z-index: 4;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--gray-200) 15%,
        var(--gray-400) 35%,
        var(--black) 50%,
        var(--gray-400) 65%,
        var(--gray-200) 85%,
        transparent 100%
    );
    opacity: 0.5;
    animation: heroLineShimmer 4s ease-in-out infinite;
}

@keyframes heroLineShimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

/* ── Responsive ── */

@media (max-width: 767px) {
    .hero-content {
        align-items: center;
        text-align: center;
        
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero-sub {
        font-size: 0.98rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-scroll-indicator {
        justify-content: center;
    }

    .hero-eyebrow-line {
        width: 18px;
    }

    .hero-manager-badge {
        font-size: 0.7rem;
    }

    .hero-mesh {
        opacity: 0.3;
    }

    .hero-grid-pattern {
        opacity: 0.15;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: clamp(2.8rem, 6vw, 3.8rem);
    }
}


/* ═══════════════════════════════════════ */
/* MARQUEE — اصلاح شده برای RTL          */
/* ═══════════════════════════════════════ */
.marquee-section {
    background: var(--black);
    padding: 18px 0;
    overflow: hidden;
    direction: ltr; /* مهم: marquee باید LTR باشه تا انیمیشن درست کار کنه */
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-track span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.marquee-track .dot {
    color: var(--gray-600);
    font-size: 0.7rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* ═══════════════════════════════════════ */
/* SECTION COMMON                         */
/* ═══════════════════════════════════════ */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 48px;
}

/* ═══════════════════════════════════════ */
/* SERVICES 2026 - MONO PREMIUM           */
/* ═══════════════════════════════════════ */

.services-2026 {
    position: relative;
    padding: 130px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 0, 0, 0.055), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(0, 0, 0, 0.045), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 48%, #ffffff 100%);
    overflow: hidden;
}

.services-2026::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    pointer-events: none;
}

.services-2026 .container {
    position: relative;
    z-index: 2;
}

/* Header */
.services-head {
    max-width: 880px;
    margin: 0 auto 58px;
    text-align: center;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 8px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #111111;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.services-kicker::before,
.services-kicker::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #111111;
}

.services-head h2 {
    margin: 0;
    color: #050505;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.services-head p {
    max-width: 760px;
    margin: 22px auto 0;
    color: #5f5f5f;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 2.15;
}

/* Grid */
.services-2026-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

/* Card */
.service-2026-card {
    position: relative;
    grid-column: span 3;
    min-height: 330px;
    padding: 26px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 248, 0.92));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 24px 70px rgba(0, 0, 0, 0.055);
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
}

.service-2026-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 0, 0, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.045), transparent 45%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.service-2026-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.22);
    background:
        linear-gradient(180deg, #ffffff, #f2f2f2);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 34px 90px rgba(0, 0, 0, 0.11);
}

.service-2026-card:hover::before {
    opacity: 1;
}

.service-2026-card:hover::after {
    width: 64px;
    height: 64px;
    border-color: rgba(0, 0, 0, 0.28);
}

/* Wide cards */
.service-2026-wide {
    grid-column: span 4;
    min-height: 285px;
}

/* Card Top */
.service-2026-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.service-2026-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 22px;
    background: #fff;
    color: #0c42d8;
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.45s ease,
        color 0.45s ease,
        border-color 0.45s ease;
}

.service-2026-icon svg {
    width: 31px;
    height: 31px;
}

.service-2026-card:hover .service-2026-icon {
    transform: rotate(-4deg) scale(1.06);
    background: #0c42d8;
    color: #ffffff;
    border-color: #090909;
}

.service-2026-number {
    color: rgba(0, 0, 0, 0.18);
    font-size: 2.35rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.07em;
    transition: color 0.45s ease;
}

.service-2026-card:hover .service-2026-number {
    color: rgba(0, 0, 0, 0.34);
}

/* Text */
.service-2026-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: #050505;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: -0.02em;
}

.service-2026-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #5f5f5f;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 2.05;
}

/* Tags */
.service-2026-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.service-2026-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(0, 0, 0, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #3b3b3b;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.4;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}

.service-2026-card:hover .service-2026-tags span {
    border-color: rgba(0, 0, 0, 0.18);
    background: rgba(0, 0, 0, 0.045);
    color: #111111;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-2026-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-2026-card,
    .service-2026-wide {
        grid-column: span 1;
        min-height: 330px;
    }
}

@media (max-width: 768px) {
    .services-2026 {
        padding: 105px 0;
    }

    .services-head {
        margin-bottom: 42px;
    }

    .services-head p {
        font-size: 0.96rem;
        line-height: 2;
    }

    .services-2026-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-2026-card,
    .service-2026-wide {
        grid-column: auto;
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .services-2026 {
        padding: 88px 0;
    }

    .services-head {
        text-align: right;
    }

    .services-kicker {
        margin-bottom: 16px;
    }

    .services-head h2 {
        font-size: 2rem;
        line-height: 1.45;
    }

    .services-head p {
        margin-top: 16px;
        font-size: 0.92rem;
    }

    .service-2026-card {
        padding: 22px;
        border-radius: 24px;
    }

    .service-2026-icon {
        width: 56px;
        height: 56px;
        border-radius: 19px;
    }

    .service-2026-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-2026-number {
        font-size: 2rem;
    }

    .service-2026-top {
        margin-bottom: 22px;
    }

    .service-2026-card h3 {
        font-size: 1.08rem;
    }

    .service-2026-card p {
        font-size: 0.9rem;
        line-height: 1.95;
    }

    .service-2026-tags {
        margin-top: 20px;
    }
}





/* ═══════════════════════════════════════ */
/* ABOUT / STATS 2026 - MONO LUXE        */
/* ═══════════════════════════════════════ */

.about-2026 {
    position: relative;
    padding: 130px 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(0,0,0,0.06), transparent 24%),
        radial-gradient(circle at 90% 20%, rgba(0,0,0,0.04), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f6f6f6 50%, #ffffff 100%);
    overflow: hidden;
}

.about-2026::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.35;
    mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    pointer-events: none;
}

.about-2026-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: start;
}

/* Text */
.about-2026-text {
    padding: 34px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 28px;
    background: rgba(255,255,255,0.72);
    box-shadow: 0 24px 70px rgba(0,0,0,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.about-2026-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    color: #111;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
}

.about-2026-title {
    margin: 0;
    color: #080808;
    font-size: clamp(1.95rem, 3.4vw, 3.45rem);
    font-weight: 950;
    line-height: 1.45;
    letter-spacing: -0.04em;
}

.about-2026-desc {
    margin: 20px 0 0;
    color: #5c5c5c;
    font-size: 1rem;
    line-height: 2.15;
}

.about-2026-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

.about-2026-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.9;
}

.about-2026-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    margin-top: 9px;
    border-radius: 50%;
    background: #d30404;
    box-shadow: 0 0 0 6px rgb(255 0 0 / 6%);
}

.about-2026-signature {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.08);
    color: #111;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Stats Container (Desktop Default) */
.about-2026-stats {
    position: relative;
    isolation: isolate;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stat-2026-card {
    position: relative;
    z-index: 2;
    padding: 26px 22px;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,245,245,0.9));
    box-shadow: 0 18px 50px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform .45s cubic-bezier(0.22,1,0.36,1), box-shadow .45s ease, border-color .45s ease;
}

.stat-2026-card::before {
    content: "";
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #111, #999, transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s ease;
}

.stat-2026-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 28px 70px rgba(0,0,0,0.1);
}

.stat-2026-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.stat-2026-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #0c42d8;
    color: #fff;
}

.stat-2026-icon-h {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #d30404;
    color: #fff;
}
.stat-2026-icon-h svg,
.stat-2026-icon svg {
    width: 24px;
    height: 24px;
}

.stat-2026-number {
    color: #090909;
    font-size: 2.35rem;
    font-weight: 950;
    letter-spacing: -0.05em;
    line-height: 1;
}

.stat-2026-label {
    margin-top: 8px;
    color: #666;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.8;
}

/* ═══════════════════════════════════════ */
/* CREATIVE VISUAL (BACKGROUND ANIMATIONS)*/
/* ═══════════════════════════════════════ */

.about-creative-visual {
    position: absolute;
    left: 50%;
    bottom: -350px;
    width: 105%;
    height: 420px;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}

.about-creative-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.creative-glow-layer { transform-origin: center; animation: creativeGlowBreath 7s ease-in-out infinite; }
.creative-orbit { transform-box: fill-box; transform-origin: center; }
.creative-orbit-one { animation: orbitRotateOne 26s linear infinite; }
.creative-orbit-two { animation: orbitRotateTwo 34s linear infinite reverse; }
.creative-orbit-three { animation: orbitRotateThree 42s linear infinite; }
.creative-energy-line { stroke-dasharray: 420; stroke-dashoffset: 420; }
.line-one { animation: energyFlow 5.8s ease-in-out infinite; }
.line-two { animation: energyFlow 7.2s ease-in-out infinite reverse; }
.creative-core { transform-box: fill-box; transform-origin: center; animation: corePulse 3.4s ease-in-out infinite; }
.creative-nodes .node { transform-box: fill-box; transform-origin: center; }
.node-1 { animation: nodeFloatOne 4.5s ease-in-out infinite; }
.node-2 { animation: nodeFloatTwo 5.2s ease-in-out infinite; }
.node-3 { animation: nodeFloatThree 4.8s ease-in-out infinite; }
.node-4 { animation: nodeFloatTwo 5.8s ease-in-out infinite reverse; }
.node-5 { animation: nodeFloatOne 6s ease-in-out infinite reverse; }

.creative-ghost-numbers text {
    font-family: inherit;
    font-size: 54px;
    font-weight: 900;
    fill: #111111;
    opacity: 0.035;
    direction: ltr;
    unicode-bidi: plaintext;
    animation: ghostNumberFloat 7s ease-in-out infinite;
}
.creative-ghost-numbers text:nth-child(2) { animation-delay: 1.2s; }
.creative-ghost-numbers text:nth-child(3) { animation-delay: 2.1s; }

@keyframes creativeGlowBreath { 0%, 100% { opacity: 0.75; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes orbitRotateOne { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitRotateTwo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitRotateThree { from { transform: rotate(-8deg); } to { transform: rotate(352deg); } }
@keyframes energyFlow { 0% { stroke-dashoffset: 420; opacity: 0; } 18% { opacity: 0.9; } 55% { stroke-dashoffset: 0; opacity: 0.75; } 100% { stroke-dashoffset: -420; opacity: 0; } }
@keyframes corePulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.09); opacity: 1; } }
@keyframes nodeFloatOne { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; } 50% { transform: translate(12px, -16px) scale(1.25); opacity: 1; } }
@keyframes nodeFloatTwo { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; } 50% { transform: translate(-16px, 13px) scale(1.18); opacity: 0.95; } }
@keyframes nodeFloatThree { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; } 50% { transform: translate(10px, 18px) scale(1.2); opacity: 0.9; } }
@keyframes ghostNumberFloat { 0%, 100% { transform: translateY(0); opacity: 0.025; } 50% { transform: translateY(-14px); opacity: 0.06; } }

/* ═══════════════════════════════════════ */
/* RESPONSIVE - TABLET & MOBILE           */
/* ═══════════════════════════════════════ */

@media (max-width: 1100px) {
    .about-2026-grid {
        grid-template-columns: 1fr;
    }
}

/* اعمال چیدمان درخواستی شما برای دستگاه‌های زیر 960 پیکسل (موبایل و تبلت) */
@media (max-width: 960px) {
    .about-2026 {
        padding: 90px 0;
    }

    /* ۱. گرید اصلی کارت‌ها را به ۳ ستون مساوی تبدیل می‌کنیم */
    .about-2026-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
        max-width: 100% !important;
    }

    /* ۲. کارت اول (میلیونها پروژه) تمام ۳ ستون بالا را به صورت تکی پر می‌کند */
    .about-2026-stats .stat-2026-card:first-child {
        grid-column: span 3 !important;
        text-align: center !important;
    }

    /* ۳. تراز کردن آیکون کارت اول در وسط */
    .about-2026-stats .stat-2026-card:first-child .stat-2026-icon {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* ۴. بهینه‌سازی ابعاد کارت‌ها برای قرارگیری درست ۳ عدد در یک ردیف */
    .stat-2026-card {
        padding: 16px 10px !important;
        border-radius: 18px !important;
    }

    .stat-2026-icon, .stat-2026-icon-h {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        margin-bottom: 10px !important;
    }

    .stat-2026-icon svg, .stat-2026-icon-h svg {
        width: 18px !important;
        height: 18px !important;
    }

    .stat-2026-number {
        font-size: 1.45rem !important;
    }

    .stat-2026-label {
        font-size: 0.72rem !important;
        line-height: 1.5 !important;
        margin-top: 6px !important;
    }

    .about-creative-visual {
        bottom: -180px;
        width: 120%;
        height: 340px;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .about-creative-visual {
        bottom: -223px;
        width: 105%;
        height: 412px;
        opacity: 0.75;
    }

    .creative-ghost-numbers text {
        font-size: 42px;
    }
}

/* بهینه‌سازی اختصاصی برای گوشی‌های کوچک بدون بهم‌ریختگی ستون‌ها */
@media (max-width: 560px) {
    .about-2026 {
        padding: 70px 0;
    }

    .about-2026-title {
        font-size: 1.85rem !important;
        line-height: 1.45 !important;
    }

    .about-2026-desc {
        font-size: 0.9rem !important;
        line-height: 1.9 !important;
    }

    .about-2026-stats {
        gap: 8px !important; /* فاصله کمتر کارت‌ها روی موبایل */
    }

    .stat-2026-card {
        padding: 12px 6px !important;
        border-radius: 12px !important;
    }

    .stat-2026-icon, .stat-2026-icon-h {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        margin-bottom: 8px !important;
    }

    .stat-2026-icon svg, .stat-2026-icon-h svg {
        width: 16px !important;
        height: 16px !important;
    }

    .stat-2026-number {
        font-size: 1.15rem !important; /* سایز متناسب برای ۳ کارت کنار هم */
    }

    .stat-2026-label {
        font-size: 0.65rem !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 400px) {
    .about-2026 {
        padding: 60px 0;
    }

    .stat-2026-card {
        padding: 10px 4px !important;
    }

    .stat-2026-number {
        font-size: 1rem !important;
    }

    .stat-2026-label {
        font-size: 0.58rem !important;
    }
}







/* ══════════════════════════════════════
   CLIENTS SLIDER
   ══════════════════════════════════════ */

.clients {
    text-align: center;
}

.clients-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.clients-slider {
    overflow: hidden;
    direction: ltr;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients-track {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
    animation: clients-scroll 28s linear infinite;
    margin-bottom: 50px;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-group {
    display: flex;
    align-items: center;
    gap: 56px;
    flex-shrink: 0;
    padding-inline-end: 56px; /* فاصله بین دو گروه برای لوپ نرم */
}

.client-logo {
    flex: 0 0 auto;
    width: 110px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.45;
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: scale(1.08);
}

.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% / 2));
    }
}



/* ══════════════════════════════════════
   CLIENTS SLIDER RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
    .clients-label {
        font-size: 0.8rem;
        margin-bottom: 26px;
    }

    .clients-track {
        margin-bottom: 38px;
        animation-duration: 24s;
    }

    .clients-group {
        gap: 38px;
        padding-inline-end: 38px;
    }

    .client-logo {
        width: 95px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .clients-label {
        font-size: 0.76rem;
        margin-bottom: 22px;
        line-height: 1.8;
    }

    .clients-slider {
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }

    .clients-track {
        margin-bottom: 30px;
        animation-duration: 20s;
    }

    .clients-group {
        gap: 28px;
        padding-inline-end: 28px;
    }

    .client-logo {
        width: 82px;
        height: 42px;
        opacity: 0.55;
    }
}

@media (max-width: 480px) {
    .clients-label {
        font-size: 0.72rem;
        margin-bottom: 18px;
    }

    .clients-track {
        margin-bottom: 24px;
        animation-duration: 18s;
    }

    .clients-group {
        gap: 20px;
        padding-inline-end: 20px;
    }

    .client-logo {
        width: 72px;
        height: 38px;
    }
}






/* ══════════════════════════════════════════
   CONTACT — Minimal One-Row 2026
   ══════════════════════════════════════════ */

.contact {
    padding: 90px 0;
    background: var(--gray-50);
}

/* ── Header ── */
.contact-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 60px;
}

.contact-header .section-label {
    margin-bottom: 16px;
}

.contact-header .section-title {
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #0c42d8;
}

/* ── Row ── */
.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

/* ── Item ── */
.contact-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Icon  */
.contact-item-icon {
    width: 72px;
    height: 72px;
    border-radius: 30%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-item-icon svg {
    width: 30px;
    height: 30px;
    color: var(--gray-600);
    transition: all 0.4s ease;
}

/* Hover */
.contact-item:hover .contact-item-icon {
    background: var(--contact-accent, var(--black));
    border-color: var(--contact-accent, var(--black));
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--contact-shadow, rgba(0, 0, 0, 0.18));
}

.contact-item:hover .contact-item-icon svg {
    color: var(--white);
}

.contact-item:hover .contact-item-label {
    color: var(--contact-accent, var(--black));
}


/* Tooltip */
.contact-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 6px 14px;
    background: var(--contact-accent, var(--black));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.contact-item::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--black);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
    border-top-color: var(--contact-accent, var(--black));
}

.contact-item:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.contact-item:hover::after {
    opacity: 1;
}


.contact-item-featured .contact-item-icon-bale {
    background: linear-gradient(135deg, #ffffff 0%, #f4f4f5 100%);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
}

.contact-item-featured .contact-item-icon-bale::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.14) 0%, transparent 60%);
    opacity: 0.7;
    transform: scale(0.8);
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.contact-item-featured .contact-item-icon-bale svg {
    position: relative;
    z-index: 1;
    color: var(--black);
}

.contact-item-featured:hover .contact-item-icon-bale {
    background: var(--contact-accent);
    border-color: var(--contact-accent);
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 14px 36px var(--contact-shadow);
}

.contact-item-featured:hover .contact-item-icon-bale svg {
    color: var(--white);
}

.contact-item-featured:hover .contact-item-icon-bale::before {
    opacity: 0;
    transform: scale(1.1);
}

.contact-item-featured .contact-item-label {
    color: var(--black);
    font-weight: 700;
}





/* ══════════════════════════════════════
   CONTACT — Responsive
   ══════════════════════════════════════ */

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .contact-header {
        margin-bottom: 48px;
    }

    .contact-subtitle {
        font-size: 0.95rem;
    }

    .contact-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .contact-item-icon {
        width: 62px;
        height: 62px;
    }

    .contact-item-icon svg {
        width: 26px;
        height: 26px;
    }

    .contact-item-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .contact-row {
        gap: 16px;
    }

    .contact-item-icon {
        width: 54px;
        height: 54px;
    }

    .contact-item-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-item-label {
        font-size: 0.7rem;
    }

    /* Hide tooltip on mobile */
    .contact-item::before,
    .contact-item::after {
        display: none;
    }
}


/* Brand hover colors */
.contact-phone {
    --contact-accent: #111111;
    --contact-shadow: rgba(17, 17, 17, 0.18);
}

.contact-whatsapp {
    --contact-accent: #25D366;
    --contact-shadow: rgba(37, 211, 102, 0.22);
}

.contact-telegram {
    --contact-accent: #229ED9;
    --contact-shadow: rgba(34, 158, 217, 0.22);
}

.contact-eitaa {
    --contact-accent: #F59E0B;
    --contact-shadow: rgba(245, 158, 11, 0.24);
}

.contact-bale {
    --contact-accent: #14B8A6;
    --contact-shadow: rgba(20, 184, 166, 0.24);
}






/* ══════════════════════════════════════════════════════════
   TERMINAL SECTION — Clean & Final
   ══════════════════════════════════════════════════════════ */

.terminal-section {
    padding: 120px 0;
    background: #fff;
}

.terminal-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Window Frame ─── */
.terminal-window {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

/* ─── Header (Traffic Lights) ─── */
.terminal-header {
    background: #16213e;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red    { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green  { background: #28c840; }

.terminal-title {
    color: #666;
    font-size: 0.8rem;
    margin-right: auto;
    margin-left: auto;
    font-family: 'Courier New', monospace;
}

/* ─── Body ─── */
.terminal-body {
    padding: 28px 32px 36px;
    min-height: auto;
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
}

/* ─── Lines ─── */
.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.terminal-line.active {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Prompt & Text ─── */
.terminal-prompt {
    color: #28c840;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.terminal-text {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ─── Output ─── */
.terminal-output {
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-bottom: 2px;
}

.terminal-output.active {
    opacity: 1;
}

/* ─── Skills Output Container ─── */
.skills-output {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 0 4px;
}

/* ─── Result / Success Text ─── */
.terminal-result {
    color: #94a3b8;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.terminal-success {
    color: #28c840;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    display: block;
}

.terminal-success-sub {
    color: #555;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    display: block;
    margin-top: 4px;
}

/* ─── Final Output ─── */
.final-output {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
}

.final-output.active .terminal-success {
    text-shadow: 0 0 20px rgba(40, 200, 64, 0.4);
}

/* ─── Cursor Line ─── */
.terminal-cursor-line {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.terminal-cursor-line.active {
    opacity: 1;
}

/* ─── Blinking Cursor ─── */
.blinking-cursor {
    color: #28c840;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    animation: termBlink 0.8s step-end infinite;
}

@keyframes termBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   SKILL TAGS
   ══════════════════════════════════════════════════════════ */

.skill-tag {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: default;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

/* When parent becomes active → pop in */
.skills-output.active .skill-tag {
    transform: scale(1);
}

/* Hover */
.skills-output.active .skill-tag:hover {
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

/* ─── Tag Colors by Category ─── */
.tag-frontend { background: #28c840; color: #0d0d0d; }
.tag-backend  { background: #3b82f6; color: #fff; }
.tag-cms      { background: #f59e0b; color: #0d0d0d; }
.tag-db       { background: #8b5cf6; color: #fff; }
.tag-devops   { background: #ef4444; color: #fff; }
.tag-design   { background: #ec4899; color: #fff; }

/* ─── Staggered Pop-in Delays ─── */
.skills-output.active .skill-tag:nth-child(1)  { transition-delay: 0.00s; }
.skills-output.active .skill-tag:nth-child(2)  { transition-delay: 0.05s; }
.skills-output.active .skill-tag:nth-child(3)  { transition-delay: 0.10s; }
.skills-output.active .skill-tag:nth-child(4)  { transition-delay: 0.15s; }
.skills-output.active .skill-tag:nth-child(5)  { transition-delay: 0.20s; }
.skills-output.active .skill-tag:nth-child(6)  { transition-delay: 0.25s; }
.skills-output.active .skill-tag:nth-child(7)  { transition-delay: 0.30s; }
.skills-output.active .skill-tag:nth-child(8)  { transition-delay: 0.35s; }
.skills-output.active .skill-tag:nth-child(9)  { transition-delay: 0.40s; }

/* ══════════════════════════════════════════════════════════
   TERMINAL — RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .terminal-section {
        padding: 60px 0;
    }

    .terminal-body {
        padding: 20px 16px 28px;
    }

    .terminal-text,
    .terminal-result,
    .terminal-success {
        font-size: 0.78rem;
    }

    .skill-tag {
        font-size: 0.68rem;
        padding: 3px 8px;
    }

    .skills-output {
        gap: 6px;
    }
}


/* ══════════════════════════════════════════════════════════
   MINIMAL FOOTER
   ══════════════════════════════════════════════════════════ */

.mini-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 1px 20px 36px;
    background: #fff;
}

.mini-footer .enamad-badge img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mini-footer .enamad-badge:hover img {
    opacity: 1;
    transform: scale(1.06);
}

.mini-footer-copy {
    color: #999;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}












/* ================================
   Premium Services Portfolio CTA - Blue Theme
================================ */

:root {
    --btn-primary: #2563eb;   /* رنگ آبی سلطنتی (Royal Blue) */
    --btn-secondary: #60a5fa; /* رنگ آبی روشن (Light Blue) */
    --btn-dark: #0f1218;      /* پس زمینه تیره با هاله آبی بسیار ملایم */
    --btn-text: #ffffff;
    --btn-subtext: #9ca3af;
    --transition-bouncy: cubic-bezier(0.175, 0.885, 0.32, 1.15);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

.services-portfolio-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.portfolio-pro-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 340px;
    min-height: 76px;
    padding: 12px 24px 12px 14px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--btn-text);
    /* پس‌زمینه تیره شیشه‌ای */
    background: linear-gradient(145deg, rgba(15, 18, 24, 0.9), rgba(10, 12, 16, 0.95));
    backdrop-filter: blur(12px);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: visible;
    transition: transform 0.4s var(--transition-bouncy), box-shadow 0.4s var(--transition-smooth);
}

/* حاشیه گرادیانتی حرفه ای با تکنیک ماسک - تم آبی */
.portfolio-pro-btn::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.8),  /* آبی تیره */
        rgba(96, 165, 250, 0.4), /* آبی روشن */
        rgba(255, 255, 255, 0.05) 60%,
        rgba(255, 255, 255, 0.1)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1.5px;
    pointer-events: none;
    z-index: -1;
    transition: background 0.5s ease;
}

/* افکت شاین (برق زدن) روی دکمه */
.portfolio-pro-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: translateX(100%) skewX(-15deg);
    transition: transform 0.8s ease;
    pointer-events: none;
    overflow: hidden;
}

/* درخشش محیطی (Ambient Glow) پشت دکمه - تم آبی */
.portfolio-ambient-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--btn-primary), var(--btn-secondary));
    border-radius: inherit;
    top: 0;
    left: 0;
    filter: blur(24px);
    opacity: 0.15;
    z-index: -2;
    transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

/* تنظیمات متن */
.portfolio-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
    z-index: 2;
}

.portfolio-btn-text {
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--btn-text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.portfolio-btn-subtext {
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--btn-subtext);
    transition: color 0.3s ease;
}

/* آیکون داینامیک - تم آبی */
.portfolio-btn-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #0044d9, #004aff);
    box-shadow: 
        0 8px 20px rgba(37, 99, 235, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 2;
    transition: transform 0.4s var(--transition-bouncy), box-shadow 0.4s ease;
}

.portfolio-btn-icon svg {
    width: 22px;
    height: 22px;
}

.arrow-head, .arrow-line {
    transition: transform 0.4s var(--transition-bouncy);
}

/* ================================
   Hover & Active States
================================ */

.portfolio-pro-btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* تشدید درخشش پس‌زمینه */
.portfolio-pro-btn:hover .portfolio-ambient-glow {
    opacity: 0.4;
    filter: blur(30px);
    transform: scale(1.05);
}

/* حرکت شاین */
.portfolio-pro-btn:hover::after {
    transform: translateX(-100%) skewX(-15deg);
}

/* روشن تر شدن حاشیه آبی در حالت هاور */
.portfolio-pro-btn:hover::before {
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 1),
        rgba(96, 165, 250, 0.8),
        rgba(255, 255, 255, 0.2) 20%
    );
}

/* انیمیشن آیکون با سایه آبی */
.portfolio-pro-btn:hover .portfolio-btn-icon {
    transform: scale(1.08);
    box-shadow: 
        0 12px 25px rgba(37, 99, 235, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.portfolio-pro-btn:hover .arrow-head {
    transform: translateX(-3px);
}

.portfolio-pro-btn:hover .arrow-line {
    transform: translateX(-3px) scaleX(0.85);
}

.portfolio-pro-btn:hover .portfolio-btn-text {
    color: #ffffff;
}

.portfolio-pro-btn:hover .portfolio-btn-subtext {
    color: #e5e7eb;
}

/* Active State */
.portfolio-pro-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* ================================
   Responsive (Mobile)
================================ */
@media (max-width: 768px) {
    .services-portfolio-cta {
        margin-top: 40px;
    }

    .portfolio-pro-btn {
        width: 100%;
        max-width: 360px;
        min-width: 0;
        min-height: 70px;
        padding: 12px 18px 12px 12px;
        gap: 16px;
    }

    .portfolio-btn-text {
        font-size: 15px;
    }

    .portfolio-btn-subtext {
        font-size: 11.5px;
    }

    .portfolio-btn-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}
