/* Common */

.container {
  padding-block: 5rem;
}

.btn-div {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

/* Card Stats */

.card-stats {

  width: 100%;

  p {
    text-align: center;
  }

  @media (max-width: 768px) {

    .stats-text {
      font-size: 1.5rem;
    }

    p {
      font-size: 1rem;
    }

  }

}

/* Swiper */

.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {

  height: auto !important;
  padding: 1rem;

  & > div {
    height: 100% !important;
  }

}
.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
}
.swiper-pagination-bullet {
  width: 0.6rem !important;
  height: 0.6rem !important;
  background: hsl(0, 0%, 100%) !important;
}
.swiper-pagination-bullets-dynamic {
  margin-block: 0.8rem;
}

.swiper-3 .swiper-slide {
  padding: 0.2rem;
}

/* Mentors */

.card-mentor .person-pop-up {
  margin-bottom: -11rem;
}

/* Our Champions */

.card-champion-2 {

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  color: #333;
  background: #fff;

  img {
    width: 100%;
    height: auto;
    max-width: 18rem;
    vertical-align: middle;
  }

  .user-img-div {

    float: right;

    img {
      max-width: 15rem;
    }

  }

  .title {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .description {
    font-size: 1.3rem;
    font-weight: 400;
  }

  .user {

    display: flex;
    flex-direction: column;
    align-items: end;
    margin-top: auto;
    padding-block: 1rem 0.5rem;

    img {
      width: auto;
    }

    .name {
      font-size: 1.8rem;
    }
    .previous {
      height: 1rem;
    }
    .new {
      height: 1.5rem;
    }

    .text-gradient {
      --bg-gradient: var(--gradient-voilet-1);
    }

  }

  i {
    color: #a57fec;
    opacity: 0.8;
  }

  .text-gradient {
    --bg-gradient: linear-gradient(#7451aa, #ea69bd);
  }

  @media (max-width: 768px) {

    .title {
      font-size: 1.5rem;
    }
    .description {
      font-size: 1.1rem;
    }
    .user .name {
      font-size: 1.4rem;
    }
    .user-img-div img {
      max-width: 10rem;
    }

  }

}

/* Tabs */

.tabs {

  --items: 4;
  --gap: 1rem;
  --br-rad: 1rem;
  --padding: 1rem;
  --color: #fff;
  --bg-color: var(--glass-bg-2);
  --color-label: #333;
  --bg-color-label: #ddd;
  --hover-color-label: #764ba2;
  --hover-bg-color-label: #fff;
  --active-color-label: #f2f2f2;
  --active-bg-color-label: linear-gradient(135deg, #667eea, #764ba2);

  input[type="radio"] {
    display: none;
  }

  nav {

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--gap);
    margin-bottom: 1.5rem;

    label {

      flex: 0 1 calc((100% / var(--items)) - (var(--gap)));
      min-width: 10rem;
      cursor: pointer;
      line-height: 3rem;
      font-size: 1.2rem;
      font-weight: 600;
      text-align: center;
      border-radius: 2rem;
      color: var(--color-label);
      background: var(--bg-color-label);

      &:hover {
        color: var(--hover-color-label);
        background: var(--hover-bg-color-label);
      }

    }

  }

  .content-div {
    padding: var(--padding);
    border-radius: var(--br-rad);
    color: var(--color);
    background: var(--bg-color);
  }

  .tab-content {
    position: absolute;
    top: -9999px;
    opacity: 0;
  }

}
@keyframes content-slide-bot {
  from {
    top: 20px;
    opacity: 0;
  }
  to {
    top: 0px;
    opacity: 1;
  }
}

/* One Stop */

#one-stop {

  .row > div:nth-child(3n-2) .card-gradient-ripple {
    --hue-1: 300;
    --hue-2: 30;
  }
  .row > div:nth-child(3n-1) .card-gradient-ripple {
    --hue-1: 270;
    --hue-2: 210;
  }
  .row > div:nth-child(3n) .card-gradient-ripple {
    --hue-1: 180;
    --hue-2: 50;
  }

  .tabs {

    --items: 4;

    #curriculum:checked ~ nav label[for="curriculum"],
    #classes:checked ~ nav label[for="classes"],
    #placements:checked ~ nav label[for="placements"],
    #mentors:checked ~ nav label[for="mentors"] {
      color: var(--active-color-label);
      background: var(--active-bg-color-label);
    }
  
    #curriculum:checked ~ .content-div .tab-content[data-tab="curriculum"],
    #classes:checked ~ .content-div .tab-content[data-tab="classes"],
    #placements:checked ~ .content-div .tab-content[data-tab="placements"],
    #mentors:checked ~ .content-div .tab-content[data-tab="mentors"] {
      position: relative;
      top: 0;
      animation: content-slide-bot 0.4s 0.1s forwards;
    }

  }

}

/* Mentors */

#mentors {

  .swiper {
    padding-top: 11rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .br-corner-gradient.red {
    --c1: #f77062;
    --c2: #fe5196;
  }
  .br-corner-gradient.voilet {
    --c1: #7e95ff;
    --c2: #ba77ff;
  }
  .br-corner-gradient.pink {
    --c1: #e85f8c;
    --c2: #df6efd;
  }
  .br-corner-gradient.green {
    --c1: #37ecba;
    --c2: #72afd3;
  }

}

/* Card Team */

.card-team {

  .row {
    align-items: center;
    justify-content: center;
  }

  .col-lg-6:nth-child(2) {
    padding: 2.5rem;
  }

}

/* Testimonials Video */

.testimonials-video {

  & > div:nth-child(even) .testimonial-item {
    --color: #333;
    --bg-color: #fff;
  }

  iframe {
    border-radius: 1rem;
    margin-bottom: 1rem;
  }

  .content {
    flex-direction: column;
  }

  p {
    font-size: 1rem;
  }

}

.testimonial {
  flex: 1;
}

/* Footer */

.footer {

  .social-links a {

    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 50%;
    margin: 1rem 0.2rem 0 0;
    color: #fff;
    background: var(--s-bg-color);
    box-shadow: var(--box-shadow-1);
    transition: all 0.5s ease;

    &:hover {
      color: var(--s-bg-color);
      background: var(--gradient-white-1);
    }

    &:nth-child(1) { --s-bg-color: #0077B5; }
    &:nth-child(2) { --s-bg-color: #FF0000; }
    &:nth-child(3) { --s-bg-color: #E4405F; }
    &:nth-child(4) { --s-bg-color: #1877F2; }
    &:nth-child(5) { --s-bg-color: #1DA1F2; }

  }

}

/* CTA Div */

.cta-div .title {
  line-height: 1.25;
}

@media (max-width: 1200px) {
  * {
    --navbar-height-alone: 68.4px;
  }
}

/* Media Queires */

@media (max-width: 768px) {

  body{
    padding-top: calc(68.4px + 50px);
  }

  .mobile-text-justify {
    text-align: justify;
  }

  .faq > div {
    padding: 0;
  }
  .accordion label h3 {
    font-size: 1rem;
  }
  .accordion .content * {
    font-size: 0.9rem;
  }
  .cta-div {
    padding: 1rem 1rem 2rem 1rem;
  }

}
