@font-face {
  font-family: "Vazirmatn";
  src:
    url("/templates/icfp/assets/fonts/vazirmatn-var.woff2") format("woff2-variations"),
    url("/templates/icfp/assets/fonts/vazirmatn-var.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --icfp-primary: #071a3d;
  --icfp-blue: #123a79;
  --icfp-turquoise: #d4a63a;
  --icfp-white: #fafafa;
  --icfp-ui-gray: #f5f7fb;
  --icfp-light-gray: #dbe3ef;
  --icfp-gold: #d4a63a;
  --icfp-dark: #0a1530;
  --icfp-shadow: 0 12px 34px rgba(7, 26, 61, 0.1);
  --icfp-shadow-strong: 0 18px 48px rgba(7, 26, 61, 0.18);
  --section-gap-lg: 96px;
  --section-gap-md: 72px;
  --section-gap-sm: 48px;
  --section-padding-y: 80px;
  --container-width: 1180px;
  --icfp-rhythm: var(--section-padding-y);
  --icfp-card-radius: 16px;
  --font-body: 15px;
  --font-h1: 30px;
  --font-h2: 24px;
  --font-h3: 20px;
  --font-card-title: 18px;
  --font-large: 16px;
  --font-small: 14px;
  --font-caption: 13px;
  --font-menu: 15px;
  --font-button: 14px;
  --font-stat: 34px;
  --font-footer-title: 14px;
  --font-footer-link: 13px;
  --font-copyright: 12px;
  --icfp-btn-height: 46px;
  --icfp-btn-pad-x: 28px;
  --icfp-btn-gap: 10px;
  --icfp-btn-radius: 14px;
  --icfp-btn-min-width: 168px;
  --icfp-space-8: 8px;
  --icfp-space-12: 12px;
  --icfp-space-16: 16px;
  --icfp-space-20: 20px;
  --icfp-space-24: 24px;
  --icfp-space-28: 28px;
  --icfp-space-32: 32px;
  --icfp-space-48: 48px;
  --icfp-space-64: 64px;
  --icfp-space-80: 80px;
  --icfp-text-body: rgba(10, 21, 48, 0.75);
  --icfp-text-secondary: rgba(10, 21, 48, 0.55);
  --icfp-text-small: var(--font-small);
  --icfp-text-menu: var(--font-menu);
  --icfp-text-button: var(--font-button);
  --icfp-text-card: var(--font-body);
  --icfp-text-subtitle: var(--font-h3);
  --icfp-text-section: var(--font-h2);
  --icfp-text-hero-body: var(--font-large);
  --icfp-text-hero-subtitle: var(--font-h3);
  --icfp-text-hero-title: var(--font-h1);
  --icfp-text-stat: var(--font-stat);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--icfp-text-body);
  background: #fefdfe;
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: var(--font-body);
  line-height: 2;
}
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--icfp-blue); }
.icfp-container {
  width: 100%;
  max-width: calc(var(--container-width) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

.icfp-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.icfp-icon.ph-duotone,
.icfp-stat-icon.ph-duotone {
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
}
.ph-duotone.icfp-icon,
.ph-duotone.icfp-stat-icon {
  display: inline-block;
  line-height: 1.4;
  vertical-align: middle;
}
.icfp-icon-sm { font-size: .95rem; }
.icfp-icon-md { font-size: 1.1rem; }
.icfp-icon-accent { color: var(--icfp-turquoise); }
.icfp-footer .icfp-icon {
  margin-inline-end: .4rem;
  color: #9fb2d7;
  font-size: 1rem;
  transform: translateY(1px);
}

.icfp-header {
  background: transparent;
  color: var(--icfp-primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.icfp-header.is-sticky {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(228,232,242,.92);
  box-shadow: 0 12px 32px rgba(24, 44, 115, 0.08);
}
.icfp-header-row { display: flex; align-items: center; gap: 1.35rem; min-height: 92px; padding: 10px 0;
}
.icfp-logo { display: inline-flex; align-items: center; align-self: center; }
.icfp-logo-image { width: auto; max-width: 100%; height: 78px; object-fit: contain; display: block; }
.icfp-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.icfp-nav-list {
  list-style: none;
  display: flex;
  gap: 1.9rem;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.icfp-nav .nav-item { position: relative; }
.icfp-nav a {
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
  color: #0f172a;
  font-weight: 500;
  font-size: var(--icfp-text-menu);
  line-height: 1.8;
  display: inline-block;
  position: relative;
}
.icfp-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: -8px;
  height: 2px;
  background: #31479e;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.icfp-nav a:hover { color: #31479e; }
.icfp-nav a:hover::after,
.icfp-nav .active > a::after,
.icfp-nav .current > a::after { transform: scaleX(1); }
.icfp-header:not(.is-sticky) .icfp-nav a { color: #0f172a; }
.icfp-header:not(.is-sticky) .icfp-nav a:hover { color: #31479e; }
.icfp-header:not(.is-sticky) .icfp-nav a::after { background: #31479e; }
.icfp-header:not(.is-sticky) .icfp-mobile-toggle span { background: #0f172a; }
.icfp-header:not(.is-sticky) .icfp-header-actions .icfp-btn-primary {
  background: linear-gradient(135deg, #31479e 0%, #243a8e 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(49,71,158,.2);
}
.icfp-header:not(.is-sticky) .icfp-header-actions .icfp-btn-primary:hover {
  background: linear-gradient(135deg, #243a8e 0%, #182c73 100%);
  color: #fff;
}
.icfp-nav .dropdown-menu {
  display: none;
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + .85rem);
  background: transparent;
  border: 0;
  border-radius: 16px;
  min-width: 210px;
  padding: .35rem 0 0;
  z-index: 50;
  box-shadow: none;
}
.icfp-nav .dropdown-menu .dropdown-item {
  display: block;
  padding: .45rem 0;
  border-radius: 12px;
  border-bottom: 0;
  background: transparent;
}
.icfp-nav .dropdown-menu .dropdown-item:hover {
  background: transparent;
  color: #31479e;
}
.icfp-nav .dropdown:hover > .dropdown-menu { display: block; }
.icfp-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}
.icfp-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
}
.icfp-header-icon .icfp-icon {
  font-size: 1.25rem;
}
.icfp-header-lang {
  display: inline-flex;
  align-items: center;
  background: transparent;
}
.icfp-header-lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: var(--font-small);
  font-weight: 600;
  line-height: 1.8;
  padding: .15rem 1rem .15rem .15rem;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 11px) 52%, calc(100% - 6px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.icfp-header-lang-select:focus {
  outline: none;
}

.icfp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: var(--icfp-btn-gap);
  min-height: var(--icfp-btn-height);
  min-width: var(--icfp-btn-min-width);
  padding: 0 var(--icfp-btn-pad-x);
  border-radius: var(--icfp-btn-radius);
  font-weight: 600;
  font-size: var(--icfp-text-button);
  line-height: 1.8;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.icfp-btn:hover { transform: translateY(-1px); box-shadow: var(--icfp-shadow); }
.icfp-btn-primary { background: var(--icfp-turquoise); color: var(--icfp-dark); }
.icfp-header-actions .icfp-btn-primary {
  min-height: var(--icfp-btn-height);
  min-width: var(--icfp-btn-min-width);
  padding-inline: var(--icfp-btn-pad-x);
  border-radius: 16px;
  background: linear-gradient(135deg, #31479e 0%, #243a8e 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(49,71,158,.24);
}
.icfp-header-actions .icfp-btn-primary:hover {
  background: linear-gradient(135deg, #243a8e 0%, #182c73 100%);
  color: #fff;
}
.icfp-header:not(.is-sticky) .icfp-header-icon,
.icfp-header:not(.is-sticky) .icfp-header-lang-select {
  color: #0f172a;
}
.icfp-btn-secondary { background: transparent; border-color: var(--icfp-light-gray); color: var(--icfp-white); }
.icfp-btn .icfp-icon,
.icfp-about-company-btn i {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}
.icfp-text-link { color: var(--icfp-blue); font-weight: 600; }
.icfp-chip { display: inline-flex; padding: 4px var(--icfp-space-8); background: #dbeafe; color: #1e3a8a; border-radius: 999px; font-size: var(--font-caption); }

.icfp-hero {
  background-color: #f7f8fc;
  background-image: linear-gradient(90deg, rgba(240, 242, 249, 0) 0%, rgba(240, 242, 249, .42) 43%, rgba(240, 242, 249, .82) 48%, rgba(240, 242, 249, .96) 55%, rgba(240, 242, 249, 1) 60%), url(/templates/icfp/assets/hero/hero-bg.png);
  background-repeat: no-repeat;
  background-position: right center, left center;
  background-size: 100% 100%, 58% 100%;
  color: #1d2433;
  padding: 0 0 120px;
  overflow: hidden;
}
.icfp-hero-grid {
  display: flex;
    justify-content: flex-start;
    align-items: center;
}
.icfp-hero-content {
  width: min(100%, 560px);
  margin-inline-start: auto;
  margin-inline-end: 0;
  padding-top: 7.5rem;
}
.icfp-kicker {
  color: rgba(16,24,40,.72);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: .75rem;
}
.icfp-hero h1 {
  margin: 0 0 1rem;
  font-size: var(--icfp-text-hero-title);
  max-width: none;
  line-height: 1.8;
  font-weight: 800;
  color: #101828;
}
.icfp-hero h1 .icfp-hero-accent {
  display: block;
  color: #31479e;
}
.icfp-hero-subhead {
  margin: 0 0 var(--icfp-space-16);
  color: #31479e;
  font-size: var(--icfp-text-hero-subtitle);
  line-height: 1.8;
  font-weight: 800;
}
.icfp-hero p {
  color: #4b5565;
  font-size: var(--icfp-text-hero-body);
  line-height: 2.1;
  font-weight: 400;
  max-width: 640px;
  margin: 0;
  text-align: justify;
}
.icfp-hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; justify-content: flex-start; }
.icfp-hero .icfp-btn-primary {
  background: linear-gradient(135deg, #31479e 0%, #243a8e 100%);
  color: #fff;
  min-width: 190px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(49,71,158,.2);
}
.icfp-hero .icfp-btn-primary:hover {
  background: linear-gradient(135deg, #243a8e 0%, #182c73 100%);
  color: #fff;
}
.icfp-hero .icfp-btn-secondary {
  background: rgba(255,255,255,.84);
  border-color: #e4e8f2;
  color: #1d2433;
  min-width: 190px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(24,44,115,.08);
}
.icfp-hero .icfp-btn-secondary:hover {
  background: #fff;
  border-color: #d5ddee;
  color: #31479e;
}

.icfp-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: -58px;
  margin-bottom: var(--section-gap-md);
  background: #fafafa;
  border: 1px solid #dbe3ef;
  border-radius: var(--icfp-card-radius);
  box-shadow: 0 10px 26px rgba(7, 26, 61, 0.1);
  overflow: hidden;
}
.icfp-stat-card,
.icfp-panel,
.icfp-pillar-card,
.icfp-dept-card,
.icfp-timeline li {
  background: #fafafa;
  border-radius: .92rem;
  border: 1px solid var(--icfp-light-gray);
  box-shadow: var(--icfp-shadow);
}
.icfp-stat-card {
  padding: var(--icfp-space-24) var(--icfp-space-16);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--icfp-space-16);
  text-align: center;
  min-height: 108px;
}
.icfp-stat-card + .icfp-stat-card {
  border-inline-start: 1px solid #e4eaf4;
}
.icfp-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  color: #6f86ac;
  background: #eef3fb;
  font-size: 1.8rem;
}
.icfp-stat-text {
  display: grid;
  gap: var(--icfp-space-8);
}
.icfp-stat-card strong { display: block; color: #123a79; font-size: var(--icfp-text-stat); letter-spacing: 0; line-height: 1.1; font-weight: 700; }
.icfp-stat-card span { color: #5e708d; font-size: var(--font-small); font-weight: 400; line-height: 1.9; }

.icfp-section { padding: var(--section-padding-y) 0; }
.icfp-section-head h2 { margin: 0 0 var(--icfp-space-16); font-size: var(--icfp-text-section); line-height: 1.8; font-weight: 700; }
.icfp-section-head p { margin: 0; color: var(--icfp-text-secondary); max-width: 700px; font-size: var(--font-large); line-height: 2.1; font-weight: 400; }
.icfp-dept-grid,
.icfp-pillar-grid,
.icfp-list-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--icfp-space-32); }
.icfp-pillar-card,
.icfp-panel,
.icfp-dept-card {
  position: relative;
  border: 1px solid #d5dfef;
  border-top: 2px solid #123a79;
  border-radius: .9rem;
  box-shadow: 0 4px 14px rgba(7,26,61,.05);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--icfp-space-16);
  align-items: start;
  min-height: 132px;
}
.icfp-dept-card:hover {
  transform: translateY(-3px);
  border-color: #d4a63a;
  border-top-color: #d4a63a;
  box-shadow: 0 12px 24px rgba(7,26,61,.12);
}
.icfp-dept-card h3 { margin: 0 0 var(--icfp-space-8); font-size: var(--font-card-title); line-height: 1.8; color: #0b2a59; font-weight: 600; }
.icfp-dept-card p { margin: 0; color: var(--icfp-text-secondary); font-size: var(--icfp-text-card); line-height: 2; font-weight: 400; padding-left: 10px;
}
.icfp-dept-card a {
  display: inline-flex;
  align-items: center;
  gap: var(--icfp-space-8);
  margin-top: auto;
  color: #2563eb;
  font-weight: 600;
  font-size: var(--icfp-text-button);
  margin-bottom: 10px;
  justify-content: end;
  margin-left: 25px;
}
.icfp-dept-card:hover h3,
.icfp-dept-card:hover .icfp-dept-icon { color: #d4a63a; }
.icfp-departments-intro {
  max-width: 820px;
  margin: 0 auto clamp(2rem, 3vw, 2.75rem);
  display: grid;
  gap: 1rem;
  color: #475569;
  font-size: 1rem;
  line-height: 2.05;
  text-align: center;
}
.icfp-departments-intro p {
  margin: 0;
}
html[lang="fa"] .icfp-departments-intro,
html[lang="ar"] .icfp-departments-intro {
  font-family: "Vazirmatn", system-ui, sans-serif;
}
.icfp-page-content--departments {
  padding-top: 0;
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}
.icfp-departments-page {
  max-width: 920px;
  margin-inline: auto;
}
.icfp-departments-lead {
  margin: 0 0 clamp(2rem, 3vw, 2.75rem);
  color: #64748b;
  font-size: 1.02rem;
  line-height: 2;
  text-align: center;
}
.icfp-departments-list {
  display: grid;
  gap: 1rem;
}
.icfp-department-unit {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(18, 58, 121, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 37, 88, 0.04);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.icfp-department-unit:hover {
  border-color: rgba(200, 168, 93, 0.35);
  box-shadow: 0 12px 28px rgba(15, 37, 88, 0.07);
}
.icfp-department-unit__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
  color: #123a79;
  font-size: 1.55rem;
}
.icfp-department-unit__body h3 {
  margin: 0 0 .45rem;
  color: #123a79;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}
.icfp-department-unit__body p {
  margin: 0;
  color: #5b6b84;
  font-size: .94rem;
  line-height: 1.95;
}
html[lang="fa"] .icfp-departments-lead,
html[lang="fa"] .icfp-department-unit__body p,
html[lang="ar"] .icfp-departments-lead,
html[lang="ar"] .icfp-department-unit__body p {
  font-family: "Vazirmatn", system-ui, sans-serif;
}
@media (max-width: 575.98px) {
  .icfp-department-unit {
    grid-template-columns: 2.75rem 1fr;
    gap: .9rem;
    padding: 1.1rem 1rem;
  }
  .icfp-department-unit__icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.35rem;
  }
  .icfp-department-unit__body h3 {
    font-size: .98rem;
  }
  .icfp-department-unit__body p {
    font-size: .88rem;
    line-height: 1.85;
  }
}
/* .icfp-dept-card:hover .icfp-dept-badge { background: #123a79; } */
.icfp-dept-badge {
  position: absolute;
  left: .55rem;
  right: auto;
  bottom: 0;
  min-width: 32px;
  /* height: 28px; */
  padding: 0 .35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 700;
  /* background: #123a79; */
  color: #123a7908;
  border-radius: .5rem;
  z-index: 0;
}
.icfp-dept-icon-wrap {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icfp-dept-icon {
  font-size: 1.9rem;
  line-height: 1;
  color: #123a79;
}
.icfp-dept-content {
  padding-top: var(--icfp-space-16);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.icfp-link-icon {
  font-size: .86rem;
  line-height: 1;
  transform: translateY(1px);
}
.icfp-dept-head {
  text-align: center;
  margin-bottom: var(--icfp-space-24);
}

/* Home ecosystem cards: scoped to the FA home builder section only. */
.icfp-ecosystem-band {
  padding-top: 24px;
  padding-bottom: 88px;
}
.icfp-ecosystem-band .icfp-dept-head {
  margin-bottom: 26px;
}
.icfp-ecosystem-band .icfp-section-head p {
  display: none;
}
.icfp-section-head h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  color: #1f3f96;
  font-size: var(--font-h2);
  font-weight: 700;
  line-height: 1.6;
}
.icfp-section-head h2::before,
.icfp-section-head h2::after {
  content: "";
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200,168,93,0) 0%, #c8a85d 100%);
  position: relative;
}
.icfp-section-head h2::after {
  transform: scaleX(-1);
}
.icfp-ecosystem-band .icfp-dept-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.icfp-ecosystem-band .icfp-dept-card {
  --eco-accent: #31479e;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 240px;
  padding: 22px 16px 18px;
  border: 1px solid #e7ebf3;
  border-bottom: 3px solid var(--eco-accent);
  border-top: 1px solid #e7ebf3;
  border-radius: var(--icfp-card-radius);
  box-shadow: 0 10px 28px rgba(24, 44, 115, 0.08);
  background: #fff;
  text-align: center;
  align-content: start;
  overflow: hidden;
}
.icfp-ecosystem-band .icfp-dept-card:hover {
  transform: translateY(-4px);
  border-color: #dfe5f0;
  border-top-color: #dfe5f0;
  border-bottom-color: var(--eco-accent);
  box-shadow: 0 16px 34px rgba(24, 44, 115, 0.12);
}
.icfp-ecosystem-band .icfp-dept-badge {
  display: none;
}
.icfp-ecosystem-band .icfp-dept-icon-wrap {
  width: auto;
  height: auto;
  margin: 0 auto 14px;
}
.icfp-ecosystem-band .icfp-dept-icon {
  font-size: 2.3rem;
  color: #1f3f96;
}
.icfp-ecosystem-band .icfp-dept-content {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.icfp-ecosystem-band .icfp-dept-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.icfp-ecosystem-band .icfp-dept-card p {
  margin: 0 0 14px;
  padding-left: 0;
  color: #1f2937;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.95;
}
.icfp-ecosystem-band .icfp-dept-card a {
  margin: auto 0 0;
  justify-content: center;
  color: #1f3f96;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}
.icfp-ecosystem-band .icfp-link-icon {
  font-size: .82rem;
  transform: translateY(1px);
}
.icfp-ecosystem-band .icfp-dept-card:hover h3,
.icfp-ecosystem-band .icfp-dept-card:hover .icfp-dept-icon,
.icfp-ecosystem-band .icfp-dept-card:hover a {
  color: #1f3f96;
}
.icfp-ecosystem-band .icfp-dept-card.is-blue { --eco-accent: #2f5fe3; }
.icfp-ecosystem-band .icfp-dept-card.is-teal { --eco-accent: #17b892; }
.icfp-ecosystem-band .icfp-dept-card.is-navy { --eco-accent: #203f98; }
.icfp-ecosystem-band .icfp-dept-card.is-purple { --eco-accent: #b35ae2; }
.icfp-ecosystem-band .icfp-dept-card.is-gold { --eco-accent: #f3aa11; }
.icfp-ecosystem-band .icfp-dept-card.is-red { --eco-accent: #ef4444; }
.icfp-ecosystem-band .icfp-dept-card.is-green { --eco-accent: #8eb83e; }

.icfp-portfolio-band {
  width: 100%;
  background: transparent;
  padding-top: 32px;
  padding-bottom: 96px;
  position: relative;
  overflow: visible;
}

.icfp-portfolio-band .icfp-container {
  position: relative;
  z-index: 1;
}

.icfp-portfolio-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  direction: rtl;
  position: relative;
}
.icfp-portfolio-copy {
  color: #18357f;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  direction: rtl;
  align-self: stretch;
  position: relative;
}
.icfp-portfolio-actions {
  display: flex;
  justify-content: center;
}
.icfp-portfolio-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #173b8c;
  transition: color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
}
.icfp-portfolio-more i {
  font-size: 1rem;
  transform: translateY(1px);
  transition: transform .2s ease;
}
.icfp-portfolio-more:hover {
  color: #2347ab;
  transform: translateX(-4px);
  background: #fff;
  border-color: rgba(36, 71, 171, 0.22);
}
.icfp-portfolio-more:hover i {
  transform: translate(-4px, 1px);
}
.icfp-portfolio-stage .icfp-portfolio-block {
  margin: 0;
}
.icfp-portfolio-stage {
  align-self: stretch;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.icfp-portfolio-block {
  position: relative;
  padding-inline: 0;
}
.icfp-portfolio-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
  direction: rtl;
}
.icfp-portfolio-slide {
  min-width: 0;
}
.icfp-portfolio-card {
  position: relative;
  overflow: hidden;
  display: block;
  height: 100%;
  border-radius: var(--icfp-card-radius);
  border: 1px solid rgba(219, 226, 242, 0.98);
  background: #f4f7fd;
  box-shadow:
    0 26px 46px rgba(16, 38, 91, 0.08),
    0 8px 18px rgba(16, 38, 91, 0.05);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  isolation: isolate;
}
.icfp-portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.55), transparent 32%),
    radial-gradient(circle at 100% 0, rgba(204, 180, 102, 0.12), transparent 26%);
  opacity: .55;
  pointer-events: none;
  z-index: 1;
}
.icfp-portfolio-card:hover {
  transform: translateY(-12px);
  border-color: rgba(200, 178, 114, 0.46);
  box-shadow:
    0 42px 78px rgba(16, 38, 91, 0.13),
    0 14px 28px rgba(16, 38, 91, 0.08);
}
.icfp-portfolio-media {
  position: relative;
  display: block;
  aspect-ratio: 1.618 / 1;
  overflow: hidden;
  border-radius: inherit;
  margin: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.3), transparent 36%),
    linear-gradient(180deg, #f7f9fd 0%, #e7edf7 100%);
  z-index: 0;
}
.icfp-portfolio-media::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 54%;
  background:
    linear-gradient(to bottom,
      rgba(7, 19, 49, 0) 0%,
      rgba(7, 19, 49, 0.04) 24%,
      rgba(7, 19, 49, 0.18) 52%,
      rgba(7, 19, 49, 0.56) 82%,
      rgba(7, 19, 49, 0.84) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  z-index: 2;
}
.icfp-portfolio-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 29, 68, 0.03), rgba(11, 29, 68, 0) 24%),
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.28), transparent 44%);
  z-index: 1;
  pointer-events: none;
}
.icfp-portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, filter .35s ease;
  filter: saturate(1.02) contrast(1.02);
}
.icfp-portfolio-card:hover .icfp-portfolio-media img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04);
}
.icfp-portfolio-card:hover .icfp-portfolio-media::after {
  opacity: 1;
}
.icfp-portfolio-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  min-height: 0;
  padding: 1.3rem 1.35rem 1.55rem;
  text-align: center;
  color: #fff;
  z-index: 3;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.icfp-portfolio-card:hover .icfp-portfolio-body {
  opacity: 1;
  transform: translateY(0);
}
.icfp-portfolio-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .12rem;
  padding: .42rem .82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: .74rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.icfp-portfolio-title {
  display: block;
  color: #fff;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.48;
  text-wrap: balance;
  text-shadow: 0 8px 24px rgba(5, 14, 37, 0.35);
}
.icfp-portfolio-summary {
  display: none;
}

.icfp-portfolio-catalog {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  scroll-margin-top: 124px;
}
.icfp-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: .7rem;
}
.icfp-portfolio-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid rgba(33, 63, 152, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: #26418d;
  border-radius: 999px;
  padding: .62rem .92rem;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(18, 39, 84, 0.045);
  transition: all .24s ease;
  white-space: nowrap;
}
.icfp-portfolio-filter span {
  display: block;
}
.icfp-portfolio-filter small {
  min-width: 1.18rem;
  height: 1.18rem;
  padding-inline: .22rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 71, 159, 0.08);
  color: currentColor;
  font-size: .6rem;
  font-weight: 700;
  line-height: 1;
}
.icfp-portfolio-filter:hover,
.icfp-portfolio-filter.is-active {
  background: linear-gradient(135deg, #24479f, #1c367a);
  border-color: rgba(36, 71, 159, 0.9);
  color: #fff;
  box-shadow: 0 18px 30px rgba(25, 55, 127, 0.18);
}
.icfp-portfolio-filter:hover small,
.icfp-portfolio-filter.is-active small {
  background: rgba(255,255,255,.16);
}
.icfp-portfolio-more-menu {
  position: relative;
}
.icfp-portfolio-filter-more {
  cursor: pointer;
}
.icfp-portfolio-filter-more i {
  font-size: .8rem;
  transition: transform .22s ease;
}
.icfp-portfolio-more-menu.is-open .icfp-portfolio-filter-more i {
  transform: rotate(180deg);
}
.icfp-portfolio-more-panel {
  position: absolute;
  top: calc(100% + .55rem);
  inset-inline-end: 0;
  min-width: 240px;
  max-width: min(420px, 82vw);
  padding: .55rem;
  border-radius: 1rem;
  border: 1px solid rgba(198, 211, 235, .82);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 46px rgba(15, 37, 88, .12);
  display: none;
  grid-template-columns: 1fr;
  gap: .35rem;
  z-index: 20;
}
.icfp-portfolio-more-menu.is-open .icfp-portfolio-more-panel {
  display: grid;
}
.icfp-portfolio-more-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .7rem .8rem;
  border-radius: .8rem;
  color: #26418d;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
}
.icfp-portfolio-more-link small {
  flex: 0 0 auto;
  min-width: 1.18rem;
  height: 1.18rem;
  padding-inline: .22rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 71, 159, 0.08);
  color: currentColor;
  font-size: .6rem;
  font-weight: 700;
  line-height: 1;
}
.icfp-portfolio-more-link:hover,
.icfp-portfolio-more-link.is-active {
  background: rgba(36, 71, 159, 0.08);
  color: #173b8c;
}
.icfp-portfolio-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}
.icfp-portfolio-catalog-item.is-hidden {
  display: none;
}
.icfp-portfolio-empty {
  grid-column: 1 / -1;
  padding: 1.35rem 1.2rem;
  border: 1px dashed #d5dfef;
  border-radius: 1rem;
  background: #fbfdff;
  color: #6e7d96;
  text-align: center;
}
.icfp-portfolio-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2rem;
}
.icfp-portfolio-page {
  min-width: 2.55rem;
  height: 2.55rem;
  padding-inline: .8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 63, 152, 0.12);
  background: rgba(255,255,255,.88);
  color: #26418d;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(18, 39, 84, 0.05);
  transition: all .22s ease;
}
.icfp-portfolio-page:hover,
.icfp-portfolio-page.is-current {
  background: linear-gradient(135deg, #24479f, #1c367a);
  border-color: rgba(36, 71, 159, 0.9);
  color: #fff;
  box-shadow: 0 18px 30px rgba(25, 55, 127, 0.18);
}
.icfp-portfolio-page-nav i {
  font-size: .95rem;
}
.icfp-portfolio-page.is-disabled {
  opacity: .42;
  pointer-events: none;
  box-shadow: none;
}
.icfp-portfolio-page-dots {
  color: #8fa0bb;
  font-size: 1rem;
  font-weight: 700;
  padding-inline: .15rem;
}

@media (max-width: 1120px) {
  .icfp-portfolio-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .icfp-portfolio-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .icfp-portfolio-band {
    padding: 2.2rem 0;
  }
  .icfp-portfolio-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
  .icfp-portfolio-title {
    font-size: 1.04rem;
  }
  .icfp-portfolio-more {
    font-size: .92rem;
  }
}
@media (max-width: 680px) {
  .icfp-portfolio-copy {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-inline: 0;
  }
  .icfp-portfolio-copy h2 {
    text-align: center;
    font-size: 1.7rem;
  }
  .icfp-portfolio-more {
    justify-content: center;
  }
  .icfp-portfolio-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .icfp-portfolio-catalog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .icfp-portfolio-filters {
    gap: .55rem;
  }
  .icfp-portfolio-filter {
    padding: .58rem .88rem;
    font-size: .78rem;
  }
  .icfp-portfolio-filter small {
    min-width: 1.12rem;
    height: 1.12rem;
    font-size: .58rem;
  }
  .icfp-portfolio-more-panel {
    min-width: 220px;
    max-width: min(320px, calc(100vw - 32px));
  }
  .icfp-portfolio-more-link {
    font-size: .8rem;
    padding: .66rem .74rem;
  }
  .icfp-portfolio-pagination {
    gap: .45rem;
  }
  .icfp-portfolio-page {
    min-width: 2.3rem;
    height: 2.3rem;
    font-size: .86rem;
  }
}

.icfp-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.icfp-gallery-modal.is-open {
  display: block;
}
.icfp-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 11, 28, .78);
}
.icfp-gallery-dialog {
  position: relative;
  width: min(980px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icfp-gallery-image {
  width: 100%;
  max-height: calc(100vh - 2rem);
  object-fit: contain;
  border-radius: .8rem;
  border: 1px solid rgba(196, 214, 246, .35);
  background: #051634;
}
.icfp-gallery-close,
.icfp-gallery-nav {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(6, 24, 56, .85);
  cursor: pointer;
}
.icfp-gallery-close {
  top: .45rem;
  inset-inline-end: .45rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}
.icfp-gallery-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 58px;
  border-radius: .6rem;
  font-size: 1.4rem;
}
.icfp-gallery-nav.is-prev { inset-inline-start: .5rem; }
.icfp-gallery-nav.is-next { inset-inline-end: .5rem; }
body.icfp-gallery-open { overflow: hidden; }
.icfp-dept-head h2 {
  margin: 0 0 var(--icfp-space-24);
}
.icfp-dept-head p {
  margin: 0 auto;
  max-width: 700px;
  font-size: var(--font-large);
  font-weight: 400;
  line-height: 2.1;
}
.icfp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--icfp-space-48); }

.icfp-contact-page {
  display: grid;
  gap: clamp(1.75rem, 2.8vw, 2.75rem);
}
.icfp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
  align-items: stretch;
}
.icfp-contact-info,
.icfp-contact-form-wrap {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  border: 1px solid rgba(214, 223, 243, 0.92);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248, 251, 255, .96)),
    radial-gradient(circle at 100% 0%, rgba(212, 166, 58, .08), transparent 42%);
  box-shadow: 0 18px 42px rgba(20, 43, 111, 0.08);
  min-height: auto;
}
.icfp-contact-info-head,
.icfp-contact-form-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
  width: 100%;
}
.icfp-contact-form-head-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.icfp-contact-info-head h2,
.icfp-contact-form-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--icfp-dark);
}
.icfp-contact-form-head p {
  margin: 0;
  color: #64748b;
  font-size: .95rem;
  line-height: 1.75;
}
.icfp-contact-info-icon,
.icfp-contact-form-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #17388d 0%, #1b47ab 100%);
  box-shadow: 0 12px 24px rgba(20, 43, 111, 0.18);
  font-size: 1.45rem;
}
.icfp-contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  width: 100%;
}
.icfp-contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(23, 56, 141, 0.04);
  border: 1px solid rgba(214, 223, 243, 0.75);
}
.icfp-contact-info-list li > div {
  flex: 1 1 auto;
  min-width: 0;
}
.icfp-contact-info-list i {
  flex: 0 0 auto;
  font-size: 1.35rem;
  color: var(--icfp-blue);
  margin-top: 2px;
}
.icfp-contact-info-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--icfp-dark);
  font-size: .92rem;
  line-height: 1.5;
}
.icfp-contact-info-list span,
.icfp-contact-info-list a {
  display: block;
  color: #475569;
  line-height: 1.75;
  text-decoration: none;
  word-break: break-word;
}
.icfp-contact-info-list a:hover {
  color: var(--icfp-blue);
}
.icfp-contact-form-shell {
  width: 100%;
}
.icfp-contact-form {
  display: grid;
  gap: 1rem;
  width: 100%;
}
.icfp-contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.icfp-contact-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.icfp-contact-field label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--icfp-dark);
  line-height: 1.5;
}
.icfp-contact-field input,
.icfp-contact-field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.icfp-contact-submit {
  margin-top: .25rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}
.icfp-contact-map-section {
  display: grid;
  gap: 1rem;
}
.icfp-contact-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.icfp-contact-map-head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--icfp-dark);
}
.icfp-contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: rgba(23, 56, 141, 0.08);
  color: var(--icfp-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.icfp-contact-map-link:hover {
  background: var(--icfp-blue);
  color: #fff;
  transform: translateY(-1px);
}
.icfp-contact-map-frame {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(214, 223, 243, 0.92);
  background: #e8edf5;
  box-shadow:
    0 28px 56px rgba(20, 43, 111, 0.14),
    inset 0 1px 0 rgba(255,255,255,.65);
}
.icfp-contact-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 29, 66, .03), rgba(7, 29, 66, .12)),
    radial-gradient(circle at 18% 18%, rgba(212, 166, 58, .12), transparent 36%);
  pointer-events: none;
  z-index: 401;
}
.icfp-contact-map-canvas {
  width: 100%;
  height: 420px;
  border: 0;
  background: #e8edf5;
}
.icfp-contact-map-frame .leaflet-container {
  font-family: "Vazirmatn", system-ui, sans-serif;
  background: #e8edf5;
}
.icfp-contact-map-frame .leaflet-control-zoom {
  border: 1px solid rgba(7,29,66,.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(2, 10, 24, 0.14);
  z-index: 500;
}
.icfp-contact-map-frame .leaflet-control-zoom a {
  width: 44px;
  height: 44px;
  background: #09236a;
  color: #fafafa;
  border-bottom-color: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-indent: 0;
}
.icfp-contact-map-frame .leaflet-control-zoom a:hover {
  background: #0b2878;
  color: var(--icfp-gold);
}
.icfp-contact-map-frame .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255,255,255,.82);
  border-radius: 8px 0 0 0;
  padding: 2px 6px;
}
.icfp-contact-map-frame .leaflet-control-attribution a {
  color: #475569;
}

.icfp-panel { transition: transform .25s ease, box-shadow .25s ease; }
.icfp-panel:hover { transform: translateY(-3px); box-shadow: var(--icfp-shadow-strong); }
.icfp-panel ul { margin: 0; padding-inline-start: 1rem; display: grid; gap: var(--icfp-space-8); }
.icfp-panel li::marker { color: var(--icfp-blue); }

.icfp-stats-ribbon-section {
  margin-top: -8px;
  margin-bottom: 52px;
}
.icfp-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(214, 223, 243, 0.84);
  background: linear-gradient(135deg, #17388d 0%, #1b47ab 100%);
  box-shadow: 0 18px 42px rgba(20, 43, 111, 0.18);
}
.icfp-stats-ribbon-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 18px 16px;
  color: #fff;
  text-align: center;
}
.icfp-stats-ribbon-item + .icfp-stats-ribbon-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.icfp-stats-ribbon-icon {
  flex: 0 0 auto;
  font-size: 1.7rem;
  color: rgba(255,255,255,.92);
}
.icfp-stats-ribbon-copy {
  display: grid;
  gap: 3px;
  justify-items: center;
}
.icfp-stats-ribbon-copy strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.02em;
}
.icfp-stats-ribbon-copy span {
  display: block;
  color: rgba(255,255,255,.86);
  font-size: .78rem;
  line-height: 1.6;
  font-weight: 500;
}

.icfp-blog-section {
  padding-top: 56px;
  padding-bottom: 88px;
}
.icfp-blog-section--page {
  padding-top: 0;
  padding-bottom: 72px;
}
.icfp-blog-section-head {
  margin-bottom: clamp(28px, 3vw, 40px);
  text-align: center;
}
.icfp-blog-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3vw, 40px);
}
.icfp-blog-more {
  min-width: 220px;
}
.icfp-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 32px);
}
.icfp-blog-grid--archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.icfp-blog-card {
  position: relative;
  min-width: 0;
}
.icfp-blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
.icfp-blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: #eef2f8;
  box-shadow: 0 10px 28px rgba(15, 37, 88, 0.06);
}
.icfp-blog-card-media.is-fallback {
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(238,242,248,.95) 100%),
    radial-gradient(circle at 50% 42%, rgba(18,58,121,.08) 0%, transparent 58%);
}
.icfp-blog-card-media.is-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/templates/icfp/assets/logo/w-logo.png') center / 42% auto no-repeat;
  opacity: .28;
}
.icfp-blog-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}
.icfp-blog-card:hover .icfp-blog-card-media img {
  transform: scale(1.04);
}
.icfp-blog-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  flex: 1 1 auto;
  padding-inline: .15rem;
}
.icfp-blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  color: #7b8aa3;
  font-size: .78rem;
  line-height: 1.5;
  font-weight: 500;
}
.icfp-blog-card-type {
  color: #c8a85d;
  font-weight: 700;
  letter-spacing: .02em;
}
.icfp-blog-card-dot,
.icfp-insight-hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c7d2e3;
  flex: 0 0 auto;
}
.icfp-blog-card-date {
  color: #8a99b3;
}
.icfp-blog-card-body h3 {
  margin: 0;
  color: #123a79;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .22s ease;
}
.icfp-blog-card:hover .icfp-blog-card-body h3 {
  color: #0b2a59;
}
.icfp-blog-card-summary {
  margin: 0;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.icfp-blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: .35rem;
  color: #2563eb;
  font-size: .84rem;
  font-weight: 600;
  transition: gap .22s ease, color .22s ease;
}
.icfp-blog-card-read i {
  font-size: .95rem;
  transition: transform .22s ease;
}
.icfp-blog-card:hover .icfp-blog-card-read {
  color: #123a79;
  gap: .65rem;
}
.icfp-blog-card:hover .icfp-blog-card-read i {
  transform: translateX(-3px);
}
html[dir="ltr"] .icfp-blog-card-read i {
  transform: rotate(180deg);
}
html[dir="ltr"] .icfp-blog-card:hover .icfp-blog-card-read i {
  transform: rotate(180deg) translateX(-3px);
}
.icfp-blog-empty {
  padding: 2rem 1.4rem;
  border: 1px dashed rgba(18, 58, 121, .16);
  border-radius: 1rem;
  background: rgba(248, 250, 255, .72);
  color: #6e7d96;
  text-align: center;
}
.icfp-blog-pagination {
  margin-top: clamp(28px, 3vw, 40px);
}
.icfp-page-content--insights {
  padding-top: 0;
}
.icfp-page-content--insights .icfp-blog-archive {
  padding-top: 0;
}
.icfp-page-with-unified-hero .icfp-about-hero {
  display: none;
}
.icfp-page-with-unified-hero .icfp-about-builder > .icfp-about-section:first-of-type {
  padding-top: 0;
}
.icfp-page-content--about {
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
}
.icfp-page-content--insight {
  padding-top: 0;
  padding-bottom: clamp(4rem, 6vw, 6rem);
}
.icfp-insight-hero__type,
.icfp-page-hero-kicker {
  margin: 0;
  color: #c8a85d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.icfp-page-hero-shell--article {
  max-width: 780px;
  justify-items: start;
  text-align: start;
  gap: .85rem;
  min-height: 0;
}
.icfp-page-hero--article {
  padding-bottom: 1.5rem;
}
.icfp-insight-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  color: #64748b;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .22s ease, gap .22s ease;
}
.icfp-insight-back:hover {
  color: #123a79;
  gap: .65rem;
}
.icfp-insight-back i {
  font-size: 1rem;
}
html[dir="ltr"] .icfp-insight-back i {
  transform: rotate(180deg);
}
.icfp-insight-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  color: #8a99b3;
  font-size: .88rem;
  font-weight: 500;
}
.icfp-page-hero-shell--article h1 {
  text-align: inherit;
}
.icfp-insight-article {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}
.icfp-insight-article__cover {
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 37, 88, .1);
}
.icfp-insight-article__cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.icfp-insight-article__prose {
  color: #31415f;
  font-size: 1rem;
  line-height: 2.05;
}
.icfp-insight-article__prose > *:first-child {
  margin-top: 0;
}
.icfp-insight-article__prose > *:last-child {
  margin-bottom: 0;
}
.icfp-insight-article__prose h2,
.icfp-insight-article__prose h3,
.icfp-insight-article__prose h4 {
  color: #123a79;
  line-height: 1.55;
  margin: 2rem 0 .85rem;
}
.icfp-insight-article__prose p {
  margin: 0 0 1rem;
}
.icfp-insight-article__prose ul,
.icfp-insight-article__prose ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
}
.icfp-insight-article__prose img {
  max-width: 100%;
  height: auto;
  border-radius: .85rem;
}
.icfp-insight-article__prose a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icfp-blog-archive {
  padding-top: 0;
  padding-bottom: 0;
}
.icfp-clients-section {
  padding-top: 24px;
  padding-bottom: 72px;
}
.icfp-clients-head {
  text-align: center;
  margin-bottom: var(--icfp-space-32);
}
.icfp-clients-head h2 {
  text-align: center;
}
.icfp-clients-slider {
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  direction: ltr;
}
.icfp-clients-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform .75s ease;
}
.icfp-client-logo-item {
  flex: 0 0 auto;
  width: 172px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 58, 121, 0.08);
}
.icfp-client-logo-item img {
  display: block;
  width: 100%;
  max-width: 136px;
  max-height: 54px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(.2) contrast(1.05) opacity(.78);
  transition: filter .24s ease, opacity .24s ease, transform .24s ease;
}
.icfp-client-logo-item:hover img {
  filter: grayscale(0) saturate(.9) contrast(1) opacity(1);
  transform: translateY(-2px);
}

.icfp-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--icfp-space-32);
  counter-reset: step;
}
.icfp-timeline li {
  padding: var(--icfp-space-24);
  counter-increment: step;
  position: relative;
  overflow: hidden;
  font-size: var(--icfp-text-card);
  line-height: 1.9;
}
.icfp-timeline li::before {
  content: counter(step);
  display: inline-flex;
  width: 1.86rem;
  height: 1.86rem;
  border-radius: 50%;
  background: var(--icfp-primary);
  color: #fafafa;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: var(--icfp-space-16);
}

.icfp-contract-card {
  background: #0b1f3b;
  color: #fafafa;
  border-radius: 1rem;
  padding: var(--icfp-space-32);
  box-shadow: var(--icfp-shadow-strong);
}
.icfp-contract-card p { color: #dbe6ff; font-size: var(--font-large); line-height: 2.1; font-weight: 400; }
.icfp-cta { background: var(--icfp-dark); color: #fafafa; }

.icfp-form { display: grid; gap: var(--icfp-space-16); }
.icfp-form input,
.icfp-form textarea {
  width: 100%;
  border: 1px solid #fafafa33;
  border-radius: .58rem;
  background: #fafafa14;
  color: #fafafa;
  padding: var(--icfp-space-16);
  font-family: inherit;
  font-size: var(--icfp-text-card);
  line-height: 1.9;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.icfp-form input:focus,
.icfp-form textarea:focus,
.icfp-form-light input:focus,
.icfp-form-light textarea:focus {
  outline: none;
  border-color: var(--icfp-turquoise);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.2);
}
.icfp-form input::placeholder,
.icfp-form textarea::placeholder { color: #e2e8f0; }
.icfp-form-light input,
.icfp-form-light textarea { background: #fafafa; color: var(--icfp-dark); border-color: var(--icfp-light-gray); }
.icfp-form-light input::placeholder,
.icfp-form-light textarea::placeholder { color: #64748b; }

.icfp-page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 58, 121, .06);
  padding: calc(112px + 1.35rem) 0 1.65rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.icfp-page-hero::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 58, 121, 0) 0%, rgba(18, 58, 121, .1) 50%, rgba(18, 58, 121, 0) 100%);
}
.icfp-page-hero-shell {
  min-height: 0;
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 12px;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.icfp-page-hero-line {
  width: 42px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 168, 93, .55) 0%, rgba(18, 58, 121, .88) 100%);
}
.icfp-page-hero-desc {
  margin: 2px 0 0;
  max-width: 560px;
  color: #64748b;
  font-size: .94rem;
  line-height: 1.85;
  font-weight: 400;
}
.icfp-page-hero h1 {
  margin: 0;
  color: #123a79;
  font-size: clamp(1.72rem, 2.2vw, 2.35rem);
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.icfp-page-content { padding: 2.8rem 0 var(--icfp-space-80); display: grid; gap: var(--icfp-space-32); }

.icfp-footer {
  position: relative;
  background:#0b2878;
  color: #d8deeb;
  margin-top: 3rem;
  padding: 72px 0 0;
  overflow: hidden;
}
.icfp-footer::before,
.icfp-footer::after {
  content: "";
  position: absolute;
  bottom: -22px;
  width: 220px;
  height: 120px;
  opacity: .16;
  pointer-events: none;
  background-image: radial-gradient(rgba(214, 173, 62, .55) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 74%);
}
.icfp-footer::before {
  left: -42px;
}
.icfp-footer::after {
  right: -42px;
}
.icfp-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    direction: rtl;
    gap: var(--icfp-space-48);
}
.icfp-footer-col,
.icfp-footer-brand,
.icfp-footer-map {
  position: relative;
    direction: rtl;
    width: 22%;
}
.icfp-footer-col::before,
.icfp-footer-brand::before,
.icfp-footer-map::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.05);
}
.icfp-footer-map::before {
  display: none;
}
.icfp-footer h4,
.icfp-footer h5 {
  color: #fafafa;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 600;
}
.icfp-footer a,
.icfp-footer p,
.icfp-footer span {
  color: rgba(255,255,255,.88);
}
.icfp-footer a:hover { color: var(--icfp-gold); }
.icfp-footer-map-frame {
  position: relative;
  min-height: 145px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 36px rgba(2, 10, 24, .15);
  width: 100%;
  margin-top: 15px;
}
.icfp-footer-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 29, 66, .05), rgba(7, 29, 66, .1)),
    radial-gradient(circle at 18% 18%, rgba(212, 166, 58, .08), transparent 34%);
  pointer-events: none;
  z-index: 401;
}
.icfp-footer-map-frame iframe {
  width: 100%;
  height: 175px;
  border: 0;
  filter: saturate(.86) contrast(1.02);
}
.icfp-footer-map-canvas {
  width: 100%;
  height: 145px;
  border: 0;
  background: #e8edf5;
}
.icfp-footer-map-frame .leaflet-container {
  font-family: "Vazirmatn", system-ui, sans-serif;
  background: #e8edf5;
  cursor: default;
}
.icfp-footer-map-frame .leaflet-control-zoom {
  border: 1px solid rgba(7,29,66,.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(2, 10, 24, .12);
  z-index: 500;
}
.icfp-footer-map-frame .leaflet-control-zoom a {
  width: 40px;
  height: 40px;
  background: #09236a;
  color: #fafafa;
  border-bottom-color: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-indent: 0;
}
.icfp-footer-map-frame .leaflet-control-zoom a:hover {
  background: #0b2878;
  color: var(--icfp-gold);
}
.icfp-footer-map-frame .leaflet-control-zoom a span {
  display: block;
  transform: translateY(-1px);
}
.icfp-footer-map-frame .leaflet-control-zoom-in {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.icfp-footer-map-frame .leaflet-control-zoom-out {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.icfp-footer-map-frame .leaflet-control-attribution {
  background: rgba(250,250,250,.74);
  color: rgba(7,29,66,.62);
  font-size: 10px;
  backdrop-filter: blur(6px);
  z-index: 500;
}
.icfp-footer-map-frame .leaflet-control-attribution a {
  color: rgba(7,29,66,.82);
}
.icfp-footer-map-marker-wrap {
  background: transparent;
  border: 0;
  z-index: 520;
}
.icfp-footer-map-marker {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(180deg, #f1c85b 0%, #d4a63a 100%);
  box-shadow: 0 0 0 4px rgba(212,166,58,.18), 0 14px 22px rgba(2,10,24,.22);
  position: relative;
  cursor: pointer;
  transform: rotate(-45deg);
}
.icfp-footer-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18);
}
.icfp-footer-map-marker::before {
  content: none;
}
.icfp-footer-map-card {
  position: absolute;
  inset-inline-end: 8px;
  bottom: 15px;
  /* width: 190px; */
  background: rgba(255, 255, 255, .96);
  color: #081a43;
  border-radius: 14px;
  padding: 9px 13px;
  box-shadow: 0 14px 28px rgba(2, 10, 24, .18);
  display: grid;
  gap: 6px;
  direction: rtl;
  text-align: right;
  font-size: var(--font-caption);
}
.icfp-footer-map-card strong {
  color: #081a43;
  font-size: var(--font-caption);
  line-height: 1.8;
}
.icfp-footer-map-card span {
  color: #425372;
  font-size: var(--font-caption);
  line-height: 1.8;
}
.icfp-footer-map-card a {
  color: var(--icfp-blue);
  font-size: var(--font-caption);
  font-weight: 600;
}
.icfp-footer-pin {
  color: var(--icfp-gold);
  font-size: 17px;
}
.icfp-footer-list,
.icfp-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.icfp-footer-list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--font-footer-link);
  line-height: 1.1;
  font-weight: 400;
}
.icfp-footer-unit-icon {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  transform: translateY(1px);
  flex: 0 0 auto;
}
.icfp-footer-list li {
  line-height: 1.9;
  font-size: var(--font-footer-link);
}
.icfp-footer-contact li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: var(--font-footer-link);
  line-height: 1.9;
  font-weight: 400;
}
.icfp-footer-contact i {
  color: rgba(255,255,255,.76);
  font-size: 18px;
  transform: translateY(3px);
}
.icfp-footer-brand {
  display: grid;
    align-content: start;
    justify-items: start;
    text-align: left;
    width: 30%;
}
.icfp-footer-logo {
  width: 90px;
  max-width: 100%;
  height: auto;
  margin: 0 0 14px;
  display: block;
}
.icfp-footer-brand-description {
  font-size: var(--font-caption);
  line-height: 1.8;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  text-align: justify;
  margin-bottom: 20px;
}
.icfp-footer[dir="ltr"] .icfp-footer-grid {
  direction: ltr;
}
.icfp-footer[dir="ltr"] .icfp-footer-col,
.icfp-footer[dir="ltr"] .icfp-footer-brand,
.icfp-footer[dir="ltr"] .icfp-footer-map,
.icfp-footer[dir="ltr"] .icfp-footer-col-contact {
  direction: ltr;
  text-align: left;
}
.icfp-footer[dir="ltr"] .icfp-footer-brand {
  justify-items: start;
  text-align: left;
}
.icfp-footer[dir="ltr"] .icfp-footer-brand-description {
  text-align: left;
}
.icfp-footer[dir="ltr"] .icfp-footer-list,
.icfp-footer[dir="ltr"] .icfp-footer-contact {
  padding-inline-start: 0;
}
.icfp-footer[dir="ltr"] .icfp-footer-list a,
.icfp-footer[dir="ltr"] .icfp-footer-contact li {
  justify-content: flex-start;
  text-align: left;
}
.icfp-footer[dir="ltr"] .icfp-footer-col::before,
.icfp-footer[dir="ltr"] .icfp-footer-brand::before,
.icfp-footer[dir="ltr"] .icfp-footer-map::before,
.icfp-footer[dir="ltr"] .icfp-footer-col-contact::before {
  left: auto;
  right: -24px;
}
.icfp-footer[dir="ltr"] .icfp-footer-socials {
  margin-inline: 0 auto;
}
.icfp-footer-brand-title-en {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}
.icfp-footer-brand-title-en strong {
  display: block;
  color: #ffffff;
  font-size: var(--font-large);
  line-height: 2.1;
  font-weight: 700;
}
.icfp-footer-tagline {
  margin: 0 0 14px;
  color: var(--icfp-gold);
  font-size: var(--font-small);
  font-weight: 400;
  line-height: 1.9;
}
.icfp-footer-brand-title-fa {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}
.icfp-footer-brand-title-fa span {
  color: rgba(255,255,255,.88);
  font-size: var(--font-small);
  line-height: 1.9;
}
.icfp-footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: var(--icfp-space-12) auto;
}
.icfp-footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fafafa;
}
.icfp-footer-socials a:hover {
  border-color: var(--icfp-gold);
  color: var(--icfp-gold);
  background: rgba(214, 173, 62, .06);
}
.icfp-footer-bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.icfp-footer-bottom p {
  margin: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(216, 222, 235, .82);
  font-size: 11px;
}

@media (max-width: 1320px) {
  .icfp-footer .icfp-container {
    width: min(1440px, calc(100% - 32px));
  }
  .icfp-footer-grid {
    grid-template-columns: 1.45fr 1fr .95fr 1.15fr 1.05fr;
    gap: 28px;
  }
  .icfp-footer-col::before,
  .icfp-footer-brand::before,
  .icfp-footer-map::before {
    left: -14px;
  }
}

.icfp-mobile-toggle { display: none; background: transparent; border: 0; width: 2.2rem; }
.icfp-mobile-toggle span { display: block; height: 2px; background: var(--icfp-primary); margin: .35rem 0; }

.icfp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.icfp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .icfp-stats,
  .icfp-blog-grid,
  .icfp-dept-grid,
  .icfp-pillar-grid,
  .icfp-timeline,
  .icfp-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icfp-blog-grid,
  .icfp-blog-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .icfp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .icfp-stat-card + .icfp-stat-card { border-inline-start: 0; }

  .icfp-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    min-height: 0;
  }
  .icfp-footer-col::before,
  .icfp-footer-brand::before,
  .icfp-footer-map::before,
  .icfp-footer-col-contact::before {
    display: none;
  }
  .icfp-footer-brand {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    justify-items: center;
    text-align: center;
  }
  .icfp-footer-brand-title-en,
  .icfp-footer-brand-title-fa {
    justify-items: center;
  }
  .icfp-footer-brand-description {
    text-align: center;
    max-width: 62ch;
    margin-inline: auto;
  }
  .icfp-footer-socials {
    justify-content: center;
  }
  .icfp-footer-col,
  .icfp-footer-col-contact {
    position: relative;
    width: 100%;
    min-width: 0;
  }
  .icfp-footer-col-contact {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .icfp-footer-map-frame,
  .icfp-footer-map-frame iframe,
  .icfp-footer-map-canvas {
    min-height: 240px;
    height: 240px;
  }

  .icfp-mobile-toggle { display: block; margin-inline-start: auto; }
  .icfp-header-row { min-height: 78px; gap: .85rem; }
  .icfp-logo-image { height: 62px; }
  .icfp-nav {
    display: none;
    position: absolute;
    inset-inline: 1rem;
    top: 86px;
    background: rgba(255,255,255,.94);
    border: 1px solid #e4e8f2;
    border-radius: 18px;
    padding: .95rem;
    box-shadow: 0 22px 44px rgba(24,44,115,.14);
  }
  .icfp-nav-list { flex-direction: column; align-items: stretch; gap: .45rem; }
  .icfp-nav a { padding: .65rem 0; }
  .icfp-nav .dropdown-menu {
    position: static;
    display: block;
    border: 0;
    background: transparent;
    padding: .25rem 0 .25rem .7rem;
    box-shadow: none;
  }
  .icfp-nav.is-open { display: flex; }
  .icfp-header-actions { margin-inline-start: auto; }
  .icfp-header-lang { display: none; }
  .icfp-two-col { grid-template-columns: 1fr; }
  .icfp-contact-grid,
  .icfp-contact-form-row { grid-template-columns: 1fr; }
  .icfp-contact-map-canvas,
  .icfp-contact-map-frame { min-height: 300px; height: 300px; }
  .icfp-hero-grid { grid-template-columns: 1fr; }
  .icfp-hero {
    background-image:
      linear-gradient(180deg, rgba(247,248,252,.55) 0%, rgba(247,248,252,.82) 38%, #f7f8fc 100%),
      url("/templates/icfp/assets/hero/hero-bg.png");
    background-position: center top, left top;
    background-size: 100% 100%, cover;
    min-height: 0;
    padding: 0 0 5rem;
  }
  .icfp-hero-grid { min-height: 680px; }
  .icfp-hero-content { order: 1; text-align: right; width: 100%; padding-top: 7rem; }
  .icfp-hero h1 { margin-inline: auto; }
  .icfp-ecosystem-band .icfp-dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icfp-page-hero {
    padding: calc(104px + 1.1rem) 0 1.45rem;
  }
}

@media (max-width: 640px) {
  .icfp-container { padding-inline: 16px; }
  .icfp-logo-image { width: auto; max-width: 100%; height: 58px; }
  .icfp-hero-actions { flex-direction: column; align-items: stretch; }
  .icfp-hero .icfp-btn-primary,
  .icfp-hero .icfp-btn-secondary { width: 100%; min-width: 0; }
  .icfp-page-hero {
    padding: calc(98px + .95rem) 0 1.25rem;
  }
  .icfp-page-hero-shell {
    gap: 10px;
  }
  .icfp-page-hero-line {
    width: 36px;
  }
  .icfp-page-hero h1 {
    font-size: 1.55rem;
    line-height: 1.4;
  }
  .icfp-page-hero-desc {
    font-size: .88rem;
    line-height: 1.75;
  }
  .icfp-page-content {
    padding-top: 2rem;
  }
  .icfp-clients-track {
    gap: 16px;
  }
  .icfp-stats-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .icfp-stats-ribbon-item {
    min-height: 92px;
    padding: 16px 12px;
  }
  .icfp-stats-ribbon-item:nth-child(2n + 1)::before {
    display: none;
  }
  .icfp-stats-ribbon-icon {
    font-size: 1.45rem;
  }
  .icfp-stats-ribbon-copy strong {
    font-size: .92rem;
  }
  .icfp-stats-ribbon-copy span {
    font-size: .72rem;
  }
  .icfp-client-logo-item {
    width: 136px;
    height: 74px;
    padding: 12px 14px;
  }
  .icfp-client-logo-item img {
    max-width: 108px;
    max-height: 46px;
  }
  .icfp-blog-grid,
  .icfp-blog-grid--archive,
  .icfp-dept-grid,
  .icfp-stats,
  .icfp-footer-grid,
  .icfp-pillar-grid,
  .icfp-timeline,
  .icfp-list-grid { grid-template-columns: 1fr; }
  .icfp-blog-grid,
  .icfp-blog-grid--archive {
    row-gap: 24px;
  }
  .icfp-blog-card-body h3 {
    font-size: .96rem;
  }
  .icfp-blog-section--page {
    padding-top: calc(92px + 1.75rem);
  }
  .icfp-insight-hero h1 {
    font-size: 1.55rem;
  }
  .icfp-footer .icfp-container { width: min(1440px, calc(100% - 24px)); }
  .icfp-footer {
    padding: 40px 0 20px;
  }
  .icfp-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .icfp-footer-brand,
  .icfp-footer-col,
  .icfp-footer-col-contact {
    grid-column: auto;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
  .icfp-footer-brand {
    justify-items: center;
    text-align: center;
  }
  .icfp-footer-brand-description {
    text-align: center;
    margin-bottom: 16px;
  }
  .icfp-footer h4,
  .icfp-footer-col,
  .icfp-footer-col-contact {
    text-align: right;
  }
  .icfp-footer-list,
  .icfp-footer-contact {
    gap: 12px;
  }
  .icfp-footer-list a {
    line-height: 1.65;
  }
  .icfp-footer-contact li {
    grid-template-columns: 16px 1fr;
    gap: 10px;
    line-height: 1.8;
  }
  .icfp-footer-contact i {
    font-size: 16px;
    transform: translateY(2px);
  }
  .icfp-footer-map-card {
    inset-inline-start: 16px;
    bottom: 16px;
    width: min(190px, calc(100% - 32px));
  }
  .icfp-stats { grid-template-columns: 1fr; }
  .icfp-hero-actions { flex-direction: column; align-items: stretch; }
  .icfp-footer-map-frame,
  .icfp-footer-map-frame iframe,
  .icfp-footer-map-canvas {
    min-height: 208px;
    height: 208px;
  }
  .icfp-footer-map-card {
    inset-inline-start: .75rem;
    bottom: .75rem;
  }
  .icfp-footer-bottom p {
    min-height: 0;
    padding: 10px 0 0;
    line-height: 1.8;
  }
  .icfp-ecosystem-band .icfp-section-head h2 {
    gap: 10px;
    font-size: 18px;
  }
  .icfp-ecosystem-band .icfp-section-head h2::before,
  .icfp-ecosystem-band .icfp-section-head h2::after {
    width: 32px;
  }
  .icfp-ecosystem-band .icfp-dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .icfp-ecosystem-band .icfp-dept-card { min-height: 220px; padding: 18px 12px 16px; }
}

.icfp-about-company-block {
  margin: 26px auto 10px;
  padding: 26px 26px 24px;
  overflow: hidden;
}
.icfp-about-company-block * {
  box-sizing: border-box;
}
.icfp-about-company-grid {
  display: grid;
  grid-template-columns: 560px minmax(420px, 1fr);
  gap: 24px;
  align-items: center;
  direction: ltr;
}
.icfp-about-company-visual {
  position: relative;
  width: 560px;
  min-height: 280px;
  padding-left: 72px;
  direction: ltr;
}
.icfp-about-company-main-wrap {
  width: 395px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.icfp-about-company-main {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(8, 29, 66, 0.18);
}
.icfp-about-company-thumb {
  position: absolute;
  left: 0;
  border: 1px solid #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(8, 29, 66, 0.2);
  background: #dce5f4;
  z-index: 2;
}
.icfp-about-company-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icfp-about-company-thumb.t1 {
  top: 58px;
  width: 108px;
  height: 92px;
}
.icfp-about-company-thumb.t2 {
  top: 125px;
  left: 42px;
  width: 114px;
  height: 96px;
}
.icfp-about-company-exp {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #d5a43b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #0a1f4a;
  box-shadow: 0 8px 20px rgba(8, 29, 66, 0.16);
  z-index: 3;
}
.icfp-about-company-exp b {
  font-size: 47px;
  line-height: 1;
  font-weight: 800;
}
.icfp-about-company-exp span {
  font-size: 23px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}
.icfp-about-company-copy {
  direction: rtl;
  text-align: right;
  padding-inline: 6px 0;
}
.icfp-about-company-copy h5 {
  margin: 0 0 5px;
  color: #c2932b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.icfp-about-company-copy h2 {
  margin: 0;
  color: #0a1f4a;
  font-size: 27px;
  line-height: 1.55;
  font-weight: 800;
}
.icfp-about-company-copy p {
  margin: 14px 0 18px;
  color: #4e5f7f;
  font-size: 14px;
  line-height: 2.15;
  max-width: 580px;
}
.icfp-about-company-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
  max-width: 470px;
}
.icfp-about-company-features span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #0a1f4a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.icfp-about-company-features i {
  font-size: 22px;
  line-height: 1;
  color: #17366f;
}
.icfp-about-company-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: var(--icfp-btn-gap);
  min-height: var(--icfp-btn-height);
  min-width: var(--icfp-btn-min-width);
  padding: 0 var(--icfp-btn-pad-x);
  border-radius: var(--icfp-btn-radius);
  background: #0b2a5a;
  color: #fff;
  font-size: var(--icfp-text-button);
  font-weight: 600;
  line-height: 1.8;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(11, 42, 90, 0.18);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.icfp-about-company-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(11, 42, 90, 0.22);
}
.icfp-about-company-map {
  position: relative;
  height: 100%;
  min-height: 260px;
  direction: ltr;
}
.icfp-about-company-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(10, 31, 74, 0.1) 1px, transparent 1.8px) 0 0 / 4px 4px;
  opacity: 0.48;
  mask: radial-gradient(120% 80% at 50% 50%, #000 28%, transparent 90%);
}
.icfp-about-company-map::after {
  content: "";
  position: absolute;
  inset: 12px 0;
  background:
    repeating-radial-gradient(circle at 18% 38%, transparent 0 46px, rgba(212, 166, 58, 0.22) 46px 47px),
    repeating-radial-gradient(circle at 68% 54%, transparent 0 54px, rgba(212, 166, 58, 0.2) 54px 55px),
    repeating-radial-gradient(circle at 88% 68%, transparent 0 60px, rgba(212, 166, 58, 0.14) 60px 61px);
  opacity: 0.82;
}

@media (max-width: 1200px) {
  .icfp-about-company-grid {
    grid-template-columns: 1fr;
    direction: rtl;
  }
  .icfp-about-company-map {
    display: none;
  }
  .icfp-about-company-visual {
    width: 100%;
    padding-left: 0;
    min-height: 0;
  }
  .icfp-about-company-main-wrap {
    width: min(100%, 395px);
  }
  .icfp-about-company-thumb.t1 {
    left: 10px;
  }
  .icfp-about-company-thumb.t2 {
    left: 46px;
  }
  .icfp-about-company-exp {
    right: 8px;
    bottom: -10px;
  }
}

@media (max-width: 680px) {
  .icfp-about-company-block {
    padding: 18px 14px;
  }
  .icfp-about-company-copy h2 {
    font-size: 22px;
  }
  .icfp-about-company-copy p {
    font-size: 13px;
  }
  .icfp-about-company-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
  .icfp-about-company-thumb.t1 {
    top: 22px;
    width: 88px;
    height: 74px;
  }
  .icfp-about-company-thumb.t2 {
    top: 102px;
    width: 94px;
    height: 80px;
  }
  .icfp-about-company-exp {
    width: 104px;
    height: 104px;
  }
  .icfp-about-company-exp b {
    font-size: 36px;
  }
  .icfp-about-company-exp span {
    font-size: 18px;
  }
}

html[lang="fa"] body,
html[lang="fa"] .icfp-hero,
html[lang="fa"] .icfp-panel,
html[lang="fa"] .icfp-stat-card,
html[lang="fa"] .icfp-dept-card,
html[lang="fa"] .icfp-footer {
  font-family: "Vazirmatn", system-ui, sans-serif;
}

html[lang="fa"] .icfp-nav a,
html[lang="ar"] .icfp-nav a {
  letter-spacing: 0;
  font-weight: 500;
}
html[lang="fa"] .icfp-kicker,
html[lang="ar"] .icfp-kicker {
  text-transform: none;
  letter-spacing: 0;
}
html[lang="fa"] .icfp-hero-content,
html[lang="ar"] .icfp-hero-content {
  text-align: right;
    margin-inline-start: 0;
    margin-inline-end: auto;
}

/* Floating WhatsApp consultation button */
.icfp-wa-float {
  position: fixed;
  bottom: max(1.35rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: transform .28s cubic-bezier(.34, 1.4, .64, 1), filter .28s ease;
  filter: drop-shadow(0 14px 34px rgba(12, 18, 34, 0.24));
}
.icfp-wa-float--icon-start {
  left: max(1.35rem, env(safe-area-inset-left, 0px));
  right: auto;
}
.icfp-wa-float--icon-end {
  right: max(1.35rem, env(safe-area-inset-right, 0px));
  left: auto;
}
.icfp-wa-float:hover {
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 18px 40px rgba(12, 18, 34, 0.3));
  color: #fff;
}
.icfp-wa-float:active {
  transform: translateY(-1px) scale(0.985);
}
.icfp-wa-float__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: 0;
  background: linear-gradient(165deg, #273246 0%, #151c29 52%, #101722 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(8, 14, 28, 0.28);
  padding-block: 0.9rem;
  transition: background .25s ease, box-shadow .25s ease;
}
.icfp-wa-float--icon-end .icfp-wa-float__label {
  padding-inline: 1.45rem 3.65rem;
}
.icfp-wa-float--icon-start .icfp-wa-float__label {
  padding-inline: 3.65rem 1.45rem;
}
.icfp-wa-float:hover .icfp-wa-float__label {
  background: linear-gradient(165deg, #2d3850 0%, #182030 52%, #121a28 100%);
}
.icfp-wa-float__icon {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 28%, #42eb82 0%, #25d366 42%, #18b34b 100%);
  box-shadow:
    0 12px 30px rgba(37, 211, 102, 0.48),
    0 4px 12px rgba(10, 24, 16, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  position: relative;
  z-index: 2;
  transition: transform .28s cubic-bezier(.34, 1.4, .64, 1), box-shadow .28s ease;
}
.icfp-wa-float__icon::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.42);
  animation: icfp-wa-pulse 2.6s cubic-bezier(.4, 0, .2, 1) infinite;
  pointer-events: none;
}
.icfp-wa-float:hover .icfp-wa-float__icon {
  transform: scale(1.04);
  box-shadow:
    0 16px 36px rgba(37, 211, 102, 0.55),
    0 6px 14px rgba(10, 24, 16, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.icfp-wa-float:hover .icfp-wa-float__icon::before {
  animation-play-state: paused;
  opacity: 0;
}
.icfp-wa-float__icon svg {
  width: 1.72rem;
  height: 1.72rem;
  display: block;
  position: relative;
  z-index: 1;
}
.icfp-wa-float--icon-end .icfp-wa-float__icon {
  margin-inline-start: -2.55rem;
}
.icfp-wa-float--icon-start .icfp-wa-float__icon {
  margin-inline-end: -2.55rem;
}
@keyframes icfp-wa-pulse {
  0% {
    transform: scale(0.94);
    opacity: 0.72;
  }
  65%,
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}
html[lang="fa"] .icfp-wa-float__label,
html[lang="ar"] .icfp-wa-float__label {
  font-family: "Vazirmatn", system-ui, sans-serif;
}
@media (max-width: 575.98px) {
  .icfp-wa-float {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
  .icfp-wa-float--icon-start {
    left: max(1rem, env(safe-area-inset-left, 0px));
  }
  .icfp-wa-float--icon-end {
    right: max(1rem, env(safe-area-inset-right, 0px));
  }
  .icfp-wa-float__icon {
    width: 3.55rem;
    height: 3.55rem;
  }
  .icfp-wa-float__icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .icfp-wa-float__label {
    font-size: 0.84rem;
    padding-block: 0.78rem;
  }
  .icfp-wa-float--icon-end .icfp-wa-float__label {
    padding-inline: 1.15rem 3.15rem;
  }
  .icfp-wa-float--icon-start .icfp-wa-float__label {
    padding-inline: 3.15rem 1.15rem;
  }
  .icfp-wa-float--icon-end .icfp-wa-float__icon {
    margin-inline-start: -2.15rem;
  }
  .icfp-wa-float--icon-start .icfp-wa-float__icon {
    margin-inline-end: -2.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .icfp-wa-float,
  .icfp-wa-float__icon,
  .icfp-wa-float__label {
    transition: none;
  }
  .icfp-wa-float__icon::before {
    animation: none;
    display: none;
  }
}
