
@media only screen and (max-width: 991px) {
    body, html{
        width: 100vw;
        overflow-x: hidden;
        padding: 0.8em 0;
    }
    .small-title {
        width: 1150vw;
    }
    .small-title span{
        display: inline-block;
        padding-block: 10px;
        margin-inline: 10px;
    }
    .nav_toggle {
        visibility: visible;
        float:right;
        margin-right: 10px;
    }
    
    .nav_bar {
        position: fixed;
        top:300px;
        left: 0;
        background: #fff;
        height: 100vh;
        width: 100%;
        display: block;
        text-align: center;
    }
    .nav_bar ul li {
        margin: 20px 0;
    }
    .nav_bar {
        position: absolute;
        left:-100%;
        top: 200%;
        width: 50%;
        background-color:#fff ;
    }
    .nav_bar.active {
        top: 100px;
        left: 0;
        /*position: absolute;
        top: 200%;
        margin-top: 30px;
        display: block;
        flex-direction: column;
        justify-content: right;*/
      }
      ul li {
        display:block;
        margin-block: 20px;
        margin-inline: auto;
        padding: 20px;
    }
    .home {
        display: grid;
        grid-template-columns: 300px 500px;
        grid-gap:100px;
        margin-block: 10px;
        margin-left: 100px;
    }
    
    .left{
        width: 30%;
    }
    
    .frm_con{
        width: 500px;   
        }
    .frm_con .contact-form {
            width: 500px;
        }
    .box .img1 {
            padding-top: 30px;
            height:900px;
            width: 400px;
            padding-inline: 20px;
    }
    .box .heading{
        font-size: 35px;
        color:#181d38;
        font-weight:bolder;
        text-align: center;
        font-family:'nunito', sans-serif;
    }
    .box p{
        text-align: justify;
    }
    .boxa p{
        text-align: justify;
    }
    .boxa {
        height: 80vh;
    }
    .box1{
        width: 250px;
        height: auto;
    }
    .cimg{
        width: 250px;
    }
    
    
    .footer-container {
        margin-block: auto;
        flex-wrap: wrap;
        justify-content:space-evenly;
    }
    .foot-content{
        width: 200px;
        margin-block: 30px;
        margin-inline: 10px;
        padding: auto;
        height: 300px;
    }
    .social-icon a {
        display: block;
        padding-block: 5px; 
    }
    .cert p{
        margin-top: 0;
    }
    .container {
        max-width: 100%;
        margin-inline: auto;
        padding-inline: 30px;
        padding-block: 10px;
        margin-block: 10px;
    }
}

@media only screen and (max-width: 767px) {
    body, html{
        width: 100vw;
        overflow-x: hidden;
        padding: 0.8em 0;
    }
    .top-banner {
        min-width: 767vw;
        height: 100px;
        background-color: midnightblue;
    }
    .small-title {
        font-size: 20px;
        color: #fff;
        display: flex;
        animation:slide2 25s infinite;
        animation-timing-function: ease-in-out;
        animation-delay: 2s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: both;
    } 
    nav {
        height: 70px;
    }
    .main{
        position: relative;
    }
    .nav_toggle {
        visibility: visible;
        float:right;

    }
    .nav_bar {
        position: absolute;
        left:-100%;
        top: 200%;
        width: 100%;
        background-color:#fff ;
    }
    .nav_bar.active {
        top: 100px;
        left: 0;
        /*position: absolute;
        top: 200%;
        margin-top: 30px;
        display: block;
        flex-direction: column;
        justify-content: right;*/
    }
      ul {
        float:left;
        }
    ul li {
        display:block;
        margin-block: 20px;
        margin-inline: auto;
        padding: 20px;
    }
    ul li a{
        width: 100%;
        display: inline-block;
        margin-inline: auto;
        background-color: #fff;
        text-decoration: none;
        color:midnightblue;
        padding: 5px 20px;
        font-weight: bold;
        border: 1px solid black;
        border-radius: 5px;
        box-shadow: 0 5px gray;
    }
    .home {
        height: auto;
        display: block;
        display:flex;
        flex-direction: column;
        margin: 30px 0px;
        margin-left: 0px;
    }
    .title.ttl{
        font-size: 30px;
    }
    .title1 p{
        font-size: 20px;
    }
    .left{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .right{
        margin: 0 auto;
        width: 500px;
    }
    .frm_con{
        width: 500px;  
        align-content: center; 
        }
    .frm_con .contact-form {
            width: 500px;
        }
    .container {
        width: 100vw;
        margin-inline: 0;
        padding-block: 10px;
        margin-block: 10px;
        overflow: hidden;
    }
    .container_flex {
        display: block;
        margin-right: 20px;
    }
    .box {
        overflow: hidden;
    }
    .box .img1 {
        padding-top: 30px;
        height:600px;
        width: 100%;
        padding-inline: 0;
    }
    .boxa {
        height: auto;
    }
    .box1 {
        width: 100%;
        margin-block: 30px;
    }
    .box1.sub_title{
        font-size: 25px;
        padding-bottom: 20px;
    }
    .box1.txt {
        font-size: 20px;
        text-align: justify;
    }
    .cimg{
        width: 100%;
    }
    .c {
        text-align: center;
    }
    .row {
        display: flex;
        flex-direction: column-reverse;
    }
    .pimg {
        width: 100%;
        height: 500px;
    }
    .itxt p{
        text-align: justify;
    }
    .auro {
        margin-top: 50px;
    }
    .footer-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding:20px 0;
    }
    .footer-container h3 {
        padding-top: 30px;
    }
    
    .bottom{
        width: 767px;
        text-align:center;
        }
    @keyframes slide1 {
        0% {
            transform: translateX(0);
        }
        25% {
            transform: translateX(10%);
        }
        50% {
            transform: translateX(-100%);
        }
        50% {
            transform: translateX(-50%);
        }
        55% {
            transform: translateX(-100%);
        }
        80% {
            transform: translateX(-200%);
        }
        100% {
            transform: translateX(-300%);
        }
    }
     @keyframes slide2 {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
}

@media only screen and (max-width: 485px) {
    body, html{
        width: 100vw;
        overflow-x: hidden;
        padding: 0.8em 0;
    }
    .top-banner {
        min-width: 500px;
        height: 100px;
        background-color: midnightblue;
    }
    .small-title {
        font-size: 20px;
        color: #fff;
        display: flex;
        animation:slide2 16s infinite;
        animation-delay: 2s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: both;
    } 
    nav {
        height: 70px;
    }
    .main{
        position: relative;
    }
    .nav_toggle {
        visibility: visible;
        float:right;

    }
    .nav_bar {
        position: absolute;
        left:-100%;
        top: 200%;
        width: 100%;
        background-color:#fff ;
    }
    .nav_bar.active {
        top: 100px;
        left: 0;
        /*position: absolute;
        top: 200%;
        margin-top: 30px;
        display: block;
        flex-direction: column;
        justify-content: right;*/
      }
      ul {
        float:left;
        }
    ul li {
        display:block;
        margin-block: 20px;
        margin-inline: auto;
        padding: 20px;
    }
    ul li a{
        width: 100%;
        display: inline-block;
        margin-inline: auto;
        background-color: #fff;
        text-decoration: none;
        color:midnightblue;
        padding: 5px 20px;
        font-weight: bold;
        border: 1px solid black;
        border-radius: 5px;
        box-shadow: 0 5px gray;
    }
    
    
    .home {
        height: auto;
        display:flex;
        flex-direction: column;
        /*flex-wrap:wrap;*/
        margin-left:0;
        
    }
    .title .ttl {
        margin:20px 0;
        color:honeydew;
        font-size: 30px;
        font-weight: 900;
        text-align:left;
        text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
    }
    .ttl{
        width:350px;
    }
    .ttl1{
       width:200px;
       
    }
    .left {
        display: flex;
        flex-direction: column;
        justify-content:left;
        align-items:start;
        width: 100%;
    }
    .title1{
        min-width:350px;
        text-align:left;
    }
    .title1 .ttl1 {
        padding:5px;
        font-size: 18px;
        color:honeydew;
        text-align:center;
        font-weight:500;
        text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
    }
    .right {
        width: 100%;
        background-color: #f18930;
    }
    .first {
        padding: 0;
    }
    .container {
        width: 100vw;
        margin:0;
        
        padding: 10px 0;
      }
    .container_flex {
        display: block;
        margin-right:0;
    
    }
    .para {
        text-align: justify;
    }
    .box{
        margin:0;
        width:100%;
    }
    .box .img1 {
        padding-top: 30px;
        padding-inline:0;
        height:600px;
        width: 100%;
    }
    .boxa {
        height: auto;
    }

    .box1{
        width: 100%;
        height: 50%;
        margin: 20px 10px;
    }
    .cimg {
        width: 100%;
    }
    .txt {
        text-align: center;
    }
    .auro {
        margin-top: 50px;
    }
    .row {
        display: flex;
        flex-direction: column-reverse;
    }
    .pimg {
        width: 400px;
        height: 400px;
    }
    .itxt p{
        text-align: justify;
    }
    .footer-container {
        width: 100%;
        display: flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        padding:20px 0;
    }
    .footer-container h3 {
        padding-top: 30px;
    }
    .cert {
        margin-bottom:30px;
    }
    .bottom {
        padding-left:30px;
        text-align:left;
    }
    @keyframes slide1 {
        0% {
            transform: translateX(0);
        }
        25% {
            transform: translateX(10%);
        }
        50% {
            transform: translateX(-100%);
        }
        50% {
            transform: translateX(-50%);
        }
        55% {
            transform: translateX(-100%);
        }
        80% {
            transform: translateX(-200%);
        }
        100% {
            transform: translateX(-300%);
        }
    }
    @keyframes slide2 {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

