/* target width below 1400px */
@media (max-width: 1400px) {
  .zagzig {
    bottom: 1.5rem;
  }
}




/* target width below 1200px */
@media (max-width: 1200px) {
  :root {
    --section-margin-top: 3rem;
    --section-margin-bottom: 3rem;
    --section-padding-top: 3rem;
    --section-padding-bottom: 3rem;
  }

  .sec_pt8 {
    padding-top: 4rem;
  }

  .sec_pb8 {
    padding-bottom: 4rem;
  }
  .hero-sec-logo {
    max-width: 100px ;
  }
  header>div {
    padding: 32px 32px 32px 32px;
  }

  .zagzig {
    bottom: auto;
    bottom: 5%;
  }

  .hyp_cont-sm {
    padding-top: 64px;
    padding-inline: 32px;
  }

  .person-climbing-img {
    display: none;
  }
}




/* target width below 992px */
@media (max-width: 992px) {


  .h2 {
    font-size: 2rem;
    line-height: 1
  }
  .hero-line-one {
    font-size: 7rem; 
    line-height: 95px;
}
.hero-line-two {
    font-size: 3.5rem; 
    line-height: 50px;
}
.hero-line-three {
    font-size: 1.75rem;
    line-height: 30px;
}
  header>div {
    padding: 24px 24px 24px 24px;
  }

  .second-offcanvas.show,
  .hyp_offcanvas.show {
    padding: 90px 60px 46px 50px;
  }

  main #lottieIntro {
    width: 60vw;
  }

  .zagzig {
    bottom: 3rem;
  }

  .boy-football {
    transform: translate(0%, 75%);
    -webkit-transform: translate(0%, 75%);
    -moz-transform: translate(0%, 75%);
    -ms-transform: translate(0%, 75%);
    -o-transform: translate(0%, 75%);
  }

  .hyp_intro-line {
    width: 50vw;
  }

  #dragonfly {
    width: 13rem;
  }

  .pi {
    width: 12rem;
  }

  .hz-grid {
    width: 5rem;
  }

  .hz-grid-symbol {
    gap: 10px;
  }

  .dummy {
    margin-top: 170px;
  }

  .tr-container {
    max-width: 22rem;
  }

  .lef-enter>a {
    aspect-ratio: auto;
  }

  .share_container_wrapper {
    padding-block: 55px;
  }

  .heart-stars2-container .heart-stars2:nth-child(1) {
    position: absolute;
    width: 5rem;
    margin-top: 1rem;
    rotate: -13deg;
    height: auto;
    margin-left: 3rem;
  }

  .heart-stars2-container .heart-stars2:nth-child(2) {
    position: absolute;
    width: 5rem;
    margin-top: 3rem;
    height: auto;
    margin-left: 82%;
  }

  .hyp-button2 {
    padding-inline: 1.5rem;
  }

  .sub-heading {
    font-size: 16px;
    line-height: 24px;
  }

  .page_padding_top {
    padding-top: 100px;
  }
}



@media screen and (min-width: 768px) {
  .overflow-md-auto {
    overflow: hidden;
  }

  .yin_bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}



@media screen and (max-width: 768px) {
  .yin_bottom {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .yin_bottom .navigation-wrapper {
    left: 60%;
  }

  .yin_bottom .navigation-wrapper {
    width: 40%;
  }

  .hyp_cont-sm {
    padding-top: 32px;
    padding-inline: 24px;
  }

  .hyp_form-enquiry {
    margin-top: 40px;
  }

  .video_position {
    transform: translateX(-12.5%);
    -webkit-transform: translateX(-12.5%);
    -moz-transform: translateX(-12.5%);
    -ms-transform: translateX(-12.5%);
    -o-transform: translateX(-12.5%);
  }

  .hyp_footer figure {
    right: 1.5rem;
  }

  .hyp_footer figure {
    width: 5rem;
  }
  .zigzag-md {
    display: block;
  }

  .zigzag-lg {
    display: none;
  }

  .zigzag-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .prose {
    margin-left: 10px;
    margin-right: 10px;
  }
}


/* target width below 768px */
@media (max-width: 767px) {
  :root {
    --section-margin-top: 3.5rem;
    --section-margin-bottom: 3.5rem;
    --section-padding-top: 3.5rem;
    --section-padding-bottom: 3.5rem;
  }
  .rnles-logo{
    width: 45px;
  }
  .hero-sec-logo {
    max-width: 80px;
}

.hero-line-one {
  font-size: 5rem; 
  line-height: 70px;
}
.hero-line-two {
  font-size: 3rem;
  line-height: 45px;
}
.hero-line-three {
  font-size: 1.25rem;
  line-height: 22px;
}
  header>div {
    padding: 16px 16px 16px 16px;
  }

  .hyp_footer .content {
    padding: 64px 40px;
  }

  .hyp_offcanvas {
    width: auto;
  }

  .hyp_offcanvas.show {
    width: 100vw;
    padding: 90px 16px 46px 60px;
  }

  .hyp_offcanvas .offcanvas-nav li {
    position: relative;
  }

  .second-offcanvas {
    display: none;
    position: static;
    padding: 20px 10px;
    background-color: inherit;
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
  }

  .second-offcanvas.show {
    display: block;
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
  }

  .hyp_footer figure {
    right: 2.5rem;
  }

  .hyp_offcanvas .preschool {
    display: none;
  }

  .second-offcanvas.show {
    padding: 30px 60px 30px 20px;
  }

  .pink-section {
    padding-bottom: 0rem;
  }

  #dragonfly {
    width: 8rem;
    position: absolute;
    right: 100%;
    top: 0;
    z-index: 10;
    rotate: 30deg;
    height: 8rem;
  }

  .pi {
    right: 3rem;
    width: 8rem;
  }

  .zagzig {
    right: 1rem;
    top: 18rem;
  }

  .h0 {
    margin-bottom: 3rem;
    margin-top: 3rem;
  }

  .heart-stars {
    top: 0rem;
    right: 0rem;
    left: 0rem;
  }

  .heart-stars img:nth-child(1) {
    width: 3rem;
    margin-top: 3rem;
  }

  .heart-stars img:nth-child(2) {
    width: 3rem;
    rotate: 12deg;
  }

  .hyp_hs-section {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }


  .overflow-md-auto {
    overflow-x: hidden;
  }

  .testimonial_container_wrapper {
    padding-block: 64px;
    padding-block: 96px;
  }

  .share_container_wrapper {
    padding-block: 64px;
  }

  .heart-stars2-container .heart-stars2:nth-child(1) {
    margin-left: .5rem;
    width: 2.5rem;
  }

  .heart-stars2-container .heart-stars2:nth-child(2) {
    margin-left: 85%;
    width: 2.5rem;
    margin-top: 1rem;
  }

  .hs-bottom_navigation {
    right: 50%;
    transform: translateX(50%);
  }

  .right-img_position {
    width: auto;
  }

  .zigzag-container:nth-child(even) .zigzag-item:nth-child(odd) {
    order: 1;
  }

  .zigzag-container:nth-child(odd) .zigzag-item:nth-child(even) {
    order: 0;
  }

  .video_position {
    width: auto;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
  }

  .yin_bottom .navigation-wrapper {
    left: 60%;
  }

  .yin_bottom .navigation-wrapper {
    width: 20%;
  }
  .hyp_hs-section-wrapper {
    width: 100%;
    height: auto; 
    flex-wrap: wrap; 
  }
  .hyp_hs-section{
    height: 100vh;  
  }
  .why-choose-home{
    position: static !important;
    margin-top: 3rem;
  }
  .why-choose-home-text{
    margin-bottom: 0px;
  }
  .heart-star-position-mob{
    position: static !important;
  }
  .why-choose-home-mob-height{
    height: auto;
  }
  .resp-padding-img{
    padding-top: 60px;
  }
  
}








@media (orientation: landscape) and (max-height: 700px) {
  .hero-sec-logo{
    max-width: 90px;
  }
    .hero-line-one {
        font-size: 6rem;  
        line-height: 90px;
    }
    .hero-line-two {
        font-size: 3rem;
        line-height: 45px;
    }
    .hero-line-three {
        font-size: 1.5rem;
        line-height: 25px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .hero-line-one {
        font-size: 5rem;  
        line-height: 80px;
    }
    .hero-line-two {
        font-size: 2.5rem;
        line-height: 40px;
    }
    .hero-line-three {
        font-size: 1.25rem;
        line-height: 22px;
    }
}

/* target width below 576px */
@media (max-width: 576px) {
  header>div {
    padding: 12px 12px 12px 12px;
  }
  .hero-sec-logo {
    max-width: 60px;
}
.hero-line-one {
  font-size: 4rem;
  line-height: 60px;
}
.hero-line-two {
  font-size: 2.5rem;
  line-height: 35px;
}
.hero-line-three {
  font-size: 1rem;
  line-height: 18px;
}
  .hyp_footer .content {
    padding: 48px 24px;
  }

  .hyp_offcanvas.show {
    padding: 90px 16px 46px 16px;
  }

  .second-offcanvas.show {
    padding: 16px 60px 16px 12px;
    width: 100%;
  }

  main #lottieIntro {
    width: 80vw;
  }

  .dummy {
    margin-top: 40px;
  }

  .anouncement-swiper-wrapper .swiper-button-next {
    left: 12%;
  }

  .yin_bottom {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .hyp_cont-sm {
    padding-top: 48px;
    padding-inline: 16px;
  }

  .page_padding_top {
    padding-top: 90px;
  }

  .hyp_footer figure {
    right: 0.5rem;
  }

  .hyp_footer figure {
    width: 5rem;
  }
}

@media (max-width: 400px) {
  .hero-sec-logo {
      max-width: 60px;
  }
  .hero-line-one {
    font-size: 4rem;
    line-height: 60px;
}
.hero-line-two {
    font-size: 2rem;
    line-height: 30px;
}
.hero-line-three {
    font-size: 1rem;
    line-height: 18px;
}
}

