.slider {
  margin: 0;
  max-width: 940px;
}

.slide_viewer {
  height: 340px;
  overflow: hidden;
  position: relative;
}

.slide_group {
  height: 100%;
  position: relative;
  width: 100%;
}

.slide1 {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
  
  background-color: var(--primary);
  border-radius: 20px;
}

.slide1:first-child {
  display: block;
}

.slide1:nth-of-type(1) {
  /* background: #D7A151; */
  background-image: url('../img/school_images/g-0.jpg');
  background-size: cover !important;
}

.slide1:nth-of-type(2) {
  /* background: #F4E4CD; */
  background-image: url('../img/school_images/g-2.jpg');
  background-size: cover !important;
}

.slide1:nth-of-type(3) {
  /* background: #C75534; */
  background-image: url('../img/school_images/g-6.jpg');
  background-size: cover !important;
}

.slide1:nth-of-type(4) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-18.jpg');
  background-size: cover !important;
}
.slide1:nth-of-type(5) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-25.jpg');
  background-size: cover !important;
}
.slide1:nth-of-type(6) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-30.jpg');
  background-size: cover !important;
}
.slide1:nth-of-type(7) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-37.jpg');
  background-size: cover !important;
}
.slide1:nth-of-type(8) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-39.jpg');
  background-size: cover !important;
  
}
.slide1:nth-of-type(9) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-49.jpg');
  background-size: cover !important;
}
.slide1:nth-of-type(10) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-53.jpg');
  background-size: cover !important;
}
.slide1:nth-of-type(11) {
  /* background: #D1D1D4; */
  background-image: url('../img/school_images/g-56.jpg');
  background-size: cover !important;
}

.slide_buttons {
  left: 0;
  position: relative;
  right: 0;
  margin-left: 23%;
  /* text-align: center; */
}

a.slide_btn {
  color: #474544;
  font-size: 42px;
  margin: 0 0.175em;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.slide_btn.active, .slide_btn:hover {
  color: #428CC6;
  cursor: pointer;
}

.directional_nav {
  height: 340px;
  margin: 0 auto;
  max-width: 940px;
  position: relative;
  top: -340px;
}

.previous_btn {
  bottom: 0;
  left: 100px;
  margin: auto;
  position: absolute;
  top: 0;
}

.next_btn {
  bottom: 0;
  margin: auto;
  position: absolute;
  right: 100px;
  top: 0;
}

.previous_btn, .next_btn {
  cursor: pointer;
  height: 65px;
  opacity: 0.5;
  -webkit-transition: opacity 0.4s ease-in-out;
  -moz-transition: opacity 0.4s ease-in-out;
  -ms-transition: opacity 0.4s ease-in-out;
  -o-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
  width: 65px;
}

.previous_btn:hover, .next_btn:hover {
  opacity: 1;
}

@media only screen and (max-width: 767px) {
  .previous_btn {
    left: 50px;
  }
  .next_btn {
    right: 50px;
  }
  .slide_buttons{
    margin-left: 0%;
  }
}
/* why choose us section*/

.c-section {
  padding: 30px;
}

.c-services {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
@media (min-width: 550px) {
  .c-services {
    grid-template-columns: 1fr 1fr;
  }
  
}
@media (min-width: 800px) {
  .c-services {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.c-services__item {
  padding: 16px;
  position: relative;
}
.c-services__item::before {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  position: absolute;
  top: 0;
  right: 0;
  border-top: 20px solid rgba(0, 0, 0, 0.03);
  border-right: 20px solid rgba(0, 0, 0, 0.03);
  border-left: 20px solid transparent;
  border-bottom: 20px solid transparent;
}
.c-services__item h3 {
  margin-top: 0;
}
.c-services__item p {
  margin-bottom: 0;
}
.c-services__item h3 {
  position: relative;
}
.c-services__item h3::after {
  content: "";
  display: block;
  background: orange;
  width: 30px;
  height: 5px;
  border-radius: 20px;
  margin-top: 12px;
}

.c-services__item:nth-child(1) {
  background: #f0f8ff;
}
.c-services__item:nth-child(1) h3::after {
  background: #bce0ff;
}

.c-services__item:nth-child(2) {
  background: #f8f8ff;
}
.c-services__item:nth-child(2) h3::after {
  background: #d2d2ff;
}

.c-services__item:nth-child(3) {
  background: #fff5ee;
}
.c-services__item:nth-child(3) h3::after {
  background: #fedac0;
}

.c-services__item:nth-child(4) {
  background: #f0fff0;
}
.c-services__item:nth-child(4) h3::after {
  background: #c9fec9;
}

.c-services__item:nth-child(5) {
  background: #fff0f5;
}
.c-services__item:nth-child(5) h3::after {
  background: #fec4d7;
}

.c-services__item:nth-child(6) {
  background: #f0ffff;
}
.c-services__item:nth-child(6) h3::after {
  background: #c7ffff;
}


@media (max-width: 450px) {
  .slider {
    margin: 0 auto;
    max-width: 940px;
  }
  
  .slide_viewer {
    height: 340px;
    overflow: hidden;
    position: relative;
  }
  
  .slide_group {
    height: 100%;
    position: relative;
    width: 100%;
  }
  
  .slide1 {
    display: none;
    height: 100%;
    position: absolute;
    width: 100%;
    background-size: cover;
    background-color: var(--primary);
    border-radius: 20px;
  }
  
  .slide1:first-child {
    display: block;
  }
  
  .slide1:nth-of-type(1) {
    /* background: #D7A151; */
    background-image: url('../img/school_images/g-0.jpg');
    background-size: cover !important;
  }
  
  .slide1:nth-of-type(2) {
    /* background: #F4E4CD; */
    background-image: url('../img/school_images/g-2.jpg');
    background-size: cover !important;
  }
  
  .slide1:nth-of-type(3) {
    /* background: #C75534; */
    background-image: url('../img/school_images/g-6.jpg');
    background-size: cover !important;
  }
  
  .slide1:nth-of-type(4) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-18.jpg');
    background-size: cover !important;
  }
  .slide1:nth-of-type(5) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-25.jpg');
    background-size: cover !important;
  }
  .slide1:nth-of-type(6) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-30.jpg');
    background-size: cover !important;
  }
  .slide1:nth-of-type(7) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-37.jpg');
    background-size: cover !important;
  }
  .slide1:nth-of-type(8) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-39.jpg');
    background-size: cover !important;
    
  }
  .slide1:nth-of-type(9) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-49.jpg');
    background-size: cover !important;
  }
  .slide1:nth-of-type(10) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-53.jpg');
    background-size: cover !important;
  }
  .slide1:nth-of-type(11) {
    /* background: #D1D1D4; */
    background-image: url('../img/school_images/g-56.jpg');
    background-size: cover !important;
  }
  
  .slide_buttons {
    left: 0;
    position: relative;
    right: 0;
    text-align: center;
  }
  
  a.slide_btn {
    color: #474544;
    font-size: 42px;
    margin: 0 0.175em;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }
  
  
}

@media (min-width: 1200px) and (max-width: 1500px) {
  .navbar .navbar-nav .nav-link {
      margin-right: 0;
      padding: 8px 0;
      background-color: #FFFFFF;
  }

  .navbar .navbar-nav {
      margin-top: 8px;
      border-top: 1px solid rgba(256, 256, 256, .1)
  }




  .navbar .navbar-nav .nav-link {
      margin-right: 9px;
      padding: 15px 26px;
      color: #212529;
      font-weight: 500;
      outline: none;
  }


  .dropdown-submenu {
      position: relative;
      display: inline;
  }




  .dropdown-submenu:hover {
      display: block;
      /* margin-top: 120; */
      z-index: 100;


  }

  .dropdown-menu2 {
      padding-left: 20px;
      /* Indent items */
      display: none;

  }

  .dropdown-item {
      padding-left: 20px;
      /* Indent items */
  }

  /* about navbar */
  .navbar {
      width: 100%;
      height: 65px;
      font-size: 33px;
  }
  
  .navbar .nav-item {
      position: relative;
  }
  
  .navbar .nav-item .dropdown-menu {
      display: none;
      position: absolute;
      z-index: 1000;
      background-color: #fff;
      border-radius: 7px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar .nav-item:hover .dropdown-menu {
      display: block;
  }
  
  .navbar .dropdown-menu a {
      display: block;
      width: 100%;
      padding: 0.25rem 1rem;
      clear: both;
      font-weight: 400;
      color: #212529;
      text-align: inherit;
      white-space: nowrap;
      background-color: transparent;
      border: 0;
  }
  
  .navbar .dropdown-menu a:hover {
      background-color: #f0f0f0;
  }
  
  .navbar .dropdown-menu .dropdown-submenu {
      position: static;
  }
  
  .navbar .dropdown-menu .dropdown-submenu .dropdown-menu2 {
      display: none;
      position: absolute;
      top: 0;
      left: -15%;
      margin-top: 161px
  }
  
  .navbar .dropdown-menu .dropdown-submenu:hover .dropdown-menu2 {
      display: block;
  }
}