
/*Nav Bar*/
@media only screen and (min-width: 650px) and (max-width: 938px)
{
  .sticky{
    width: 100%;
    height: 10vh;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
  .nav .toggle-collapse .toggle-icons i
  {
    margin-top: -5px;
    font-size: 1.4rem;
    color: white;
  }
  .nav .nav-items .nav-link
  {
    margin-top: 0px;
  }
  .collapse
  {
    height: 30rem;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
}
@media only screen and (min-width: 400px) and (max-width: 648px)
{
  .sticky
  {
    width: 95%;
    height: 10vh;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
  .nav .toggle-collapse .toggle-icons i
  {
    margin-top: -5px;
    font-size: 1.4rem;
    color: white;
  }
  .nav 
  {
    min-height: 15px;
  }
  .collapse
  {
    height: 30rem;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
}
@media only screen and (min-width: 640px) and (max-height: 360px)
{
  .sticky
  {
    width: 95%;
    height: 10vh;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
  .nav .toggle-collapse .toggle-icons i
  {
    margin-top: -5px;
    font-size: 1.4rem;
    color: white;
  }
  .nav 
  {
    min-height: 15vh;
    overflow: hidden;
  }
  .collapse
  {
    height: 30rem;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
}
@media only screen and (min-width: 320px) and (max-width: 399px)
{
  .sticky{
    width: 95%;
    height: 10vh;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
  .nav .toggle-collapse .toggle-icons i
  {
    margin-top: -10px;
    font-size: 1.4rem;
    color: white;
  }
  .collapse
  {
    height: 30rem;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
}
@media only screen and (min-width: 751px) and (max-width: 1440px)
{
  .sticky
  {
    width: 100%;
    background: rgba(0, 0, 0, 0.815);
    height: 10vh;
    overflow: hidden;
  }
  .collapse
  {
    height: 30rem;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
}
@media only screen and (min-width: 667px) and (max-height: 375px)
{
  .sticky
  {
    width: 100%;
    background: rgba(0, 0, 0, 0.815);
    height: 15vh;
    overflow: hidden;
  }
  .nav
  {
    min-height: 12vh;
  }
  .collapse
  {
    height: 30rem;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
}
@media only screen and (min-width: 768px) and (max-height: 1024px)
{
  .sticky
  {
    width: 100%;
    overflow: hidden;
  }
  .nav{
      min-height: 10vh;
      overflow: hidden;
  }
  .collapse
  {
    height: 30rem;
    background: rgba(0, 0, 0, 0.815);
    overflow: hidden;
  }
}










    /*******nav bar tittle*******/
    @media only screen and (min-width:992px) and (max-width:1240px){
      .p  p{
    
    padding-top: 110px;
    height: 130%;
    
    font-size: 5em;
    }
    }
    @media only screen and (min-width:768px) and (max-width: 991px){
    .p  p{
    
    padding-top: 120px;
    height: 130%;
    
    font-size: 5em;
    }
    }
    
    @media only screen and (min-width:576px) and (max-width: 767px){
        .p  p{
    
    padding-top: 140px;
    height: 130%;
    
    font-size: 5em;
    }
    
    }
    @media only screen and (min-width: 320px) and (max-width: 575px){
      .p  p{
    
    padding-top: 60px;
    height: 60%;
    margin-left: 70px;
    font-size: 2em;
    }
    }
    
    @media only screen and (max-width: 319px){
        .p  p{
    
    padding-top: 150px;
    height: 80%;
    
    font-size: 5em;
    }
    }
    

/********X********** Nav bar *********X*******/
















/*  *********viewport lessthan or equal to 750px************ */
@media only screen and (max-width: 938px){
    .nav .nav-menu, .nav .nav-items{
    flex-direction: column;
    }
    .nav .toggle-collapse{
        display: initial;
    }
}
/*  *****X****viewport lessthan or equal to 750px*****X******* */


/************ about us ****************/
@media only screen and  (max-width: 992px){
.sec
{
  padding: 100px 50px 50px;
  flex-direction: column;
  height: auto;
}
.sec img 
{
  margin: 50px 0 0;
  width: 100%;
}

}
/*******X***** about us ****X************/

/********** Cards ********************/
@media screen and (min-width: 320px) and (max-width: 374px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .section h1
  {
    margin-left: 10px;
  }
  .section hr
  {
    margin: 5px 0px 15px 20%;
  }
  .container1
  {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    height: auto;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 375px) and (max-width: 424px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .section h1
  {
    margin-left: 10px;
  }
  .section hr
  {
    margin: 5px 0px 15px 20%;
  }
  .container1
  {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    height: auto;
    left: 25px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 424px) and (max-width: 575px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .section h1
  {
    margin-left: 10px;
  }
  .section hr
  {
    margin: 5px 0px 15px 20%;
  }
  .container1
  {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    height: auto;
    left: 50px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 576px) and (max-width: 768px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1
  {
    width: 100%;
    height: auto;
    left: 225px;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 640px) and (max-height: 360px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1
  {
    width: 100%;
    height: auto;
    left: 160px;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 667px) and (max-height: 375px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1
  {
    width: 100%;
    height: auto;
    left: 160px;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 731px) and (max-height: 411px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1
  {
    width: 100%;
    height: auto;
    left: 180px;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 736px) and (max-height: 414px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1
  {
    width: 100%;
    height: auto;
    left: 180px;
    display: block;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px)
{
  .section
  {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1
  {
    width: 100%;
    height: auto;
    display: block;
    left: 34%;
    overflow: hidden;
  }
  section.sec1{
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .container1 .card
  {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
/* *****X****cards glowing animation*******X****** */
/* ***********Image section*********** */
@media screen and (min-width: 320px) and (max-width: 575px)
{
.image
{
  margin-top: 0px;
  width: 100%;
}
}
@media  screen and (min-width: 576px) and (max-width: 768px)
{
  .image
  {
    margin-top: 0;
    width: 100%;
  }
}
@media  screen and (min-width: 769px) and (max-width: 1024px)
{
  .image
  {
    margin-top: 0;
    width: 100%;
  }
}

/****** our work ***********/

@media only screen and (min-width: 320px) and (max-width: 575px)
{
  .sec3
  {
    width: 100%;
    height: auto;
  }
  .sec3 h1
  {
    margin-left: 10px;
  }
  .sec3 hr
  {
    margin: 5px 0px 15px 20%;
  }
  .section3
  {
    width: 100%;
    height: auto;
  }
  .container2
  {
    width: 100%;
    height: auto;
    display: block;
  }
  .container2 .card1
  {
    width: 100%;
    margin-top: 30px;
  }
  .container2 .card1  .box1
  {
    margin-top: 30px;
    width: 80%;
    height: auto;
  }
  .container2 .card1  .box1 .details1
{
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  transform: scaleY(0);
  transition: transform 0.5s;
}
.container2 .card1  .box1 .details1 .content1 h2 
{
  font-size: 15px;
  margin-left: 40px;
  justify-content: center;
}
.container2 .card1  .box1 .details1 .content1 button
{
  font-size: 10px;
  margin-left: 50px;
  justify-content: center;
}
}
@media only screen and (min-width: 576px) and (max-width: 768px)
{
  .sec3
  {
    width: 100%;
    height: auto;
  }
  .section3
  {
    width: 100%;
    height: auto;
  }
  .container1
  {
    width: 100%;
    height: auto;
    display: block;
  }
  .container1 .card
  {
    margin-top: 30px;
    width: 100%;
  }
  .container1 .card  .box
  {
    margin-top: 30px;
    width: 50%;
    height: auto;
    margin-left: 25%;
  }
  .container2 .card1  .box1 .details1
  {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    transform: scaleY(0);
    transition: transform 0.5s;
  }
  .container2 .card1  .box1 .details1 .content1 h2 
  {
    font-size: 15px;
    margin-left: 40px;
    justify-content: center;
  }
  .container2 .card1  .box1 .details1 .content1 button
  {
    font-size: 10px;
    margin-left: 50px;
    justify-content: center;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1024px)
{
  .sec3
  {
    width: 100%;
    height: auto;
  }
  .section3
  {
    width: 100%;
    height: auto;
  }
  .container2
  {
    width: 100%;
    height: auto;
  }

  .container2 .card1
  {
    margin-top: 30px;
    width: 50%;
  }
  .container2 .card1  .box1
  {
    margin-top: 30px;
    width: 50%;
    height: auto;
  }
  .container2 .card1  .box1 .details1
  {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    transform: scaleY(0);
    transition: transform 0.5s;
  }
  .container2 .card1  .box1 .details1 .content1 h2 
  {
    font-size: 15px;
    margin-left: 40px;
    justify-content: center;
  }
  .container2 .card1  .box1 .details1 .content1 button
  {
    font-size: 10px;
    margin-left: 50px;
    justify-content: center;
  }
}
@media only screen and (min-width: 1025px) and (max-width: 1440px)
{
  .sec3
  {
    width: 100%;
    height: auto;
  }
  .section3
  {
    width: 100%;
    height: auto;
  }
  .container2
  {
    width: 100%;
    height: auto;
  }
  .container2 .card1
  {
    margin-top: 30px;
    width: 50%;
  }
  .container2 .card1  .box1
  {
    margin-top: 30px;
    height: auto;
  }
  .container2 .card1  .box1 .details1
  {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    transform: scaleY(0);
    transition: transform 0.5s;
  }
  .container2 .card1  .box1 .details1 .content1 h2 
  {
    font-size: 15px;
    margin-left: 40px;
    justify-content: center;
  }
  .container2 .card1  .box1 .details1 .content1 button
  {
    font-size: 10px;
    margin-left: 50px;
    justify-content: center;
  }
}
/***X*** our work ******X*****/


/************* Footer ***********************/
@media only screen and (min-width:576px) and (max-width: 768px){
    .footerposition{
      position: relative;
    }
    .footerposition h1{
      font-size: 20px;
      padding-bottom: 20px;
      padding-top: 30px;
    }
    .mainfooter{
      padding: 40px 0px;
      width: 100%;
      height: auto;
      display: block;
      overflow: hidden;
    }
    .footerbox h2{
      padding-top: 20px;
    }
    .footerbox p 
    {
      width: 70%;
      text-align: justify;

    }
    .footerbox ul li a 
    {
      width: 70%;
    }
    .footerbox ul li a i
    {
      width: 70%;
    }
    .footerbox .footericons ul li a
    {
      width: 100%;
      padding: 5px 0px 0px 5px;
    }
    .footerbox hr{
      width: 50px;
    }
    .footeraddress{
      margin-top: 30px;
    }
    .footerbottom p{
      font-size: 12px;
    }
  }
  @media only screen and (min-width: 320px) and (max-width: 575px){
    .footerposition{
      position: relative;
    }
    .footerposition h1{
      font-size: 20px;
      padding-bottom: 20px;
      padding-top: 30px;
    }
    .mainfooter{
      padding: 40px 0px;
      width: 100%;
      height: auto;
      display: block;
      overflow: hidden;
    }
    .footerbox h2{
      padding-top: 20px;
    }
    .footerbox p 
    {
      width: 70%;
      text-align: justify;

    }
    .footerbox ul li a 
    {
      width: 70%;
    }
    .footerbox ul li a i
    {
      width: 70%;
    }
    .footerbox .footericons ul li a
    {
      width: 100%;
      padding: 5px 0px 0px 5px;
    }
    .footerbox hr{
      width: 50px;
    }
    .footeraddress{
      margin-top: 30px;
    }
    .footerbottom p{
      font-size: 12px;
    }
  }
  @media only screen and (max-width: 319px){
  
    .footerposition{
      position: relative;
    }
    .footerposition h1{
      font-size: 20px;
      padding-bottom: 20px;
      padding-top: 30px;
    }
    .mainfooter{
      padding: 40px 0px;
      overflow: hidden;
    }
    .footerbox h2{
      padding-top: 20px;
    }
    .footerbox hr{
      width: 50px;
    }
    .footeraddress{
      margin-top: 30px;
    }
    .footerbottom p{
      font-size: 12px;
    }
  }
  @media only screen and (min-width:992px) and (max-width:1199px){
    .footerposition{
     position: relative;
   }
   .footerposition h1{
     font-size: 50px;
     padding-bottom: 30px;
     padding-top: 30px;
   }
   .mainfooter{
     padding: 40px 0px;
     overflow: hidden;
   }
 }
 @media only screen and (min-width:769px) and (max-width: 992px){
    .footerposition{
     position: relative;
   }
   .footerposition h1{
     font-size: 40px;
     padding-bottom: 30px;
     padding-top: 30px;
   }
   .mainfooter{
     padding: 40px 0px;
     overflow: hidden;
   }
   .footerbox{
     text-align: center;
   }
   .footerbox p{
     font-size: 13px;
     margin-bottom: 0px;
   }
   .footerbox h2{
     font-size: 16px;
     text-align: left;
     margin-top: 20px;
   }
   .footerbox ul li{
     text-align: left;
   }
   .footeraddress h6{
     text-align: left;
     font-size: 13px;
   }
 }
/*****X******** Footer ********X***************/

