/* Devoria - Modern Premium Persian Website */
/* ============================================
   1. Design Tokens
   ============================================ */
:root {
  --brand-500: #7c4dff;
  --brand-600: #6c2bd9;
  --brand-700: #5b21b6;
  --brand-400: #a78bfa;
  --brand-300: #c4b5fd;
  --accent-cyan: #22d3ee;
  --accent-pink: #ec4899;

  --bg-0: #0b0a1a;
  --bg-1: #12112a;
  --bg-2: #1a1836;
  --bg-soft: #f7f7fb;
  --bg-white: #ffffff;

  --text-0: #ffffff;
  --text-1: #e9e8f5;
  --text-2: #b8b6cf;
  --text-3: #7b7995;
  --text-dark: #0f0e24;
  --text-body: #4a4863;

  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(15, 14, 36, 0.08);

  --gradient-brand: linear-gradient(135deg, #7c4dff 0%, #6c2bd9 50%, #4c1d95 100%);
  --gradient-soft: linear-gradient(135deg, #a78bfa 0%, #7c4dff 100%);
  --gradient-glow: radial-gradient(circle at 30% 20%, rgba(124, 77, 255, 0.35), transparent 60%),
                   radial-gradient(circle at 80% 60%, rgba(34, 211, 238, 0.18), transparent 60%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(15, 14, 36, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 14, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(76, 29, 149, 0.18);
  --shadow-brand: 0 20px 50px rgba(124, 77, 255, 0.35);

  --font-fa: "Vazirmatn", "Estedad", "Tahoma", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
}

/* ============================================
   2. Base
   ============================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-fa);
  background: var(--bg-white);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--text-body); font-size: 1rem; }
a { color: var(--brand-600); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; height: auto; }
section { padding: var(--space-7) 0; position: relative; }
.container { max-width: 1240px; }

::selection { background: var(--brand-500); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f0eef7; }
::-webkit-scrollbar-thumb { background: var(--brand-400); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-600); }

/* ============================================
   3. Utilities
   ============================================ */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.bg-dark-brand { background: var(--bg-0); color: var(--text-1); }
.bg-soft { background: var(--bg-soft); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 77, 255, 0.08);
  color: var(--brand-600);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(124, 77, 255, 0.15);
}
.section-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--brand-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.15);
}
.section-title { margin-bottom: 16px; }
.section-lead { color: var(--text-3); font-size: 1.05rem; max-width: 640px; }
.section-header { margin-bottom: var(--space-5); }
.section-header.center { text-align: center; margin-inline: auto; }
.section-header.center .section-lead { margin-inline: auto; }

/* Dark section variants */
.bg-dark-brand h1, .bg-dark-brand h2, .bg-dark-brand h3, .bg-dark-brand h4 { color: var(--text-0); }
.bg-dark-brand p { color: var(--text-2); }
.bg-dark-brand .section-eyebrow {
  background: rgba(255,255,255,0.06);
  color: var(--brand-300);
  border-color: rgba(255,255,255,0.1);
}
.bg-dark-brand .section-lead { color: var(--text-2); }

/* ============================================
   4. Buttons
   ============================================ */
.btn {
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-fa);
}
.btn-brand {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(124, 77, 255, 0.5);
}
.btn-outline-brand {
  background: transparent;
  border: 1.5px solid rgba(124, 77, 255, 0.35);
  color: var(--brand-600);
}
.btn-outline-brand:hover {
  background: rgba(124, 77, 255, 0.08);
  color: var(--brand-700);
  border-color: var(--brand-500);
}
.bg-dark-brand .btn-outline-brand {
  color: var(--text-0);
  border-color: rgba(255,255,255,0.2);
}
.bg-dark-brand .btn-outline-brand:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  padding: 10px 20px;
}
.btn-ghost:hover { color: var(--brand-600); background: rgba(124,77,255,0.05); }

.btn i { transition: transform 0.3s ease; }
.btn:hover i.arrow-icon { transform: translateX(-4px); }

/* ============================================
   5. Navbar
   ============================================ */
.dv-navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: rgba(11, 10, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.dv-navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--border-light);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(15, 14, 36, 0.04);
}
.dv-navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dv-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-0);
  letter-spacing: -0.02em;
}
.dv-navbar.scrolled .dv-brand { color: var(--text-dark); }
.dv-brand .logo-mark {
  width: 40px; height: 40px;
  background: var(--gradient-brand);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-brand);
}
.dv-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.dv-nav-links a {
  color: var(--text-1);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  position: relative;
}
.dv-navbar.scrolled .dv-nav-links a { color: var(--text-dark); }
.dv-nav-links a:hover, .dv-nav-links a.active {
  color: var(--brand-500);
  background: rgba(124, 77, 255, 0.1);
}
.dv-navbar.scrolled .dv-nav-links a:hover, .dv-navbar.scrolled .dv-nav-links a.active {
  color: var(--brand-600);
}
.dv-nav-cta { display: flex; gap: 10px; align-items: center; }

/* دکمه همبرگری */
.mobile-toggle{
    position: relative;
    width: 40px;
    height: 32px;
    display: none;           /* در دسکتاپ مخفی */
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

.mobile-toggle input{
    position:absolute;
    inset:0;
    opacity:0;
    cursor:pointer;
    z-index:2;
}

.mobile-toggle span{
    display:block;
    width:30px;
    height:4px;
    margin:3px 0;
    background:#fff;
    border-radius:3px;
    transition:.4s;
    transform-origin:left center;
}

/* تبدیل به ضربدر */
.mobile-toggle input:checked ~ span:nth-child(2){
    transform:rotate(45deg) translate(2px,-2px);
}

.mobile-toggle input:checked ~ span:nth-child(3){
    opacity:0;
}

.mobile-toggle input:checked ~ span:nth-child(4){
    transform:rotate(-45deg) translate(2px,2px);
}
/* وقتی هدر سفید می‌شود */
.dv-navbar.scrolled .mobile-toggle span{
    background:#1e1e23; /* یا var(--text-dark) */
	
}
/* پیش‌فرض */
.mobile-login{
    display:none;
}

/* ================= موبایل ================= */

@media (max-width:750px){

    .mobile-toggle{
        display:flex;
    }

    .dv-nav-links{
        display:none;
    }
.dv-nav-links.open{
    display:flex;
    position:absolute;
    top:100%;
    right:16px;
    left:16px;
    background:#fff;
    flex-direction:column;
    align-items:stretch;
    padding:24px;
	
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-lg);
    margin-top:8px;
    gap:8px;

    /* ارتفاع منو بیشتر */
    min-width:280px;
}

/* فقط لینک‌های معمولی */
.dv-nav-links.open li:not(.mobile-login) a{
    display:block;
    width:100%;
    padding:16px 20px;
    font-size:20px;
    font-weight:600;
    color:var(--text-dark);
    text-align:right;
    border-radius:10px;
    border-bottom:1px solid #e5e5e5;
    transition:.3s;
	border-bottom: 1px solid #8E8E8E;
}

  .desktop-login{
        display:none;
    }

    .mobile-login{
        display:block;
        list-style:none;
        margin-top:20px;
    }

    .mobile-login .btn{ 
        display:flex;
        justify-content:center;
        align-items:center;
        width:100%;
    }
	
	
}
/* ============================================
   6. Hero
   ============================================ */
.row {
    margin-left: 0 !important;

}
.hero {
  position: relative;
  padding: 180px 0 120px;
  background: var(--bg-0);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  color: var(--text-1);
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.hero-badge .tag {
  background: var(--gradient-brand);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
}
.hero .lead {
  color: var(--text-2);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-trust .trust-item .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.hero-trust .trust-item .label {
  color: var(--text-3);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: floatY 8s ease-in-out infinite;
}
.hero-orb.one { width: 320px; height: 320px; background: var(--brand-500); top: 40px; right: 20px; }
.hero-orb.two { width: 220px; height: 220px; background: var(--accent-cyan); bottom: 40px; left: 40px; animation-delay: -2s; }

.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  animation: floatY 6s ease-in-out infinite;
}
.hero-card.main {
  top: 20px; left: 20px; right: 20px;
  padding: 28px;
  animation-delay: -1s;
}
.hero-card.stat {
  bottom: 40px; right: 20px;
  min-width: 200px;
  animation-delay: -3s;
}
.hero-card.tech {
  bottom: 120px; left: 20px;
  animation-delay: -4s;
}
.hero-card .card-label { color: var(--text-3); font-size: 0.75rem; margin-bottom: 6px; }
.hero-card .card-value { font-size: 1.4rem; font-weight: 800; color: #fff; }
.hero-card .card-value .accent { color: var(--brand-400); }
.mock-window {
  background: #0f0e24;
  border-radius: 12px;
  padding: 12px;
  margin-top: 14px;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 0.75rem;
  color: #a78bfa;
  direction: ltr;
  text-align: left;
  line-height: 1.9;
}
.mock-window .comment { color: #6b7280; }
.mock-window .kw { color: #ec4899; }
.mock-window .str { color: #22d3ee; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============================================
   7. Trust / Logos
   ============================================ */
.trust-strip {
  padding: 40px 0;
  background: var(--bg-0);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-strip .label {
  text-align: center;
  color: var(--text-3);
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center;
  gap: 32px;
  opacity: 0.7;
}
.trust-logos span {
  color: var(--text-2);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  filter: grayscale(1);
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.trust-logos span:hover { filter: none; opacity: 1; color: #fff; }

/* ============================================
   8. Service Cards
   ============================================ */


.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 77, 255, 0.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(124, 77, 255, 0.1);
  color: var(--brand-600);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}
.service-card:hover .service-icon {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 20px; color: var(--text-3); }
.service-link {
  color: var(--brand-600);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover i { transform: translateX(-4px); }
.service-link i { transition: transform 0.3s ease; }

/* ============================================
   9. Feature Grid (Why us)
   ============================================ */
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  height: 100%;
  transition: all 0.35s ease;
}
.feature-card:hover {
  border-color: var(--brand-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(124, 77, 255, 0.25);
}
.feature-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--text-3); margin: 0; }

/* ============================================
   10. Process / Timeline
   ============================================ */
.process-wrap { position: relative; }
.process-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
  position: relative;
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 77, 255, 0.4);
  background: rgba(124, 77, 255, 0.08);
}
.step-num {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h4 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--text-2); font-size: 0.95rem; margin: 0; }

/* ============================================
   11. Stats
   ============================================ */
.stats-strip {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(124,77,255,0.05), rgba(124,77,255,0));
  border-block: 1px solid var(--border-light);
}
.stat-item { text-align: center; padding: 16px; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label { color: var(--text-3); font-size: 0.95rem; }

/* ============================================
   12. Portfolio
   ============================================ */
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  transition: all 0.4s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.portfolio-thumb {
  aspect-ratio: 16 / 10;
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.portfolio-thumb::after {
  content: "";
  position: absolute; inset: 0;
  
}
.portfolio-thumb .mock-ui {
  width: 82%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  padding: 12px;
  position: relative;
  z-index: 1;
  transform: perspective(800px) rotateX(6deg);
  transition: transform 0.5s ease;
}
.portfolio-card:hover .mock-ui { transform: perspective(800px) rotateX(0deg) scale(1.03); }
.mock-ui .dot-row { display: flex; gap: 5px; margin-bottom: 10px; }
.mock-ui .dot-row span { width: 8px; height: 8px; border-radius: 50%; background: #e5e5ea; }
.mock-ui .bar { height: 8px; background: linear-gradient(90deg, #c4b5fd, #7c4dff); border-radius: 4px; margin-bottom: 6px; }
.mock-ui .bar.sm { width: 60%; }
.mock-ui .bar.md { width: 80%; background: #e5e5ea; }
.mock-ui .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.mock-ui .grid div { height: 30px; background: #f0eef7; border-radius: 6px; }

.portfolio-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.portfolio-body .cat {
  font-size: 0.8rem;
  color: var(--brand-600);
  font-weight: 600;
  margin-bottom: 8px;
  margin-bottom: 8px;
}
.portfolio-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.portfolio-body p { color: var(--text-3); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tech-tag {
  padding: 4px 12px;
  background: var(--bg-soft);
  color: var(--text-body);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Filter buttons */
.filter-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-body);
  font-family: var(--font-fa);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--brand-400); color: var(--brand-600); }
.filter-btn.active { background: var(--gradient-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }

/* ============================================
   13. Testimonials
   ============================================ */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  position: relative;
  transition: all 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124,77,255,0.2);
}
.testimonial-card .quote-icon {
  position: absolute;
  top: 24px; left: 24px;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-400);
  opacity: 0.25;
}
.testimonial-card p { color: var(--text-body); font-size: 1rem; line-height: 1.9; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-author .name { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.testimonial-author .role { color: var(--text-3); font-size: 0.8rem; }

/* ============================================
   14. FAQ
   ============================================ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.active { border-color: var(--brand-400); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-fa);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}
.bi-plus{margin-top: 2.5px;}
.bi-envelope{margin-top:2.5px;}
.faq-question .plus {

  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--brand-600);
  display: grid; place-items: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .plus { background: var(--gradient-brand); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 22px; }
.faq-answer p { color: var(--text-3); margin: 0; }

/* ============================================
   15. Contact form
   ============================================ */
.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.form-control, .form-select {
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-fa);
  color: var(--text-dark);
  transition: all 0.25s ease;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.12);
  outline: none;
}
.form-control::placeholder { color: var(--text-3); }
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 8px; }

/* ============================================
   16. CTA Section
   ============================================ */
.cta-band {
  padding: var(--space-7) 0;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-glow);
}
.cta-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 { color: #fff; margin-bottom: 20px; }
.cta-inner p { color: var(--text-2); font-size: 1.1rem; margin-bottom: 32px; }

/* ============================================
   17. Footer
   ============================================ */
footer.site-footer {
  background: var(--bg-0);
  color: var(--text-2);
  padding: 80px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { color: var(--text-3); max-width: 320px; margin-top: 20px; font-size: 0.95rem; }
.footer-heading { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-2);
  font-size: 0.9rem;
  transition: color 0.25s ease, padding 0.25s ease;
}
.footer-links a:hover { color: var(--brand-400); padding-right: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact-item i { color: var(--brand-400); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--text-1);
  display: grid; place-items: center;
  transition: all 0.25s ease;
}
.social-row a:hover { background: var(--gradient-brand); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  color: var(--text-3);
  font-size: 0.85rem;
}
.bi-instagram{margin-top: 5PX;}
.bi-linkedin{margin-top: 5PX;}
.bi-telegram{margin-top: 5PX;}

/* ============================================
   18. Page Header (about, projects)
   ============================================ */
.page-header {
  padding: 180px 0 100px;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-glow);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; }
.page-header .lead { color: var(--text-2); font-size: 1.15rem; max-width: 640px; margin: 20px auto 0; }
.breadcrumb-nav {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  color: var(--text-2);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.breadcrumb-nav a { color: var(--brand-300); }
.breadcrumb-nav .sep { color: var(--text-3); }
.portfolio-thumb{
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
}

.portfolio-image{
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(0);

    /* زمان بیشتر */
    transition: transform 30s linear;
}

.portfolio-thumb:hover .portfolio-image{
    transform: translateY(calc(-100% + 280px));
}

/* ============================================
   19. About / Values
   ============================================ */
.value-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-light);
  height: 100%;
  transition: all 0.35s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(124,77,255,0.2); }
.value-card .val-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-brand);
}
.value-card h4 { font-size: 1.15rem; margin-bottom: 10px; }

.team-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.35s ease;
  height: 100%;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(124,77,255,0.2); }
.team-avatar {
  width: 120px; height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
  position: relative;
}
.team-avatar::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(124,77,255,0.3);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.team-card h4 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card .role { color: var(--brand-600); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.team-social { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.team-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-body);
  display: grid; place-items: center;
  transition: all 0.25s ease;
  font-size: 0.9rem;
}
.team-social a:hover { background: var(--gradient-brand); color: #fff; }

.tech-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.tech-pill:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Timeline */
.timeline { position: relative; padding-right: 24px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-500), rgba(124,77,255,0));
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: "";
  position: absolute;
  right: -22px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 4px rgba(124,77,255,0.15);
}
.timeline-item .yr {
  color: var(--brand-600);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.timeline-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-3); margin: 0; font-size: 0.95rem; }

/* ============================================
   20. Scroll animations
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* ============================================
   21. Responsive tweaks
   ============================================ */
@media (max-width: 767px) {
  section { padding: 64px 0; }
  .hero { padding: 140px 0 80px; }
  .hero-visual { min-height: 380px; margin-top: -30px; }
  .contact-card { padding: 28px; }
	.hero-card.tech{bottom: 10px;}
	.hero-card.stat{bottom: -80px; }
  .hero-trust { gap: 20px; }
  .page-header { padding: 140px 0 70px; }
  .logodev{width:150px;}
}
@media (min-width:768px) and (max-width:991.98px){

    footer .row{
        flex-wrap: nowrap;
    }

    footer .row > div{
        width:25%;
        max-width:25%;
        flex:0 0 25%;
    }

}


/* Fonts */
@font-face { font-family: swap; }