.square-image {
  width: 50px;
  height: 50px;
}
.team-overlay .center-text {
  padding: 20px;
}
.team-overlay .center-text p {
  margin-bottom: 0;
  color: #fff;
}

/* nav bar search css */
#searchResults a {
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
}

#searchResults a:hover {
  background-color: #f8f9fa;
  padding-left: 1rem;
}

#searchResults i {
  width: 20px;
  text-align: center;
}

/* new service catagory display card css */

.service-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 61, 134, 0.15);
}

.card-image-container {
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.icon-square {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-card:hover .icon-square {
  transform: rotate(15deg);
}

.image-placeholder {
  border-radius: 15px 15px 0 0;
}

/* footer  logo  */
.footer-logo {
  height: 90px;
  padding: 2px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* index Why chose us section  */

.why-choose-us {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.feature-item {
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.stats-card {
  bottom: -50px;
  width: 55%;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-up-down {
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .stats-card {
    position: relative !important;
    bottom: auto !important;
    margin: -30px auto 0;
    width: 100%;
  }

  .why-choose-us {
    padding: 2rem 0;
  }
}

/* Grow your business  */

.scrolling-box {
  height: 485px;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.scrolling-box:active {
  cursor: grabbing;
}

.scrolling-content {
  position: relative;
  /* changed from absolute */
  width: 100%;
  animation-play-state: running;
}

.scrolling-box:hover .scrolling-content {
  animation-play-state: paused !important;
}

.upward-scroll .scrolling-content {
  animation: scrollUp 20s linear infinite;
}

.service-category {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-category a:hover {
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.contact-box li {
  border-bottom: 1px dashed #dee2e6;
  padding: 0.75rem 0;
}

.contact-box li:last-child {
  border-bottom: none;
}

@keyframes fly {
  0% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(5px) translateY(-2px) rotate(10deg);
  }

  100% {
    transform: translateX(0px);
  }
}

.btn .fa-paper-plane {
  animation: fly 1s infinite ease-in-out;
  display: inline-block;
}
