/*
* Template Name: Webiz
* Template URI: https://www.salvatoremandis.it
* Description: Webiz Digital Agency - Responsive Bootstrap Template
* Author: Salvatore Mandis
* Author URI: https://www.salvatoremandis.it
*/
*{margin: 0;padding: 0;}
body{font-family: 'IBM Plex Sans';background-color: #ffffff;-webkit-font-smoothing: antialiased;}

/* =========================================================
   SITE NAVIGATION (index.html)
   Three-column bar: logo | centered links | CTA
   ========================================================= */
#nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  /* Left logo · flexible center · right CTA */
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 2rem;
  background: #0b1220;
  border-bottom: 1px solid rgba(120, 160, 200, 0.16);
}

/* Logo — existing image; clickable home link */
.site-nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 2;
}

.site-nav__logo img {
  height: 3.25rem;
  width: auto;
  display: block;
}

/* Centered nav headers */
.site-nav__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  color: rgb(195, 192, 192);
  text-decoration: none;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: 1.4rem; /* ~20px header links */
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: #fff;
}

/* Services dropdown */
.site-nav__item--dropdown {
  position: relative;
}

.site-nav__dropdown {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: 20rem;
  background: #142032;
  border: 1px solid rgba(120, 160, 200, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 110;
}

.site-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -0.65rem;
  left: 0;
  right: 0;
  height: 0.65rem;
}

.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav__dropdown > li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}

.site-nav__dropdown a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1.25rem;
  font-size: 1.1rem;
  line-height: 1.35;
  white-space: nowrap;
  color: rgba(200, 205, 212, 0.92);
  border-left: 2px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}

.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus {
  color: #ffffff;
  background: rgba(61, 79, 219, 0.12);
  border-left-color: #6b7fff;
  padding-left: 1.45rem;
  text-decoration: none;
}

/* CTA: text by default; even pill button on hover */
.site-nav__cta {
  justify-self: end;
  z-index: 2;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em; /* even space between label and arrow */
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  text-decoration: none;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: 1.25rem; /* match header link size */
  font-weight: 500;
  letter-spacing: 0.02em;
  /* Symmetric inset; em units keep padding balanced as font scales */
  padding: 0.7em 1.35em;
  border: 1.5px solid transparent; /* same width idle + hover → no layout jump */
  border-radius: 999px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.site-nav__cta-arrow {
  display: inline-block;
  line-height: 1;
  /* Optical tweak: unicode arrows sit slightly high / right */
  transform: translateY(-0.02em);
}

.site-nav__cta:hover,
.site-nav__cta:focus {
  color: #0a0a0a;
  background: #fff;
  border-color: #fff;
  text-decoration: none;
  outline: none;
}

/* Hamburger — hidden on desktop */
.site-nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.35rem;
  line-height: 1;
  z-index: 2;
}

.site-nav__toggle:focus {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

/* Offset page content so it clears the fixed bar */
body {
  padding-top: 4.75rem;
}

.site-nav__cta-label {
  margin-bottom: -5px;
}

.site-nav__cta-arrow {
  margin-bottom: -2px;
}

/* ---------- Mobile / tablet nav ---------- */
@media (max-width: 992px) {
  .site-nav {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
  }

  .site-nav__toggle {
    display: block;
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  /* Keep CTA on the far right next to the toggle */
  .site-nav__cta {
    grid-column: 3;
    grid-row: 1;
    padding: 0.65em 1.2em;
    font-size: 1.1rem;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0f1828;
    border-bottom: 1px solid rgba(120, 160, 200, 0.16);
    padding: 0.5rem 0;
  }

  .site-nav.is-open .site-nav__links {
    display: flex;
  }

  .site-nav__links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1.15rem;
    white-space: normal;
  }

  .site-nav__item--dropdown {
    width: 100%;
  }

  .site-nav__dropdown {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    padding: 0.25rem 0 0.5rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .site-nav__item--dropdown.is-open .site-nav__dropdown {
    display: flex;
    flex-direction: column;
  }

  .site-nav__dropdown a {
    padding: 0.75rem 1.5rem 0.75rem 2.25rem;
    font-size: 1.05rem;
    white-space: normal;
  }

  .site-nav__dropdown a:hover,
  .site-nav__dropdown a:focus {
    padding-left: 2.45rem;
  }
}

@media (max-width: 480px) {
  /* On very small screens, tuck CTA into the open menu instead of crowding the bar */
  .site-nav__cta {
    display: none;
  }

  .site-nav.is-open .site-nav__cta {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Legacy Bootstrap navbar (sub-pages: networking.html, web.html, etc.) */
/*.navbar{background: linear-gradient(to left, #505050,#E0E0E0);padding: 0 !important;}*/
.navbar{background: linear-gradient(to left, #000,#000);padding: 0 !important;}
.navbar_sub{background: linear-gradient(to left, #FFFFFF,#FFFFFF);padding: 0 !important; border-bottom: 2px solid blue;}
/* Logo resize */
.navbar-brand img{height: 4rem;padding-left: 3rem;}
.navbar-nav{margin-right: 3rem;}
.navbar-nav li{padding: 0 1rem;}
.navbar-nav li{padding: 0 1rem;}
.navbar-nav .nav-item .nav-link{font-family: 'IBM Plex Sans'; font-weight: 100; float: right; text-align: left;}
.nav-link-sub{font-family: 'IBM Plex Sans';color: #505050 !important; font-weight: 100; float: right; text-align: left;}
.navbar-nav .nav-item .nav-link-sub:hover{color: #4169E1!important;} 
/*.nav-link-sub:hover{background: #ffbf00;}*/
/*.navbar-nav .nav-item .nav-link:hover{color: #4169E1!important;}*/
.navbar-nav .active a {background-color: #fff;color: #4169E1!important;}
.navbar-nav .dropdown-content .active a {background-color: #000;color: #4169E1!important;}

/* Keep Font Awesome glyph font on hamburger icons */
.fa-bars{color: #fff !important; font-size: 25px !important;}
.site-nav__toggle .fa-bars{font-size: 1.35rem !important;}
.navbar-toggler{outline: none !important;}
/* --------- Banner / Hero ---------- */
/*.banner{background: linear-gradient(to left, #007bffc9,#007bff5c);color: #fff; padding-top: 5%;}*/
.promo-title{font-family: 'IBM Plex Sans';font-size: 3rem; font-weight: 100; margin-top: 3em;}
.join-title{font-family: 'IBM Plex Sans';font-size: 1.44rem;}
.link-play{text-decoration: none;}
.link-play:hover{color: #58f0ff;text-decoration: none!important;}
.play-btn{width: 45px;margin: 20px 0;margin-right: 2em;text-decoration: none !important;transition: transform 1.2s;}
.play-btn:hover{color: #444;text-decoration: none!important;transform: scale(1.2);}
.banner a{color: #fff; text-decoration: none!important;}
.img-fluid{margin-top: 4rem;}
.bottom-img{width: 100%;}

/* =========================================================
   HERO — full-bleed split visual + copy + CTAs
   ========================================================= */
:root {
  --hero-ink: #f3f1eb;
  --hero-muted: #c4ccd4;
  --hero-accent: #4eb89a;   /* network teal */
  --hero-accent-2: #d4b56a; /* agent brass */
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 4.75rem);
  width: 100%;
  overflow: hidden;
  color: var(--hero-ink);
  background: #041018;
}

/* Edge-to-edge visual plane (not an inset card/image) */
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__image-wrap {
  position: absolute;
  inset: -4%;
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}

.hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% center; /* keep network visual right; dark left for copy */
  filter: saturate(0.88) brightness(0.78);
}

/* Animated topology overlay (mostly right side) */
.hero__anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero__dash {
  stroke-dasharray: 10 14;
  animation: hero-dash-flow 16s linear infinite;
}

.hero__dash--slow {
  animation-duration: 24s;
  animation-direction: reverse;
}

.hero__dot {
  opacity: 0.45;
  animation: hero-dot-pulse 2.8s ease-in-out infinite;
}

.hero__dot--delay {
  animation-delay: 1.1s;
}

/* Strong left scrim — keeps headline / subhead readable */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 12, 0.94) 0%,
      rgba(5, 8, 12, 0.88) 28%,
      rgba(5, 8, 12, 0.62) 48%,
      rgba(5, 8, 12, 0.22) 68%,
      rgba(5, 8, 12, 0.12) 100%
    ),
    radial-gradient(
      120% 80% at 18% 50%,
      rgba(5, 8, 12, 0.55) 0%,
      transparent 55%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(48rem, 86vw);
  margin-left: clamp(2.5rem, 14vw, 11rem);
  padding: 4.5rem 6vw 5rem 0;
  animation: hero-rise 0.9s ease both;
}

.hero__headline {
  margin: 0 0 1.5rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.15rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  animation: hero-rise 0.95s 0.08s ease both;
}

.hero__subhead {
  margin: 0 0 2.35rem;
  max-width: 44rem;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(236, 241, 245, 0.92); /* brighter for contrast on dark scrim */
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  animation: hero-rise 1s 0.16s ease both;
}

.hero__subhead p {
  margin: 0 0 1rem;
}

.hero__subhead p:last-child {
  margin-bottom: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  animation: hero-rise 1.05s 0.24s ease both;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  padding: 0.95em 1.45em;
  border: 1.5px solid transparent;
  border-radius: 0.4rem; /* slight curve — not pill */
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.hero__btn--primary {
  color: #0a1218;
  background: var(--hero-ink);
  border-color: var(--hero-ink);
}

.hero__btn--primary:hover {
  background: transparent;
  color: var(--hero-ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero__btn--ghost {
  color: var(--hero-ink);
  background: transparent;
  border-color: rgba(243, 241, 235, 0.35);
}

.hero__btn--ghost:hover {
  border-color: var(--hero-ink);
  background: rgba(243, 241, 235, 0.06);
  color: var(--hero-ink);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Motion — copy rises in */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slow ken-burns on the background */
@keyframes hero-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.5%, 1%); }
}

/* Flowing dashed network lines */
@keyframes hero-dash-flow {
  to { stroke-dashoffset: -280; }
}

/* Soft node pulse */
@keyframes hero-dot-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.95; }
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - 4.25rem);
    align-items: flex-end;
  }

  .hero__content {
    width: min(100%, 92vw);
    margin-left: 0;
    padding: 3.25rem 5vw 3.75rem;
  }

  .hero__headline {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .hero__subhead {
    font-size: clamp(1.1rem, 3.6vw, 1.3rem);
  }

  .hero__image {
    object-position: center center;
    filter: saturate(0.9) brightness(0.65);
  }

  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(5, 8, 12, 0.55) 0%,
        rgba(5, 8, 12, 0.82) 40%,
        rgba(5, 8, 12, 0.96) 100%
      );
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__btn {
    width: 100%;
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__headline,
  .hero__subhead,
  .hero__actions,
  .hero__image-wrap,
  .hero__dash,
  .hero__dot {
    animation: none !important;
  }
}

/* =========================================================
   SECTION 3 — WHAT WE DO
   Equal two-column practice links
   ========================================================= */
.overview {
  --overview-bg: #f7f9fc;
  --overview-ink: #1a2433;
  --overview-green: #3d4fdb;
  --overview-muted: rgba(40, 55, 70, 0.82);

  width: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(120, 160, 200, 0.14), transparent 65%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-top: 1px solid rgba(15, 30, 50, 0.06);
  padding: 5.5rem 0 0;
}

/* Centered section label */
.overview__intro {
  text-align: center;
  margin: 0 auto;
  padding: 0 6vw 2.5rem;
}

.overview__eyebrow {
  margin: 0;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--overview-green);
  text-shadow: none;
}

.overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  border-top: 1px solid rgba(15, 30, 50, 0.1);
}

.overview__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  min-height: 20rem;
  padding: 4rem 5vw 4.25rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.25s ease;
}

.overview__col--network {
  background: #f4f7fb;
  border-right: 1px solid rgba(15, 30, 50, 0.1);
}

.overview__col--agents {
  background: #eef2f7;
}

.overview__col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--overview-green);
  opacity: 0;
  transition: opacity 0.25s ease, width 0.25s ease;
}

.overview__col:hover,
.overview__col:focus {
  text-decoration: none;
  color: inherit;
  outline: none;
  background: #e4ebf3;
}

.overview__col:hover::before,
.overview__col:focus::before {
  opacity: 1;
  width: 5px;
}

.overview__label {
  margin: 0;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--overview-ink);
}

.overview__text {
  margin: 0;
  max-width: 34rem;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--overview-muted);
}

.overview__cue {
  margin-top: 0.35rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--overview-green);
  transition: transform 0.22s ease, color 0.22s ease;
}

.overview__col:hover .overview__cue,
.overview__col:focus .overview__cue {
  transform: translateX(8px);
  color: #0b1220;
}

@media (max-width: 900px) {
  .overview {
    padding-top: 4rem;
  }

  .overview__intro {
    padding: 0 5vw 2rem;
  }

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

  .overview__col--network {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .overview__col {
    min-height: 0;
    padding: 3rem 5vw 3.25rem;
  }

  .overview__label {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .overview__text {
    font-size: clamp(1.2rem, 4.2vw, 1.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .overview__col,
  .overview__col::before,
  .overview__cue {
    transition: none !important;
  }

  .overview__col:hover .overview__cue,
  .overview__col:focus .overview__cue {
    transform: none;
  }
}

/* =========================================================
   SECTION 4 — SERVICES ZIGZAG
   ========================================================= */
.services {
  width: 100%;
  height: auto;
  overflow: visible;
  background:
    radial-gradient(ellipse 75% 40% at 50% 0%, rgba(120, 160, 200, 0.1), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 40%);
  border-top: 1px solid rgba(15, 30, 50, 0.06);
  padding: 5rem 6vw 5rem;
}

.services__heading {
  margin: 0 auto 3.5rem;
  text-align: center;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3d4fdb;
  text-shadow: none;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto 3.75rem;
  scroll-margin-top: 5.5rem;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.service-row--reverse .service-row__media {
  order: 2;
}

.service-row--reverse .service-row__copy {
  order: 1;
}

.service-row__media {
  overflow: hidden;
  border-radius: 12px;
  background: #e8eef5;
  border: 1px solid rgba(15, 30, 50, 0.08);
}

.service-row__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center;
}

.service-row__copy {
  text-align: left;
}

.service-row__title {
  margin: 0 0 1.15rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a2433;
  text-shadow: none;
}

.service-row__text {
  margin: 0;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 1.45vw, 1.3rem);
  line-height: 1.65;
  color: rgba(40, 55, 70, 0.88);
}

@media (max-width: 900px) {
  .services {
    padding: 4rem 5vw 3.75rem;
  }

  .services__heading {
    margin-bottom: 2.5rem;
  }

  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .service-row--reverse .service-row__media,
  .service-row--reverse .service-row__copy {
    order: initial;
  }

  .service-row__media img {
    min-height: 12.5rem;
  }
}

/* =========================================================
   SECTION 4b — LEGACY PRACTICE STYLES (AI Agents / shared)
   ========================================================= */
.practice {
  --practice-bg: #ffffff;
  --practice-surface: #f3f6fa;
  --practice-ink: #1a2433;
  --practice-muted: rgba(40, 55, 70, 0.84);
  --practice-green: #3d4fdb;

  width: 100%;
  background:
    radial-gradient(ellipse 75% 50% at 50% 8%, rgba(61, 79, 219, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(120, 160, 200, 0.1), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
  border-top: 1px solid rgba(15, 30, 50, 0.06);
  padding: 5.5rem 6vw 5rem;
  scroll-margin-top: 4.75rem;
}

.practice__intro {
  max-width: 72rem;
  margin: 0 auto 3.75rem;
  text-align: center;
  padding: 2.35rem 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(15, 30, 50, 0.06);
  border-radius: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(15, 30, 50, 0.045);
}

.practice__intro--service {
  max-width: 54rem;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.practice--alt {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(120, 160, 200, 0.12), transparent 60%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 55%, #ffffff 100%);
}

.practice__eyebrow {
  margin: 0 0 1.5rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--practice-green);
}

.practice__headline {
  margin: 0 0 1.75rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--practice-ink);
  text-shadow: none;
}

.practice__lead {
  margin: 0 auto;
  max-width: 64rem; /* wider paragraph measure */
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 1.75vw, 1.45rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--practice-muted);
}

.practice__lead p {
  margin: 0 0 1rem;
}

.practice__lead p:last-child {
  margin-bottom: 0;
}

/* Independent tiles — gap only, never connector lines */
.practice__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 88rem; /* room for larger cards */
  margin: 0 auto;
  align-items: stretch;
}

.practice__tile {
  background: var(--practice-surface);
  border: 1px solid rgba(15, 30, 50, 0.1);
  border-radius: 14px;
  padding: 2.35rem 1.9rem 2.5rem; /* larger card body */
  min-height: 15.5rem;
  scroll-margin-top: 5.5rem;
  box-shadow: 0 8px 22px rgba(15, 30, 50, 0.06);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.practice__tile--focus {
  border-color: rgba(61, 79, 219, 0.65);
  box-shadow: 0 0 0 1px rgba(61, 79, 219, 0.12), 0 8px 22px rgba(15, 30, 50, 0.06);
}

.practice__tile:hover {
  background: #eaf0f6;
  border-color: rgba(61, 79, 219, 0.45);
  box-shadow: 0 12px 28px rgba(15, 30, 50, 0.1);
  transform: translateY(-3px);
}

.practice__tile-title {
  margin: 0 0 1.1rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 1.7vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--practice-ink);
}

.practice__tile-text {
  margin: 0;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.12rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: rgba(55, 70, 85, 0.92);
}

.practice__proof {
  max-width: 48rem;
  margin: 3.25rem auto 0;
  text-align: center;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--practice-green);
}

/* 3-tile layout (AI Agents) */
.practice__tiles--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 78rem;
}

/* Secondary practice — AI Agents, clear band below Services */
.practice--agents {
  --practice-green: #9a7a2e;
  --practice-surface: #f7f3eb;
  position: relative;
  clear: both;
  margin-top: 0;
  padding-top: 5.5rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 8%, rgba(154, 122, 46, 0.08), transparent 60%),
    linear-gradient(180deg, #faf8f4 0%, #ffffff 60%);
  border-top: 1px solid rgba(154, 122, 46, 0.18);
}

.practice--agents .practice__intro {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-width: 54rem;
  margin: 0 auto 3.5rem;
}

.practice--agents .practice__tile {
  background: #ffffff;
  border-color: rgba(154, 122, 46, 0.22);
  box-shadow: 0 8px 22px rgba(80, 60, 20, 0.06);
}

.practice--agents .practice__tile--focus {
  border-color: rgba(154, 122, 46, 0.65);
  box-shadow: 0 0 0 1px rgba(154, 122, 46, 0.12), 0 8px 22px rgba(80, 60, 20, 0.06);
}

.practice--agents .practice__tile:hover {
  background: #f3ece0;
  border-color: rgba(154, 122, 46, 0.45);
}

@media (max-width: 1100px) {
  .practice__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .practice {
    padding: 4rem 5vw 4rem;
  }

  .practice__intro {
    margin-bottom: 2.5rem;
  }

  .practice__tiles,
  .practice__tiles--3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .practice__tile {
    padding: 2rem 1.55rem 2.15rem;
    min-height: 0;
  }

  .practice__proof {
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice__tile {
    transition: none !important;
  }

  .practice__tile:hover {
    transform: none;
  }
}

/* =========================================================
   SECTION 6 — WHY US
   Three short columns, typography-led
   ========================================================= */
.why {
  --why-bg: #ffffff;
  --why-ink: #1a2433;
  --why-muted: rgba(40, 55, 70, 0.85);
  --why-green: #3d4fdb;
  --why-surface: #f3f6fa;

  width: 100%;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(120, 160, 200, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 55%);
  border-top: 1px solid rgba(15, 30, 50, 0.06);
  padding: 5.25rem 6vw 5.5rem;
}

.why__eyebrow {
  margin: 0 auto 3.25rem;
  text-align: center;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--why-green);
  text-shadow: none;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.why__col {
  position: relative;
  padding: 1.85rem 1.6rem 1.9rem;
  background: var(--why-surface);
  border: 1px solid rgba(15, 30, 50, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 30, 50, 0.05);
}

.why__col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 3px;
  background: var(--why-green);
  border-radius: 14px 14px 0 0;
}

.why__title {
  margin: 0 0 1rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--why-ink);
}

.why__text {
  margin: 0;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--why-muted);
}

@media (max-width: 900px) {
  .why {
    padding: 4rem 5vw 4.25rem;
  }

  .why__eyebrow {
    margin-bottom: 2.5rem;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    max-width: 36rem;
  }
}

/* ---------- Services (legacy sub-pages only; homepage uses .services zigzag above) --------- */
#services.legacy-services{background: #d7dadc; height: 600px;}
.service-img{width: auto; margin-top: 2rem;}
.services_sub{padding: 20px;}
/*.title::after{
  content: '';
  background: linear-gradient(to left, #cc0000,#e60000);
  height: 8px;
  width: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 70px;
  transform: translateY(23px);}*/
#services .btn-primary{
  box-shadow: none;
  padding: 8px 25px;
  border: none; border-radius: 20px;
  background: linear-gradient(to left, #1723b1,#58f0ff);
  transition: transform 1.2s;
}
#services .btn-primary:hover{transform: scale(1.2);}
/* -----------   About (legacy block further down the page) -------------*/
#about-legacy{padding-bottom: 3rem; padding-top: 3rem;background: #6c757d45;}
.about-title{font-family: 'IBM Plex Sans';font-size: 1em; font-weight: 100; line-height: 2;}
#about-legacy ul li{margin: 10px 0;}
#about-legacy ul{margin-left: 20px;}

/* =========================================================
   SECTION 7 — ABOUT / CREDIBILITY STRIP
   ========================================================= */
.about-strip {
  --about-bg: #f4f7fb;
  --about-ink: #1a2433;
  --about-muted: rgba(40, 55, 70, 0.85);
  --about-green: #3d4fdb;
  --about-surface: #ffffff;

  width: 100%;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(120, 160, 200, 0.16), transparent 62%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 55%, #ffffff 100%);
  border-top: 1px solid rgba(15, 30, 50, 0.06);
  padding: 5.5rem 6vw 5.25rem;
}

.about-strip__intro {
  max-width: 54rem;
  margin: 0 auto 3.5rem;
  text-align: center;
  padding: 2.35rem 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(15, 30, 50, 0.06);
  border-radius: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(15, 30, 50, 0.045);
}

.about-strip__eyebrow {
  margin: 0 0 1.5rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--about-green);
}

.about-strip__headline {
  margin: 0 0 1.85rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--about-ink);
  text-shadow: none;
}

.about-strip__body {
  max-width: 48rem;
  margin: 0 auto;
  text-align: left;
}

.about-strip__body p {
  margin: 0 0 1.35rem;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 1.65vw, 1.4rem);
  line-height: 1.65;
  color: var(--about-muted);
}

.about-strip__body p:last-child {
  margin-bottom: 0;
}

/* Stat callouts — polished independent tiles */
.about-strip__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0;
}

.about-strip__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  min-height: 11.5rem;
  background: #ffffff;
  border: 1px solid rgba(15, 30, 50, 0.1);
  border-radius: 14px;
  padding: 2.15rem 1.5rem 2.1rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 30, 50, 0.06);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

/* Green accent bar at top of each tile */
.about-strip__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--about-green);
  opacity: 0.85;
}

.about-strip__stat:hover {
  border-color: rgba(61, 79, 219, 0.45);
  background: #f7f8fc;
  box-shadow: 0 12px 28px rgba(15, 30, 50, 0.1);
  transform: translateY(-3px);
}

.about-strip__stat-value {
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 3.6vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--about-green);
}

/* Locations: slightly smaller so both names fit cleanly */
.about-strip__stat-value--places {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-strip__stat-sep {
  opacity: 0.55;
  font-weight: 500;
}

.about-strip__stat-label {
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(55, 70, 85, 0.88);
  max-width: 14rem;
}

@media (max-width: 900px) {
  .about-strip {
    padding: 4rem 5vw 4.25rem;
  }

  .about-strip__intro {
    margin-bottom: 2.5rem;
  }

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

  .about-strip__stat {
    min-height: 10.5rem;
  }
}

@media (max-width: 520px) {
  .about-strip__stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-strip__stat {
    transition: none !important;
  }

  .about-strip__stat:hover {
    transform: none;
  }
}

/* ------- Testimonials Section -----*/
#testimonials{margin: 100px 0;}
.testimonials{border-left: 3px solid #1723b1; margin: 50px 0;}
.testimonials img{height: 60px;width: 60px;border-radius: 50%; margin: 0 10px;}
.user-details{display: inline-block;font-size: 12px;font-family: 'IBM Plex Sans';}
.feedback{font-style: italic;font-family: 'IBM Plex Sans';}
/* ----- Footer (legacy rules kept for sub-pages) ------*/
/*#footer{background: linear-gradient(to left, #505050,#E0E0E0); color: #fff;}*/
#footer{background: linear-gradient(to left, #6c757d45,#6c757d45);}
.footer-img{width: 100%;}
.footer-box{padding: 20px;}
.footer-box img{width: 4rem; margin-bottom: 20px;}
.footer-box .fa{
  margin-right: 8px;
  font-size: 25px;
  height: 40px;
  width: 40px;
  text-align: center;
  padding-top: 7px;
  border-radius: 2px;
  display: inline-block;
}
.footer-box .form-control{box-shadow: none !important; border: none; border-radius: 0; margin: 20px 0;}
.footer-box .btn-primary{
  box-shadow: none !important;
  width: 8rem;
  border: none; border-radius: 50px;
  background: linear-gradient(to left, #1723b1,#58f0ff);
  color: #fff;transition: transform 1.2s;
}
.footer-box .btn-primary:hover{transform: scale(1.2); color: #fff;}
/*-------- Social Media icons ---------- */
#social p{font-weight: 100; font-family: 'IBM Plex Sans';font-size: 16px; margin-top: 20px;}
#social .social-icons .svg-icons img{width: 23px;transition: transform .7s;margin-right: 1rem;}
#social .social-icons .svg-icons img:hover{transform: scale(1.2);}
.copyright{padding-top: 2%; font-size: 15px;font-family: 'IBM Plex Sans';}
.copyright a{text-decoration: none;color: #fff;font-family: 'IBM Plex Sans';}
.copyright a:hover{text-decoration: none;color: #1723b1;font-family: 'IBM Plex Sans';}

/* =========================================================
   SECTION 8 — SITE FOOTER
   ========================================================= */
.site-footer {
  width: 100%;
  background: #0b1220 !important; /* same as nav */
  border-top: 1px solid rgba(120, 160, 200, 0.16);
  padding: 3.5rem 6vw 2.5rem;
  color: rgba(210, 220, 230, 0.88);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  max-width: 72rem;
  margin: 0 auto 2.75rem;
}

.site-footer__grid--offices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.site-footer__logo img {
  height: 2.75rem;
  width: auto;
  display: block;
}

.site-footer__tag {
  margin: 0;
  max-width: 16rem;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(190, 200, 210, 0.85);
}

.site-footer__title {
  margin: 0 0 1rem;
  font-family: 'Sora', 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7fff;
}

.site-footer__text {
  margin: 0 0 0.85rem;
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: rgba(220, 228, 236, 0.9);
}

.site-footer__mail {
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: rgba(220, 228, 236, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__mail:hover,
.site-footer__mail:focus {
  color: #ffffff;
  text-decoration: none;
}

.site-footer__map {
  width: 100%;
  height: 12rem;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 200, 0.22);
  background: #142032;
}

.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin: 0 0 0.65rem;
}

.site-footer__links a {
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: rgba(220, 228, 236, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
  color: #ffffff;
  text-decoration: none;
}

.site-footer__copy {
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(120, 160, 200, 0.16);
  font-family: 'Helvetica', 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: rgba(160, 172, 184, 0.85);
}

@media (max-width: 900px) {
  .site-footer {
    padding: 3rem 5vw 2.25rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .site-footer__grid--offices {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__grid,
  .site-footer__grid--offices {
    grid-template-columns: 1fr;
  }
}
/*-------- End Contact / Footer ---------- */


.form-control-text {
	display: block;
	width: 50%;
	height: calc(2.25rem + 2px);
	padding: .375rem .75rem;
	font-family: 'IBM Plex Sans';
	font-size: 1rem;
	font-weight: 100;
	line-height: 1.5;
	color: #2700ff;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.samp:hover .show_button{
	background: #007db8/*#babdb6*/;
    /*top: -10px;*/
    display: block;
}
.samp:hover .more{
	display: block;
}
.show_button:hover .sub_div {
    display: block;
    /*transition-delay:100ms;*/
    background: #fff000;
    
}
/*.samp:hover .service-img{
    transition: transform 0.9s;
    transform: scale(0.7,0.7);
}*/
.sub {
	padding-top: 20px; 
	padding-left: 10px; 
	padding-left: 10px
}
.samp:hover .sub{
	/*transition: transform 0.9s;*/
	padding-top:5px;
	padding-bottom:15px;
	//background: linear-gradient(to bottom, rgba(102, 102, 102, 0.8) 0, rgba(51, 51, 51, 0.95) 100%);
	background:  #ffffe6;
}

.more_det_div {
	color: #fff;
	display: none;
}

.samp:hover .more_det_hover{
	display: block;
	height:100%;
	width:100%;
}



/*#es:hover{color: #ff9900;transition: transform .7s;transform: scale(1.1);}
#mc:hover{color: #ff9900;transition: transform .7s;transform: scale(1.1);}
#wt:hover{color: #ff9900;transition: transform .7s;transform: scale(1.1);}*/


.show_button{
	  width: 100%; 
	  height: 30px; 
	  display: block;
	  cursor: pointer;
	  
}


.imagebox {
  width: 50%;
  float: left;
}

.textbox {
  width: 50%;
  float: right;
  text-align: left;
  padding-top: 20px;
#  background-color: #000;
  color: #fff;
}

ul{
    padding: 0;
    list-style: none;
#    background: #f2f2f2;
}
ul li{
    display: inline-block;
    position: relative;
    line-height: 21px;
#    text-align: left;
}
ul li a{
    display: block;
#    padding: 0px 15px;
    color: white;
    text-decoration: none;
	line-height: 200%;	
	font-weight: 100;
}
ul li a:hover{
    color: #4169E1;
}
ul li ul.dropdown-menu{
    min-width: 150px; /* Set width of the dropdown */
    background: #000;
    display: none;
    position: absolute;
    z-index: 1500;
    left: 0;
}
ul li ul.dropdown-menu li{
    display: block;
}
