/* ============================================
   Green Tech — Design System & Styles
   ============================================ */

:root {
  --green-400: #84F9A7;
  --green-500: #6AC786;
  --green-600: #4ade80;
  --green-700: #22c55e;
  --green-dark: #050712;
  --teal-400: #33D9FF;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --blue-accent: #5E8EFF;
  --blue-light: #D5E1FF;
  --blue-bg: #EBF1FF;
  --footer-bg: #E7F1FF;

  --text-primary: #333333;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;

  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-grid: #f1f5f9;

  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);

  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-pill: 999px;

  --pill-icon-bg: #9DFAB9;

  --container: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-white);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-highlight {
  position: relative;
  display: inline;
  background: none;
  padding: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.text-highlight::after {
  content: '';
  position: absolute;
  right: -2px;
  left: -2px;
  bottom: 0.25em;
  height: 0.24em;
  background: var(--green-400);
  z-index: -1;
  border-radius: 1px;
}

/* ---- Pill Buttons ---- */
.pill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 11px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.25s ease, border-color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.pill-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pill-icon-bg);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.pill-btn:hover::before {
  transform: scaleX(1);
}

.pill-btn__text {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.pill-btn__icon {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pill-icon-bg);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.pill-btn--dark {
  background: var(--green-dark);
  color: #fff;
}

.pill-btn--dark .pill-btn__icon {
  color: var(--text-primary);
}

.pill-btn--dark:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.pill-btn--dark:hover .pill-btn__icon {
  background: var(--green-dark);
  color: #fff;
}

.pill-btn--outline {
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
  background: transparent;
}

.pill-btn--outline:hover {
  transform: translateY(-2px);
}

.pill-btn--hero {
  border: 1.5px solid var(--green-dark);
  color: var(--text-primary);
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pill-btn--hero:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.pill-btn--hero:hover .pill-btn__icon {
  background: var(--bg-white);
}

.feature-card .pill-btn--hero {
  border-width: 1px;
  border-color: rgba(5, 7, 18, 0.22);
}


/* ---- Section Titles ---- */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.section-title--large {
  font-size: 2rem;
  margin-bottom: 56px;
}

.section-title--left {
  text-align: right;
  margin-bottom: 0;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: relative;
  z-index: 10;
  background: none;
  background-color: transparent;
  height: var(--header-h);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 24px;
  background: transparent;
}

.header__inner .logo {
  justify-self: start;
}

.header__inner .nav {
  justify-self: center;
}

.header__inner .pill-btn--dark {
  justify-self: end;
}

.header__inner .menu-toggle {
  justify-self: end;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 40px;
  width: auto;
}

.logo__img--footer {
  height: 48px;
}

.nav__link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link--active {
  color: var(--text-primary);
  font-weight: 500;
}

.nav__link--more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 24px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(132, 249, 167, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid-bg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.hero .header {
  margin-bottom: 30px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .header .container {
  background: transparent;
}

.hero__content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 90px;
  padding-top: 40px;
  position: relative;
}

.hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.55;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  animation: hero-swipe 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 2;
  text-align: center;
  animation: hero-swipe 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero__cta {
  margin: 0 auto;
  animation: hero-fade 0.75s ease 0.42s both;
}

@keyframes hero-swipe {
  from {
    opacity: 0;
    transform: translateY(32px);
    clip-path: inset(0 0 100% 0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__desc,
  .hero__cta {
    animation: none;
  }
}

.hero__noise-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hero__banner-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero__banner-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__banner-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__banner-video-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(880px, 100%);
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(94, 142, 255, 0.14);
  isolation: isolate;
}

.hero__banner-video-wrap::before {
  content: '';
  grid-area: 1 / 1;
  align-self: stretch;
  justify-self: stretch;
  background: linear-gradient(120deg, #5ecf8a 0%, #45d4b8 45%, #33d9ff 100%);
  z-index: 0;
}

.hero__banner-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 200;
  font-size: clamp(1.75rem, 4.2vw, 4.75rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
  user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
}

.hero__banner-label::before {
  content: '';
  position: absolute;
  right: -12%;
  left: -12%;
  top: 34%;
  bottom: -24%;
  z-index: -1;
  opacity: 0.9;
  filter: url(#hero-label-noise);
  background: rgba(255, 255, 255, 0.55);
  mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 18%, #000 50%, rgba(0, 0, 0, 0.35) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 18%, #000 50%, rgba(0, 0, 0, 0.35) 78%, transparent 100%);
  pointer-events: none;
}

.hero__banner-label::after {
  content: '';
  position: absolute;
  right: 0;
  left: 0;
  bottom: -0.06em;
  height: 3px;
  background: var(--green-400);
  opacity: 0.75;
  border-radius: 2px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
}

.hero__banner-label--green {
  left: 3%;
}

.hero__banner-label--tech {
  right: 3%;
}

.hero__banner-video {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0.8;
  border: none;
  outline: none;
  background: transparent;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__banner-video {
    display: none;
  }
}


.about__cta a {
  display: inline-block;
  transition: transform 0.25s ease;
}

.about__cta a:hover {
  transform: translateY(-2px);
}

/* ============================================
   Features
   ============================================ */
.features {
  padding: 50px 0;
}

.features .section-title {
  opacity: 0;
  transform: translateY(-36px);
  clip-path: inset(100% 0 0 0);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.features .feature-card {
  opacity: 0;
  transform: translateY(40px);
  clip-path: inset(0 0 100% 0);
}

.features.is-inview .section-title {
  animation: swipe-from-top 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.features.is-inview .feature-card:nth-child(1) {
  animation: swipe-from-bottom 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.features.is-inview .feature-card:nth-child(2) {
  animation: swipe-from-bottom 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

@keyframes swipe-from-top {
  from {
    opacity: 0;
    transform: translateY(-36px);
    clip-path: inset(100% 0 0 0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes swipe-from-bottom {
  from {
    opacity: 0;
    transform: translateY(40px);
    clip-path: inset(0 0 100% 0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .features .section-title,
  .features .feature-card {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .features.is-inview .section-title,
  .features.is-inview .feature-card:nth-child(1),
  .features.is-inview .feature-card:nth-child(2) {
    animation: none;
  }
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset-inline-start: -48px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(132, 249, 167, 0.42) 0%,
    rgba(106, 199, 134, 0.18) 42%,
    rgba(106, 199, 134, 0) 72%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  align-items: center;
}

.feature-card__media {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  line-height: 0;
}

.feature-card__icon {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  filter: url(#feature-green-tint);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.35s ease;
  will-change: transform;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.08);
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
  width: 100%;
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 80px 0 160px;
  background: var(--bg-white);
  overflow: visible;
}

.about .section-title {
  opacity: 0;
}

.about__subtitle {
  text-align: justify;
  text-align-last: center;
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 480px;
  margin: -40px auto 48px;
  line-height: 1.9;
  opacity: 0;
}

.about__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  z-index: 0;
}

.about__services,
.about__image {
  opacity: 0;
  transform: translateY(40px);
  clip-path: inset(0 0 100% 0);
}

.about.is-inview .section-title {
  animation: hero-fade 0.8s ease both;
}

.about.is-inview .about__subtitle {
  animation: hero-fade 0.8s ease 0.1s both;
}

.about.is-inview .about__services {
  animation: swipe-from-bottom 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.about.is-inview .about__image {
  animation: swipe-from-bottom 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

@media (prefers-reduced-motion: reduce) {
  .about .section-title,
  .about__subtitle,
  .about__services,
  .about__image {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .about.is-inview .section-title,
  .about.is-inview .about__subtitle,
  .about.is-inview .about__services,
  .about.is-inview .about__image {
    animation: none;
  }
}

.about__layout::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -155px;
  transform: translateX(-50%);
  width: min(520px, 78%);
  height: min(520px, 78vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(132, 249, 167, 0.42) 0%,
    rgba(106, 199, 134, 0.26) 28%,
    rgba(106, 199, 134, 0.12) 52%,
    rgba(106, 199, 134, 0) 78%
  );
  pointer-events: none;
  z-index: 0;
}

.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-self: stretch;
  z-index: 1;
}

/* 1) Background */
.about__image-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  filter: grayscale(1) blur(1px) brightness(0.45);
  z-index: 0;
  pointer-events: none;
}

/* 2) Scrolling tags between back and front PNG */
.about__tags {
  position: absolute;
  top: 190px;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  direction: ltr;
}

.about__tags-row {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  height: 44px;
}

.about__tags-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: about-tags-marquee 10s linear infinite;
  will-change: transform;
}

.about__tags-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  flex-shrink: 0;
  box-sizing: content-box;
}

.about__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  box-shadow: none;
  flex-shrink: 0;
  line-height: 1;
}

@keyframes about-tags-marquee {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* 3) Foreground PNG — natural alpha masks the scrolling tags */
.about__image-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  display: block;
  z-index: 2;
  pointer-events: none;
  /* Keep alpha; only tint RGB */
  filter: grayscale(1) brightness(0.55);
}

.about__services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 28px;
  padding: 32px 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  align-content: center;
  align-self: stretch;
  overflow: visible;
  z-index: 1;
}

@property --about-spin {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.about__services::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 3px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
  background: conic-gradient(
    from var(--about-spin),
    transparent 0deg,
    transparent 68deg,
    rgba(106, 199, 134, 0.95) 74deg,
    var(--green-500) 82deg,
    var(--green-500) 96deg,
    rgba(106, 199, 134, 0.55) 108deg,
    rgba(106, 199, 134, 0.2) 118deg,
    rgba(106, 199, 134, 0) 128deg,
    transparent 134deg,
    transparent 248deg,
    rgba(106, 199, 134, 0.95) 254deg,
    var(--green-500) 262deg,
    var(--green-500) 276deg,
    rgba(106, 199, 134, 0.55) 288deg,
    rgba(106, 199, 134, 0.2) 298deg,
    rgba(106, 199, 134, 0) 308deg,
    transparent 314deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: about-border-spin 18s linear infinite;
}

@keyframes about-border-spin {
  to {
    --about-spin: 360deg;
  }
}

.about__services .service-item:nth-child(1) { order: 2; }
.about__services .service-item:nth-child(2) { order: 1; }
.about__services .service-item:nth-child(3) { order: 4; }
.about__services .service-item:nth-child(4) { order: 3; }
.about__services .service-item:nth-child(5) { order: 6; }
.about__services .service-item:nth-child(6) { order: 5; }

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.service-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item__icon img {
  width: 24px;
  height: 24px;
}

.service-item > div:last-child {
  min-width: 0;
  flex: 1;
}

.service-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: right;
}

.service-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: justify;
}

.about__cta {
  text-align: center;
  margin-top: 115px;
}

.about__cta p {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}



/* ============================================
   Projects
   ============================================ */
.projects {
  padding: 80px 0;
}

.projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.projects__nav {
  display: flex;
  gap: 10px;
}

.projects__arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
}

.projects__arrow:hover {
  background: #0f1428;
  transform: translateY(-1px);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: visible;
  background: var(--bg-white);
}

.project-card {
  background: var(--bg-white);
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.project-card:first-child {
  border-start-start-radius: var(--radius-lg);
  border-end-start-radius: var(--radius-lg);
  overflow: hidden;
}

.project-card:first-child .project-card__visual {
  border-start-start-radius: var(--radius-lg);
}

.project-card:first-child .project-card__body {
  border-end-start-radius: var(--radius-lg);
}

.project-card:last-child {
  border-start-end-radius: var(--radius-lg);
  border-end-end-radius: var(--radius-lg);
  overflow: hidden;
}

.project-card:last-child .project-card__visual {
  border-start-end-radius: var(--radius-lg);
}

.project-card:last-child .project-card__body {
  border-end-end-radius: var(--radius-lg);
}

.project-card--interactive {
  position: relative;
  transition: box-shadow 0.35s ease;
}

.project-card--interactive:hover {
  z-index: 2;
  box-shadow: 6px 8px 22px rgba(0, 0, 0, 0.09);
}

.project-card:last-child {
  border-left: none;
}

.project-card__visual {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-white);
  overflow: hidden;
  flex-shrink: 0;
}

.project-card__visual--dark {
  background: #000;
}

.project-card__visual--light {
  background: var(--bg-white);
}

.project-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.project-card__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
}

.project-card__logo-text {
  position: relative;
  z-index: 1;
  font-family: 'Inter', system-ui, sans-serif;نه
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: #111;
  letter-spacing: -0.02em;
  transition: opacity 0.35s ease;
}

.project-card__img {
  position: relative;
  z-index: 1;
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
}

.project-card__photo-frame {
  position: absolute;
  inset: 14px;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.project-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card--interactive:hover .project-card__photo {
  opacity: 1;
}

.project-card--interactive:hover .project-card__logo-text {
  opacity: 0;
}

.project-card__body {
  padding: 40px 24px 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 16px;
  transition: border-color 0.35s ease;
}

.project-card--interactive:hover .project-card__body {
  border-top-color: transparent;
}

.project-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.project-card__body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.project-card__tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.project-card__body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.project-card__link {
  font-size: 13px;
  color: var(--green-500);
  font-weight: 500;
}

.project-card__link:hover {
  text-decoration: underline;
}

/* ============================================
   Partners
   ============================================ */
.partners {
  padding: 155px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 520px 420px at 50% 50%, rgba(132, 249, 167, 0.28), transparent 70%),
    var(--bg-white);
}

.partners::before {
  content: '';
  position: absolute;
  right: -14%;
  top: 18%;
  width: min(820px, 82vw);
  height: min(300px, 46%);
  background:
    /* هسته مشکی سمت راست — نرم‌تر */
    radial-gradient(ellipse 38% 78% at 90% 52%,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.38) 28%,
      rgba(2, 12, 8, 0.18) 52%,
      transparent 72%),
    /* سایه‌ی تیره زیر سبز */
    radial-gradient(ellipse 48% 70% at 74% 58%,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.18) 42%,
      transparent 70%),
    /* هسته سبز روشن، سمت چپِ مشکی */
    radial-gradient(ellipse 58% 85% at 40% 36%,
      rgba(132, 249, 167, 1) 0%,
      rgba(100, 239, 185, 0.85) 28%,
      rgba(132, 249, 167, 0.4) 55%,
      transparent 75%),
    /* دم سبز نرم به سمت وسط */
    radial-gradient(ellipse 45% 70% at 16% 48%,
      rgba(132, 249, 167, 0.55) 0%,
      rgba(132, 249, 167, 0.15) 50%,
      transparent 72%);
  filter: blur(32px) contrast(1.1);
  transform: rotate(-11deg);
  transform-origin: right center;
  pointer-events: none;
  z-index: 0;
}

.partners::after {
  content: '';
  position: absolute;
  right: -8%;
  top: 22%;
  width: min(440px, 44vw);
  height: min(170px, 28%);
  background:
    radial-gradient(ellipse 55% 80% at 78% 50%,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.2) 42%,
      transparent 72%);
  filter: blur(28px);
  transform: rotate(-11deg);
  transform-origin: right center;
  pointer-events: none;
  z-index: 0;
}

.partners .container {
  position: relative;
  z-index: 1;
}

.partners .section-title,
.partners__desc {
  opacity: 0;
  transform: translateY(-36px);
  clip-path: inset(100% 0 0 0);
}

.partners .partner-box {
  opacity: 0;
  transform: translateY(40px);
  clip-path: inset(0 0 100% 0);
}

.partners.is-inview .section-title {
  animation: swipe-from-top 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.partners.is-inview .partners__desc {
  animation: swipe-from-top 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.partners.is-inview .partner-box:nth-child(1) {
  animation: swipe-from-bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.partners.is-inview .partner-box:nth-child(2) {
  animation: swipe-from-bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.partners.is-inview .partner-box:nth-child(3) {
  animation: swipe-from-bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.partners.is-inview .partner-box:nth-child(4) {
  animation: swipe-from-bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.partners.is-inview .partner-box:nth-child(5) {
  animation: swipe-from-bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
}

.partners.is-inview .partner-box:nth-child(6) {
  animation: swipe-from-bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

@media (prefers-reduced-motion: reduce) {
  .partners .section-title,
  .partners__desc,
  .partners .partner-box {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .partners.is-inview .section-title,
  .partners.is-inview .partners__desc,
  .partners.is-inview .partner-box:nth-child(n) {
    animation: none;
  }
}

.partners__desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin: -32px auto 40px;
  max-width: 620px;
  line-height: 1.9;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.partner-box:hover {
  border-color: var(--green-400);
  transform: translateY(-2px);
}

.partner-box__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: brightness(0);
}

/* ============================================
   Process / Timeline
   ============================================ */
.process {
  padding: 40px 20px;
  background: var(--bg-white);
}

.process__shell {
  position: relative;
  overflow: visible;
  border-radius: var(--radius-xl);
  padding: 56px 0 48px;
  background:
    url("../assets/process/bg.svg") center / cover no-repeat,
    var(--blue-bg);
}

.process .container {
  position: relative;
  z-index: 1;
}

.process .section-title {
  margin-bottom: 20px;
}

.process__cta {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.process__stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto 24px;
  padding-top: 188px;
  overflow: visible;
}

.process__card {
  --card-accent: rgba(94, 142, 255, 0.55);
  position: absolute;
  top: auto;
  bottom: 152px;
  left: var(--card-left, 50%);
  transform: translateX(-50%);
  transition: left 0.35s ease;
  z-index: 2;
  width: min(320px, calc(100% - 32px));
  max-width: 320px;
  overflow: visible;
}

.process__card-surface {
  position: relative;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.06));
}

.process__card-surface--enter {
  animation: process-card-in 0.52s cubic-bezier(0.22, 1.15, 0.36, 1) forwards;
}

.process__card-inner {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--card-accent);
  border-radius: var(--radius-xl);
  padding: 24px 24px 20px 28px;
  text-align: right;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@keyframes process-card-in {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

  55% {
    opacity: 1;
    transform: translateY(-7px);
  }

  78% {
    transform: translateY(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.process__card-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -25%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 249, 167, 0.45) 0%, rgba(132, 249, 167, 0.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.process__card-pointer {
  position: relative;
  display: block;
  width: 36px;
  height: 14px;
  margin: -1px auto 0;
  pointer-events: none;
  z-index: 2;
}

.process__card-pointer-chevron {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.process__card-pointer-chevron::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 14px solid var(--card-accent);
}

.process__card-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 0 0 12px;
  border-radius: var(--radius-md);
  background: var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process__card-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
}

.process__card h3 {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  width: 100%;
}

.process__card p {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.75;
  width: 100%;
}

.process__timeline {
  --timeline-active: 0;
  --timeline-steps: 7;
  position: relative;
  height: 160px;
  margin: 0;
  padding: 0 24px;
  direction: ltr;
}

.process__timeline-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  height: 3px;
  background: var(--blue-light);
  border-radius: 999px;
  transform: translateY(-50%);
}

.process__timeline-progress {
  position: absolute;
  left: 24px;
  top: 50%;
  height: 11px;
  width: calc((100% - 48px) * var(--timeline-active) / (var(--timeline-steps) - 1));
  max-width: calc(100% - 48px);
  background: var(--blue-light);
  border-radius: 999px;
  transform: translateY(-50%);
  transition: width 0.35s ease;
}

.process__timeline-steps {
  position: absolute;
  inset: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process__timeline-step {
  position: relative;
  width: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.process__timeline-vline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--blue-light) 45%,
    var(--blue-light) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.process__timeline-step--active .process__timeline-vline {
  background: linear-gradient(
    180deg,
    var(--blue-light) 0%,
    var(--blue-light) 55%,
    transparent 100%
  );
}

.process__timeline-dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--blue-light);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.process__timeline-step--past .process__timeline-dot,
.process__timeline-step--active .process__timeline-dot {
  border-color: var(--blue-accent);
  border-width: 4px;
  width: 18px;
  height: 18px;
}

.process__timeline-step--active .process__timeline-dot {
  box-shadow: 0 0 0 4px rgba(94, 142, 255, 0.18);
  transform: scale(1.08);
}

.process__timeline-step:hover .process__timeline-dot {
  border-color: var(--blue-accent);
}

.process__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  direction: ltr;
}

.process__arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: var(--bg-white);
  transition: all 0.2s;
  cursor: pointer;
}

.process__arrow:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

/* ============================================
   Blog / Events
   ============================================ */
.events {
  padding: 180px 0;
}

.events .container {
  max-width: 900px;
}

.events__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.events__tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.events__tab {
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  transition: all 0.25s;
}

.events__tab:not(.events__tab--active) {
  background: #e8eaed;
}

.events__tab--active {
  background: var(--green-400);
  color: var(--green-dark);
}

.events__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.events__view-all:hover {
  color: var(--green-500);
}



.events__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: box-shadow 0.3s;
}

.event-card:hover {
  box-shadow: var(--shadow-sm);
}

.event-card__arrow {
  width: 36px;
  height: 36px;
  background: var(--green-400);
  color: var(--green-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  margin-inline-start: auto;
}

.event-card__arrow:hover {
  background: var(--green-500);
  color: #fff;
}

.event-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-card__content h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.event-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 2px;
}

.event-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}


.event-card__thumb {
  width: 140px;
  height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.event-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  width: calc(100% - 160px);
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 64px 0 48px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-sizing: border-box;
}

.footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.footer__content {
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__brand .logo {
  margin-bottom: 16px;
}

.footer__bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-400);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: -10px;
  border: 2px solid #fff;
  position: relative;
  transition: background 0.2s, transform 0.2s, z-index 0s;
}

.footer__social a:last-child {
  margin-inline-end: 0;
}

.footer__social a:hover {
  background: var(--green-500);
  color: #fff;
  transform: translateY(-2px);
  z-index: 2;
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--green-500);
}

.footer__contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.footer__bottom {
  padding: 20px 24px 28px;
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: black;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .header__inner .logo,
  .header__inner .nav,
  .header__inner .pill-btn--dark,
  .header__inner .menu-toggle {
    justify-self: auto;
  }

  .nav {
    gap: 12px;
  }

  .nav__link {
    font-size: 13px;
  }

  .partners__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__layout {
    grid-template-columns: 1fr;
  }

  .about__image {
    max-width: 100%;
    width: min(100%, 480px);
    margin: 0 auto;
    order: -1;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .about__tags {
    top: 16%;
    gap: 18px;
  }

  .about__tags-row {
    height: 38px;
  }

  .about__tag {
    min-height: 34px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
  }

  .project-card:nth-child(odd) {
    border-left: none;
  }

  .project-card:nth-child(3) {
    border-top: 1px solid var(--border-light);
    grid-column: 1 / -1;
  }

  .project-card:first-child,
  .project-card:last-child {
    border-radius: 0;
    overflow: visible;
  }

  .project-card:first-child .project-card__visual,
  .project-card:last-child .project-card__visual,
  .project-card:first-child .project-card__body,
  .project-card:last-child .project-card__body {
    border-radius: 0;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer {
    width: calc(100% - 64px);
  }

  .events .container {
    max-width: 100%;
  }

  .process__timeline {
    max-width: 100%;
    padding: 0 12px;
  }

  .process__timeline-line,
  .process__timeline-progress {
    left: 12px;
    right: 12px;
  }

  .process__timeline-progress {
    width: calc((100% - 24px) * var(--timeline-active) / (var(--timeline-steps) - 1));
    max-width: calc(100% - 24px);
  }

  .process__timeline-steps {
    inset: 0 12px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 32px;
  }

  .section-title--large {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }

  .hero {
    padding: 12px 0 48px;
  }

  .hero__title {
    font-size: 1.45rem;
  }

  .hero__desc {
    font-size: 14px;
    text-align: center;
    text-align-last: center;
    margin-bottom: 22px;
  }

  .hero__content {
    margin-bottom: 56px;
    padding-top: 24px;
  }

  .hero .header {
    margin-bottom: 16px;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    z-index: 20;
  }

  .nav--open {
    display: flex;
  }

  .header .pill-btn--dark {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .features {
    padding: 40px 0;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 22px 20px;
  }

  .feature-card__layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about {
    padding: 56px 0 100px;
  }

  .about__subtitle {
    margin: -16px auto 32px;
    font-size: 13px;
    max-width: 100%;
    padding: 0 8px;
  }

  .about__tags {
    top: 12%;
    gap: 12px;
  }

  .about__tags-row {
    height: 34px;
  }

  .about__tag {
    min-height: 30px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .about__tags-group {
    gap: 16px;
    padding-right: 16px;
  }

  .about__services {
    grid-template-columns: 1fr;
    gap: 18px 16px;
    padding: 22px 18px;
  }

  .about__layout::before {
    bottom: -90px;
    width: min(320px, 80vw);
    height: min(280px, 50vw);
  }

  .projects {
    padding: 56px 0;
  }

  .projects__header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .projects__nav {
    align-self: flex-end;
  }

  .section-title--left {
    text-align: right;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .project-card {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }

  .project-card:first-child {
    border-top: none;
  }

  .project-card:nth-child(3) {
    grid-column: auto;
  }

  .project-card__visual {
    height: 220px;
  }

  .project-card__body {
    padding: 24px 20px 20px;
  }

  .partners {
    padding: 80px 0;
  }

  .partners__desc {
    margin: -16px auto 28px;
    font-size: 13px;
    padding: 0 8px;
  }

  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partner-box {
    padding: 20px 12px;
    font-size: 11px;
  }

  .process {
    padding: 24px 12px;
  }

  .process__shell {
    padding: 36px 0 32px;
    border-radius: var(--radius-lg);
  }

  .process .section-title {
    font-size: 1.25rem;
    padding: 0 12px;
  }

  .process__cta {
    margin-bottom: 28px;
  }

  .process__stage {
    padding-top: 168px;
    margin-bottom: 16px;
  }

  .process__card {
    width: min(260px, calc(100% - 12px));
    max-width: 260px;
    bottom: 120px;
  }

  .process__card-inner {
    padding: 18px 16px 16px 18px;
  }

  .process__card h3 {
    font-size: 0.92rem;
  }

  .process__card p {
    font-size: 11px;
  }

  .process__timeline {
    height: 120px;
    padding: 0 8px;
  }

  .process__timeline-line,
  .process__timeline-progress {
    left: 8px;
    right: 8px;
  }

  .process__timeline-progress {
    height: 8px;
    width: calc((100% - 16px) * var(--timeline-active) / (var(--timeline-steps) - 1));
    max-width: calc(100% - 16px);
  }

  .process__timeline-steps {
    inset: 0 8px;
  }

  .process__timeline-step {
    width: 18px;
  }

  .process__timeline-dot {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .process__timeline-step--past .process__timeline-dot,
  .process__timeline-step--active .process__timeline-dot {
    width: 14px;
    height: 14px;
    border-width: 3px;
  }

  .events {
    padding: 56px 0;
  }

  .events .container {
    max-width: 100%;
  }

  .events__header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .events__tab {
    padding: 8px 16px;
    font-size: 13px;
  }

  .event-card {
    flex-wrap: wrap;
    padding: 14px;
    gap: 14px;
  }

  .event-card__thumb {
    width: 100%;
    height: 160px;
    order: -1;
  }

  .event-card__arrow {
    order: 1;
  }

  .footer {
    width: calc(100% - 32px);
    margin-top: 28px;
    padding: 40px 0 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__content .container {
    padding: 0 20px;
  }

  .footer__bottom {
    padding: 16px 16px 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 0 36px;
  }

  .hero .header {
    margin-bottom: 24px;
  }

  .hero__content {
    padding-top: 16px;
    margin-bottom: 40px;
  }

  .hero__title {
    font-size: 1.3rem;
  }

  .hero__banner-label {
    font-size: clamp(1.1rem, 6vw, 2rem);
  }

  .hero__banner-label--green {
    left: 2%;
  }

  .hero__banner-label--tech {
    right: 2%;
  }

  .hero__banner-video {
    width: 100%;
  }

  .logo__img {
    height: 34px;
  }

  .pill-btn {
    font-size: 13px;
    padding: 10px 12px 10px 10px;
  }

  .partners {
    padding: 56px 0;
  }

  .partners__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .partner-box {
    min-width: auto;
    padding: 16px 10px;
    gap: 10px;
  }

  .partner-box__icon {
    width: 24px;
    height: 24px;
  }

  .process__card {
    width: min(240px, calc(100% - 8px));
    bottom: 108px;
  }

  .process__stage {
    padding-top: 156px;
  }

  .process__timeline {
    height: 100px;
  }

  .about__cta {
    text-align: center;
  }

  .about__tags {
    top: 10%;
    gap: 10px;
  }

  .events__tabs {
    width: 100%;
  }

  .events__tab {
    flex: 1;
    text-align: center;
  }

  .events__view-all {
    width: 100%;
    justify-content: flex-start;
  }

  .footer {
    width: calc(100% - 24px);
    border-radius: var(--radius-lg);
  }
}
