html, body {
        overflow-x: hidden;
      }
      body {
        position: relative
      }
.close-btn{
    position: absolute;
    top:25px;
    right: 45px;
    height: 45px;
    width: 45px;
    background: #000;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
    line-height: 45px;  
}
.menu-btn{
    position: absolute;
    top:20px;
    right: 45px;
    height: 45px;
    width: 45px;
    background: #020b2e;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
    line-height: 45px;  
}
.sidebar.active{
    right: 0px;
}
.close-btn:hover{
    color: #fff;
    /* border: #009fda; */
    background: #0667f0;

}
.menu-btn:hover{
    color: #fff;
    /* border: #009fda; */
    background: #02a3fa; 
}


.sidebar{
    position: fixed;
    width: 250px;
    right: -250px;
    height: 100vh;
    top:0px;
    background: #fff;
    overflow-y: auto;
    transition: right 0.4s ease;
   
 }
.sidebar .menu{
    width: 350px;
    margin-top: 120px;
 }

.sidebar.show{
    right:0px;
    
}

nav ul{
  
    height: 100%;
    width: 100%;
    list-style: none;
    color: #0616c4;
    text-decoration: none;
   
    
}
nav ul li{
    line-height: 50px;
}
nav ul li a{
    color: rgb(4, 11, 142);
    position: relative;
   text-decoration: none;
    font-size: 30px;
    display: block;
    font-weight: 500;
    width: 100%;   
}

nav ul li a:hover{
    color:#648bde;
    text-decoration: none;
}
nav ul ul{
    position: static;
    display: none;
}
nav ul .feat-show.show{
    display: block;
}

nav ul .sec-show.show1{
    display: block;
}

nav ul .three-show.show2{
    display: block;
}

nav ul .four-show.show3{
    display: block;
}
nav ul ul li{
    line-height: 32px;
   
}
nav ul ul li a{
    font-size: 18px;
   
 }
nav ul li a span{
    position: absolute;
    top:50%;
    right:20px;
    font-size: 20px;
    transition: transform 0.4s;
    transform: translatey(-50%);

}
nav ul li a span.rotate{
  transform: translateY(-50%) rotate(-180deg);  
}
.h3{
    margin-left: 50px;
}
/* ------------------header-------------------- */
  
.nav{
    width: 100%;
    height:auto;
    /* line-height: 75px; */
    /* padding:0px 100px; */
    position:fixed;
    background: #fafbfa;
     z-index:-1;
    /*margin-bottom: 150px;*/
     /*box-shadow: 0 .5rem 1rem rgba(1, 1, 1, 0.1); */
}
.nav_logo{
    width: 1400px;
    height: auto;
    background-color: rgb(249, 251, 248);
}

.logo1{
    width:60px;
    /*background-color: #000;*/
   /*display: inline-block; */
    margin: 10px;  
}

.navbar-brand{
    margin-left: 20px;
    margin-bottom: 20px;
}
/* ----------------home section--------------- */
.container1{
     width:100%;
    position:relative;
    /* background-color: red; */
    /* margin:2px; */
}
.box video{
    /*opacity: 0.8;*/
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-fit: cover;
    z-index: -1;
   
    margin-top: 5px;
} 
.box{
    height:100vh;
    width: 100%;
        /* background-image: url(https://www.fervidsmart.com/img/inner-header-texture.png); */
        background-size: cover;
        background-position: center;
        display: flex;
        flex-wrap: wrap;
        position:relative;
       /* margin:5px;
       padding:5px; */
       padding:50px 15px;
    }
.home-text .animate-text .text-in{
    margin-top: 25%;
    font-size: 45px;
    background-color: #403f3f89;
    background-blend-mode: lighten;
}
.box::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
    /* background-color: rgba(59, 10, 10, 0.45); */
    z-index: 1;

}
 .home-text{
    position: relative;
    z-index: 2;
    margin-top: 220px;
    text-align: center;
}

 .home-text p{
    margin:0;
    /* background-color: red; */
    overflow: hidden;
   

}
.home-text .animate-text{
    font-weight: bolder;
}
 .home-text p span{
font-size: 40px;
color:#fff;
font-weight: 300;
display: inline-block;
line-height: 65px;
display: none;
font-weight: 500;
}
 .home-text p span.text-in{
    display: block;
    animation:textIn 2s ease;
}
 .home-text p span.text-out{
   
    animation:textOut 2s ease;
}
@keyframes textIn{
    0%{
        transform:translateY(100%);
    }
    100%{
        transform:translateY(0%);
    }
}
@keyframes textOut{
    0%{
        transform:translateY(0%);
    }
    100%{
        transform:translateY(-100%);
    }
}
/* ----------------------about--------------------- */
#course{
    height:auto;
   /* margin-left: auto;*/
    /*margin-right: auto;*/
    /*display: block;*/
    /* background-color: #0a539c; */
}
.course_heading{
    background-color: #061449;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #f8f9fb;
    padding: 10px 0px;

}
.courses_box{
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* background-color: blueviolet; */
    width:1300px; 
    height:1100px;
}
.our{
    text-align: center;
    margin-top: 60px;
    margin-bottom:40px;
    font-weight: bold;
    color: #223c6c;
}
.body10{
    width: 100%;
    display: flex;
    flex-direction: row;
    /*margin-left: 170px;
    margin-right: 50px;*/
    /* background: rgb(150, 3, 3); */
    display: flex;
    /*place-items: center;*/
    flex-direction: row;
    gap:10px;
    /*align-items: center;*/
    /*z-index: 8;*/
    /*position:relative;*/
    /*float: left;*/
    /* padding-top: 100px; */
    /*padding-left: 130px;*/
    /*padding-right: 20px;*/
    /* padding-bottom: 10px; */
     /* grid-template-rows: auto; */
}
.coursesb1{
    width: 1300px;
    float: left;
    /* background-color: #007bff; */
    display: flex;
    float: left;
}
.coursesb2{
    width: 1300px;
    float: left;
    /* background-color: #49886e; */
    display: flex;
    float: left;
}
.coursesb3{
    width: 1300px;
    overflow: hidden;
    /* background-color: #8d9094; */
    display: flex;
    float: left;
}
.maincard{
    width: 300px;
    /*background: pink;*/
    /*float: left;*/
    /* display: flex;
    flex-direction: row; */
    padding: 30px;
}
.maincard:hover .card-content{
    transform: rotateY(.5turn);
}
.card-content{
    text-align: center;
    position: relative;
    padding: 9rem ;
    transition: transform 3s;
     /*background: rgb(5, 216, 5);*/
    transform-style: preserve-3d;
    /* border-radius: 5px; */
}
.front-content,
.back-content{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    margin: 5px;
    backface-visibility: hidden;

    border-radius: 10px;

    /* transform-style: preserve-3d; */
}
.front-content{
    background: rgb(230, 226, 226);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
   
}
.card-title{
    font-size: 1.5rem;
    transform: translateZ(6rem);
    padding-top: 10px;
}
.card-body{
    transform: translateZ(4rem);
}
.back-content{
    transform: rotateY(.5turn);
    background: lightblue;
}
.image6{
    transform: translateZ(3rem);
    width: 250px;
    padding-top: 30px;
    border-radius: 10px;
  
   
}
.page1{
    margin-top: 20px;
    /* background-color: #495057; */
}
.inner-page-header1 {
    height: 276px;
    background-image: url(http://www.nextgenscholars.com/images/about.jpg);
    background-repeat: no-repeat;
   transition: height .3s;
    overflow: hidden;
    width:100%;
}
.icon{
    font-size: 40px;
}
.ser{
    text-align: center;
    color:#534d4d;
}
.ser1{
    text-align: center;
   
    margin-bottom: 20px;
}

.cards{
    padding-bottom: 20px;
}
.cards:hover{
    background:#223c6c;
    color:#fff;
}
.hea{
    text-align: center;
    color: #3d3636;
    margin-bottom: 40px;
}
.he{
    text-align: center;
    color:rgb(77, 46, 11)
}
.msg{
    /* text-align: center; */
    align-items: center;
    margin: 40px
}
.new .he::after
 {
    content: "";
    position:absolute;
    bottom: 2px;
    left: 20px;
    background-color: rgba(49,87,167,.7);
    height: 2px;
    width: 40px;
    top: 50px;
}

/* ----------------services section1------------------------ */
.contain{
    display: flex;
    flex-direction: row;
    background: #c8c8c8;
    margin-top: 30px;
    
}
.card2{
    background: #fff;
    width: 270px;
    height:350px;
    margin-left:40px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
   
}
.card2:hover{
    background-color: rgb(62,62,62);
    color:white;
    cursor:pointer;
    transform:scale(1.03);
    transition:all 1s ease;
}
.card-image{
    background-color: #385275;
    height:170px;
    margin-bottom: 15 10 15 10px;
    background-size: cover;
}
.h4{
    padding-left: 10px;
    text-align: center;
}
.pa{
    font-size: 15px;
    padding-left: 10px;
    text-align: center;
}
.img-1{
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRgiNZPYDOJi4ZJ4Ei8BRzobBAF2kZego2zHQ1eoYRRGQ&usqp=CAU&ec=48600113');
}
.img-2{
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTHoIdzwq9y2Vx-gUYnsBQnpWbWvJNBdRLBTtpU_Oxu9A&usqp=CAU&ec=48600113');
}
.img-3{
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ9lx_MjMZDhYBlbMnzi-lC00JnwGL4HZRKstXUG_h49_fFwOBAwcgm-1WqV170zMCNoJUIIJ1HijM&usqp=CAU&ec=48600113');
}
.img-4{
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ0veQJi6GwE3YXQ67XwJO0tSn7aZvrEzpzIKM-IPrFVA&usqp=CAU&ec=48600113');
}

/* --------------------section3------------------------- */
.img-fluid {
    max-width: 100%;
    height: 100%;
    /* padding: 40PX; */
    }
.page-section .running-text {
    line-height: 2rem;
    font-weight: 400;
    color: #626262;
}
.pb-3, .py-3 {
    padding-bottom: 1rem!important;
}
.text-center {
    text-align: center!important;
}
/* ----------------contact--------------------------- */
.contact-form {
    margin-top: 2%;
    margin-bottom: 2%;
    padding-left: 50px;
    background-color: #007bff;
       }
   .contact_box{
    width:1300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    /* background-color: #b7bdc4; */
    padding-left: auto;
    padding-right: auto;
   }   
   .contact_forms{
    /* margin: 30px;  */
    padding:30px;
    width:600px;
     height:auto;
     padding-bottom:50px;
     /* padding-right: 50px; */

   } 
/* #contact{
    background-color: #2c8a56;
} */
.form-group {
          margin-bottom: 2rem;
      }
.form-groups label {
          color: #3157a7;
          text-transform: uppercase;
        
      }   
.label {
          display: inline-block;
          margin-bottom: .5rem;
      }
      
.form-groups .form-control{
          border: none;
          border-bottom: 1px solid #3157a7;
          border-radius: 0;
          /*width:180%;*/
      }
.form-control {
          display: block;
          width: 100%;
          height: calc(1.5em + .75rem + 2px);
          padding: .375rem .75rem;
          font-size: 1rem;
          font-weight: 400;
          line-height: 1.5;
          color: #495057;
          background-color: #fff;
          background-clip: padding-box;
          border: 1px solid #ced4da;
          border-radius: .25rem;
          transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
      }  
      
.form-groups {
          margin-bottom: 2rem;
      }
      textarea.form-control {
          height: auto;
      }
.card-img-top {
          width: 100%;
          border-top-left-radius: calc(.25rem - 1px);
          border-top-right-radius: calc(.25rem - 1px);
      }
.name{
        text-align: center;
        color:#065ca2;
        padding-top: 20px;
        font-weight: bold;
      }
.bcground{
        background-color: #ebebed;
        /* margin-bottom: 20px; */
       
      }
.size{
        color:#fcfaf8 ;
        text-align: center;
       background-color: #385275;
       padding:10px;
       font-size:23px;
      }
.news{
       
        margin-left: auto;
        margin-right: auto;
        display: block;
       
      }
 
/* ------------------footer section-------------- */
.footer{
    width: 100%;
    height: auto;
    background: #385275;
    float: left;
    margin-bottom: 20px;

}
.footer_box{
    /*background-color: #3078fb;*/
    height: auto;
    width: 1300px;
    margin: 30px;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;

}
.footer_email{
width: 280px;
height: 50px;
/* background-color: #223c6c; */
margin-left: auto;
margin-right: auto;



}
.footer h3{
    color:rgb(228,207,178);
    /*background-color: #1f1da7;*/
    text-align: center;    
}
.footerb1{
    width: 400px;
    height: auto;
    margin:30px;
   /*background-color: #3d3636;*/
   text-align: center;
}
.footerb2{
    width: 600px;
    height: auto;
    margin:30px;
    /*background-color: #3d3636; */ }

  .footer .row{
    display: flex;
    flex-direction: row;
  } 

  .fb2{
    display: flex;
    flex-direction: row;
    margin-top: 10px;
  }


.footerb2 ul{
  
    height: 100%;
    width: 100%;
    list-style: none;
    color: #0616c4;
    text-decoration: none;
   
    
}
.footerb2 ul li{
    line-height: 50px;
}
.footerb2 ul li a{
    color: rgb(4, 11, 142);
    position: relative;
   text-decoration: none;
    font-size: 30px;
    display: block;
    font-weight: 500;
    width: 100%;   
}

.footerb2 ul li a:hover{
    color:#648bde;
    text-decoration: none;
}

.footerb3{
    width: 400px;
    height: auto;
    margin:30px;
    /*background-color: #3d3636;*/

}
.footer .cour{
    color:rgb(228,207,178);
    /*padding-left: 120px;*/
    text-align: center;
}
.fb2 h5{
    padding: 3px 0px;
}
.footer .para8{
    color:#fff;
    text-align: center;
    
}
.footer h5{
    color:#fff;
    font-size: 13px; 
} 

.footer .btn8{
    border:1px solid #fff;
    padding: 10px;
    border-radius: 5px;
}
.footer .send1{
    border:1px solid #3078fb;
    padding: 10px;
    background: #3078fb;
    color: #fff;
    border-radius: 5px;
}
.footer .send1:hover{
    background: #fff;
    color:#3078fb;
    border:#fff;
}
.footer .fa{
    border:1px solid #fff;
    padding: 15px;
    background: #fff;
    color:rgb(14, 107, 201);
    border-radius: 5px;
}
.footer .fa:hover{
    border:1px solid rgb(14, 107, 201);
    padding: 15px;
    background: rgb(14, 107, 201);
    color:#fff;
}
.social_icon{
    width: 210px;
    height: 58px;
    margin-left: auto;
    margin-right: auto;
    align-content: center;
    /*background-color: #27ae60;*/

}


.last_container{
    background:rgb(43, 43, 43);
    color: #fff;
   /* padding-top: 20px;
    padding-bottom: 5px; */
    /* text-align: center;  */
 }
.copyrght{
    /* text-align: left; */
    padding-bottom: 20px;
    color:#fff;
}
.coyrht:hover{
    color: #007bff;
}
.cop{
    width: 1300px;
    /* display: flex;
    flex-direction: row; */
    margin: 0px auto;
    text-align: center;
        }

  /* .............................Mobile........................... */

@media screen and (max-width: 768px) and (min-width:430px){


     .home-text .animate-text .text-in{
        margin-top: 25%;
        font-size: 20px;
        background-color: #403f3f89;
       background-blend-mode: lighten;
    }
    .home-text p span{
        font-size: 20px;
        color:#fff;
        font-weight: 300;
        display: inline-block;
        line-height: 65px;
        display: none;
        font-weight: 500;
        }


    /* .............................courses........................... */
    .courses_box{
        display: block;
        margin-left: auto;
        margin-right: auto;
        /* background-color: blueviolet; */
        width:400px; 
        height:auto;
    }
    .our{
        text-align: center;
        margin-top: 60px;
        margin-bottom:40px;
        font-weight: bold;
        color: #223c6c;
    }
    .body10{
        width: 100%;
        display: flex;
        flex-direction: column;
        /*margin-left: 170px;
        margin-right: 50px;*/
        /* background: rgb(150, 3, 3); */
        /* display: flex; */
        /*place-items: center;*/
        /* flex-direction: row; */
        gap:10px;
        /*align-items: center;*/
        /*z-index: 8;*/
        /*position:relative;*/
        /*float: left;*/
        /* padding-top: 100px; */
        /*padding-left: 130px;*/
        /*padding-right: 20px;*/
        /* padding-bottom: 10px; */
         /* grid-template-rows: auto; */
    }
    .coursesb1{
        width: 400px;
        /* background-color: #007bff; */
        display: flex;
        flex-direction: column;
    }
    .coursesb2{
        width: 400px;
        float: left;
        /* background-color: #49886e; */
        display: flex;
        flex-direction: column;
    }
    .coursesb3{
        width: 400px;
        overflow: hidden;
        /* background-color: #8d9094; */
        display: flex;
        flex-direction: column;
    }



    /* .............................contact........................... */

    .contact_box{
        width:410px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        /* background-color: #b7bdc4; */
        padding-left: auto;
        padding-right: auto;
       }   

       .contact_form{
        width: 400px;
       }
       .card1_form{
        width: 400px;
       }
       .row{
        width: 400px;
       }
       .size{
        width: 400px;
       }
       

    /* .............................footer........................... */
    .footer_box{
        /* background-color: #3078fb; */
        height: auto;
        width: 410px;
        /* margin: 30px; */
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    
    }
    .footerb1{
            width: 380px;
            height: auto;
            /* margin:10px; */
        /* background-color: #3d3636; */
        text-align: center;
        margin-left: auto;
            margin-right: auto; }
    .footerb2{
            width: 380px;
            height: auto;
            /* margin:10px; */
            /* background-color: #3d3636; */
            margin-left: auto;
            margin-right: auto; }
    .footerb3{
            width: 380px;
            height: auto;
            /* margin:10px; */
            /* background-color: #3d3636; */
            margin-left: auto;
        margin-right: auto;
        
        }
    
}

/* .............................Tab........................... */

@media screen and (max-width: 992px) and (min-width:769px){


    .home-text .animate-text .text-in{
        margin-top: 25%;
        font-size: 32px;
        background-color: #403f3f89;
       background-blend-mode: lighten;
    }
    .home-text p span{
        font-size: 32px;
        color:#fff;
        font-weight: 300;
        display: inline-block;
        line-height: 65px;
        display: none;
        font-weight: 500;
        }


    /* .............................courses........................... */
    .courses_box{
        display: block;
        margin-left: auto;
        margin-right: auto;
        /* background-color: blueviolet; */
        width:470px; 
        height:auto;
    }
    .our{
        text-align: center;
        margin-top: 60px;
        margin-bottom:40px;
        font-weight: bold;
        color: #223c6c;
    }
    .body10{
        width: 100%;
        display: flex;
        flex-direction: column;
        /*margin-left: 170px;
        margin-right: 50px;*/
        /* background: rgb(150, 3, 3); */
        /* display: flex; */
        /*place-items: center;*/
        /* flex-direction: row; */
        gap:10px;
        /*align-items: center;*/
        /*z-index: 8;*/
        /*position:relative;*/
        /*float: left;*/
        /* padding-top: 100px; */
        /*padding-left: 130px;*/
        /*padding-right: 20px;*/
        /* padding-bottom: 10px; */
         /* grid-template-rows: auto; */
    }
    .coursesb1{
        width:470px;
        /* background-color: #007bff; */
        display: flex;
        flex-direction: column;
    }
    .coursesb2{
        width:470px;
        float: left;
        /* background-color: #49886e; */
        display: flex;
        flex-direction: column;
    }
    .coursesb3{
        width:470px;
        overflow: hidden;
        /* background-color: #8d9094; */
        display: flex;
        flex-direction: column;
    }



    /* .............................contact........................... */

    .contact_box{
        width:470px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        /* background-color: #b7bdc4; */
        padding-left: auto;
        padding-right: auto;
       }   

       .contact_form{
        width:470px;
       }
       .card1_form{
        width:470px;
       }
       .row{
        width:470px;
       }
       .size{
        width:470px;
       }
    
    /* .............................footer........................... */
    .footer_box{
        /* background-color: #3078fb; */
        height: auto;
        width:470px;
        /* margin: 30px; */
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    
    }
    .footerb1{
            width: 460px;
            height: auto;
            /* margin:10px; */
        /* background-color: #3d3636; */
        text-align: center;
        margin-left: auto;
            margin-right: auto; }
    .footerb2{
            width: 460px;
            height: auto;
            /* margin:10px; */
            /* background-color: #3d3636; */
            margin-left: auto;
            margin-right: auto; }
    .footerb3{
            width: 460px;
            height: auto;
            /* margin:10px; */
            /* background-color: #3d3636; */
            margin-left: auto;
        margin-right: auto;
        
        }
    
}

