
/* HERO */
.hero {
  position: relative;

  height: 75vh;
  min-height: 450px;

  width: 100%;              /* FULL width */
  margin-bottom: 10px;      /* only bottom spacing */

  overflow: hidden;

  border-radius: 0;         /* remove card look */
}
/* SLIDES */
/* SLIDES (better easing) */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  image-rendering: auto;
  opacity: 0;
  transform:none;
  transition: 
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ACTIVE */
.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* DARK OVERLAY */
.slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.15); /* lighter */
}

/* TEXT */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 80px);
  text-align: center;
  color: white;
  opacity: 0;
}
.overlay h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.overlay p {
  font-size: 16px;
  opacity: 0.9;
}

/* ENTER (staggered feel) */
.slide.active .overlay {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: 
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}

/* EXIT */
.slide.exit .overlay {
  opacity: 0;
  transform: translate(-50%, -140px);
  transition: 
    transform 0.6s ease-in,
    opacity 0.5s ease-in;
}
.slide.active h1 {
  transition-delay: 0.2s;
}

.slide.active p {
  transition-delay: 0.4s;
}

.slide.active .hero-btn {
  transition-delay: 0.6s;
}
/* BUTTON */
.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #2563eb;
  color: white;
  border-radius: 30px;
  text-decoration: none;
}

/* FLASH EFFECT */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.hero.flash::after {
  opacity: 0.6;
}

/* ARROWS */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  z-index: 5;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);

  color: white;
  font-size: 20px;

  width: 48px;
  height: 48px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.1);
}

.nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.prev { left: 20px; }
.next { right: 20px; }

/* DOTS */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;

  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background: #2563eb;
}

/* WRAPPER */
.logos-wrapper {
  overflow: hidden;
  position: relative;
}

.logos-wrapper::before,
.logos-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.logos-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.logos-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}
/* TRACK */
.logos-track {
  display: flex;
  gap: 60px;
  width: max-content;

  animation: scroll 25s linear infinite;
}

/* LOGOS */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo-item {
  transition: none;
}

.logo-item img {
  max-height: 40px;

  filter: grayscale(100%) brightness(0.7);
  opacity: 0.5;

  transition: filter 0.4s ease, opacity 0.4s ease;
}

/* ONLY COLOR CHANGE */
.logo-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* HOVER */
.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
/* ANIMATION */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logos-wrapper:hover .logos-track {
  animation-play-state: paused;
}

.trusted {
  padding: 30px 0 50px;
  text-align: center;
}

.section-title {
  font-size: 14px;
  letter-spacing: 2px;
  color: #64748b;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.stats {
  padding: 60px 20px 40px;
  margin-bottom: 30px;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(59,130,246,0.15),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(59,130,246,0.1),
      transparent 40%
    ),
    linear-gradient(135deg, #020617, #020617);

  text-align: center;
}

.stat-box {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  color: #e2e8f0; /* IMPORTANT → gives svg color */
  border: 1px solid rgba(255,255,255,0.08);

  padding: 28px 20px;
  border-radius: 18px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition: all 0.35s ease;
}

/* HOVER */
.stat-box:hover {
  transform: translateY(-10px) scale(1.02);

  border-color: rgba(59,130,246,0.5);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    0 0 25px rgba(59,130,246,0.25);
}

.stat-box svg {
  width: 42px;
  height: 42px;

  stroke: #60a5fa;   /* brighter blue */
  stroke-width: 2.5;

  margin-bottom: 18px;

  opacity: 1;

  filter: drop-shadow(0 0 8px rgba(59,130,246,0.6));
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
  max-width: 1150px;
  margin: auto;
}
.stat-box h2 {
  font-size: 40px;
  font-weight: 700;

  color: #e2e8f0;
  letter-spacing: 1px;
}
.stat-box p {
  margin-top: 10px;
  color: #94a3b8;
  font-size: 14px;
}
.why {
  padding-top: 50px;
  background: #f8fafc;
  text-align: center;
}
.why-header .tag {
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.why-header h2 {
  font-size: 40px;
  margin: 10px 0;
  color: #0f172a;
}

.why-header p {
  max-width: 600px;
  margin: auto;
  color: #64748b;
}
.why-container {
  margin-top: 60px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.why-card {
  background: white;
  padding: 40px 25px;

  border-radius: 18px;

  border: 1px solid #e2e8f0;

  text-align: left;

  transition: all 0.3s ease;
}
.icon {
  width: 50px;
  height: 50px;

  background: #e2e8f0;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;
}

.icon i {
  color: #2563eb;
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f172a;
}

.why-card p {
  color: #64748b;
  font-size: 14px;
}
.why-card p:hover{
  color: #161616;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  background: linear-gradient(
    45deg,
    #5699ef 0%,
    #eef4ff 100%
  );
}
.cta {
  padding: 40px 20px;
  margin-top: 0;
  margin-bottom: 0;
  background: #f1f5f9;
}
.cta-box {
  max-width: 1100px;
  margin: auto;

  padding: 35px 40px;

  border-radius: 24px;

  background: linear-gradient(135deg, #2563eb, #1d4ed8);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  color: white;
}
.cta-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cta-content p {
  max-width: 500px;
  color: #e2e8f0;
  margin-bottom: 0;
  line-height: 1.5;
}
.cta-btn {
  background: white;
  color: #2563eb;

  padding: 14px 28px;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 500;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* ================= HOME RESPONSIVE ================= */

@media (max-width: 992px) {

  /* HERO */
  .hero {
    height: 65vh;
  }

  .overlay h1 {
    font-size: 32px;
  }

  .overlay p {
    font-size: 15px;
    max-width: 80%;
    margin: 10px auto;
  }

  /* LOGOS */
  .logos-track {
    gap: 40px;
    animation: scroll 25s linear infinite;
  }

  .logo-item img {
    max-height: 35px;
  }

  /* STATS */
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ================= 768px ================= */

@media (max-width: 768px) {

  /* HERO */
  .hero {
    height: 60vh;
    min-height: 360px;
  }

  .overlay {
    width: 90%;
  }

  .overlay h1 {
    font-size: 24px;
  }

  .overlay p {
    font-size: 14px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* LOGOS */
  .trusted {
    padding: 30px 0;
  }

  .logos-track {
    gap: 25px;
    animation: scroll 35s linear infinite;
  }

  .logo-item img {
    max-height: 26px;
    filter: grayscale(0%);
    opacity: 0.9;
  }

  .logos-wrapper::before,
  .logos-wrapper::after {
    width: 30px;
  }

  /* STATS */
  .stats {
    padding: 40px 12px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-box {
    padding: 18px 12px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }

  .stat-box svg {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
  }

  .stat-box h2 {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .stat-box p {
    font-size: 12px;
    margin-top: 0;
  }

  /* ✅ WHY CHOOSE US (THIS WAS MISSING) */
  .why-container {
    grid-template-columns: 1fr;
  }

  .why-header h2 {
    font-size: 28px;
  }

}

/* ================= 480px ================= */

@media (max-width: 480px) {

  .hero {
    height: 55vh;
  }

  .overlay h1 {
    font-size: 20px;
  }

  .overlay p {
    font-size: 13px;
  }

  .logos-track {
    gap: 18px;
    animation: scroll 35s linear infinite;
  }

  .logo-item img {
    max-height: 22px;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-box {
    padding: 16px 12px;
  }

}