/********** Template CSS **********/
:root {
    --primary: #007cc2;
    --secondary: #b3b3b3;
    --light: #EEF9FF;
    --dark: #091E3E;
}

body {
    margin: 0;
    font-family: "Rubik", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: #373737;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a {
    cursor: pointer;
}
/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}
h1{
    font-size: 32px;
}
h4, .h4 {
    font-size: 24px;
}
.text-justify{
    text-align: justify;
}

.head-text{
font-size: 32px;
}
/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.btn-outline-grey {
    color: #b8b8b8;
    background-color: #091E3E;
    border-color: #b8b8b8
}
.btn-outline-grey:hover {
    color: #091E3E;
    background-color: #fff;
    border-color: #fff
}
.btn-outline-grey1 {
    color: #f1f1f1 ;
    background-color: #007cc2;
    border-color: #e3e3e3 
}
.btn-outline-grey1:hover {
    color: #091E3E;
    background-color: #fff;
    border-color: #fff
}
.text-light1{
    color: #f1f1f1;
}
element.style {
}
@media (min-width: 992px)
.d-lg-block {
    display: block !important;
}
.bg-primary {
    background-color: #007cc2!important;
}
small, .small {
    font-size: 14px;
}
/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #333 !important;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: #333;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-item:hover {
    color: #04a5e9 !important;
}

.navbar-dark .navbar-brand h1 {
    color: #333;
}

.navbar-dark .navbar-toggler {
    color: #333 !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-item:hover::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(0,0,0,0.8);*/
    z-index: 1;
}



.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}
/*** banner ***/
.caption_1{
    padding: 50px 30px;
}
.caption_1 h1{
    padding-top: 80px;
}
.caption_1 h1{
    width: 600px;
}
.caption_1 h5{
    width: 600px;
}
@media (max-width: 590px) {
     .carousel-caption {
         text-align: center;
     }
    .carousel-caption h5 {
        text-align: center;
        font-size: 14px;
        font-weight: 500 !important;
        width: 320px;
    }

    .carousel-caption h1 {
        text-align: center;
        font-size: 18px;
        font-weight: 600 !important;
        width: 320px;
    }
    .caption_1{
        padding: 10px 30px;
    }
      .caption_1 h1{
        padding-top: 10px;
    }  
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
    width: 1.2rem;
    height: 1.2rem;
}
}

/*** Project ***/
.project-carousel1 {
    position: relative;
}
.project-item3 {
    position: relative;
}
.project-item1 {
   background-color: #000;
} 
.project-item{
   height: auto;
   position: relative;
   text-align: center;
} 
.project-item h5{
    font-size: 16px;
}

.project-item2{
position: absolute;
bottom: 10px;
left: 50px;
text-align: center;
padding: bottom: 10px;
}
@media (max-width: 1102px) {
    .project-item{
   height:auto !important;
   text-align: center;
} 
}
.project-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.project-item .service-icon i {
    transform: rotate(45deg);
}
.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 15px;
    height: 15px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}

/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}
.fact-item h5{
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/*** Service ***/
.service-item {
    position: relative;
   
    padding: 0 10px;
    transition: .5s;
    width: 100%;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 2;
}



 .w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}
    
.w3-animate-show{animation: show 0.8s; animation-fill-mode:forwards;}@keyframes show{0%{opacity:1}   100%{opacity:0}}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
 .view_m p{
    margin-top: 0px;
    display: flex;
    align-items: flex-end;
    justify-content: right;
}
.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 8px;
    height: 8px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 12px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
    padding-bottom: 40px;
}
.testimonial-carousel .owl-item.center .testimonial-item .bg-grey{
   color: #06A3DA  !important;
    border-bottom: 1px solid #007bc3;
    
}
.testimonial-carousel .owl-item.center .testimonial-item .bg-grey h4{
   color: #06A3DA  !important;
    
    
}
.testimonial-carousel .owl-item.center .testimonial-item .bg-grey small{
   color: #000  !important;
    
    
}
.testimonial-item{
   margin-bottom: 20px;
   height: 260px;
   background-color: #d5e6f0;
}
.small2{
    font-size: 16px;
    display: block;
  overflow: hidden;
  max-height: 4.5em;
  line-height: 1.5em;
}
/*.small_1{
    font-size: 14px;
    display: block;
  overflow: hidden;
  min-height: 3em;
  line-height: 1.5em;
}*/
.bg-grey{
    border-bottom: 1px solid #bfbfbf;
}
/*** Team ***/





/*.team-img img{
    width: 100%;
    height: 100%;
}*/

@media (max-width: 991.98px) {
    .blog-item .blog-img img  {
    height:auto;
    width: 100%;
}
}

.team-item h4{
    font-size: 20px;
}
.border-dark1{
    border: 0;
    border-bottom: 1px solid #cfcfcf;
}
@media (max-width: 991px) {
    .team-item {
        text-align: center;
    }
}
/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}



.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}
.display-1{
    font-size: 36px;
}
.display-4{
    font-size: 30px !important;
}
.foot_d p{
    font-size: 13px;
}
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
  
    opacity: 0;
}
#back-to-top.show {
    opacity: 1;
}
.opacity-5 {
    background-color: #000;
  opacity:0.5!important;
}
.rounded-5 {
    border-radius: 16px !important;
}
 .data-list {
            height: 300px;
            width: 100%;
            padding: 0;
            overflow-y: hidden;
           
         }
         .btn-secondary {
    color: #000;
    background-color: #d6d6d6;
    border-color: #d6d6d6;
}
.btn-secondary:hover {
    color: #000;
    background-color: #9a9a9a;
    border-color: #9a9a9a;
}
small1{
    font-size: 14px;
}
h6 a{
    color: #000;
}
.bg-green{
    background-color: #007f4a;
    color: #FFF !important;
font-size: 20px;
}
.btn-green{
    background-color: #007f4a;
    color: #FFF;
    box-shadow: inset 0 0 0 50px transparent;

}
.btn-green:hover{
    
    color: #FFF;
     box-shadow: inset 0 0 0 0  #18aa6d;

}
.bg-red{
    background-color: #45492e;
   color: #FFF !important;
font-size: 20px;
}
.btn-red{
  background-color: #45492e;
    color: #FFF;
    box-shadow: inset 0 0 0 50px transparent;

}
.btn-red:hover{
    
    color: #FFF;
     box-shadow: inset 0 0 0 0 #99a268;

}
.bg-red1{
    background-color: #dc3c3e;

color: #FFF !important;
font-size: 20px;
}
.btn-red1{
    background-color: #0d0d0d;
    color: #FFF;
box-shadow: inset 0 0 0 50px transparent;

}
.btn-red1:hover{
    
    color: #FFF;
     box-shadow: inset 0 0 0 0 #353535;

}
.bg-one{
    background-color: #f7f7f7;
}
.bg-two{
    background-color: #f6fadd;
}
.bg-three{
    background-color: #e7f5ef;
}
/*gallery*/
/* IMAGE GRID STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.image-grid figure {
  margin-bottom: 0;
}

.image-grid img {
  transition: box-shadow 0.2s;
}

.image-grid a:hover img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
}


/* LIGHTBOX STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.lightbox-modal .modal-content {
  background: var(--lightbox);
}

.lightbox-modal .btn-close {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 1.2rem;
  z-index: 10;
}

.lightbox-modal .modal-body {
  display: flex;
  align-items: center;
  padding: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-modal img {
  width: auto;
  max-height: 100vh;
  max-width: 100%;
}

.lightbox-modal .carousel-caption {
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
}

.lightbox-modal .carousel-control-prev,
.lightbox-modal .carousel-control-next {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: auto;
}

.lightbox-modal .carousel-control-prev {
  left: 10px;
}

.lightbox-modal .carousel-control-next {
  right: 10px;
}

