/* collabrate team section */
.collabrate {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 5vw 0;

  .collab-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3vw;
    background-color: white;
    width: 80vw;
    overflow: hidden;

    .collabrate-img img {
      width: 100%;
      max-width: 380px;
      height: auto;
    }

    .collabrate-content {
      width: 40%;

      h1 {
        font-size: 35px;
        font-weight: 700;
        line-height: 40px;
        width: 100%;
        max-width: 480px;
      }

      p {
        font-size: 14px;
        color: gray;
        margin-top: 10px;
        line-height: 25px;
      }

      .enroll-now {
        background-color: #3197A8;
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        padding: 0.8vw 1vw;
        border-radius: 10px;
        cursor: pointer;
        text-decoration: none;
        position: relative;
        top: 2vh;
      }
    }
  }
}

.collabrate-img-animation {
  animation: collablefttoright 3s ease;
}

.collabrate-content-animation {
  animation: collabrighttoleft 3s ease;
}

@keyframes collablefttoright {
  0% {
    transform: translateX(-130%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes collabrighttoleft {
  0% {
    transform: translateX(130%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (min-width: 320px) and (max-width: 668px) {
  .collabrate-content {
    width: 100% !important;
    animation: none;
    margin-bottom: 6vw;

    h1 {
      font-size: 25px;
    }

    .enroll-now {
      padding: 2vw !important;
    }
  }

  .collabrate-img {
    width: 70%;
    animation: none;

    img {
      width: 100%;
    }
  }
}

@media (min-width: 668px) and (max-width: 1024px) {

  .collabrate-img {
    width: 50%;
    animation: none;
  }

  .collabrate-content {
    width: 100%;
    animation: none;
    margin-bottom: 4vw;

    .enroll-now {
      padding: 2vw !important;
    }
  }
}