*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}

:root {
  --bg-deep:    #08121a;
  --bg-mid:     #0d1f2d;
  --bg-card:    rgba(255,255,255,0.05);
  --accent:     #00e5c0;
  --accent-dim: rgba(0,229,192,0.15);
  --accent2:    #0090ff;
  --text-main:  #e8f0f5;
  --text-muted: rgba(232,240,245,0.6);
  --border:     rgba(255,255,255,0.1);
  --glow:       0 0 40px rgba(0,229,192,0.18);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: "Vazirmatn", sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(8,18,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
  position: fixed;
  margin-top: 100px;
}

.nav-logo span { color: var(--text-main); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.logo{
  width: 80px;
  height: 78px;
  position:relative;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  padding: 9px 22px;
  border-radius: 50px;
  background: var(--accent);
  color: #08121a !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── HERO with video ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,18,26,0.55) 0%, rgba(8,18,26,0.5) 40%, rgba(8,18,26,0.92) 100%),
    linear-gradient(90deg, rgba(8,18,26,0.6) 0%, transparent 50%, rgba(8,18,26,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,192,0.12);
  border: 1px solid rgba(0,229,192,0.35);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero h1 span {
  display: block;
  color: var(--accent);
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-tagline strong {
  color: var(--text-main);
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.scroll-cue span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.scroll-cue .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ── SECTION WRAPPER ── */
.section {
  padding: 110px 40px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.8;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 40px;
}

/* ── reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .5s; }

/* ── STATS STRIP (parallax counters) ── */
.stats-strip {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-mid));
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  display: block;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  /*grid-template-columns: 1.1fr 0.9fr;*/
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.about-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.about-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,192,0.4);
  position: relative;
}

.about-list li::after {
  content: "✓";
  position: absolute;
  right: 4.5px;
  top: -1px;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 900;
}

.about-visual {
  width: 130%;
  max-height: 500px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  /*background: linear-gradient(160deg, var(--bg-mid), var(--bg-deep));*/
  border: 1px 0 1px 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(0.3) brightness(1) contrast(0.9);
}

.about-visual .pipe-graphic {
  width: 70%;
  opacity: 0.9;
}

/* ── SERVICES ── */
.services-bg {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle at top right, var(--accent-dim), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(0,229,192,0.35);
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 2.1rem;
  margin-bottom: 20px;
  display: block;
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.75;
}
/* 
 ── PROCESS TIMELINE ── 
.process-track {
  position: relative;
  margin-top: 64px;
  padding-right: 24px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 35px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border) 90%);
}

.process-step {
  position: relative;
  padding-right: 80px;
  padding-bottom: 52px;
}

.process-step:last-child { padding-bottom: 0; }

.process-dot {
  position: absolute;
  right: 22px;
  top: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px rgba(0,229,192,0.3);
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
} */
 
/* ── PROCESS LAYOUT ── */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
 
.process-image-col {
  position: sticky;
  top: 110px;
}
 
.process-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
 
.process-img-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--border);
  filter: brightness(0.88);
  transition: filter 0.4s;
}
 
.process-img-wrap:hover img { filter: brightness(1); }
 
.process-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, transparent 50%, rgba(8,18,26,0.65) 100%);
  pointer-events: none;
}
 
.process-img-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  background: rgba(8,18,26,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,229,192,0.3);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
 
.process-img-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}
 
.process-img-badge span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
 
.process-content-col { }
 
/* ── PROCESS TIMELINE ── */
.process-track {
  position: relative;
  margin-top: 64px;
  padding-right: 24px;
}
 
.process-track::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 35px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border) 90%);
}
 
.process-step {
  position: relative;
  padding-right: 80px;
  padding-bottom: 52px;
}
 
.process-step:last-child { padding-bottom: 0; }
 
.process-dot {
  position: absolute;
  right: 22px;
  top: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px rgba(0,229,192,0.3);
}
 
.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
 
.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ── LOGO CAROUSEL ── */
.carousel-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-mid);
}

.carousel-heading {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 40px;
}

.carousel-track-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  padding-top: 10px;
}

/* .carousel-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 20s linear infinite;
} */
.carousel-track {
  display: flex;
  width: max-content;
  cursor: grab;
  will-change: transform;
  user-select: none;
}

.carousel-track.dragging {
  cursor: grabbing;
}


.logo-slide img {
  -webkit-user-drag: none;
  pointer-events: none; /* جلوگیری از تداخل درگ با تصویر، ظاهر hover روی خود کارت دست‌نخورده می‌مونه */
}

/* .carousel-track:hover { animation-play-state: paused; } */

/* @keyframes scrollLoop {
  from { transform: translateX(10); }
  to   { transform: translateX(-10%); }
} */

.logo-slide {
  flex-shrink: 0;
  width: 220px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
}

.logo-slide:hover {
  border-color: rgba(0,229,192,0.35);
  transform: translateY(-4px);
}

.logo-slide img {
  max-width: 70%;
  max-height: 50%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6) contrast(0.9);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-slide:hover img {
  filter: none;
  opacity: 1;
}

/* ── PROJECTS ── */
.projects{
  margin-top: 20px;
  padding: 20px;

}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* margin-top: 56px; */
  margin: 56px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,192,0.3);
}

.project-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  position: relative;
  overflow: hidden;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0,229,192,0.12), transparent 60%);
}

.project-body { padding: 24px; }

.project-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.project-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ── CTA ── */
.cta-section {
  padding: 110px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,229,192,0.08) 0%, transparent 70%);
}

.cta-inner { position: relative; z-index: 1; }

.cta-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 15px 32px;
  border-radius: 50px;
  background: var(--accent);
  color: #08121a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(0,229,192,0.3);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 36px rgba(0,229,192,0.5);
}

.btn-ghost {
  padding: 14px 30px;
  border-radius: 50px;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── FOOTER ── */
footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 72px 40px 28px;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.footer-brand .footer-logo span { color: var(--text-main); }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
  list-style: none;
}

.footer-contact .ic { color: var(--accent); flex-shrink: 0; }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .section { padding: 80px 20px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { aspect-ratio: 16/9; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .services-grid,
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section, .section { padding: 64px 20px; }
  .divider { margin: 0 20px; }
  .process-track { padding-right: 16px; }
  .process-step { padding-right: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero-eyebrow, .hero h1, .hero-tagline, .scroll-cue {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .carousel-track { animation: none; }
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:40px;
}


.section-head1 h2{
  font-size:44px;
  color:var(--navy);
  margin-bottom:10px;
}

.section-head1 h2 span{
  color:var(--orange);
}

.section-head1 p{
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
}
.section-link1{
  color:var(--navy);
  font-weight:700;
  white-space:nowrap;
}

.projects-grid1{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 10px 0 10px;
}

/*
.project-card1:hover{
  transform: translateY(-6px);
}*/
.project-card:hover .project-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.project-image{
  height: 290px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 100%);
  position: relative;
  overflow: hidden;
}

/*.project-image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}*/
.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.project-body{
  padding: 18px;
}

.location{
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.project-body h3{
  margin: 0 0 14px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.details {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.2s;
}

.details:hover {
  color: var(--accent);
}

.badge{
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.badge.done{
  background: #dcfce7;
  color: #15803d;
}

.badge.active{
  background: #fef3c7;
  color: #b45309;
}

.badge.upcoming{
  background: #dbeafe;
  color: #1d4ed8;
}
/*team carousel*/

.team-section {
  width: 1600px;
  margin: 0 auto;
  padding: 110px 40px;
  overflow: hidden;
}

.team-heading {
  display: flex;
  justify-content: space-between;
  align-items:flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.team-nav {
  display: flex;
  gap: 10px;
}

.team-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-nav button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* .team-track-wrap {
  overflow: hidden;
  width: 100%;
}

.team-track {
  display: flex;
  width: max-content;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.team-card {
  flex: 0 0 calc((100% - 96px) / 9);
  max-width: calc((100% - 96px) / 9);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  box-sizing: border-box;
  height: 31rem;
} */
.team-track-wrap {
  overflow: hidden;
  width: 100%;
}

/* .team-track {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (24px * 5 )) /5 ); /* 6 ستون در هر صفحه، 5 گپ بین‌شون */
  /*gap: 24px;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
} */
 .team-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 24px;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}


.team-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  box-sizing: border-box;
  height: 30rem;
}
.team-card:hover {
  border-color: rgba(0, 229, 192, 0.3);
  /* transform: translateY(-10px); */
}

.team-photo {
  border-radius: 10% ;
  padding: 10px 10px ;
  width: 100%;
  height: 370px;
  object-fit:fill;
  filter: grayscale(0.15);
}

.team-body {
  padding: 20px 18px 22px;
  position: relative;
}

.team-name {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-social {
  position: absolute;
  top: 50px;
  left: 18px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.team-social:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #08121a;
  transform: translateY(-3px);
}


/* ── IRAN PROJECT MAP ── */
/* .map-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  padding: 110px 0;
}
 
.map-inner {
  max-width: 1000px;
  /* margin: 0 auto;
  padding: 0 40px; 
}
 
.map-heading {
  text-align: center;
  margin-bottom: 56px;
}
 
.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  /*gap: 48px;
  align-items: center;
}
 
.mapimg{
  padding-right: 40px;  
  width: 2000px; 
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 0.4s ease, transform 0.4s ease;
} */


.map-inner {
  max-width: 100%;
  object-fit: cover;
  margin: 0 auto;
  padding: 0 40px;
}

.map-heading {
  text-align: center;
  margin-bottom: 56px;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.mapimg {
  padding-right: 150px;
  width: 110%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: filter 0.5s ease, transform 0.6s ease;
}

/* هاور  */
.map-frame:hover .mapimg {
  transform: scale(1.05);
  filter: brightness(1.2) saturate(1.2);
}

.map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
}
