html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
/* carousel section  */
/* Make carousel height consistent */
.carousel-item {
  height: 100vh; /* or 500px */
  position: relative;
}

/* Make image fill slide */
.carousel-item img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.1); /* start zoomed in */
  will-change: transform;
}

/* Animate ONLY the active slide */
.carousel-item.active img {
  animation: zoomOut 5s linear forwards;
}

@keyframes zoomOut {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
  z-index: 1;
}

/* Make sure caption stays above overlay */
.carousel-caption {
  z-index: 2;
}

/* stats section */
.stats-section {
  /* background-color: red; */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../media/bg-image/bg-1.jpeg);
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #2fa4dc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.icon-circle i {
  font-size: 30px;
  color: #fff;
}
/* meet the team section */
.card-img-top {
  height: 260px;
  object-fit: cover;
  background-position: center;
}

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
}

/* services card section */
.service-box {
  background: #ffffff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* Icon */
.icon-box {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box i {
  font-size: 26px;
  color: #0d6efd;
}

/* Animation base */
.animate-left,
.animate-right {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left {
  transform: translateX(-70px);
}

.animate-right {
  transform: translateX(70px);
}

/* Visible */
.animate-show {
  opacity: 1;
  transform: translateX(0);
}

/* footer section */
.site-footer {
  background-color: #111;
  padding: 80px 0 30px;
}

.grayscale {
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s ease;
}

.grayscale:hover {
  filter: grayscale(0);
  opacity: 1;
}
.client-track {
  gap: 80px;
  animation: scroll 25s linear infinite;
}

.client-logo {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.footer-logo {
  max-width: 160px;
}

.site-footer p {
  color: #ccc;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #2fa4dc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: #1c7fb6;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
  color: #ccc;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}
