/*
Template Name: ZTFMusic
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/

/*********************center_home****************/
.carousel-caption {
  background-color: var(--bg_back) !important;
  bottom: 0;
  left: 0;
  color: var(--bs-white);
  width: 100%;
  height: 100%;
  padding: 180px 140px 0px 140px;
  text-align: left;
}
.carousel-caption h1 {
  font-size: 60px;
}

.icon_1 {
  width: 60px;
  height: 60px;
  line-height: 60px;
  padding-left: 4px;
}
.modal {
  margin-top: 20px;
}
/*********************center_home_end****************/

/*********************grade****************/
.grade_2_lef2:hover {
  background-color: var(--blue_dark) !important;
  transition: 0.3s;
}
/*********************grade_end****************/

/*********************gallery_h****************/
.gallery_h1_left1 {
  min-height: 290px;
}
.gallery_h1_left img {
  min-height: 290px;
}
/*********************gallery_h_end****************/

/*********************testim****************/
#testim {
  background-image: url(../image/2.jpg);
  background-position: center center;
  background-size: cover;
}
.quote_icon {
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-left: -25px;
}
#testim_o {
  margin-top: -100px;
}
/*********************testim_end****************/

#choose {
  background-image: url(../images/home/choose-us.jpg);
  background-position: center center;
  background-size: cover;
}

@media screen and (max-width: 767px) {
  .carousel-caption {
    position: static !important;
    padding: 15px 15px 15px 15px;
    background: var(--bs-dark) !important;
    text-align: left !important;
  }
  .carousel-caption h1 {
    font-size: 30px;
  }
  .carousel-caption br {
    display: none;
  }
  .carousel-caption p {
    width: 100% !important;
  }

  .carousel-caption ul li {
    margin: 10px 5px !important;
  }

  .spec_1_right {
    padding-left: 0 !important;
    margin-top: 20px;
  }

  .gallery_h1_left1 {
    border-top: 1px solid var(--bs-white);
  }
  .testim_1 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .gallery_h1_left1 {
    border-top: none;
  }
  .gallery_h1_left1 p {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .center_home img {
    min-height: 520px;
  }
  .carousel-caption h1 {
    font-size: 50px;
  }
  .carousel-caption br {
    display: none;
  }
  .carousel-caption p {
    width: 70% !important;
  }
  .carousel-caption {
    padding: 70px 90px 0px 90px;
  }
  .gallery_h1_left1 {
    padding-top: 100px !important;
  }

  .testim_1 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .center_home img {
    min-height: 600px;
  }
  .carousel-caption h1 {
    font-size: 50px;
  }
  .carousel-caption {
    padding: 120px 120px 0px 120px;
  }
  .gallery_h1_left1 h4 {
    font-size: 20px;
  }
  .gallery_h1_left1 p {
    font-size: 13px;
  }
  .testim_1 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 1201px) and (max-width: 1300px) {
  .center_home img {
    min-height: 680px;
  }
}
@media screen and (min-width: 1400px) {
  .carousel-caption {
    padding: 220px 140px 0px 140px;
  }
  #about_h {
    margin-bottom: 100px !important;
  }
  .gallery_h1_left1 {
    padding-top: 80px !important;
  }
}

/* Custom Styles to fix the home section*/
/**/

/* fix the home page images not taking the full width*/
.max {
  width: 100%;
}

/* fix the grade programs card */
.fix-grade {
  height: 550px;
}

@media (min-width: 768px) {
  .fix-grade {
    height: 500px;
  }
}
