﻿.home-marquee-section {
  background-color: var(--text-gray);
  color: var(--text-white);
}

.nav-tabs.nav-item {
  border: none !important;
}

.what-we-do-content .nav-tabs .nav-item .nav-link {
  background-color: transparent;
  color: var(--text-gray);
  margin-right: 0.6rem;
  padding: 0;
  border: none;
  margin-bottom: 0;
  font-weight: 700;
  transition: var(--transition-100);
}

.what-we-do-content .nav-tabs .nav-item .nav-link:hover {
  color: var(--red-primary);
}

.what-we-do-content .nav-tabs .nav-item .nav-link.active {
  color: var(--red-primary);
}

#recruitement-table {
  border-collapse: collapse;
  /* td,th {
    padding: 5px 2px;
    } */
    td, th {
      padding: 5px 8px;
      border: 1px solid black;
  }
}

.shape-img {
  z-index: -5;
  position: absolute;
  right: 6%;
  bottom: 20%;
  transform: translateY(50%);
  animation: movebounce 5s linear infinite;
}

.owl-carousel > div img {
  width: 100%;
  max-height: 100%;
  height: 24rem;
}

.funfacts-box {
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-black);
  font-weight: bold;
  transition: var(--transition-100);
}

.funfacts-box:hover {
  animation: scale 800ms linear infinite;
  cursor: pointer;
}

.funfacts-box i {
  font-size: 2rem;
  color: var(--red-primary);
}

.funfacts-box .counter-count {
  font-size: 2.4rem;
  font-weight: bold;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  height: 22rem;
  background-color: var(--white-faint-1);
  padding: 1rem 1.4rem;
  border-radius: 0.4rem;
  /* width: 23%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-200);
}

.service-card h5 {
  font-weight: bold;
  transition: var(--transition-200);
  margin-bottom: 1rem;
}

.service-card p {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9rem;
  overflow-y: scroll;
}

.service-card p::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

.service-card p::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: var(--white-faint-1);
}

.service-card h5:hover {
  cursor: pointer;
  color: var(--red-primary);
}

.service-card .default-btn {
  width: fit-content;
  margin-top: auto;
}

.service-card:hover {
  background-color: var(--text-white);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

/* ANIMATIONS */

@-webkit-keyframes movebounce {
  0% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@keyframes movebounce {
  0% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@-webkit-keyframes scale {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scale {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/* MEDIA QUERIEs */

@media (max-width: 991px) {
  .owl-carousel > div img {
    width: 100%;
    max-height: 100%;
    height: 20rem;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .owl-carousel > div img {
    max-width: 100%;
    max-height: 100%;
    height: 10rem;
  }

  .shape-img {
    display: none;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 20rem;
  }
}