.slide-section-top {
  margin-top: 10rem;
}

.bottom {
  margin: 5rem auto;
}

.top-slide {
  margin-top: 3.75rem;
  padding: 2rem;
  border-bottom: 3px solid #131945;
}

.bottom-slide {
  margin-top: 3.75rem;
  z-index: 100;
  position: relative;
  padding: 2rem;
  border-bottom: 3px solid #131945;
}

.bottom-row {
  flex-direction: column-reverse;
}

.bottom-btn {
  translate: 0 3.25rem;
  background-color: white;
  width: 200px;
  margin: 0 auto;
  font-weight: 900;

  color: #131945;

  z-index: 100;
}

.bottom-btn:hover {
  background-color: #131945;
  color: #ffffff;
}
.top-slide-btn {
  translate: 0 3.25rem;
  background-color: white;
  width: 200px;
  margin: 0 auto;
  font-weight: 900;

  color: #131945;

  z-index: 100;
}

.top-slide-btn:hover {
  background-color: #131945;
  color: #ffffff;
}
.student {
  background-image: url(//23827192.fs1.hubspotusercontent-na1.net/hubfs/23827192/raw_assets/public/images/student.jpg);
  background-size: cover;

  background-position: right;
}

.campus {
  background-image: url(//23827192.fs1.hubspotusercontent-na1.net/hubfs/23827192/raw_assets/public/images/campus.jpg);
  background-size: cover;
  background-position: center;
}
/* .bottom-btn1 {
  position: relative;
  border: none;
}

.bottom-btn1:hover {
  background-color: #ffffff;
  color: #131945;
}
.bottom-btn1 span {
  position: absolute;
  display: block;
  background-color: #131945;
}
.bottom-btn1 span:nth-child(1) {
  left: 0;
  top: 0;
  width: 100%;

  height: 3px;

  transform-origin: left;

  transform: scaleX(0);

  transition: transform 0.2s;
}

.bottom-btn1:hover span:nth-child(1) {
  transition: transform 0.2s;
  transform: scaleX(1);
}

.bottom-btn1 span:nth-child(2) {
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.2s;
}
.bottom-btn1:hover span:nth-child(2) {
  transition: transform 0.2s;

  transform: scaleY(1);

  transition-delay: 0.1s;
}

.bottom-btn1 span:nth-child(3) {
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  transform-origin: right;

  transform: scaleX(0);

  transition: transform 0.2s;
}

.bottom-btn1:hover span:nth-child(3) {
  transition: transform 0.2s;
  transform: scaleX(1);

  transition-delay: 0.2s;
}
.bottom-btn1 span:nth-child(4) {
  left: 0;
  bottom: 0;
  width: 3px;
  height: 100%;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.2s;
}

.bottom-btn1:hover span:nth-child(4) {
  transition: transform 0.2s;
  transform: scaleY(1);

  transition-delay: 0.3s;
} */
.box::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 3px;
  left: 50%;
  bottom: 0;
  background-color: #131945;
  transition: all ease-in-out 0.2s;
}
.box.hover:after {
  transition-delay: 0.1s;
  width: 100%;
  left: 0;
}

.box-bottom::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 3px;
  left: 50%;
  bottom: 0;
  background-color: #131945;
  transition: all ease-in-out 0.2s;
}
.box-bottom.hover:after {
  transition-delay: 0.1s;
  width: 100%;
  left: 0;
}

@media (max-width: 767.98px) {
  .bottom-row {
    flex-direction: column-reverse;
  }
  .slide-section-bottom {
    margin-bottom: 10rem;
  }
}

@media (max-width: 992px) {
  .col-lg-5.col-sm-12 {
    padding: 0;
  }
  .top-slide h1,
  .bottom-slide h1 {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .box.hover::after {
    width: 113%;
    left: -25%;
  }

  .box-bottom.hover::after {
    width: 100%;
    left: 0%;
  }
  .bottom-row {
    flex-direction: row;
  }
  .top-slide {
    margin: 0rem 2rem 0rem -7rem;
  }
  .bottom-slide {
    margin: 2rem -7rem 2rem 2rem;
  }

  .top-slide h1,
  .bottom-slide h1 {
    text-align: right;
  }
}

@media (min-width: 1200px) {
  .box.hover::after {
    width: 111%;
    left: -21%;
  }

  .top-slide {
    margin: 0 2rem 0 -7rem;
  }
}

@media (max-width: 575.98px) {
  
  .student {background-position: center}