body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  background-color: #0e0e0e;
  color: #fff;
}

/* ================= IMAGE SECTION ================= */
.display {
  font-size: 64px;
  font-weight: 500;
}
.stats-wrapper {
  position: relative;
}

.main-img {
  width: 100%;
  height: 683px;
  object-fit: cover;
  border-radius: 35px;
}

/* stats container */
.stats-box {
  position: absolute;
  display: flex;
  gap: 20px;
  background: #0c0f16;
  padding: 25px;
  border-radius: 20px;
}

/* top box */
.top-box {
  top: -30px;
  left: -20px;
}

.bottom-box {
  bottom: -30px;
  right: -20px;
}
/* stat card */
.stat-card {
  padding: 22px 28px;
  border-radius: 18px;
  text-align: center;
  color: white;

  background: rgba(15, 23, 32, 0.75);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.15);
}
.text-muted {
  color: #ffffff !important;
  font-size: 18px; /* slightly cleaner than 0.99 */
  font-weight: 300 !important; /* 100 is too thin, looks broken */
  line-height: 1.6;
  letter-spacing: 0.3px;
  font-family: "Inter", "Poppins", sans-serif;
}
.stat-card h2 {
  font-size: 64px;
  font-weight: 700;
  margin: 0;
  text-align: start;
}

.stat-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  font-weight: 500;
}

/* active card */
.stat-card.active {
  background: linear-gradient(
    145deg,
    rgba(10, 30, 50, 0.9),
    rgba(5, 15, 25, 0.9)
  );

  border: 1px solid rgba(0, 170, 255, 0.6);

  box-shadow:
    0 0 10px rgba(0, 170, 255, 0.2),
    inset 0 0 10px rgba(0, 170, 255, 0.1);
}
.stat-card.light {
  border: 1.5px solid white;
  background: rgba(20, 25, 30, 0.6);
}
.border-glow {
  position: relative;
  border-radius: 18px;
  background: rgba(15, 23, 32, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.border-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px; /* border thickness */

  background: linear-gradient(
    135deg,
    rgba(0, 170, 255, 0.9) 0%,
    /* top-left strong */ rgba(0, 170, 255, 0.2) 25%,
    /* fade */ rgba(0, 170, 255, 0.1) 50%,
    /* dull middle */ rgba(0, 170, 255, 0.2) 75%,
    /* fade */ rgba(0, 170, 255, 0.9) 100% /* bottom-right strong */
  );

  /* this creates border only */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}
.headcol {
  color: #33aaf0;
}

.innovation {
  margin-top: 9rem;
}
.system {
  font-size: 32px;
  font-weight: 400;
}
.gap {
  gap: 9rem;
}
.service-box {
  background-color: #11191e;
  /* border: 1px solid #91b6f2; */
  border-radius: 35px;
  padding: 30px;
}

.service-card {
  background-color: #11191e;
  /* border: 1px solid #91b6f2; */
  border-radius: 15px;
  padding: 40px 25px;
  height: 100%;
  transition: 0.3s;
  color: white;
}

.service-card h3 {
  color: white;
  font-weight: 400;
  font-size: 30px;
}
.my-4 {
  color: white;
  font-weight: lighter !important;
  /* font-weight: 600; */
}
/* .tech-logo {
  height: 60px;
  opacity: 0.8;
  transition: 0.3s;
}

.tech-logo:hover {
  opacity: 1;
  transform: scale(1.1);
} */

.marg {
  margin-top: 9rem;
}
/* ================= TABLET ================= */
.display-3 {
  font-size: 56px;
  font-weight: 500 !important;
}

@media (max-width: 992px) {
  .main-img {
    height: 50vh;
  }

  .stat-card {
    padding: 20px 25px;
  }

  .stat-card h2 {
    font-size: 38px;
  }

  .stat-card p {
    font-size: 15px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .main-img {
    height: auto;
  }

  .stats-box {
    position: static;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px;
  }

  .stat-card {
    width: 45%;
    padding: 20px;
  }

  .stat-card h2 {
    font-size: 28px;
  }

  .stat-card p {
    font-size: 14px;
  }

  .display {
    font-size: 20px;
    font-weight: 500;
  }
  /* Default (desktop) */
  .desktop-br {
    display: inline;
  }

  /* Mobile pe hide */
  @media (max-width: 768px) {
    .desktop-br {
      display: none;
    }
  }
  .text-muted {
    color: #ffffff !important;
    font-size: 10px; /* slightly cleaner than 0.99 */
    font-weight: 300 !important; /* 100 is too thin, looks broken */
    line-height: 1.6;
    letter-spacing: 0.3px;
    font-family: "Inter", "Poppins", sans-serif;
    width: 75%;
    color: #b7b7b7 !important;
    margin-left: 40px;
    margin-bottom: -30px;
  }
  .display-3 {
    font-size: 16px;
    font-weight: 500 !important;
    text-align: center;
    width: 80%;
    margin-left: 30px;
  }
  .service-box {
    background-color: #11191e;
    /* border: 1px solid #91b6f2; */
    border-radius: 35px;
    padding: 30px;
    /* margin: 60px; */
    width: 264px;
    height: 472px;
  }
  .system {
    font-size: 16px;
    font-weight: 400;
    margin-top: 30px;
  }

  .service-box h5 {
    margin-top: 30px !important;
  }
  .img-fluid {
    height: 280px;
    width: 200px;
  }
  .service-box a {
    font-size: 10px;
    color: #2571f9 !important;
  }
  .service-card {
    background-color: #11191e;
    /* border: 1px solid #91b6f2; */
    border-radius: 15px;
    padding: 40px 25px;
    /* height: 100%; */
    transition: 0.3s;
    color: white;
    width: 264px;
    height: 472px;
    margin-left: 25px;
  }
  .service-card h3 {
    color: white;
    font-weight: 400;
    font-size: 16px;
  }
  .service-card h4 {
    font-size: 10px;
    color: #2571f9 !important;
    margin-bottom: 20px;
  }
  .display-4 {
    font-size: 16px;
    font-weight: 600 !important;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .ourclient {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  /* .tech-logo {
    width: 102px;
    height: 46px; 
  } */
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {
  .stat-card {
    width: 237px;
    height: 156px;
  }

  .stat-card h2 {
    font-size: 64px;
    text-align: start;
  }

  .stat-card p {
    font-size: 18px;
    text-align: start;
  }
  .display {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
  }
  /* Default (desktop) */
  .desktop-br {
    display: inline;
  }

  /* Mobile pe hide */
  @media (max-width: 768px) {
    .desktop-br {
      display: none;
    }
  }
  .marg {
  }
}
/* .tech-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
} */

/* Tablet */
@media (max-width: 992px) {
  .tech-logo {
    width: 245px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .tech-logo {
    width: 60px;
  }
}
