*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    --mainbgcolor: #43a5f6;
    --secondarybgcolor: #2b93e3;
    --bodybgcolor: #36474f;
    --subbg: #445964;
    --bodybg: #191e23;
    --bg: #f5f5f5 ;
    --fontColor: #000;
    --cardbg:    #676767;
    --btn: #ffcc34;
    --headingcolor: #d83030;

}
html{
    scroll-behavior: smooth;
}
body{
    min-height: 100vh;
    background-color: var(--bg);
    font-family: 'Roboto', sans-serif;
}
.container{
    max-width: 1135px;
    margin: 0 auto;
    /* padding: 1em 2em; */
}
h1,h2,h3{
    font-weight: 700;
    font-family: 'Roboto';
}
p{
    font-weight: 400;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
img{
    width: 100%;
}
.top_header{
    width: 100%;
    background-color: var(--fontColor);
    color: var(--btn);
    line-height: 40px;
    /* padding: 20px 0; */
    font-size: 0.95em;
}
.top_header i{
    display: inline-block;
    margin-right: 0.2em;
}
.top_header .top_heading_socialmedial{
    margin-left: 1.2em;
}
.top_header .top_heading_socialmedial i:hover{
    opacity: 0.5;
}
header{
    /* position: absolute; */
    width: 100%;
    min-height: 60px;
    /* background-color: var(--mainbgcolor); */
    background-color: var(--bg);
    /* padding: 0 50px; */
    
    font-family: 'Roboto';
    /* box-shadow: 0px 0px 40px 0px rgba(149, 157, 165, 0.2); */
    box-shadow: 0 0 8px 2px rgba(0,0,0,0.2);

}
.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav{
    z-index: 1;  
}
header .logo{
    color: var(--headingcolor);
    font-size: 1.75em;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}
header nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav ul li{
    position: relative;
    transition: border-left 2s;
}
header nav ul li:hover{
    border-left: 1px solid var(--btn)
}
header nav ul li a{
    color: var(--fontColor);
    font-size: 1.1em;
    padding: 20px 25px;
    display: block;
}
header nav ul >li a:hover{
    background-color: var(--bg);
}
header nav ul li .sub-menu{
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 0;
    width: 350px;
    background-color: var(--subbg);
    display: none;
}
header nav ul li .sub-menu> li {
    padding: 0;
    width: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.2)
}
header ul li:hover .sub-menu{
    display: block;
}

/* slider image  */

.img-container{
    max-width: 1135px;
    width: 100%;
    /* padding: 0 40px; */
    margin: 0 auto;
}
.slider-wrapper{
    position: relative;
}
.slider-wrapper .slide-button{
    position: absolute;
    top: 50%;
    height: 30px;
    width: 30px;
    color: #fff;
    border: none;
    outline: none;
    background-color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transform: translateY(-50%);
}
.slider-wrapper .slide-button{
    background-color: #444;
}
.slider-wrapper .slide-button#prev-slide{
    left: -20px;
    display: none;
}
.slider-wrapper .slide-button#next-slide{
    right: -20px;
}
.slider-wrapper .image-list{
    display: grid;
    gap: 18px;
    font-size: 0;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    grid-template-columns: repeat(10, 1fr);
}
.slider-wrapper .image-list::-webkit-scrollbar{
    display: none;
}
.slider-wrapper .image-list .image-item{
    width: 325px;
    height: 500px;
    object-fit: cover;
}
.container .slider-scrollbar{
    height: 24px;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    position: relative;
}
.slider-scrollbar .scrollbar-track{
    height: 2px;
    width: 100%;
    background-color: #ccc;
}
.slider-scrollbar:hover .scrollbar-track{
    height: 4px;
}
.slider-scrollbar .scrollbar-thumb{
    position: absolute;
    height: 2px;
    width: 50%;
    background-color: #000;
    border-radius: inherit;
    cursor: grab
}

.slider-scrollbar .scrollbar-thumb:active{
    cursor: grabbing;
    height: 8px;
    top: -2px;
}
.slider-scrollbar .scrollbar-thumb::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

/* hero slider  */

/* card */
.card-body{
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(30%, 1fr) );;
    gap: 20px;
    /* padding: 1em 2em; */
    /* margin: 1em 0; */
    background-color: var(--bg);
    padding-top: 100px;
}
.card{
    height: 400px;
    /* background-color: pink; */
    position: relative;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
    box-shadow: 0px 0px 40px 0px rgba(149, 157, 165, 0.2);
   
}
.card__content{
    text-align: center;
    position: relative;
    padding: 5em;
    transition: transform 2s;
    transform-style: preserve-3d;
}
.card:hover .card__content{
    transform: rotateY(.5turn);
}
.card__front,
.card__back {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* padding: 2em; */
    backface-visibility: hidden;
    transform-style: preserve-3d;
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg);
}
.card__front{
    background-color: whitesmoke;
    /* transform: rotateY(.5turn); */
}
.card__front img{
    width: 100%;
    height: 80%
}
.card__title{
    font-size: 1.5em;
    transform: translateZ(5rem);
    color: var(--btn);
    padding: 1em 0 0 0;
    text-transform: capitalize;
}

.card__subtitle{
    font-size: 0.9em;
    transform: translateZ(2rem);
    color: var(--bodybgcolor)
}

.card__body{
    transform: translateZ(2rem);
    margin-bottom: 1.2em;

}

.card__back{
    transform: rotateY(.5turn);
    /* background-color: white; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5CA4EA;
    
}
/* button  */
.btn {
    width: 180px;
    height: 60px;
    cursor: pointer;
    background: transparent;
    /* border: 1px solid #91C9FF; */
    border: 1px solid var(--btn);
    outline: none;
    transition: 1s ease-in-out;
    position: relative;
  }
  
  svg {
    position: absolute;
    left: 0;
    top: 0;
    fill: none;
    /* stroke: #fff; */
    stroke: var(--btn);
    stroke-dasharray: 150 480;
    stroke-dashoffset: 150;
    transition: 1s ease-in-out;
  }
  
  .btn:hover {
    transition: 1s ease-in-out;
    background: #4F95DA;
  }
  
  .btn:hover svg {
    stroke-dashoffset: -480;
  }
  
  .btn span {
    color: var(--btn);
    font-size: 1.3em;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  /* end button  */

/* about  */
.about{
    /* background-color: black; */
    padding: 100px 0 0 0;
    background-color: white;
}
.about .container{
    padding: 0 0 0 2em;
}
.about .about_section{
    display: grid;
    grid-template-areas: 
    "about1 about2 content1"
    "about3 about3 content1"
    "counter1 counter2 counter3";
    gap: 10px
}
.about img{
    width: 100%;
    height: 100%;
}
.img-1{
    grid-area: about1;
    height: 100%;
}
.img-2{
    grid-area: about2;
    height: 100%;
}
.img-3{
    grid-area: about3;
    /* height: 100% */
}
.about__content{
    grid-area: content1;
}
.one{
    grid-area: counter1;
}
.two{
    grid-area: counter2;
}
.three{
    grid-area: counter3;
}
/* counter  */
.counter{
    text-align: center;
}
.counter .count{
    font-size: 3rem;
    margin-bottom: 1rem;
}
.counter p{
    font-size: 1.4rem;
    font-weight: 700;
}

.about__content{
    padding: 1em 2em;
}
.about__content .about__content_heading{
    color: var(--headingcolor);
    font-size: 1.2em;
    margin-bottom: 5px;
}
.about__content .about__content_para{
    line-height: 2;
    margin-bottom: 5px;
    text-align: justify;
}

/* contact us  */
.about .contactus{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about iframe{
    width: 100%;
    height: 100%;
}

/* forms  */
.contactform{
    padding: 25px 25px;
    /* margin-bottom: 75px; */
    box-shadow: 0 0 8px 2px rgba(0,0,0,0.2);
}
.contactform h1{
    text-align: center;
    color: var(--headingcolor);
    padding-bottom: 0.25em;
    text-transform: capitalize;
}
.contactform label{
    color: var(--headingcolor);
    padding-bottom: .125em;
}
#form button{
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    color: white;
    background-color: rgb(41,57, 194);
    border: none;
    border-radius: 4px;
}
.input-control{
    display: flex;
    flex-direction: column;
}
.input-control input{
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    display: block;
    font-size: 12px;
    padding: 10px;
    width: 100%;
}
.input-control input:focus{ 
    outline: 0;
}
.input-control.success input,
.input-control.success textarea{
    border-color: #09c372;
}
.input-control.error input,
.input-control.error textarea{
    border-color: #ff3860;
}
.input-control .error{
    color: #ff3860;
    font-size: 9px;
    height: 13px;
}
.input-control textarea{
    resize: none;
    border: 2px solid #f0f0f0;
    border-radius: 4px;
}

/* footer  */
.footer{
    background-color: var(--bodybg);
    /* margin-top: 10px; */
    padding-top: 90px;
    color: #fff;
}
.footer .footer_grid{
    display: grid;
    /* gap: 10px; */
    grid-template-areas: 
    "lleft mmiddle rright"
    "email call address"
    "email call address"
    "footer footer footer";
}
.footer .footer__box{
    min-height: 30px;
    line-height: 30px;
    padding: 23px 30px;
    overflow: hidden;
    z-index: 1;
}
.footer .footer__call{
    background-color: var(--btn);
}

.footer .footer__left{
    grid-area: lleft;
    padding-bottom: 150px;
    /* background-color: white; */
} 
.footer .footer__middle{
    grid-area: mmiddle;
} 
.footer .footer__right{
    grid-area: rright;
}
.footer__email{
    grid-area: email;
    background-color: #000;
}
.footer__call{
    grid-area: call;
    /* padding: 23px 100px; */
}
.footer__address{
    grid-area: address;
    background-color: #000;
}
.footer__copy{
    grid-area: footer;
    text-align: center;
}
.footer h1{
    font-size: 1.05em;
    color: var(--btn);
}
.footer p{
    font-size: 0.85em;
}
.footer ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 0.85em;
}
.footer .footer__copy{
    padding-top: 20px
}
.top{
    background-color: var(--btn);
    width: 40px;
    height: 40px;
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    cursor: pointer;
    z-index: 10;
}

/* All pages */
.static_bg{
    width: 100%;
    height: 200px; 
}
.static_bg .container #title{
    color: var(--headingcolor);
}
.allpages{
    display: grid;
    grid-template-columns: 3fr 1fr;
    /* grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) ); */
    grid-gap: 20px;
}
.allpages-left{
    
}
.allpages-right h3{
    color: var(--headingcolor);
}
.allpages-right ul{
   list-style: none;
}
.allpages-right li a{
    color: var(--mainbgcolor);
    transition: all 2sec;
}
.allpages-right li a:hover{
    text-decoration: underline;
}
/* media query  */
/* mobile  */
@media (max-width: 480px){
    header .logo{
        font-size: 0.85em;
    }
    .top_header, .counter{
        display: none;
    }
    .about .about_section,
    .about .contactus,
    .footer .footer_grid{
        display: block;
    }
    .about, .card-body{
        padding-top: 10px;
    }
    .about .container{
        padding: 0;
    }
    .card-body{
        display: block;
    }
    .footer{
        padding-top: 10px;
    }
    .footer .footer__left{
        padding-bottom: 10px;
    }
    .allpages{
        display: block;
    }
}
/* Extra samll devices  */
@media (max-width: 480px) and (max-width: 767px){
    header .logo{
        font-size: 0.85em;
    }
    .top_header, .counter{
        display: none;
    }
}
/* small tablets */
@media (max-width: 768) and  (max-width: 991px){
    header{
        padding: 10px 20px;
        display: flex;
        flex-direction:row;
        /* margin-bottom: 5em; */
    }
    header nav{
        position: absolute;
        width: 100%;
        top: 66px;
        left: 0;
        background-color: var(--subbg);
        display: none;
        z-index: 20;
    }
    header.active nav{
        display: initial;
    } 

    header nav ul{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    header nav ul li{
        width: 100%
    }
    header nav ul li .sub-menu{
        position: relative;
        width: 100%;
        left: 0;
    }
    .flex{
        width: 100%;
    }
    .menuToggle{
        position: relative;
        width: 40px;
        height: 50px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        /* background-color: var(--bodybg); */
        z-index: 50
    }
    .menuToggle::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--bodybg);
        transform: translateY(-12px);
        box-shadow: 0 12px var(--bodybg);

    }
   
    .menuToggle::after{
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--bodybg);
        transform: translateY(12px);
    }

    header.active .menuToggle::before{
        transform: rotate(45deg);
        box-shadow: 0 0 #fff;
    }
    header.active .menuToggle::after{
        transform: rotate(315deg);
        box-shadow: 0 0 #fff;
    }
    .img-container{
        width: 100%;
    }
}
/* Large tablets/laptops  */
@media (max-width: 992px) and  (max-width: 1199px){}
/* Desktops  */
@media (max-width: 1200px) and  (max-width: 1919px){}
/* Extra large screens  */
@media (max-width: 1920px){}


@media (max-width: 992px){
    header{
        padding: 10px 20px;
        display: flex;
        flex-direction:row;
        /* margin-bottom: 5em; */
    }
    header nav{
        position: absolute;
        width: 100%;
        top: 66px;
        left: 0;
        background-color: var(--subbg);
        display: none;
        z-index: 20;
    }
    header.active nav{
        display: initial;
    } 

    header nav ul{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    header nav ul li{
        width: 100%
    }
    header nav ul li .sub-menu{
        position: relative;
        width: 100%;
        left: 0;
    }
    .flex{
        width: 100%;
    }
    .menuToggle{
        position: relative;
        width: 40px;
        height: 50px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        /* background-color: var(--bodybg); */
        z-index: 50
    }
    .menuToggle::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--bodybg);
        transform: translateY(-12px);
        box-shadow: 0 12px var(--bodybg);

    }
   
    .menuToggle::after{
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--bodybg);
        transform: translateY(12px);
    }

    header.active .menuToggle::before{
        transform: rotate(45deg);
        box-shadow: 0 0 #fff;
    }
    header.active .menuToggle::after{
        transform: rotate(315deg);
        box-shadow: 0 0 #fff;
    }
    .img-container{
        width: 100%;
    }

}