/* @font-face {
  font-family: 'estedad';
  src: url("fonts/Estedad.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'estedad-regular';
  src: url("fonts/Estedad-Regular.ttf") format("truetype"),
    url("fonts/Estedad-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
} */


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --white: #f5f3ef;
  --teal: #116979;
  --gold: #e6b31e;
  --gray-mid: #6a6a6a;
  --gray-light: #d8d4cc;
  --gray-border: rgba(10, 10, 10, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-fa: 'doran', 'Vazirmatn', 'Tahoma', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  overflow-x: hidden;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

html[lang="fa"] * {
  direction: rtl;
  font-family: var(--font-fa);
  letter-spacing: 0;
}


/* Flip flex rows for RTL */
html[lang="fa"] nav,
html[lang="fa"] .hero-bottom,
html[lang="fa"] .footer-bottom {
  flex-direction: row-reverse;
}

html[lang="fa"] .hero-eyebrow {
  justify-content: right;
  letter-spacing: 0.3em;
  /* flex-direction: row-reverse; */
}

html[lang="fa"] .nav-right {
  direction: ltr;
}

html[lang="fa"] .nav-links a {
  font-size: 0.8rem;
  font-family: var(--font-fa);
}

html[lang="fa"] .nav-logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  direction: ltr;
}

html[lang="fa"] .hero-gradient-mask {
  background: linear-gradient(to left,
      rgba(245, 243, 239, 1.00) 0%,
      rgba(245, 243, 239, 0.97) 20%,
      rgba(245, 243, 239, 0.82) 40%,
      rgba(245, 243, 239, 0.40) 62%,
      rgba(245, 243, 239, 0.08) 80%,
      rgba(245, 243, 239, 0.00) 100%);
}

html[lang="fa"] .hero-eyebrow::before,
html[lang="fa"] .section-label::before,
html[lang="fa"] .about-founded::before,
html[lang="fa"] .contact-block-label::before {
  flex-shrink: 0;
}

html[lang="fa"] .stat-item:last-child {
  border-right: 1px solid rgba(10, 10, 10, 0.07);
}

html[lang="fa"] .stat-item:first-child {
  border-right: none;
}

html[lang="en"] .lang-btn {
  font-family: 'doran';
}

html[lang="fa"] .contact-grid {
  direction: ltr;
}

/* Region/product bottom bars — anchor to right in RTL */
html[lang="fa"] .region-bar,
html[lang="fa"] .product-hover-line {
  left: auto;
  right: 0;
}

html[lang="fa"] .section-num,
html[lang="fa"] .stat-num .count,
html[lang="fa"] .stat-num .stat-accent {
  font-family: var(--font-display);
}

html[lang="fa"] .section-title {
  font-weight: 600;
}

/* Process connector line direction */
html[lang="fa"] .process-steps::before {
  background: linear-gradient(270deg, var(--teal), rgba(17, 105, 121, 0.2));
}

/* Step icon stays left-of-text in LTR; in RTL it auto-mirrors via flex */
html[lang="fa"] .process-step {
  text-align: right;
}

html[lang="fa"] .hero-coords {
  direction: ltr;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

html[lang="fa"] .hero-cat {
  font-size: clamp(3.5rem, 6vw, 6rem);
  letter-spacing: 0;
  font-weight: 600;
  font-family: var(--font-fa);
}

html[lang="fa"] .hero-cat:hover {
  font-size: 6em;
}

html[lang="fa"] .hero-categories {
  gap: 10px;
}

html[lang="fa"] .hero-cat:hover .dot {
  margin-right: 0.4em;
}

html[lang="fa"] .contact-links a {
  font-family: var(--font-fa);
}


/*SCROLLBAR*/
::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: var(--white);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
}

.cursor {
  display: none;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(17, 105, 121, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  top: 0;
  left: 0;
  will-change: transform;
  transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    height 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.2s;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px;
  height: 52px;
}


/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 4rem;
  background: rgba(245, 243, 239, 0.74);
  backdrop-filter: blur(20px)
}

nav.scrolled {
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.07);
}

nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4rem;
  right: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.07), transparent);
}

.nav-logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(10, 10, 10, 0.2);
  padding: 0.5rem 1.25rem;
  color: var(--black);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.nav-cta:hover {
  border-color: var(--teal);
  background: rgba(17, 105, 121, 0.07);
  color: var(--teal);
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  background: none;
  border: 1px solid rgba(10, 10, 10, 0.12);
  color: rgba(10, 10, 10, 0.45);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.lang-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(17, 105, 121, 0.05);
}

.lang-btn .lang-icon {
  font-size: 0.9em;
  line-height: 1;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Full-bg image slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  background-image: url('../img/slider1.jpg');
  filter: saturate(0);
}


/* Left-to-right gradient — protects text readability */
.hero-gradient-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right,
      rgba(245, 243, 239, 1.00) 0%,
      rgba(245, 243, 239, 0.97) 20%,
      rgba(245, 243, 239, 0.82) 40%,
      rgba(245, 243, 239, 0.40) 62%,
      rgba(245, 243, 239, 0.08) 80%,
      rgba(245, 243, 239, 0.00) 100%);
}

/* Top overlay so nav text stays legible */
.hero-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(245, 243, 239, 0.55), transparent);
}

/* Bottom overlay for coords / scroll-cue */
.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(245, 243, 239, 0.6), transparent);
}

/* Fine grid texture on top of image — purely decorative */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Slide progress dots */
/* .hero-dots {
  position: absolute;
  bottom: 3.2rem;
  right: 4rem;
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-dot {
  height: 1px;
  width: 22px;
  background: rgba(10, 10, 10, 0.18);
  transition: width 0.4s ease, background 0.4s ease;
}

.hero-dot.active {
  width: 44px;
  background: var(--teal);
} */

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 52%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 1rem;
  visibility: hidden;
  /* GSAP controls */
}

.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-categories {
  display: flex;
  flex-direction: column;
}

.hero-cat {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--black);
  visibility: hidden;
  /* GSAP controls */
  cursor: default;
  display: flex;
  align-items: center;
  transition: color 0.4s, letter-spacing 0.6s, font-size 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.hero-cat:hover {
  color: rgba(10, 10, 10, 0.18);
  letter-spacing: 0.04em;
}

.hero-cat .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 0.4em;
  margin-right: unset;
  opacity: 0;
  transition: opacity 0.3s;
  vertical-align: middle;
  flex-shrink: 0;
}

.hero-cat:hover .dot {
  opacity: 1;
}

.hero-sub {
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(10, 10, 10, 0.42);
  max-width: 40ch;
  visibility: hidden;
  line-height: 1.9;
}

.hero-bottom {
  position: absolute;
  bottom: 3rem;
  left: 4rem;
  right: 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 3;
  visibility: hidden;
}

.hero-coords {
  direction: ltr;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(10, 10, 10, 0.28);
  letter-spacing: 0.12em;
}

.scroll-cue {
  width: 50px;
  position: absolute;
  bottom: 0.5rem;
  right: calc(50% - 25px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-cue span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.28);
}

.scroll-line {
  width: 1px;
  height: 55px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.3) translateY(-20px);
    opacity: 0.3;
  }
}

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
#stats {
  padding: 6rem 4rem;
  border-top: 1px solid rgba(10, 10, 10, 0.07);
  border-bottom: 1px solid rgba(10, 10, 10, 0.07);
  position: relative;
}

#stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 2rem 3rem;
  border-right: 1px solid rgba(10, 10, 10, 0.07);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--black);
  line-height: 1;
  display: block;
}

.stat-num .stat-accent {
  color: var(--teal);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.35);
  margin-top: 0.75rem;
  display: block;
}

/* ─────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  transition: color 0.3s ease;
}

.cat-hover:hover {
  color: var(--gold);
}


.section-num {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 300;
  color: rgba(10, 10, 10, 0.04);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* ─────────────────────────────────────────
   PRODUCTS
───────────────────────────────────────── */
#products {
  padding: 7rem 4rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(10, 10, 10, 0.07);
  border: 1px solid rgba(10, 10, 10, 0.07);
}

.product-card {
  background: var(--white);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  cursor: pointer;
  user-select: none;
}

.product-card-img {
  width: 100%;
  height: 65%;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.5rem 1.75rem;
  position: relative;
  height: 35%;
}

.product-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 1px;
  background: rgba(10, 10, 10, 0.07);
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(10, 10, 10, 0.42);
  letter-spacing: 0.04em;
  line-height: 1.75;
}

.product-origin {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(10, 10, 10, 0.22);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover .product-hover-line {
  width: 100%;
}

/* ─────────────────────────────────────────
   MARKETS
───────────────────────────────────────── */
#markets {
  padding: 7rem 4rem;
  border-top: 1px solid rgba(10, 10, 10, 0.07);
}

.markets-info {
  display: grid;
  /* grid-template-columns: minmax(0, 700px) 1fr; */
  grid-template-rows: 1fr 1fr;
  width: 100%;
  overflow: visible;
  margin-top: -70px;
}

.market-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(10, 10, 10, 0.07);
  border: 1px solid rgba(10, 10, 10, 0.07);
  /* margin-top: 4rem; */
}

.market-image {
  display: flex;
  justify-content: center;
  /* background-color: #116979; */
  overflow: visible;
  height: 100%;

}

.masked-network {
  width: 60%;
  height: 100%;
  background-image: url('/public/img/world.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Oval Gradient */
  -webkit-mask-image: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 1) 40%,
      rgba(0, 0, 0, 0.8) 55%,
      rgba(0, 0, 0, 0) 75%
    );
  mask-image: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 1) 40%,
      rgba(0, 0, 0, 0.8) 55%,
      rgba(0, 0, 0, 0) 75%);

  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
}


.region-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.region-card:hover {
  background: rgba(17, 105, 121, 0.04);
}

.region-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.region-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.1;
  text-align: center;
}

.region-countries {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(10, 10, 10, 0.35);
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.region-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--teal);
  width: 0;
  transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
}

/* ─────────────────────────────────────────
   PROCESS
───────────────────────────────────────── */
#process {
  padding: 7rem 4rem;
  border-top: 1px solid rgba(10, 10, 10, 0.07);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.6% + 1rem);
  right: calc(16.6% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, var(--teal), rgba(17, 105, 121, 0.2));
  z-index: 0;
}

.process-step {
  padding: 0 2rem;
  position: relative;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(17, 105, 121, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  background: var(--white);
  transition: border-color 0.3s, background 0.3s;
}

.process-step:hover .step-icon {
  border-color: var(--teal);
  background: rgb(231, 235, 232);
}

.step-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(10, 10, 10, 0.42);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.board-section {
  padding: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  /* background-color: #999; */
}

#boardGrid {
  scroll-margin-top: 250px;
}

/* Board grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 20%);
  gap: 2rem;
  padding-top: 30px;
  justify-content: center;
  /* background-color: #116979; */
}

/* Member card */
.member-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  user-select: none;
  /* background-color: red; */
}

.slogan {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 2em;
}

/* .member-card.visible {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

.member-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, rgba(17, 105, 121, 0.1) 0%, rgba(230, 179, 30, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
}

.member-card:hover .member-image img {
  transform: scale(1.04);
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  user-select: none;
}

.member-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.2;
}

.member-position {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}


/*CONTACT / FOOTER*/
#contact {
  padding: 6rem 4rem;
  border-top: 1px solid rgba(10, 10, 10, 0.07);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4rem;
  right: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.contact-block-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-block-label::before {
  content: '';
  width: 1rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--black);
  transition: color 0.3s;
}

.contact-email:hover {
  color: var(--teal);
}

.contact-address {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(10, 10, 10, 0.42);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-links a::before {
  content: '';
  width: 1rem;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s;
  flex-shrink: 0;
}

.contact-links a:hover {
  color: var(--black);
}

.contact-links a:hover::before {
  width: 2rem;
}


/*RESPONSIVE*/
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.5rem 3rem 1.5rem;
    height: fit-content;
  }

  nav::after {
    left: 2rem;
    right: 2rem;
  }

  .nav-links {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  #hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #stats,
  #products,
  #markets,
  #process,
  #about,
  #contact {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #contact::before {
    left: 2rem;
    right: 2rem;
  }

  .hero-content {
    max-width: 78%;
  }

  .hero-gradient-mask {
    background: linear-gradient(to right,
        rgba(245, 243, 239, 1.00) 0%,
        rgba(245, 243, 239, 0.95) 45%,
        rgba(245, 243, 239, 0.45) 75%,
        rgba(245, 243, 239, 0.00) 100%);
  }

  .hero-bottom {
    left: 2rem;
    right: 2rem;
  }

  .hero-dots {
    right: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .market-regions {
    grid-template-columns: 1fr;
  }

  .markets-info {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .market-image {
    height: 300px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    padding: 0 0 2rem;
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
  }

  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-cert {
    display: none;
  }

  .board-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 600px) {
  html[lang="fa"] .hero-cat:hover {
    font-size: 3.8em;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 95%;
  }

  .scroll-cue {
    display: none;
  }

  .board-section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .member-name {
    font-size: 1.2rem;
  }
}