/************************************************/
/*                    Home                      */
/*   Page-specific styles; shared design in      */
/*   ../Site.css                                */
/************************************************/

/*********************Hero***********************/
.home-hero {
  background-image: url(main-page.jpg);
  background-position: center 30%;
  padding-top: 120px;
  padding-bottom: 40px;
  /* first screen = hero + trusted strip; next section stays below the fold */
  min-height: calc(100vh - 185px);
  display: flex;
  align-items: center;
}

/* Lighter overlay so the handshake photo reads clearly; text keeps
   contrast via the darker centre band and text shadows below.       */
.home-hero:after {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(26, 29, 46, 0.55) 0%, rgba(26, 29, 46, 0.35) 45%, rgba(26, 29, 46, 0.15) 75%),
    linear-gradient(180deg, rgba(26, 29, 46, 0.55) 0%, rgba(35, 38, 59, 0.35) 50%, rgba(35, 38, 59, 0.55) 100%);
}

.home-hero .container {
  width: 100%;
}

.home-hero h1,
.home-hero .hero-lede,
.home-hero .eyebrow {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.home-hero .stat {
  background-color: rgba(26, 29, 46, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}

.home-hero .stat-num {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.home-hero .stat-label {
  color: #DFE2EB;
}

.home-logo {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 18px auto;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.home-hero h1 {
  font-size: 54px;
}

.home-slogan {
  max-width: 820px;
  font-size: 21px;
}

.acr {
  color: orange;
  font-weight: bold;
  font-size: 1.15em;
}

/*******************Two segments*****************/
.segment-link-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
}

.home-segment {
  text-align: center;
  padding-top: 34px;
}

.home-segment h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.home-segment p {
  font-size: 16px;
  line-height: 1.65;
}

.home-segment ul {
  text-align: left;
  display: inline-block;
  margin: 6px auto 20px auto;
  font-size: 15px;
}

.home-segment .text-link {
  display: inline-block;
  font-size: 15px;
}

.home-cn {
  font-size: 40px;
  color: #23263B;
  line-height: 1;
}

@media (min-width: 992px) {
  /* Equal-height cards: flex the row so both columns stretch */
  .card-row {
    display: flex;
    flex-wrap: wrap;
  }
  .card-row > .col-md-6 > .segment-link-card {
    display: flex;
    width: 100%;
  }
  .segment-link-card .site-card {
    flex: 1 1 auto;
    width: 100%;
  }
  .segment-link-card .home-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .home-segment .text-link {
    margin-top: auto;
  }
}

/*******************A N I V A********************/
.value-card {
  text-align: center;
  padding-top: 34px;
}

.value-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #23263B;
  color: orange;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
}

/*********************People*********************/
.people-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 26px 22px 26px;
}

.people-card img {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 4px solid #F4F6FA;
  box-shadow: 0 6px 18px rgba(35, 38, 59, 0.15);
}

.people-text h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.people-role {
  font-size: 13px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9AA0B3 !important;
  margin-bottom: 10px;
}

.people-text p {
  font-size: 15px;
  line-height: 1.65;
}

.people-text p:last-child {
  margin-bottom: 0;
}

/*******************Contact band*****************/
.home-cta {
  padding: 90px 0 80px 0;
  text-align: center;
}

.home-cta .container {
  max-width: 960px;
}

.home-cta .eyebrow {
  margin-bottom: 14px;
}

.home-cta h3 {
  color: white;
  font-size: 30px;
  font-weight: bold;
  margin: 0 0 40px 0;
}

.home-cta .row {
  padding: 0 4%;
}

.home-cta-label {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #B1B6C7;
  margin-bottom: 4px;
}

.home-cta .cta {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .home-hero {
    min-height: 0;
    padding-top: 100px;
  }
  .home-hero h1 {
    font-size: 34px;
  }
  .home-slogan {
    font-size: 17px;
  }
  .people-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/*****************Trusted-by strip***************/
.trusted {
  background-color: white;
  border-bottom: 1px solid #E1E5EC;
  padding: 26px 0 40px 0;
}
.trusted-head {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9AA0B3;
  margin-bottom: 22px;
}
.trusted-viewport {
  overflow: hidden;
  position: relative;
}
.trusted-viewport:before, .trusted-viewport:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 1;
  pointer-events: none;
}
.trusted-viewport:before { left: 0; background: linear-gradient(90deg, white, rgba(255,255,255,0)); }
.trusted-viewport:after { right: 0; background: linear-gradient(270deg, white, rgba(255,255,255,0)); }
.trusted-track {
  display: flex;
  width: max-content;
  animation: trustedScroll 45s linear infinite;
}
.trusted-viewport:hover .trusted-track { animation-play-state: paused; }
.trusted-set {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.trusted-item {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
}
.trusted-name {
  font-family: Georgia, serif;
  font-size: 21px;
  color: #3A3F58;
  letter-spacing: 0.5px;
}
.trusted-logo {
  height: 36px;
  width: auto;
  max-width: 200px;
  transition: all 0.25s ease 0s;
}

.trusted-dot {
  color: orange;
  font-size: 14px;
}
@keyframes trustedScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trusted-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .trusted-set[aria-hidden="true"] { display: none; }
  .trusted-set { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}
.trusted-logo-tall { height: 46px; }
.trusted-logo-xl { height: 72px; max-width: 280px; }
@media (max-width: 767px) {
  .trusted-item { padding: 0 18px; }
  .trusted-name { font-size: 17px; }
  .trusted-logo { height: 28px; max-width: 150px; }
  .trusted-logo-tall { height: 34px; }
  .trusted-logo-xl { height: 54px; }
}

/* Gentle compaction on laptop screens so hero + trusted strip fill exactly one screen */
@media (max-height: 900px) and (min-width: 768px) {
  .home-hero { padding-top: 112px; padding-bottom: 28px; }
  .trusted { padding: 20px 0 30px 0; }
  .trusted-head { margin-bottom: 16px; }
}
@media (max-height: 800px) and (min-width: 768px) {
  .home-hero { padding-top: 100px; padding-bottom: 24px; }
  .home-logo { width: 68px; padding: 9px; margin-bottom: 10px; }
  .home-hero h1 { font-size: 42px; margin-bottom: 12px; }
  .home-slogan { font-size: 18px; margin-bottom: 18px; }
  .home-hero .hero-actions { margin-bottom: 24px; }
  .home-hero .stat { padding: 11px 10px 9px 10px; }
  .home-hero .stat-num { font-size: 28px; }
  .trusted { padding: 18px 0 26px 0; }
  .trusted-head { margin-bottom: 14px; }
  .trusted-logo { height: 30px; }
  .trusted-logo-tall { height: 38px; }
  .trusted-logo-xl { height: 56px; }
}
/*************Network-in-motion teaser************/
.motion-teaser {
  text-align: center;
  margin: 26px 0 0 0;
  font-size: 15px;
}
.motion-teaser a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid #E1E5EC;
  border-radius: 999px;
  background-color: #F7F8FB;
  color: #23263B;
  font-weight: bold;
  text-decoration: none !important;
  transition: all 0.25s ease 0s;
}
.motion-teaser a:hover {
  border-color: orange;
  color: orange;
  box-shadow: 0 6px 18px rgba(35, 38, 59, 0.10);
}
.motion-teaser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #5FA8D8;
  animation: teaserPulse 2s ease-in-out infinite;
}
@keyframes teaserPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}
@media (prefers-reduced-motion: reduce) {
  .motion-teaser-dot { animation: none; }
}

/**************AI products band******************/
.ai-band {
  padding: 64px 0 70px 0;
  background-color: #23263B;
  background-image:
    radial-gradient(ellipse at 82% 12%, rgba(255, 165, 0, 0.14) 0%, rgba(255, 165, 0, 0) 45%),
    radial-gradient(ellipse at 15% 85%, rgba(95, 168, 216, 0.14) 0%, rgba(95, 168, 216, 0) 45%),
    linear-gradient(135deg, #1A1D2E 0%, #23263B 55%, #2E3352 100%);
  scroll-margin-top: 110px;
}
.ai-band .section-head h2 { color: white; }
.ai-band .section-lede { color: #DFE2EB; }
.ai-row { margin-top: 8px; }
.ai-card {
  display: block;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 30px 30px 24px 30px;
  color: #DFE2EB;
  text-decoration: none !important;
  transition: all 0.25s ease 0s;
  margin-bottom: 24px;
}
.ai-card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.08);
  color: #DFE2EB;
}
.ai-valora:hover { border-color: orange; box-shadow: 0 14px 40px rgba(255, 165, 0, 0.18); }
.ai-optara:hover { border-color: #5FA8D8; box-shadow: 0 14px 40px rgba(95, 168, 216, 0.18); }
.ai-kicker {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ai-valora .ai-kicker { color: orange; }
.ai-optara .ai-kicker { color: #5FA8D8; }
.ai-card h3 {
  color: white;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin: 0 0 10px 0;
}
.ai-card h3 span { font-size: 15px; font-weight: normal; letter-spacing: 1px; color: #B1B6C7; }
.ai-tag { font-size: 16.5px; line-height: 1.55; color: white; margin-bottom: 14px; }
.ai-card ul { padding-left: 18px; margin-bottom: 18px; }
.ai-card li { font-size: 14.5px; line-height: 1.6; margin-bottom: 6px; color: #DFE2EB; }
.ai-card b { color: white; }
.ai-link { font-size: 14px; font-weight: bold; letter-spacing: 0.5px; }
.ai-valora .ai-link { color: #F5C56B; }
.ai-optara .ai-link { color: #8FC3E8; }
@media (min-width: 992px) {
  .ai-row { display: flex; flex-wrap: wrap; }
  .ai-row > [class*="col-"] { float: none; }
  .ai-card { display: flex; flex-direction: column; }
  .ai-card .ai-link { margin-top: auto; }
}
