.latest-courses-section {
  margin-top: -230px;
}
.latest-courses-swiper {
  height: 400px;
  width: 800px;
  max-width: 95%;
  overflow: visible;
}
.latest-courses-section .swiper-pagination {
  left: 20px;
  right: auto;
  width: auto;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
.latest-courses-section .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #063f44;
  opacity: 0.2;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  margin: 8px 0 !important;
}
.latest-courses-section .swiper-pagination-bullet-active {
  background: #fd3838;
  opacity: 1;
  height: 30px;
  border-radius: 50px;
  -webkit-box-shadow: 4px 13px 30px 1px rgb(43 65 97 / 20%);
          box-shadow: 4px 13px 30px 1px rgb(43 65 97 / 20%);
}
.latest-courses-section .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
}
.latest-courses-section .swiper-slide > div:nth-child(1) {
  height: 300px !important;
  width: 300px;
  max-width: 100%;
  -webkit-box-shadow: 4px 13px 30px 1px rgb(43 65 97 / 20%);
          box-shadow: 4px 13px 30px 1px rgb(43 65 97 / 20%);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-radius: 25px;
  -webkit-transform: translateX(80px);
      -ms-transform: translateX(80px);
          transform: translateX(80px);
  overflow: hidden;
}
.latest-courses-section .swiper-slide > div:nth-child(2) {
  padding-left: 25px;
}
.latest-courses-section .swiper-slide h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}
.latest-courses-section .swiper-slide div {
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5em;
}
.latest-courses-section .swiper-slide .more {
  display: inline-block;
  background-color: #fe8a39;
  padding: 5px 15px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 600;
}
.latest-courses-section .swiper-slide img {
  width: 100%;
  height: 100% !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.title-h2{
  color: var(--title-color);
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  padding: 10px;
}
.gallery-section{
  text-align: center;
  margin-top: 55px;
}
.gallery-swiper{
  padding: 10px;
}
.gallery-swiper .swiper-wrapper{
  padding-bottom: 30px;
}
.top-img {
  margin-top: 4rem;
}
.box-section{
  margin-top: 55px;
  text-align: center;
}
.box-section > div{
  row-gap: 20px;
}
.box-section h3{
  position: absolute;
  bottom: 15px;
  font-size: 1.1rem;
  color: #fff;
  background-color: var(--primary-color2);
  padding: 12px 15px 12px 40px;
  border-radius: 20px 0 0 20px;
}
.box-div{
  position: relative;
  background-color: #fff;
  height: 100%;
  -webkit-box-shadow: 0px 15px 30px 5px rgb(0 0 0 / 6%);
          box-shadow: 0px 15px 30px 5px rgb(0 0 0 / 6%);
  border-radius: 5px;
  overflow: hidden;
}
.box-div img{
  width: 100%;
}
.newsletter-section{
  margin-top: 100px;
  background: var(--primary-color);
  width: 100%;
  text-align: center;
  padding: 40px 0;
  color: #fff;
}
.newsletter-section h2{
  color: #fff;
}
.news-section{
  margin-top: 55px;
  text-align: center;
}
.news-section .card-div{
  -webkit-box-shadow: 0 0 10px rgb(51 51 51 / 15%);
          box-shadow: 0 0 10px rgb(51 51 51 / 15%);
}
@media screen and (max-width: 790px) {
  .latest-courses-section {
    margin-top: -150px;
  }
  .latest-courses-section .swiper-slide {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .latest-courses-section .swiper-slide > div:nth-child(1) {
    -webkit-transform: translatey(-80px);
        -ms-transform: translatey(-80px);
            transform: translatey(-80px);
  }
  .latest-courses-section .swiper-slide > div:nth-child(2) {
    text-align: center;
    padding: 0px 0 25px;
  }
  .latest-courses-section .swiper-pagination {
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    left: 50% !important;
    top: 270px;
    width: 100% !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .latest-courses-section .swiper-pagination-bullet {
    margin: 0 5px !important;
  }
  .latest-courses-section .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
  .latest-courses-swiper {
    min-height: 500px;
    height: auto;
    margin: 0 auto;
  }
}