


  /* ==========================================SCREEN 1440======================== */
  @media only screen and (max-width: 1440px) {
    .banner .banner-text{
      width:38%;
     
      }

  }


  /* ==========================================SCREEN 1024======================== */

@media only screen and (max-width: 1024px) {


  .navigation {
    padding: 0 10px;
  }

  nav ul li a,nav ul li a:visited {
    padding: 0 8px;
    font-size: 15px;
    line-height: 20px;
  }

  .banner .banner-text{
    width:42%;
    }
    
    .banner .banner-text h1 {
      font-size: 50px;
      line-height: 55px;
      }
    
    .banner .banner-text h2 {
      font-size:60px;
      line-height:65px;
    }
    
    .aboutus {
      margin: 80px 0;
      padding: 0 10px;
    }
    
    .aboutus .aboutarea div:nth-child(2) p {
      
      text-align:justify;
    }

    .aboutus .aboutarea{flex-direction: column;
      align-items: center;
    }
  
    .aboutus .aboutarea div:nth-child(1) {
      padding: 0 0 0 0;
    }
    
.why-rishani .whyrishai-area div:nth-child(1){
  padding: 0 0 0 0;
  width: 100%;
}
.why-rishani .whyrishai-area div:nth-child(2){
  width: 100%;
}


.facilities .facility-area div:nth-child(1) {
  padding: 0 0 0 0;
}
    .why-rishani{
      padding: 80px 10px;
      }


    .why-rishani .whyrishai-area{flex-direction:column-reverse;
      align-items: center;
    }
    
    .why-rishani .whyrishai-area h2 {
      margin-top: 50px;
  }
  .why-rishani .whyrishai-area p {
    text-align: justify;
}

.facilities{
  padding: 0 10px;
}

    .facilities .facility-area{flex-direction:column;
      align-items: center;
    }
    .facilities .facility-area h3 {
      width: 100%;
      text-align: center;
      margin-bottom: 1rem;
  }
  .facilities .facility-area p {
    text-align:justify;
  }

  
    .facilities .facility-area-two{flex-direction:column-reverse;
    }
    .facilities .facility-area-four{flex-direction:column-reverse;
    }

  .activity .activity-area h4 {
    background: url(../images/activity-line.png) 50% 0px no-repeat;
    text-align: center;
}
.activity .activity-area h2 {
  width: 100%;
  text-align: center;
}



.video-frame{
  padding: 0 0px 0 0;

}

    footer .footerarea{
      padding:80px 10px 50px;
     
    }
  
  
    footer .copyright{
      padding:14px 10px 0px;
    }


}





/* ==========================================SCREEN 768======================== */
  @media only screen and (max-width:768px) {

   
    .navigation nav ul li a:visited {color:#f0f0f0;
    }
    .navigation nav ul li a:active {color:#000;
    }


    .navigation {position: relative;
      height: 65px; 
    }
    .navigation .nav-list {
    position: absolute;
    left: 0;
    right: 0;
        z-index:9999;
        background: none;
        }
.navigation .brand img{
  width:150px;
  height:70px;
}

.navigation nav ul li a {
  color: var(--white);
  padding: 15px;
  font-size: 15px;
  line-height: 20px;
  background: #2f84c8;
}

.banner {
  min-height:400px;
}


    
    .banner .banner-text h1 {
      font-size:35px;
      line-height:40px;
      }
    
    .banner .banner-text h2 {
      font-size:45px;
      line-height:50px;
    }
   

    .aboutus .aboutarea div:nth-child(2) h1 {
      font-size: 35px;
      line-height: 40px;
      margin-bottom: 1rem;
    }
   
    .aboutus .aboutarea img{
    width:600px;
    height:540px;
  }

  .why-rishani .whyrishai-area img{
    width:600px;
    height:540px;
  }

.facilities .facility-area img{
 width:600px;
  height:664px;
}

    .why-rishani .whyrishai-area h2 {
      font-size: 35px;
      line-height: 40px;
      margin-bottom: 1rem; 
    }


    .facilities h2 {
      font-size: 35px;
      line-height: 40px;
  }
     
  .facilities .facility-area h3 {
    font-size: 26px;
    line-height: 30px;
    width: 100%;
    margin-top: 2rem;
  }
  .activity .activity-area h2 {
    font-size: 35px;
    line-height: 40px;
  }
  .activity .activity-area h4 {
    font-size: 20px;
    line-height: 30px;
  }

 
.mile {
  margin: -3rem auto;
}
.rile {
  margin: -3rem auto;
}

.more-activity .sile {
  margin: 0rem auto;
}
.more-activity .vile{
  margin: 0rem auto;
}
.more-activity .qile {
  margin: -6rem auto;
}


.nile {
  margin: 3rem auto;
}

  .guestsay h2 {
    font-size: 35px;
    line-height: 40px;
  }
  footer .footerarea .footer-three{padding: 25px 0 0 0;
  }


  footer .copyright .copy-area{flex-direction: column;
    align-items: center;
  }


  .testimonials .review {
    top: 57px;
    left: 14rem;
}
.testimonials .review img{width:50px;
height: 15px;
}


}


/* ==========================================SCREEN 740======================== */
@media only screen and (max-width:740px) {
  footer .footerarea .footer-two {
    padding:40px 0 0 0px;
}

footer .footerarea .footer-three {
  padding:40px 0 0 0px;
}


.testimonials .review {
  top: 57px;
  left: 22rem;
}


}





  
/* ==========================================SCREEN 480======================== */

@media only screen and (max-width:480px) {

  .navigation {position: relative;
    height:52px; 
  }


  .navigation .brand img{
    width:130px;
    height:50px;
  }


  .navigation .nav-list {
    top:35px;
        }

        .navigation nav ul li a {
          font-size: 14px;
          line-height: 18px;
        }


/* ================================BOTTOM HEADRE HERE================================== */

.nav {
  position: fixed;
  bottom: -15px;
  width: 100%;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  display: flex;
 
}

.nav .bx{font-size:30px;
line-height: 0px;
color: #fff;
padding: 0 5px 0 0;
}
.nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 50px;
  overflow: hidden;
  font-family: sans-serif;
  font-size: 15px;
  line-height: 50px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.1s ease-in-out;
  top:0;
  color: #fff;
}

.nav__link:hover {
  background-color: #c8c8c8;
}

.nav__link--active {
  color: #009578;
}


nav .menu-whatsappbtn{background: #2bc48a;
padding:2px 0;
}


nav .menu-callbtn{background: #2f84c8;
  padding:2px 0;
}

nav .nav__text{color: #fff;
  }


/* ================================BOTTOM HEADRE END================================== */


        .banner {
          min-height:350px;
        }

 .banner .banner-text{
  left:50%;
  width:50%;
      }

.banner .banner-text h1 {
        font-size:23px;
        line-height:30px;
        }
      
.banner .banner-text h2 {
        font-size:30px;
        line-height:35px;
      }

.aboutus .aboutarea img{
width:360px;
height: 325px;
}
.aboutus .aboutarea div:nth-child(2) h1 {
  font-size: 28px;
  line-height: 30px;
}

.why-rishani .whyrishai-area img{
  width:360px;
height: 325px;
}
.why-rishani .whyrishai-area h2 {
   font-size: 28px;
  line-height: 30px;}

.facilities .facility-area img{
 width:360px;
  height:398px;
}

.facilities h2{
   font-size: 28px;
  line-height: 30px;
}

.facilities .facility-carousel h3{
  font-size: 28px;
  line-height: 30px;
}

.facilities .facility-area h3 {
  font-size: 22px;
  line-height: 28px;
}


.activity .activity-area h2 { 
  font-size: 28px;
  line-height: 30px;
}
.activity .activity-area h4 {
  font-size: 18px;
  line-height: 36px;
}

.activity .activity-area h5 {
  font-size: 20px;
  line-height: 25px;
  padding: 12px 0px;
}
.guestsay h2 {
  font-size: 28px;
  line-height: 30px;
}


#customers-testimonials .item{padding: 0;
}

.testimonials .review {
  top: 20px;
  left: 14rem;
}



footer .copyright p {
  font-size: 10px;
  line-height:8px;
}

footer .footerarea .footer-one {
  padding: 0 33px 0 0;
}



.tile {
  height: 390px;}

  .pile {
    height: 390px;}
    .mile {
      height: 390px;}
      .nile {
        height: 390px;}



}









