/* home page sliders */
.home-slider {
  direction: ltr;
}
.slider-top.home-page {
  padding: 300px 0 200px;
  background-position: center;
  background-size: auto;
}
.slider-content {
  color: #ffffff;
  min-height: 185px;
}
.slick-next,
[dir="rtl"] .slick-next {
  left: 30px;
}
[dir='rtl'] .slick-next:before {
  content: "\e803";
  font-family: "fontello";
  color: grey;
  font-size: 20px;
  padding: 7px 8px;
  background-color: #ffffff;
  border-radius: 50%;
}
.slick-prev,[dir='rtl'] .slick-prev {
  right: 30px;
  z-index: 1;
}
[dir='rtl'] .slick-prev::before {
  content: "\e807";
  font-family: "fontello";
  color: grey;
  font-size: 20px;
  padding: 7px 8px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* categories sec */
.categories-section {
  position: relative;
  margin-top: -70px;padding-bottom: 100px;}
.categories-section .boxes {
  /* position: absolute; */
  /* margin-right: auto; */
  /* margin-left: auto; */
  /* right: 0; */
  /* left: 0; */
  /* top: -100px; */
  /* text-align: center; */
}
.categories-section .col {
  text-align: center;
}
.inner-cat-content {
  text-align: center;
  height: 100%;
  margin: auto;
  font-size: 18px;
  color: #000000;
  padding: 20px 10px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 2px 10px -5px #000000;
}
.inner-cat-content p{margin:0}
.inner-cat-content img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;}

/* why maksad section */
.why-maksad {
  /* padding: 130px 0 30px; */
}
.why-maksad h2{
  margin:0 0 25px
;font-weight: 700;color: #062E5B;font-size: 26px;}
.why-maksad {
  background-image:
          url(../imgs/home/bgr-dots.png);
  background-position: 80% top;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, auto;
}
.entry-why-maksad {
  padding: 15px 0 45px;
}

/* all you need section */
.all-you-need-sec {
  padding: 50px 0;
  background-color: #f4f7fb;
}

.all-you-need-sec .card-box {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.all-you-need-sec .card-box h6{
  font-size: 18px;
  font-weight: 700;
}
.all-you-need-sec .col-12 h2 {
  color: #062e5b;
  font-size: 25px;
}
.all-you-need-sec .titles-right {
  text-align: left;
}
.all-you-need-sec .titles-right span {
  font-size: 35px;
  font-weight: bold;
  color: #ea2d48;
}
.all-you-need-sec .col-xl-4:not(:last-of-type) {
  padding: 0 50px;
}
.all-you-need-sec .card-box p {
  font-size: 13px;
}
.all-you-need-sec .col-xl-4.col-md-6.col-sm-12 {
  margin-bottom: 20px;
}
.all-you-need-btn {
  padding: 5px 15px;
  background-color: #79025e;
  color: #ffffff;
  margin-top: 10px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 30px !important;
}
.all-you-need-btn:hover {
  text-decoration: none;
  color: #ffffff;
  background-color: #5d0348;
}

/* Your success section */
.your-success-sec {
  padding: 50px 0;
}
.your-success-sec .text-center {
  padding-bottom: 50px;
}
.your-success-sec .text-center h2 {
  color: #062e5b;
  font-size: 25px;
}
/* .success-box:first-of-type {
    border-right: 2px solid grey;
} */
.success-box h6 {
  font-size: 35px;
  font-weight: bold;
  color: #ea2d48;
}
.success-box p {
  font-size: 13px;
}
.your-success-sec .col-5 img {
  width: 40%;
}
/* courses sec */
.recent-courses-sec {
  background-color: #fbfcfd;
  padding: 70px 0;
}

/* courses sec */
.recent-news-sec {
  padding: 70px 0;
}


/* responsive */
@media only screen and (min-width: 1700px) {
  .inner-cat-content {
    /* width: 65%; */
  }
  .col-xl-4 .card-info {
    margin: 10px 35px !important;
  }
}
@media only screen and (max-width: 600px) {
  .categories-section {
    position: relative;
    margin: 0;
    padding: 35px 0 20px;
  }
  .inner-cat-content {
    width: 100%;
  }
  .why-maksad .col-12 {
    padding: 0 5%;
    background-image: none;
  }
}
/*slider */
@media only screen and (max-width: 1300px) {
  .slider-top.home-page {
    padding: 158px 0;
    background-size: cover;
  }
}

@media only screen and (max-width: 1100px) {
  .slider-top.home-page {
    padding: 105px 0;
  }
}

@media only screen and (max-width: 800px) {
  .slider-top.home-page {
    padding: 90px 0;
  }
}

@media only screen and (max-width:550px) {
  .slider-top.home-page {
    padding: 0px;
  }
  .why-maksad{
    padding: 35px 0 10px;
  }
  .entry-why-maksad{
    background: none;
  }
  .all-you-need-sec .col-xl-4:not(:last-of-type){
    padding: 0;
    margin: 0;
  }
  .success-box{
    margin-bottom: 30px;
  }
  .all-you-need-sec .col-12 h2{
    padding-bottom: 30px;
  }
}/* home page sliders */
.home-slider {
  direction: ltr;
}
.slider-top.home-page {
  padding: 300px 0 200px;
  background-position: center;
  background-size: auto;
}
.slider-content {
  color: #ffffff;
  min-height: 185px;
}
.slick-next,
[dir="rtl"] .slick-next {
  left: 30px;
}
[dir='rtl'] .slick-next:before {
  content: "\e803";
  font-family: "fontello";
  color: grey;
  font-size: 20px;
  padding: 7px 8px;
  background-color: #ffffff;
  border-radius: 50%;
}
.slick-prev,[dir='rtl'] .slick-prev {
  right: 30px;
  z-index: 1;
}
[dir='rtl'] .slick-prev::before {
  content: "\e807";
  font-family: "fontello";
  color: grey;
  font-size: 20px;
  padding: 7px 8px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* categories sec */
.categories-section {
  position: relative;
  margin-top: -70px;padding-bottom: 100px;}
.categories-section .boxes {
  /* position: absolute; */
  /* margin-right: auto; */
  /* margin-left: auto; */
  /* right: 0; */
  /* left: 0; */
  /* top: -100px; */
  /* text-align: center; */
}
.categories-section .col {
  text-align: center;
}
.inner-cat-content {
  /* width: 80%; */
  height: 100%;
  margin: auto;
  font-size: 18px;
  color: #000000;
  padding: 20px 10px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 2px 10px -5px #000000;
}
.inner-cat-content p{margin:0}
.inner-cat-content img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;}

/* why maksad section */
.why-maksad {
  /* padding: 130px 0 30px; */
}
.why-maksad h2{
  margin:0 0 25px
;font-weight: 700;color: #062E5B;font-size: 26px;}
.why-maksad {
  background-image:
          url(../imgs/home/bgr-dots.png);
  background-position: 82% top;
  background-repeat: no-repeat, no-repeat;
  background-size: auto 115px;
  font-size: 18px;font-weight: 500;line-height: 30px;}
.entry-why-maksad {
  padding: 15px 0 45px;
}

/* all you need section */
.all-you-need-sec {
  padding: 50px 0;
  background-color: #f4f7fb;
}

.all-you-need-sec .card-box {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.title{
  margin-bottom: 45px;
}
.title h2 {
  color: #062e5b;
  font-size: 25px;
  font-weight: 700;
  position: relative;
  padding-bottom: 30px;
}
.title h2:after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  border-top: 1px solid #EA2D48;
  margin-left: -35px;
}
.all-you-need-sec .titles-right {
  text-align: left;
  direction: ltr;
}
.all-you-need-sec .titles-right span {
  font-size: 37px;
  font-weight: bold;
  color: #ea2d48;
  /* display: inline-block; */
  /* direction: ltr; */
}
.all-you-need-sec .col-xl-4:not(:last-of-type) {
  padding: 0 50px;
}
.all-you-need-sec .card-box p {
  font-size: 13px;
}
.all-you-need-sec .col-xl-4.col-md-6.col-sm-12 {
  margin-bottom: 20px;
}
.all-you-need-btn {
  padding: 7px 20px;
  background-color: #79025e;
  color: #ffffff;
  margin-top: 10px;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 30px !important;
  display: inline-block;
}
.all-you-need-btn:hover {
  text-decoration: none;
  color: #ffffff;
  background-color: #5d0348;
}

/* Your success section */
.your-success-sec {
  padding: 50px 0;
}
.your-success-sec .text-center {
  padding-bottom: 50px;
}

/* .success-box:first-of-type {
    border-right: 2px solid grey;
} */
.success-box h6 {
  font-size: 35px;
  font-weight: bold;
  color: #ea2d48;
}
.success-box p {
  font-size: 13px;
}
.your-success-sec .col-5 img {
  width: 40%;
}
/* courses sec */
.recent-courses-sec {
  background-color: #fbfcfd;
  padding: 70px 0;
}

/* courses sec */
.recent-news-sec {
  padding: 70px 0;
}

/* responsive */
@media only screen and (min-width: 1700px) {
  .inner-cat-content {
    /* width: 65%; */
  }
  .col-xl-4 .card-info {
    margin: 10px 35px !important;
  }
}
@media only screen and (max-width: 600px) {
  .categories-section {
    position: relative;
    margin: 0;
    padding: 40px 0;
  }
  .inner-cat-content {
    width: 100%;
  }
  .why-maksad .col-12 {
    padding: 0 5%;
    background-image: none;
  }
}
/*slider */
@media only screen and (max-width: 1300px) {
  .slider-top.home-page {
    padding: 158px 0;
    background-size: cover;
  }
}

@media only screen and (max-width: 1100px) {
  .slider-top.home-page {
    padding: 105px 0;
  }
}

@media only screen and (max-width: 800px) {
  .slider-top.home-page {
    padding: 90px 0;
  }
}

@media only screen and (max-width:550px) {
  .slider-top.home-page {
    padding: 0px;
  }
  .why-maksad{
    padding: 35px 0;
  }
  .all-you-need-sec .col-xl-4:not(:last-of-type){
    padding: 0;
    margin: 0;
  }
  .success-box{
    margin-bottom: 30px;
  }
  .all-you-need-sec .col-12 h2{
    padding-bottom: 30px;
  }
  .recent-courses-sec{
    padding: 40px 0;
  }
}