/* ============================================================
   VANSYS — index.css  (Home page specific styles)
============================================================ */

/* ── Hero Slider ── */
#home {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  contain: layout
}

.slider {
  position: absolute;
  inset: 0;
  z-index: 0
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

.slide.active {
  opacity: 1
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 14, 50, .88) 0%, rgba(8, 14, 50, .65) 45%, rgba(8, 14, 50, .28) 100%)
}

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20
}

.s-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: 2px solid rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all .3s;
  padding: 0
}

.s-dot.active {
  background: #F97316;
  border-color: #F97316;
  width: 28px;
  border-radius: 5px
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
  backdrop-filter: blur(8px)
}

.slider-arrow:hover {
  background: #F97316;
  border-color: #F97316
}

.arrow-prev {
  left: 20px
}

.arrow-next {
  right: 20px
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding-top: var(--nh);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-inner {
  max-width: 660px
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(59, 130, 246, .15);
  border: 1px solid rgba(99, 163, 255, .25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  animation: blink 2s infinite
}

.hero-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -.02em
}

.hero-h1 em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(135deg, #F97316, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-p {
  font-size: clamp(.95rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 560px
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

.trust-avatars {
  display: flex
}

.trust-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  overflow: hidden;
  margin-left: -10px;
  flex-shrink: 0
}

.trust-avatars span:first-child {
  margin-left: 0
}

.trust-avatars img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.trust-text {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7)
}

.trust-text strong {
  color: #fff;
  display: block
}

.hero-stats-row {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: calc(var(--nh)/2)
}

.stat-card {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
  animation: flt 5s ease-in-out infinite;
  min-width: 170px
}

.stat-card:nth-child(2) {
  animation-delay: 1.5s
}

.stat-card:nth-child(3) {
  animation-delay: .8s
}

@keyframes flt {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.sc-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: .85rem
}

.sc-val {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy)
}

.sc-lbl {
  font-size: .68rem;
  font-weight: 700;
  color: var(--t4);
  text-transform: uppercase;
  letter-spacing: .06em
}

.sc-row {
  display: flex;
  align-items: center;
  gap: 10px
}

/* ── About section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: center
}

.about-img-wrap {
  position: relative
}

.about-main-img {
  border-radius: var(--rx);
  overflow: hidden;
  box-shadow: var(--sl);
  aspect-ratio: 4/5
}

.about-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about-img-sm {
  position: absolute;
  width: 190px;
  bottom: -20px;
  right: -20px;
  border-radius: var(--rl);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--sl);
  aspect-ratio: 4/3
}

.about-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.exp-badge {
  position: absolute;
  top: 24px;
  left: -18px;
  background: var(--gp);
  color: #fff;
  border-radius: var(--r);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--sb)
}

.exp-num {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1
}

.exp-lbl {
  font-size: .72rem;
  font-weight: 600;
  opacity: .85
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0
}

.mv-card {
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: all .25s
}

.mv-card:hover {
  border-color: rgba(30, 64, 175, .2);
  box-shadow: var(--sm)
}

.mv-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: .95rem;
  margin-bottom: 12px
}

.mv-h {
  font-weight: 800;
  color: var(--t9);
  margin-bottom: 6px;
  font-size: .95rem
}

.mv-p {
  font-size: .83rem;
  color: var(--t5);
  line-height: 1.6
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.why-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: all .25s
}

.why-row:hover {
  border-color: rgba(30, 64, 175, .25);
  box-shadow: var(--sm)
}

.why-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--blue-p);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: 1px
}

.why-t {
  font-size: .875rem;
  color: var(--t7)
}

.why-t strong {
  color: var(--t9);
  display: block;
  font-weight: 700;
  margin-bottom: 2px
}

/* ── Services ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.svc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 28px;
  box-shadow: var(--ss);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gp);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease)
}

.svc-card:hover {
  border-color: rgba(30, 64, 175, .2);
  box-shadow: var(--sl);
  transform: translateY(-6px)
}

.svc-card:hover::after {
  transform: scaleX(1)
}

.svc-img {
  width: 100%;
  height: 155px;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 18px
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease)
}

.svc-card:hover .svc-img img {
  transform: scale(1.05)
}

.svc-iw {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 14px
}

.svc-h {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t9);
  margin-bottom: 9px
}

.svc-p {
  font-size: .86rem;
  color: var(--t5);
  line-height: 1.7;
  margin-bottom: 16px
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.svc-tag {
  font-size: .71rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--blue-p);
  color: var(--blue);
  border: 1px solid rgba(30, 64, 175, .12)
}

.svc-cta {
  background: var(--gh);
  border: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.svc-cta::after {
  display: none
}

.svc-cta:hover {
  box-shadow: 0 20px 60px rgba(15, 23, 65, .3);
  transform: translateY(-6px)
}

.svc-cta .svc-h {
  color: #fff
}

.svc-cta p {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 24px
}

/* ── Process ── */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  /*position:relative*/
}

.proc-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 48px);
  right: calc(12.5% + 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-l), rgba(59, 130, 246, .3));
  z-index: 0;
  border-radius: 1px
}

.proc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--ss);
  transition: all .3s;
  position: relative;
  z-index: 1
}

.proc-card:hover {
  border-color: rgba(30, 64, 175, .2);
  box-shadow: var(--sm);
  transform: translateY(-4px)
}

.proc-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gp);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  box-shadow: var(--sb)
}

.proc-h {
  font-weight: 800;
  color: var(--t9);
  margin-bottom: 8px;
  font-size: .95rem
}

.proc-p {
  font-size: .84rem;
  color: var(--t5);
  line-height: 1.6
}

/* ── Testimonials ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 28px;
  box-shadow: var(--ss);
  transition: all .3s
}

.testi-card:hover {
  box-shadow: var(--sm);
  border-color: rgba(30, 64, 175, .18);
  transform: translateY(-4px)
}

.testi-stars {
  color: #f59e0b;
  font-size: .9rem;
  margin-bottom: 14px;
  letter-spacing: 2px
}

.testi-q {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue-l);
  line-height: .8;
  margin-bottom: 12px;
  font-family: Georgia, serif
}

.testi-text {
  font-size: .9rem;
  color: var(--t5);
  line-height: 1.7;
  margin-bottom: 22px
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px
}

.testi-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0
}

.testi-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.testi-name {
  font-weight: 700;
  color: var(--t9);
  font-size: .9rem
}

.testi-role {
  font-size: .78rem;
  color: var(--t4)
}

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--ss);
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column
}

.blog-card:hover {
  box-shadow: var(--sl);
  transform: translateY(-6px);
  border-color: rgba(30, 64, 175, .18)
}

.blog-thumb {
  height: 195px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06)
}

.blog-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  color: #fff
}

.blog-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.blog-date {
  font-size: .78rem;
  color: var(--t4);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px
}

.blog-h {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--t9);
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
  letter-spacing: -.01em
}

.blog-p {
  font-size: .84rem;
  color: var(--t5);
  line-height: 1.65;
  margin-bottom: 18px
}

.blog-lnk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap .2s
}

.blog-lnk:hover {
  gap: 12px
}

/* ── Careers ── */
.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start
}

.openings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px
}

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--ss);
  transition: all .25s
}

.job-card:hover {
  border-color: rgba(30, 64, 175, .25);
  box-shadow: var(--sm);
  transform: translateX(5px)
}

.job-title {
  font-weight: 700;
  color: var(--t9);
  margin-bottom: 4px
}

.job-meta {
  font-size: .8rem;
  color: var(--t4)
}

.job-badge {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(22, 163, 74, .1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, .2);
  white-space: nowrap;
  flex-shrink: 0
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start
}

.cinfo-cards {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ci-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--ss);
  transition: all .25s
}

.ci-card:hover {
  border-color: rgba(30, 64, 175, .25);
  transform: translateX(4px)
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0
}

.ci-lbl {
  font-size: .75rem;
  color: var(--t4);
  margin-bottom: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em
}

.ci-val {
  font-weight: 700;
  color: var(--t9)
}

.ci-val a {
  color: var(--t9);
  transition: color .2s
}

.ci-val a:hover {
  color: var(--blue)
}

.map-frame {
  width: 100%;
  height: 380px;
  border-radius: var(--rl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sm);
  margin-top: 40px
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block
}

/* ── Responsive (index specific) ── */
@media(max-width:1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .about-img-wrap {
    max-width: 500px
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .testi-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr
  }

  .proc-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .proc-grid::before {
    display: none
  }

  .careers-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:768px) {

  .hero-stats-row,
  .slider-arrow {
    display: none
  }

  .svc-grid,
  .testi-grid,
  .blog-grid,
  .proc-grid {
    grid-template-columns: 1fr
  }

  .mv-grid {
    grid-template-columns: 1fr
  }

  .about-img-sm {
    display: none
  }
}

@media(max-width:480px) {
  .hero-btns {
    flex-direction: column;
    align-items: flex-start
  }
}