.services .navbar .nav-link {
  color: var(--white);
}


.service-1 {
  background: var(--dark-grad), url(/img/services-bg.jpg) no-repeat 50% 50%;
  background-size: cover;
  padding: 240px 0px;
}

.service-2 {
  background: url(/img/services-1-bg.jpg) no-repeat 50% 50%;
  background-size: cover;
  margin: 50px 0px;
}

.accordion-button:hover {
  color: var(--primary);
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: unset;
  box-shadow: unset;
}

.accordion-button:focus {
  box-shadow: unset;
}

.service-4 {
  background: var(--dark-grad), url(/img/client-bg.png) no-repeat 50% 50%;
  background-size: cover;
}

.service-4 .card {
  background: unset;
}

.service-4 .card p {
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  color: #666;
}

.service-4 .card p.small {
  font-size: 14px;
}

.service-4 .go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 32px;
  height: 32px;
  overflow: hidden;
  top: 0;
  right: 0;
  background-color: var(--primary);
  border-radius: 0 4px 0 32px;
}

.service-4 .go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans;
}

.service-4 .card1 {
  display: block;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
}

.service-4 .card1:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: var(--primary);
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.service-4 .card1:hover:before {
  transform: scale(21);
}

.service-4 .card1:hover p {
  transition: all 0.3s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.service-4 .card1:hover h3 {
  transition: all 0.3s ease-out;
  color: #fff;
}

.service-4 .card2 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  border: 1px solid #f2f8f9;
}

.service-4 .card2:hover {
  transition: all 0.2s ease-out;
  box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
  top: -4px;
  border: 1px solid #ccc;
  background-color: white;
}

.service-4 .card2:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: var(--primary);
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(2);
  transform-origin: 50% 50%;
  transition: transform 0.15s ease-out;
}

.service-4 .card2:hover:before {
  transform: scale(2.15);
}

.service-4 .card3 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #f2f8f9;
}

.service-4 .card3 .go-corner {
  opacity: 0.7;
}

.service-4 .card3:hover {
  border: 1px solid var(--primary);
  box-shadow: 0px 0px 999px 999px rgba(255, 255, 255, 0.5);
  z-index: 500;
}

.service-4 .card3:hover p {
  color: var(--primary);
}

.service-4 .card3:hover .go-corner {
  transition: opactiy 0.3s linear;
  opacity: 1;
}

.service-4 .card4 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #fff;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #ccc;
}

.service-4 .card4 .go-corner {
  background-color: var(--primary);
  height: 100%;
  width: 16px;
  padding-right: 9px;
  border-radius: 0;
  transform: skew(6deg);
  margin-right: -36px;
  align-items: start;
  background-image: linear-gradient(-45deg, #8f479a 1%, #dc2a74 100%);
}

.service-4 .card4 .go-arrow {
  transform: skew(-6deg);
  margin-left: -2px;
  margin-top: 9px;
  opacity: 0;
}

.service-4 .card4:hover {
  border: 1px solid #cd3d73;
}

.service-4 .card4 h3 {
  margin-top: 8px;
}

.service-4 .card4:hover .go-corner {
  margin-right: -12px;
}

.service-4 .card4:hover .go-arrow {
  opacity: 1;
}

.service-5 .why-arrow,
.service-6 img {
  width: 112px;
  height: 50px;
  object-fit: contain;
}

.service-5 .service-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}


.service-5 .card {
  position: relative;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.service-5 .card img {
  width: 92px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.service-5 .card .card-heading {
  color: var(--primary);
}

.service-5 .card:hover {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-5 .card__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.service-5 .card:hover .card__content {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1;
}

.service-5 .card__title {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 700;
}

.service-5 .card__description {
  margin: 10px 0 0;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}

.service-6 .container {
  background: url(/img/cta-bg.png) no-repeat 50% 50%;
  background-size: cover;
}

.service-7 .fa,
.service-7 span {
  font-size: 16px;
}

.service-7 .card {
  padding: 20px;
}

.service-7 .card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


@media screen and (max-width: 992px) {
  .service-5 .service-card-grid {
    grid-template-columns: 1fr;
  }

  .service-7 .fa,
  .service-7 span {
    font-size: 18px;
  }
}


.service-item {
  background: #fff;
  border-radius: .6rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  overflow: hidden;
  height: 320px;
  margin-bottom: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
}

.service-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.service-content {
  padding: 1.2rem 1.4rem;
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--primary);
}

.service-content p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #444;
}

@media (max-width: 768px) {
  .service-image img {
    height: 180px;
  }
}


@media screen and (max-width:992px) {
  .service-4 .card1{
    max-width: unset;
  }

  .service-item{
    height: unset;
  }
}