:root {
  --ig-navy: #071729;
  --ig-blue: #0057a4;
  --ig-cyan: #00a7d7;
  --ig-light: #f4f7fb;
  --ig-soft: #e6edf7;
  --ig-border: #d2dbe8;
  --ig-text: #111827;
  --ig-muted: #6b7280;
  --ig-white: #ffffff;
  --ig-accent: #ffc857;
  --radius-lg: 20px;
  --radius-md: 5px;
  --shadow-soft: 0 18px 45px rgba(4, 18, 38, 0.18);
  --shadow-subtle: 0 12px 28px rgba(12, 35, 64, 0.12);
  --transition: 220ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ig-text);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: #ffffff;
}

.section-dark {
  background: #221f3c;
  color: #e5edff;
}

.section-soft {
  background: var(--ig-light);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-header {
  max-width: 720px;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
  align-items: center;
}

.section-header.center p,
.section-header.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  margin-top: 12px;
  color: var(--ig-muted);
}

/* Top bar */

.logo {
  width: 144px;
  height: 44px;
}

.top-bar {
  background: linear-gradient(180deg, var(--ig-navy), var(--ig-blue));
  color: #e5edff;
  font-size: 13px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 6px;
}

.top-pill {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 23, 41, 0.5);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 520px) {
  .top-bar-right {
    gap: 10px;
  }
}

.top-bar-right a {
  color: inherit;
  text-decoration: none;
  opacity: 0.86;
  font-weight: 600;
}

.top-bar-right a:hover {
  opacity: 1;
}

.top-bar .dot {
  width: 1px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  color: #e5edff;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.88)
  );
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, var(--ig-cyan), var(--ig-blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 87, 164, 0.4);
}

.brand-mark.small {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 8px 24px rgba(0, 87, 164, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ig-navy);
}

.brand-sub {
  font-size: 11px;
  color: var(--ig-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ig-cyan), var(--ig-blue));
  transform-origin: center;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  border-radius: 9px;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(7, 23, 41, 0.28);
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* Hero */

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
      120deg,
      rgba(7, 23, 41, 0.28),
      rgba(7, 23, 41, 0.85),
      rgba(7, 23, 41, 0.28)
    ),
    url("img/hero-igmako.webp") center center / cover no-repeat;
  filter: saturate(1.95) contrast(1.05);
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
  margin: 10px 0 16px;
  color: #fff;
}

.hero-lead {
  color: var(--ig-white);
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 15px;
  color: var(--ig-blue);
}

.accent {
  background: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 9px;
  padding: 10px 20px;
  border: 1px solid var(--ig-cyan);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    transform 120ms ease, box-shadow 120ms ease;
}

.btn.primary {
  background: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(7, 23, 41, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(7, 23, 41, 0.4);
  filter: brightness(0.75);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(148, 163, 184, 0.7);
  color: #0f172a;
}

.btn.ghost:hover {
  background: #ffffff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-tags span {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 9px;
  box-shadow: var(--shadow-subtle);
  background: rgba(255, 255, 255, 0.8);
}

/* Hero panel */

.hero-panel {
  background: linear-gradient(180deg, var(--ig-navy), var(--ig-blue));
  color: #e5edff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 20px 22px 22px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top,
    rgba(0, 167, 215, 0.22),
    transparent 55%
  );
  opacity: 0.9;
  pointer-events: none;
}

.hero-panel-header,
.hero-panel-footer,
.metrics-grid {
  position: relative;
  z-index: 1;
}

.hero-panel-header {
  margin-bottom: 20px;
}

.panel-title {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  opacity: 0.8;
}

.panel-subtitle {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.95;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  border-radius: 18px;
}

.metric-value {
  font-size: 20px;
  font-weight: 600;
}

.metric-label {
  font-size: 12px;
  opacity: 0.85;
}

.metric-note {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 4px;
}

.hero-panel-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.rating-pill {
  border-radius: 9px;
  padding: 6px 12px;
  background: rgba(15, 76, 129, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.6);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.rating-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.rating-value {
  font-weight: 700;
  font-size: 14px;
}

.rating-text {
  font-size: 12px;
  opacity: 0.88;
}

/* About */

.about-layout {
  gap: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-card {
  padding: 18px 20px 20px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--ig-border);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}

.about-card p {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--ig-muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 2px solid var(--ig-cyan);
}

/* Figures */

.stats-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 30px;
  align-items: flex-start;
}

.stats-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat-large {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #2a2647, #342e5c);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.stat-large .stat-label {
  font-size: 13px;
  opacity: 0.78;
}

.stat-large .stat-value {
  font-size: 26px;
  font-weight: 700;
  margin-top: 4px;
}

.stat-large .stat-note {
  font-size: 13px;
  opacity: 0.78;
  margin-top: 2px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 14px 14px 12px;
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(145deg, #2a2647, #342e5c);
}

/* Stat hover */
.stat-card:active {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.stat-card:hover {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.stat-large:active {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.stat-large:hover {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.stats-side:active {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.stats-side:hover {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.stat-key {
  font-weight: 600;
  font-size: 17px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.76;
}

.stat-footnote {
  font-size: 12px;
  opacity: 0.8;
}

.stats-side {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(145deg, #2a2647, #342e5c);
  box-shadow: var(--shadow-subtle);
}

.stats-side h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.stats-side p {
  font-size: 14px;
  opacity: 0.9;
}

.badge-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.badge-list li {
  padding: 6px 10px;
  display: inline-flex;
}

/* Timeline */

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ig-border);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.timeline-year {
  font-weight: 700;
  font-size: 16px;
  color: var(--ig-blue);
}

.timeline-body h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 17px;
}

.timeline-body p {
  margin: 0;
  color: var(--ig-muted);
  font-size: 14px;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card {
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  background: linear-gradient(145deg, #2a2647, #342e5c);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-subtle);
}

.pillar-card:active {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.pillar-card:hover {
  background: linear-gradient(145deg, #342e5c, #3f3671);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.pillar-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 18px;
}

.pillar-card p {
  margin: 0 0 10px;
  font-size: 14px;
  opacity: 0.92;
}

.pillar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.pillar-card li {
  font-size: 13px;
  opacity: 0.9;
  padding-left: 14px;
  position: relative;
}

.pillar-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ig-cyan);
}

/* Markets */

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.market-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--ig-border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.card-services:hover {
  position: relative;
  background: #ffffff;
  border-color: rgba(15, 18, 30, 0.25);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  transition: background-color 0.55s ease-in-out, color 0.55s ease-in-out,
    border-color 0.85s ease-in-out, box-shadow 0.65s ease, transform 0.65s ease;
}

.card-services:hover::after {
  position: absolute;
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 46px;
  font-weight: 800;
  width: 80px;
  height: 80px;
  border-top-left-radius: 50%;
  background: #514aa6;
  bottom: 0;
  right: 0;
}

.services-grid .card-services:nth-child(1):hover::after {
  content: "01";
}
.services-grid .card-services:nth-child(2):hover::after {
  content: "02";
}
.services-grid .card-services:nth-child(3):hover::after {
  content: "03";
}
.services-grid .card-services:nth-child(4):hover::after {
  content: "04";
}
.services-grid .card-services:nth-child(5):hover::after {
  content: "05";
}

/* ===== Animation for services hover ===== */
.card-services {
  position: relative;
  overflow: hidden;
}

.card-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 0;

  transform: translateX(-100%);
  transition: transform 0.6s ease;

  -webkit-mask-image: radial-gradient(
      120% 60% at 0% 30%,
      black 40%,
      transparent 41%
    ),
    radial-gradient(120% 60% at 0% 70%, black 40%, transparent 41%),
    linear-gradient(black, black);
  -webkit-mask-composite: source-over;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: left;

  mask-image: radial-gradient(120% 60% at 0% 30%, black 40%, transparent 41%),
    radial-gradient(120% 60% at 0% 70%, black 40%, transparent 41%),
    linear-gradient(black, black);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: left;
}

.card-services:hover::before {
  transform: translateX(0);
}

.card-services > * {
  position: relative;
  z-index: 1;
}

.card-services:hover h3,
.card-services:hover p {
  color: #111827;
}

.gg:hover::before {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 250px;
  max-height: 100px;
  border-bottom-right-radius: 40%;
  background: #514aa6;
}

.market-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 17px;
}

.market-card p {
  margin: 0 0 10px;
  color: var(--ig-muted);
  font-size: 14px;
}

.market-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.market-card li {
  padding-left: 14px;
  position: relative;
}

.market-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ig-cyan);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.3rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #3ea6ff;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.learn-more ion-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.learn-more:hover ion-icon {
  transform: translateX(4px);
}

.learn-more:hover {
  color: #63b9ff;
}

/* Value */

.value-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-step {
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  background: #ffffff;
  border: 1px solid var(--ig-border);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.value-index {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ig-blue);
}

.value-step h3 {
  margin: 6px 0 6px;
  font-size: 16px;
}

.value-step p {
  margin: 0;
  color: var(--ig-muted);
  font-size: 14px;
}

/* Tabs & references */

.tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  margin: 0 auto 8px;
}

.tab {
  border-radius: 9px;
  border: none;
  padding: 7px 12px;
  background: transparent;
  color: black;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 800;
}

.tab.active {
  background: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));
  color: #fff;
}

.tab-panels {
  margin-top: 24px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ref-card {
  padding: 16px 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ig-border);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.ref-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.ref-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.88;
}

.partners-strip {
  margin-top: 28px;
  padding: 16px 18px 14px;
  border-radius: var(--radius-md);
  background: rgba(6, 20, 38, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.partners-label {
  font-size: 13px;
  opacity: 0.9;
}

.partners-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partners-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.8);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
}

.contact-info .section-lead {
  max-width: 520px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 18px;
}

.contact-details h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.contact-details p {
  margin: 0;
  font-size: 14px;
  color: var(--ig-muted);
}

.contact-details a {
  color: var(--ig-blue);
  text-decoration: none;
}

.contact-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ig-muted);
}

.contact-note a {
  color: var(--ig-blue);
  font-weight: 500;
  text-decoration: none;
}

.contact-form-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(92deg, #6b7dff, #4cc2ff);
  border: 1px solid var(--ig-border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  padding: 20px 22px 22px;
}

.contact-button {
  background: #fff !important;
  color: black !important;
}

.contact-form h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid var(--ig-border);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease,
    background-color 140ms ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ig-blue);
  box-shadow: 0 0 0 1px rgba(0, 167, 215, 0.22);
  background-color: #ffffff;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.form-status {
  font-size: 13px;
  color: var(--ig-muted);
}

/* Footer */

.site-footer {
  background: #020617;
  color: #e5edff;
  padding-top: 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
}

.brand-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-text {
  margin-top: 10px;
  max-width: 360px;
  font-size: 13px;
  opacity: 0.85;
}

.footer-right {
  display: flex;
  gap: 40px;
}

.footer-col h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.footer-col p {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

.footer-col a {
  color: #e5edff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 10px 0 16px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}

.footer-tagline {
  font-weight: 500;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 580ms ease-out, transform 480ms ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    max-width: 420px;
    margin-inline: auto;
  }

  .stats-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars-grid,
  .markets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-right {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    padding-block: 10px;
  }

  .stats-side,
  .stats-main,
  .about-grid,
  .timeline-item,
  .pillars-grid,
  .markets-grid,
  .refs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-right {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .value-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
  }

  .refs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== PARTNERI ===== */
.partners {
  position: relative;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 10px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.partners-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
  --speed: 48s;
  animation: partners-scroll var(--speed) linear infinite;
  will-change: transform;
  width: max-content;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partners-track img {
  height: clamp(34px, 6vw, 56px);
  width: auto;
  opacity: 0.75;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
  will-change: filter, opacity, transform;
}
.partners-track img:hover {
  opacity: 1;
  filter: grayscale(0) contrast(1) brightness(1);
  transform: translateY(-2px);
}

@keyframes partners-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .partners-track {
    --speed: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}
.center {
  text-align: center;
}

.white {
  color: aliceblue;
}

/* =========== Mapa ============ */

.map-wrap {
  position: relative;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
}
.gmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) brightness(0.68) contrast(1.05);
}

.map-pin {
  position: absolute;
  background-color: rgba(230, 240, 255);
  border-radius: 9px;
  z-index: 5;
  left: 49.9%;
  top: 50.3%;
  width: 28px;
  height: 46px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  /* filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
  filter: grayscale(100%) brightness(1) contrast(1.05);
  filter: grayscale(100%) brightness(0.68) contrast(1.05); */
}

.icon {
  width: 20px;
  height: 20px;
}

.align {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

@media (max-width: 520px) {
  .top-bar-right a {
    font-size: 10px;
  }

  .align {
    gap: 5px;
  }
}

.landexa a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e5edff;
  text-decoration: none;
  margin-top: 35px;
  font-weight: 500;
  padding: 15px 10px;
}

.landexa:hover {
  text-decoration: underline;
}

/* ======= Services ======= */
.services-grid .service-image-link {
  display: block;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
}

.services-grid .service-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.services-grid .service-image-link:hover .service-image {
  transform: scale(1.05);
  filter: grayscale(1);
}

.bg {
  background: #221f3c;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.service-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.section-inner.narrow {
  max-width: 820px;
}

.service-layout .service-body {
  max-width: 900px;
}

/* ====== Related Services ====== */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 18, 30, 0.02);
  border: 1px solid rgba(15, 18, 30, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, background 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  border-color: rgba(34, 31, 60, 0.5);
  background: rgba(34, 31, 60, 0.03);
}

.related-media {
  position: relative;
  overflow: hidden;
}

.related-media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.9) contrast(1.05);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.related-card:hover .related-media img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1) contrast(1.05);
}

.related-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(6, 9, 20, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.related-icon ion-icon {
  font-size: 1.4rem;
  color: #ffffff;
}

.related-body {
  padding: 1.3rem 1.5rem 1.5rem;
}

.related-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #0f121e;
}

.related-body p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(15, 18, 30, 0.78);
}

/* ==== Via Aware download  ==== */
.download-button {
  display: inline-block;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.dwnld-bottom {
  background: linear-gradient(92deg, #6b7dff, #4cc2ff);
}

.dwnld-bottom:hover {
  filter: brightness(0.85);
}

.download-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.icon-flex {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-download {
  align-items: center;
  justify-content: center;
}

.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

/* ==== lang switcher ==== */
.lang-switch {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.lang-btn .flag {
  font-size: 16px;
  line-height: 1;
}
.lang-btn .chev {
  opacity: 0.8;
}

.lang-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  min-width: 170px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(15, 18, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 50;
}

.lang-switch.open .lang-menu {
  display: block;
}

.lang-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-item[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.1);
}

/* ==== Pretraga ==== */
.header-search {
  position: relative;
  margin-left: 1rem;
}

.search-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  font-size: 1.8rem;
}

.search-panel {
  position: absolute;
  right: -20px;
  top: 130%;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: 12px;
  display: none;
  z-index: 100;
}

.search-panel input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font: inherit;
}

.search-results {
  margin-top: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.search-item {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
}

.search-item:hover {
  background: #f3f4f6;
}

.search-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.search-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==== nav mobile ==== */
:root {
  --ig-nav-text: #0b1220;
  --ig-nav-muted: rgba(11, 18, 32, 0.68);
  --ig-nav-border: rgba(203, 213, 225, 0.95);
  --ig-nav-panel: rgba(255, 255, 255, 0.92);
  --ig-nav-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* overlay */
.ig-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 1400;
}

/* panel */
.ig-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  padding: 16px 14px 14px;
  background: var(--ig-nav-panel);
  border-left: 1px solid var(--ig-nav-border);
  box-shadow: var(--ig-nav-shadow);
  transform: translateX(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
  z-index: 1401;
}

/* open */
body.nav-open .ig-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open .ig-nav-panel {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* panel header */
.ig-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.ig-nav-title {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ig-nav-text);
  font-size: 14px;
  opacity: 0.9;
}

.ig-nav-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--ig-nav-border);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* nav list */
.ig-nav-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.ig-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ig-nav-text);
  font-weight: 700;
  border: 1px solid var(--ig-nav-border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.72)
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.ig-nav-item:hover {
  border-color: rgba(0, 87, 164, 0.28);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.ig-nav-item.ig-nav-cta {
  background: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));
  color: #fff;
  border-color: rgba(191, 219, 254, 0.9);
}

.ig-nav-item.ig-nav-cta::after {
  content: "→";
  opacity: 0.95;
}

/* ==== mobile ==== */
@media (max-width: 768px) {
  .nav-list {
    display: none !important;
  }
  .nav-cta {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle * {
    display: none !important;
  }

  .nav-toggle::before {
    content: "";
    width: 22px;
    height: 18px;
    display: block;

    background-image: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan)),
      linear-gradient(90deg, var(--ig-blue), var(--ig-cyan)),
      linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));

    background-size: 22px 2.6px;
    background-position: 0 0px, 0 7.7px, 0 15.4px;
    background-repeat: no-repeat;
    border-radius: 4px;
  }

  .nav-toggle:hover::before {
    filter: brightness(1.12);
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none !important;
  }
}

/* ==== Align services last row ==== */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .services-grid > article {
    grid-column: span 2;
  }

  .services-grid > article:nth-last-child(2) {
    grid-column: 2 / span 2;
  }
  .services-grid > article:last-child {
    grid-column: 4 / span 2;
  }
}

/* ===== AI Asistent ===== */

:root {
  --ig-chat-shadow: 0 18px 45px rgba(4, 18, 38, 0.22);
  --ig-chat-border: rgba(210, 219, 232, 0.85);
  --ig-chat-glass: rgba(255, 255, 255, 0.78);
  --ig-chat-glass-2: rgba(255, 255, 255, 0.62);
  --ig-chat-radius: 18px;
}

/* Floating button */
.ig-chat-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ig-cyan);
  background: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(7, 23, 41, 0.26);
  transition: transform 180ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.ig-chat-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.ig-chat-btn:active {
  transform: translateY(0px) scale(0.98);
}
.ig-chat-btn__text {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.ig-chat-btn__glow {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(0, 167, 215, 0.35),
      transparent 55%
    ),
    radial-gradient(circle at 85% 65%, rgba(0, 87, 164, 0.28), transparent 58%);
  filter: blur(10px);
  opacity: 0.9;
}

/* Nudge bubble */
.ig-chat-nudge {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 998;
  width: min(320px, calc(100vw - 36px));
  background: var(--ig-chat-glass);
  border: 1px solid var(--ig-chat-border);
  border-radius: 14px;
  box-shadow: var(--ig-chat-shadow);
  padding: 10px 12px;
  /* display: grid;
  grid-template-columns: 1fr auto; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  backdrop-filter: blur(14px);
  transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}
.ig-chat-nudge strong {
  color: var(--ig-navy);
  font-size: 13px;
}
.ig-chat-nudge span {
  color: rgba(17, 24, 39, 0.75);
  font-size: 12px;
}
.ig-chat-nudge.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ig-chat-nudge__x {
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  border: 1px solid rgba(210, 219, 232, 0.9);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(17, 24, 39, 0.7);
  cursor: pointer;
}

/* Panel */
.ig-chat-panel {
  position: fixed;
  right: 18px;
  bottom: 76px;
  width: min(380px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 120px));
  z-index: 1000;

  border-radius: var(--ig-chat-radius);
  border: 1px solid rgba(0, 87, 164, 0.18);
  background: linear-gradient(
      180deg,
      rgba(7, 23, 41, 0.06),
      rgba(0, 87, 164, 0.05)
    ),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(4, 18, 38, 0.22);
  backdrop-filter: blur(18px);

  display: grid;
  grid-template-rows: auto 1fr auto auto;

  transform: translateY(10px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
  overflow: hidden;
}

.ig-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ig-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(210, 219, 232, 0.85);
  background: linear-gradient(
    90deg,
    rgba(0, 87, 164, 0.08),
    rgba(0, 167, 215, 0.08)
  );
}

.ig-chat-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ig-chat-logo {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  object-fit: cover;
}
.ig-chat-title {
  line-height: 1.1;
}
.ig-chat-name {
  font-weight: 800;
  font-size: 13px;
  color: var(--ig-navy);
}
.ig-chat-sub {
  font-size: 11px;
  color: rgba(17, 24, 39, 0.62);
  margin-top: 2px;
}

.ig-chat-actions {
  display: flex;
  gap: 8px;
}
.ig-chat-ic {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(210, 219, 232, 0.9);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(17, 24, 39, 0.78);
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}
.ig-chat-ic:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.ig-chat-log {
  padding: 12px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.ig-msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(210, 219, 232, 0.9);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(17, 24, 39, 0.86);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(4, 18, 38, 0.06);
  animation: igChatPop 220ms ease;
}
@keyframes igChatPop {
  from {
    transform: translateY(6px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ig-msg.assistant {
  align-self: flex-start;
  border-color: rgba(0, 167, 215, 0.22);
  background: var(--ig-cyan);
  color: #fff;
  font-weight: 500;
}
.ig-msg.user {
  align-self: flex-end;
  border-color: rgba(0, 87, 164, 0.22);
  font-weight: 600;
}

/* Typing dots */
.ig-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.ig-typing i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #fff;
  display: inline-block;
  animation: igDot 900ms infinite ease-in-out;
}
.ig-typing i:nth-child(2) {
  animation-delay: 140ms;
}
.ig-typing i:nth-child(3) {
  animation-delay: 280ms;
}
@keyframes igDot {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* Input */
.ig-chat-form {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid rgba(210, 219, 232, 0.85);
  background: rgba(255, 255, 255, 0.65);
}
.ig-chat-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(210, 219, 232, 0.95);
  background: rgba(255, 255, 255, 0.88);
  padding: 12px 12px;
  outline: none;
  font-size: 13px;
}
.ig-chat-input:focus {
  border-color: rgba(0, 167, 215, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 167, 215, 0.12);
}

.ig-chat-send {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--ig-cyan);
  background: linear-gradient(90deg, var(--ig-blue), var(--ig-cyan));
  color: #fff;
  cursor: pointer;
  transition: transform 150ms ease, filter 200ms ease;
}
.ig-chat-send:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Footer */
.ig-chat-foot {
  padding: 8px 12px;
  text-align: center;
  font-size: 11px;
  color: rgba(17, 24, 39, 0.58);
  border-top: 1px solid rgba(210, 219, 232, 0.7);
  background: rgba(255, 255, 255, 0.58);
}

/* Mobile safe area */
@media (max-width: 520px) {
  .ig-chat-btn {
    right: 14px;
    bottom: 14px;
  }
  .ig-chat-panel {
    right: 14px;
    bottom: 70px;
  }
  .ig-chat-nudge {
    right: 14px;
    bottom: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-chat-panel,
  .ig-chat-nudge,
  .ig-msg {
    transition: none;
    animation: none;
  }
}

.chat-icon {
  width: 25px;
  height: 25px;
}

/* ==== Timeline animation ==== */
.timeline-item {
  position: relative;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 0;

  transform: translateX(-100%);
  transition: transform 1s ease;

  -webkit-mask-image: radial-gradient(
      120% 60% at 0% 30%,
      black 40%,
      transparent 41%
    ),
    radial-gradient(120% 60% at 0% 70%, black 40%, transparent 41%),
    linear-gradient(black, black);
  -webkit-mask-composite: source-over;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: right;

  mask-image: radial-gradient(120% 60% at 0% 30%, black 40%, transparent 41%),
    radial-gradient(120% 60% at 0% 70%, black 40%, transparent 41%),
    linear-gradient(black, black);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: right;
}

.timeline-item:hover::before {
  transform: translateX(0);
}

.timeline-item > * {
  position: relative;
  z-index: 1;
}

.timeline-item:hover h3,
.timeline-item:hover p {
  color: #111827;
}

.gg1:hover::before {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 250px;
  max-height: 7px;
  border-bottom-right-radius: 100%;
  background: #514aa6;
}

.logo-ai {
  width: 30px;
  height: 30px;
}

input,
textarea,
select {
  font-size: 16px !important;
}
