/* ===== ANIMATION ===== */
.slide__b {
  animation: slideB 1s ease 0s 1 normal forwards;
}

@keyframes slideB {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

a:hover {
  text-decoration: none;
}

/* === SERVICES_BANNER STYLE === */
.services__banner {
  height: 500px;
  background-image: url("./assests/serv_ban.png");
  background-position: left 15%;
  background-size: cover;
}

.services__banner .grd__ovl {
  height: 100%;
  background: #32056b;
  background: linear-gradient(
    90deg,
    rgba(50, 5, 107, 1) 27%,
    rgba(50, 5, 107, 0) 100%
  );
}

/* === SERVICES STYLE === */

.sub__heading {
  width: 70%;
  margin: 0 auto;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 40px;
}

.services__box .number {
  font-size: 70px;
}

.services__box .number__title {
  font-size: 30px;
}

.services__box .border__bottom {
  width: 80%;
  border: 1px solid #d2237d;
  margin-right: -28px;
}

.services__box img {
  width: 150px;
  margin: 0 auto;
}

.services__box .icon {
  width: 30px;
}

.services__box .text__underline {
  width: 8%;
  margin: 0;
  border: 1px solid #d2237d;
}

.text__box {
  font-size: 18px;
}

.text__box p {
  margin: 8px 0px;
}

/* === NOTRE STYLE === */
.notre {
  position: relative;
  display: none;
  background-color: #50dbe6;
  margin-top: -44px;
}

.top__arrow {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
  padding: 8px;
  background-color: #50dbe6;
  border-radius: 1000px;
}

.top__arrow .icon {
  width: 30px;
  color: white;
}

.notre .close__icon {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 44px;
  color: white;
}

.card {
  width: 320px;
  border-radius: 12px;
}

.card-body img {
  width: 110px;
  margin: 0 auto;
}

.card-title {
  color: #50dbe6;
}

.card-text {
  color: #311275;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /* === SERVICES_BANNER STYLE === */
  .services__banner {
    height: 300px;
  }

  /* === SERVICES MOBILE STYLE === */
  .heading_text {
    font-size: 18px;
    margin-top: 20px;
  }

  .sub__heading {
    width: 100%;
    margin: 0 auto;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 40px;
  }

  .services__box .number {
    font-size: 32px;
  }

  .services__box .number__title {
    font-size: 14px;
  }

  .services__box .number__title:nth-child(3) {
    margin-left: -50px;
  }

  .services__box .text__underline {
    width: 18%;
  }

  .services__box .border__bottom {
    width: 100%;
    border: 1px solid #d2237d;
    margin-right: -28px;
  }

  .services__box img {
    width: 90px;
    margin: 0 auto;
  }

  .services__box .box__text {
    width: 100px;
  }

  .services__box .text__underline {
    margin: auto;
  }

  /* === NOTRE STYLE === */
  .notre {
    margin-top: -95px;
  }

  .sub__text {
    font-size: 20px;
    margin-top: -28px;
  }

  .notre .close__icon {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 34px;
    color: white;
  }

  .card__overflow {
    overflow-x: scroll;
  }

  .carousel__box {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 10px;
  }

  .carousel__item {
    flex: 0 0 100%;
  }

  .card {
    width: 300px;
    height: 400px;
    border-radius: 12px;
    margin: 0 auto;
    margin-bottom: 12px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
 
  .services__box .number__title {
    font-size: 14px;
  }

  .services__box img {
    width: 120px;
    margin: 0 auto;
  }
}
