*{margin:0;
  padding:0;
  box-sizing: border-box;
}

body {
    font-family: lato, sans-serif;
    
}

html {
    scroll-behavior: smooth;
  }












/*
.mylogo {
    position: fixed;
    top:5%;
    left:4%;
    width: 10rem;
    z-index: 1000;
}*/









    

    





.banner{
    text-align: center;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
     
    
}



h1, h2,h3 {
    letter-spacing: 0.3rem;
}

.banner-h1 {
    text-transform: uppercase;
    font-size: 3rem;
   
    animation: slideFromRight ease-in-out 5s 1;
   
}

.banner-h2 {
    margin-top: 1rem;
    animation: slideFromLeft ease-in-out 5s 1;
    color: white;
    text-shadow: 0 0 0.3rem rgb(6, 6, 80);
    font-style: italic;
    font-size: 2rem;

}



.banner-link {
    text-decoration: none;
    margin-top: 1.5rem ;
    display: inline-block;
    color: whitesmoke;
    padding: 0.8rem 1rem;
    background-color: #a56a0c;;
    box-shadow: 0.2rem 0.1rem 0.3rem black;
    animation: show 5s linear 1;
    transition: 1s all;
    
}

.banner-link:hover {
  
    background-color: rgb(207, 177, 45);
    
}


   

    .banner-h1 { 
        margin-top: 3rem;
        font-size: 2rem;    
    }

    .banner-h2 { 
        font-size: 0.95rem;    
    }

    .banner-link {
       
        padding: 0.5rem 1rem;
       
    }



@media  screen and (min-width:481px)  and (max-width:767px){

    .banner-h1 { 
        font-size: 3rem;    
    }

    .banner-link {
       
        padding: 0.6rem 1rem;
       
    }
}

@media  screen and (min-width:768px)  and (max-width:1023px){

    .banner-h1 { 
        font-size: 3.5rem;    
    }

    .banner-link {
       
        padding: 0.7rem 1rem;
       
    }
}





  
  /*********************/
/*----FOOTER----**/
/********************/


 
.facebook-icon,.twitter-icon, .linkedin-icon {
    width: 2.5rem;
}

.social-icons{
    text-align: center;
}

.social-icons span {
    padding: 0.5rem;
}

.footer {
    padding: 3rem 0;
    background-color: #060a4d;
    
   
    
}

.footer-text{
    text-align: center;
    margin-top: 1.5rem;
    color: rgb(248, 214, 20);
}

.footer-text .span-1 {
    color:cornsilk
}

.footer-text a {
    color:rgb(237, 245, 126);
    text-decoration: none;
}




 /*********************/
/*----NAV BAR----**/
/********************/

 


@media screen and (max-width:480px){
    .my-logo{
        width:12rem;
    }
}


















  
  
  .svg-icon path,
  .svg-icon polygon,
  .svg-icon rect {
    fill: #060a4d;
  }
  
  .svg-icon circle {
    stroke: #060a4d;
    stroke-width: 1;
  }

  .menu-close-svg {
    fill: #060a4d; 
    stroke: #060a4d;
    width: 3.5rem;
    height: 3.5rem;
    position: fixed;
    top:2rem;
    right: 3rem;
    cursor: pointer;
    display: none;
    
  }




   

    .menu-open-svg, .menu-close-svg {
       
        display: block;
        top:7rem;
        right: 2rem;
       
        
      }


  

  
    

    

    .menu-close-svg {
       
        display: block;
      }











/*********************/
/*----ANIMATION----**/
/********************/

@keyframes bounce {
0%{
transform: scale(1);
}

50%{
transform: scale(1.2);

}

100%{
transform: scale(1);

}

}



/*********************/
/*----CIRCLES----**/
/********************/

.circle1, .circle2 {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    background-color: blue;
}


.circle1 {
    animation: movingcircles 20s ease infinite;
    transition: 3s all;
}

.circle2 {
    animation: movingcircles2 20s ease infinite;
    transition: 3s all;
}


@keyframes movingcircles {
    0%{ top: 90%;
        left:5%;
        background-color: rgba(0, 255, 42, 0.822);
        transform: scale(1);
    }
        

    20% { top: 70%;
          left: 5%;
          background-color: rgba(187, 165, 70, 0.746);
          transform: scale(1.3);
        }
        
    40%{
          top: 50%;
          left: 5%;
          background-color: rgba(251, 255, 0, 0.931);
          transform: scale(1.5);
          border: 1rem solid rgb(218, 131, 60);
        
        }
        
    60%{
         top:30%;
         left:5%;
         background-color: rgba(117, 218, 134, 0.575);
         transform: scale(1.4);
         border: 1rem solid rgb(109, 108, 108);
        }

        80%{
            top:10%;
            left:5%;
            background-color: rgba(12, 78, 18, 0.897);
            transform: scale(1.3);
            
        
        }

    100%{
        top:5%;
        left:5%;
        background-color: rgb(187, 255, 0);
        transform: scale(1.1);
        
        
        }
}


@keyframes movingcircles2 {
    0%{ top: 90%;
        right:5%;
        background-color: rgba(179, 255, 0, 0.575);
        transform: scale(1);
    }
        

    30% { top: 70%;
         right: 5%;
          background-color: rgba(2, 243, 82, 0.746);
          transform: scale(1.2);
        }
        
    45%{
          top: 60%;
          right: 5%;
          background-color: rgba(255, 238, 0, 0.979);
          transform: scale(1.2);
        
        }
        
    65%{
         top:50%;
         right:5%;
         background-color: rgba(167, 90, 18, 0.986);
         transform: scale(1.3);
        }

        70%{
            top:40%;
            right:5%;
            background-color: rgba(21, 255, 0, 0.959);
            box-shadow: 0 0 1rem rgb(133, 255, 18);
            transform: scale(1.4);
        
        }

    100%{
        top:10%;
        right:5%;
        background-color: rgba(255, 230, 0, 0.787);
        box-shadow: 0 0 1rem rgb(110, 165, 8);
        transform: scale(1.5);
        
        }
}


@keyframes slideFromRight{
0%{
    transform: translateX(1000px);
    opacity: 0;
}

50%{
    transform: translateX(-100px);
    opacity: 0.5;
}

75%{
    transform: translateX(50px);
    opacity: 0.75;
}


100%{
    transform: translateX(0);
    opacity: 1;
}


}


@keyframes slideFromLeft{
    0%{
        transform: translateX(-1000px);
        opacity: 0;
    }
    
    50%{
        transform: translateX(100px);
        opacity: 0.5;
    }
    
    75%{
        transform: translateX(-50px);
        opacity: 0.75;
    }
    
    
    100%{
        transform: translateX(0);
        opacity: 1;
    }
    
    
    }


    @keyframes show{
        0%{
            transform: scale(1.5);
            opacity: 0;
        }
        
        50%{
            transform: scale(2);
            opacity: 0.5;
        }
        
       
        
        
        100%{
            transform: scale(1);
            opacity: 1;
        }
        
        
        }

      

        #preloader{
            background: rgb(255, 255, 255) url('loading.gif');
            background-position: center;
            background-repeat: no-repeat;
            background-size: 20rem;
            width: 100%;
            height: 100vh;
            position: fixed;
            z-index: 3;
        }

        .bensites {
          animation: bensites-animation 3s linear infinite;
          transition: 2s all;
        }

        .uganda {
            animation: uganda-animation 3s linear infinite;
            transition: 2s all;
        }

        @keyframes bensites-animation{
          0% {
                 text-shadow: 0 0 0rem white;
                 /*color:rgb(57, 160, 26);*/
                 color:rgb(31, 117, 230);
          }


          50% {
            text-shadow: 0 0 0rem rgb(48, 212, 19);
            /*color:rgb(57, 160, 26);*/
            color:rgb(255, 255, 255);
     }

          100%{
            text-shadow: 0.2rem 0 0.4rem rgb(180, 149, 12);
            color: rgb(255, 255, 255);
          }

        }

        @keyframes uganda-animation{
            0% {
                text-shadow: 0.2rem 0 0.4rem rgb(197, 163, 8);
                   color: rgb(255, 255, 255);
            }


            50% {
                text-shadow: 0 0 0rem rgb(74, 197, 17);
                /*color:rgb(57, 160, 26);*/
                color:rgb(255, 255, 255);
         }
  
            100%{
              text-shadow: 0 0 0rem white;
              /*color:rgb(7, 121, 7);*/
              color:rgb(230, 177, 31);
            }
  
          }

          .section-center,.approach-center {
                    padding:3.5rem 0; 
                    margin: 0 auto;
                    width: 85%;
                    
          }
@media screen and (max-width:480px){
    .approach-center {
       
        width: 95%;
}
}
          
          .who-we-are{
             display: flex;
             flex-direction: column;
             justify-content: center;
             align-items: center;
              
          }

          .who-we-are2{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: -4rem;
             
         }

          .audience {
            text-align: center; 
          }

         
.wwa-link {
    text-decoration: none;
    margin-top: 1.5rem ;
    display: inline-block;
    color: whitesmoke;
    padding: 0.8rem 1rem;
    background-color: #0c60a5;
    box-shadow: 0.2rem 0.1rem 0.3rem black;
    transition: 1s all;
    
}

.wwa-link:hover {
  
    background-color: rgb(19, 41, 139);
    
}











.welcome-p{
    color:rgb(15, 100, 170);
    font-size: 1.2rem;
    line-height: 1.7rem;
    text-align: justify;
    margin-top: 2rem;
}

@media screen and (max-width:480px){
    
}


/*********************/
/*-----Home Services-----*/
/*********************/


.home-services{
    background-color: rgb(222, 242, 250);
    padding:3.5rem 0;
}

.loan-section{
    text-align: center;
}

.home-services-h2{
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color:#060a4d;
}



.home-services-center{
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
  
.clearfix::before, .clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.home-service{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 0 0.5rem rgba(30, 59, 78, 0.541);
  
    width: 24rem; 
    text-align: center;
    margin: 0.5rem;
    background-color: white;
   
}

.home-image-box{
    background-color: #1f9cd6;
    margin: 1rem;
   
    height: 60%;

    overflow: hidden;
}


.home-service-image{
    width: 100%;
    height: 18rem;
    object-fit: cover;
    transition: 0.5s;
   
}


.home-service-image:hover{
    opacity: 0.8;
    transform: scale(1.1);
}



.home-service-h3{
    letter-spacing: 0.1rem;
    text-align: center;
    color:#060a4d;
    font-size: 1.3rem;
}


.home-services-link{
    display:inline-block;
    color:#0c60a5;
    text-decoration: none;
    margin-top: 2rem;
    border: 0.1rem solid #0c60a5;
    border-radius: 0.8rem;
    padding: 0.5rem 0.8rem;
    transition: 0.5s all;
   line-height: 0.8rem;

}

.home-services-link:hover{
   
    color:#ffffff;
    background-color: #0c60a5;
    border: 0.1rem solid #0c60a5;
  

}











/**********************/
/*--ENTERPRISES--**/
/*********************/

.enterprises{
    background-color: rgb(245, 238, 201);
    padding:3.5rem 0;
}

.enterprises-h2{
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color:#a56a0c;
}

.line1 {
    height: 0.4rem;
    width:15rem;
    margin:0 auto;
    background-color:#060a4d ;
    position: relative;
}

.line2 {
    height: 1.1rem;
    width:3.5rem;
    background-color:rgb(42, 150, 238) ;
    position: absolute;
    top:50%;
    left:50%;
   
    transform: translate(-50%,-50%);
}

.enterprises-center{
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
  
.clearfix::before, .clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.enterprise{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 24rem; 
    text-align: center;
    margin: 0.5rem;
   
}

.enterprise-image-box{
    background-color: #d69c1f;
    margin: 1rem;
    height: 18rem;
    overflow: hidden;
}


.enterprise-image{
    width: 100%;
    height: 18rem;
    object-fit: cover;
    transition: 0.5s;
   
}

.enterprise-image:hover{
    opacity: 0.8;
    transform: scale(1.1);
}

.enterprise-h3{
    letter-spacing: 0.1rem;
    text-align: center;
    color:#a56a0c;
}

.enterprise-p{
    line-height: 1.5rem;
    font-size: 1.1rem;
    padding:0 0.5rem;
    margin-top: 0.5rem;
    text-align: justify;
    color:rgb(12, 71, 7);
}

.enterprise-link:link,.enterprise-link:visited {
display: inline-block;

color: white;
text-decoration: none;
color: teal;
margin-top: 0.5rem;
font-weight: 600;

}

.enterprise-link:hover,.enterprise-link:active {
    display: inline-block; 
    text-decoration: none; 
    color:black; 
}


@media  screen and (max-width:480px) {

    .enterprise-image-box{
        
        margin-left: 0;
        margin-right: 0;
        
    }

}

@media  screen and (min-width:481px)  and (max-width:767px){
    .enterprise-image-box{
        
        margin-left: 0;
        margin-right: 0;
        
    }
   
}

@media  screen and (min-width:768px)  and (max-width:1023px){

   

   
}

/**********************/
/*--CONTACT--**/
/*********************/

.contact-section {
    margin: 0 auto;
    padding:3rem 0;
   
    width: 85%;
    
}
.contact-h3{
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
    color:#096faa;
    margin-bottom: 1.5rem;
}

.contact-p {
    font-size: 1.2rem;
    color:#1f9cd6;
}

.contact-h3, .contact-p {
text-align: center;
}
.contact-details {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.contact-box {
   margin: 1rem;
   
}



/*****************/
/*--ABOUT US--**/
/*****************/

.about-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('E.jpeg');
    height: 20rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
   
   
}



.approach-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('pexels-photo-572056.jpeg');
    height: 20rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
   
   
}

.construction-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('IMG-20210919-WA0077.jpg');
    height: 20rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
   
   
}

.properties-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('IMAGE_25.jpeg');
    height: 30rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
   
   
}

.lightbox {
    display: none;
}

.popup-h2 {
    text-align: center;
    letter-spacing: 0.1rem;
    color: rgb(6, 34, 58);
    margin-bottom: 1rem;
}

.popup-p {
    text-align: justify;
    font-size: 1.1rem;
}

.popup-p, .lightbox ol, .lightbox ul{
    color: rgb(6, 34, 58);
    line-height: 1.5rem;
    font-size: 1.1rem;
}

.lightbox ol, .lightbox ul {
    width:60%;
    margin: 0 auto;
}

.zionat-construction-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('architecture-construction-build-building-162557.jpeg');
    height: 30rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex; 
    align-items: center;  
    justify-content: center;
}

.zionat-insurance-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('insurance1.jpeg');
    height: 30rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex; 
    align-items: center;  
    justify-content: center;
}

.zionat-tech-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('tech.jpg');
    height: 30rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex; 
    align-items: center;  
    justify-content: center;
}

.zionat-financial-header{
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('Money.jpg');
    height: 30rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex; 
    align-items: center;  
    justify-content: center;
}



.zionat-construction-header-h1, .zionat-properties-header-h1{
    position: absolute;
    top: 50%;
    left:50% ;
    transform: translateX(-50%);
    color: white;
    font-size: 2.8rem;
    text-shadow: 0 0 0.4rem black;
    letter-spacing: 0.1rem;
    text-align: center;
    
}





.contact-header {
    background: linear-gradient(rgba(8, 8, 47, 0.664),rgba(0, 0, 255, 0.445)), url('insurance1.jpeg');
    height: 20rem;
    width: 100%;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
   
   
}



.approach-icon{
    font-size: 7rem;
    color:cornflowerblue;
}

.approach-h3{
    letter-spacing: 0.2rem;
    color:rgb(39, 164, 223);
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.approach-p{
    color:rgb(16, 56, 121);
    font-size:1.3rem ; 
    line-height: 1.9rem;
    text-align: justify;
}

.approaches{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}


.approach {
    flex: 1 30rem;
    margin: 1rem;
    background-color: rgb(238, 243, 250);
    padding: 1rem;
    border-radius: 0.3rem;
    box-shadow: 0 0 0.5rem rgb(5, 51, 104);
    max-width: 30rem;
}



.about-h1{
    position: absolute;
    top:60%;
    left:50%;
    transform: translate(-50%,-50%);
    font-size: 3rem;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: 0.2rem 0 0.1rem black;
    
}

@media screen and (max-width:480px){
   .about-h1 {
       font-size: 2rem;
   }
}

.vision, .mission {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;    
}


.mission {
    flex-direction: row-reverse;
}





.vision-text, .vision-image, .mission-text, .mission-image {
    flex: 1 25rem;
    margin: 0.5rem;
    max-width: 30rem;
}





.vision-h2, .mission-h2, .values-h2, .policy-h2 {
    font-size: 2.5rem;
    color:rgb(0, 140, 255);
    text-align: center;
    text-shadow: 0.2rem 0 0.2rem rgb(13, 13, 53);
}

/*Quality Policy*/

.policy-center {
    width:85%;
    margin: 0 auto;
    padding: 2.5rem 0;
}


.policy-h2 {
    text-shadow: none;
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
}

.vision-p, .mission-p, .values-p {
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 1rem;
    color:rgb(28, 87, 155);
    text-align: center;
}

.philosophy-p, .policy-p, .policy-p ol{
    font-size: 1.3rem;
    
    margin-top: 1rem;
    color:rgb(28, 87, 155);
    text-align: justify;
    line-height: 1.8rem;
}


.vision-photo, .mission-photo {
    width: 100%;
    border-radius: 0.3rem;
}

.values, .philosophy, .quality-policy {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 2.5rem;
}

.core-values, .philosophies {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 1.2rem;
    
}





.value-name-p, .value-icon, .philosophy-icon, .philosophy-name-p{
    margin-left: 0.5rem;
    font-size: 1.4rem;
    color:rgb(28, 87, 155);
}


.value, .philosophy-item{
    display: flex;
    
    justify-content: flex-start;
    align-items: center;
    width: 12rem;
  
}

.philosophy-item{
    width: 100%;
    align-items: flex-start;
}


   

    








.audience-p ol {
      
            color:#a56a0c;
            font-size: 1.2rem;
            line-height: 1.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            
        }

        .audience-h2{
            text-align: center;
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color:#a56a0c;
        }



.audience-content li {
    color:#a56a0c;
    font-size: 1.2rem;
    line-height: 1.7rem;
}

.audience-content ol {
    margin-top: 2rem;
}
    

  


    
   

/************************/
/*--ENTERPRISES PAGE--**/
/***********************/
.enterprise1  {
    display: flex;
    
    background-color: rgba(233, 176, 122, 0.239);
    justify-content: space-around;
    box-shadow: 0rem 0rem 0.5rem rgb(189, 113, 13);
    margin: 2rem 0;
}

.enterprise1-image{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.cow-image{
    width:100%;
}

.enterprise1-text{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color:rgb(143, 85, 30);
}

.enterprise1-text h2 {
    letter-spacing: 0.1rem;
    font-size: 2.2rem;
}



@media screen and (max-width:480px){

    .enterprise1  {
        flex-direction: column;
    }

    .enterprise1-text h2 {
        
        font-size: 1.8rem;
    }

    .enterprise1-image{
        width: 100%;
      
    }


    .enterprise1-text{
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }


}

@media screen and (min-width:481px) and (max-width:767px){
    .enterprise1-text h2 {
        
        font-size: 1.8rem;
    }
    .enterprise1  {
        flex-direction: column;
    }

    .enterprise1-image{
        width: 100%;
      
    }

    .cow-image {
        max-width: 25rem;
    }


    .enterprise1-text{
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }


}

@media screen and (min-width:768px) and (max-width:1023px){
    .enterprise1-text{
        
        text-align: center;
    }  
}


/*** NEW HEADER SLIDER***/


.home-header {
    position: relative;
    width: 100%;
    height: 100vh;
    
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    }
    
    .banner1, .banner2, .banner3, .banner4{
        position: absolute;
    width:100%;
    height: 100vh;
    
    }
    
    
    
    
    .banner1 {
        animation: slide1 32s linear infinite ;
      
    }
    
    
    
    
    
    .banner2 {
        animation: slide2 32s linear infinite ;
       
    }
    
    
    
    
    
    
    .banner3 {
        animation: slide3 32s linear infinite ;
     
    }
    
    
    
    .banner4 {
        animation: slide4 32s linear infinite ;
       
    }
    
    
    
    
    
    @keyframes slide1 {
          0%{
              visibility: visible;
          }
    
          25%{
            visibility: hidden;
        }
    
        50%{
            visibility: hidden;
        }
    
        75%{
            visibility: hidden;
        }
    
        100%{
            visibility: visible;
        }
        
    }
    
    
    @keyframes slide2 {
        0%{
            visibility: hidden;
        }
    
        25%{
          visibility: hidden;
      }
    
      50%{
          visibility: visible;
      }
    
      75%{
          visibility: hidden;
      }
    
      100%{
          visibility: hidden;
      }
     
    }
    
    
    @keyframes slide3 {
        0%{
            visibility: hidden;
        }
    
        25%{
          visibility: hidden;
      }
    
      50%{
          visibility: hidden;
          
      }
    
      75%{
          visibility: visible;
      }
    
      100%{
          visibility: hidden;
          
      }
     
    }
    
    
    @keyframes slide4 {
        0%{
            visibility: hidden;
        }
    
        25%{
          visibility: hidden;
      }
    
      50%{
          visibility: hidden;
      }
    
      75%{
          visibility: hidden;
          
      }
    
      100%{
          visibility: visible;
      }
     
    }
    
    
    
    
    
    
    .banner-image {
        position: absolute;
        width: 110%;
        height: 100vh;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
        /*animation: zoom-out 8s linear infinite ;*/
        object-fit: cover;
    }
    
    @keyframes zoom-out {
       
    
        100% {
            width: 100%;
            
        }
    }
    
    .text-box{
        position: absolute;
        top:70%;
        left:50%;
        transform: translate(-50%,-50%);
        background-color: rgba(255, 255, 255, 0.555);
        padding:1.5rem;
        text-align: center;
        box-shadow: 0rem 0rem 0.5rem rgb(4, 4, 56);
        animation: text-up 8s linear infinite;
        opacity: 0;
    }
    
    
    @keyframes text-up {
       0%{opacity: 0;}
    
       20% {opacity: 0.5;
    
       }
    
       40%{
           opacity: 0.7;
       }
    
       50%{
          opacity: 0.8;
       }
    
       60%{
           opacity:0.9
       }
    
        100% {
           opacity: 1;
        }
    }
    
    .text-box h1 {
        color: rgb(26, 90, 165);
        text-align:center;
        letter-spacing: 0.1rem;
    }
    
    .text-box p {
        color:rgb(12, 30, 134);
        margin-top: 1rem;
        font-size: 1.5rem;
        text-align: center;
    }
    
    
    
    
    
    .banner-btn{
        display: inline-block;
        color:rgb(12, 30, 134);
        padding: 0.5rem 1rem;
        border: 0.2rem solid rgb(12, 30, 134);
        text-decoration: none;
        margin-top: 1rem;
    }
    
    .banner-btn:hover {
        
        color:rgb(255, 255, 255);
        background-color: rgb(12, 30, 134) ;
       
       
    }
    








 @media screen and (max-width:480px) {
  
   
    .text-box {
        width: 95%;
    }

    .text-box h1 {
        font-size: 1.5rem;
    }

    .text-box p{
    font-size: 1rem;
    }
}
    
    @media screen and (min-width:481px) and (max-width:650px){
  .text-box {
    width: 95%;
  }

  }


  

/**********************/
   /*--NAV--**/
   /*********************/
 


   
nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 70px;;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 99;
  }
  nav .navbar{
    height: 100%;
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    /* background: red; */
    padding: 0 50px;
  }
  .navbar .logo a{
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
  nav .navbar .nav-links{
    line-height: 70px;
    height: 100%;
  }
  nav .navbar .links{
    display: flex;
  }
  nav .navbar .links li{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 14px;
  }
  nav .navbar .links li a{
    height: 100%;
    text-decoration: none;
    white-space: nowrap;
    color: rgb(14, 107, 168);
    font-size: 15px;
    font-weight: 500;
  }
  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow{
    transform: rotate(180deg);
    }
  
  nav .navbar .links li .arrow{
    /* background: red; */
    height: 100%;
    width: 22px;
    line-height: 70px;
    text-align: center;
    display: inline-block;
    color: rgb(58, 125, 212);
    transition: all 0.3s ease;
  }
  nav .navbar .links li .sub-menu{
    position: absolute;
    top: 70px;
    left: 0;
    line-height: 40px;
    background: #096faa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu{
    display: block;
  }
  .navbar .links li .sub-menu li{
    padding: 0 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .navbar .links li .sub-menu a{
    color: #fff;
    font-size: 15px;
    font-weight: 500;
  }
  .navbar .links li .sub-menu .more-arrow{
    line-height: 40px;
  }
  .navbar .links li .htmlCss-more-sub-menu{
    /* line-height: 40px; */
  }
  .navbar .links li .sub-menu .more-sub-menu{
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 0 4px 4px 4px;
    z-index: 1;
    display: none;
  }
  .links li .sub-menu .more:hover .more-sub-menu{
    display: block;
  }
  .navbar .search-box{
    position: relative;
     height: 40px;
    width: 40px;
  }
  .navbar .search-box i{
    position: absolute;
    height: 100%;
    width: 100%;
    line-height: 40px;
    text-align: center;
    font-size: 22px;
    color: rgb(18, 137, 206);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .navbar .search-box .input-box{
    position: absolute;
    right: calc(100% - 40px);
    top: 80px;
    height: 60px;
    width: 300px;
    background: #3E8DA8;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }
  .navbar.showInput .search-box .input-box{
    top: 65px;
    opacity: 1;
    pointer-events: auto;
    background: #3E8DA8;
  }
  .search-box .input-box::before{
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    background: #3E8DA8;
    right: 10px;
    top: -6px;
    transform: rotate(45deg);
  }
  .search-box .input-box input{
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    height: 35px;
    width: 280px;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    border: none;
  }
  .navbar .nav-links .sidebar-logo{
    display: none;
  }
  .navbar .bx-menu{
    display: none;
  }
  @media (max-width:920px) {
    nav .navbar{
      max-width: 100%;
      padding: 0 25px;
    }
  
    nav .navbar .logo a{
      font-size: 27px;
    }
    nav .navbar .links li{
      padding: 0 10px;
      white-space: nowrap;
    }
    nav .navbar .links li a{
      font-size: 15px;
    }
  }
  @media (max-width:800px){
    nav{
      /* position: relative; */
    }
    .navbar .bx-menu{
      display: block;
    }
    nav .navbar .nav-links{
      position: fixed;
      top: 0;
      left: -100%;
      display: block;
      max-width: 270px;
      width: 100%;
      background:  #ffffff;
      line-height: 40px;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      transition: all 0.5s ease;
      z-index: 1000;
    }
    .navbar .nav-links .sidebar-logo{
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .sidebar-logo .logo-name{
      font-size: 25px;
      color: #fff;
    }
      .sidebar-logo  i,
      .navbar .bx-menu{
        font-size: 40px;
        color: rgb(25, 79, 207);
      }
    nav .navbar .links{
      display: block;
      margin-top: 20px;
    }
    nav .navbar .links li .arrow{
      line-height: 40px;
    }
  nav .navbar .links li{
      display: block;
    }
  nav .navbar .links li .sub-menu{
    position: relative;
    top: 0;
    box-shadow: none;
    display: none;
  }
  nav .navbar .links li .sub-menu li{
    border-bottom: none;
  
  }
  .navbar .links li .sub-menu .more-sub-menu{
    display: none;
    position: relative;
    left: 0;
  }
  .navbar .links li .sub-menu .more-sub-menu li{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow{
    transform: rotate(0deg);
    }
    .navbar .links li .sub-menu .more-sub-menu{
      display: none;
    }
    .navbar .links li .sub-menu .more span{
      /* background: red; */
      display: flex;
      align-items: center;
      /* justify-content: space-between; */
    }
  
    .links li .sub-menu .more:hover .more-sub-menu{
      display: none;
    }
    nav .navbar .links li:hover .htmlCss-sub-menu,
    nav .navbar .links li:hover .js-sub-menu{
      display: none;
    }
  .navbar .nav-links.show1 .links .htmlCss-sub-menu,
    .navbar .nav-links.show3 .links .js-sub-menu,
    .navbar .nav-links.show2 .links .more .more-sub-menu{
        display: block;
      }
      .navbar .nav-links.show1 .links .htmlcss-arrow,
      .navbar .nav-links.show3 .links .js-arrow{
          transform: rotate(180deg);
  }
      .navbar .nav-links.show2 .links .more-arrow{
        transform: rotate(90deg);
      }
  }
  @media (max-width:370px){
    nav .navbar .nav-links{
    max-width: 100%;
  } 
  }
  
.mylogo{
    width:11rem;
    
}


.more {
    display: none!important;
}
  /**********************/
   /*--CONTACT FORM--**/
   /*********************/
  .contact-form {
    background:linear-gradient(rgba(5, 42, 66, 0.774),rgba(4, 39, 63, 0.808)), url('BUILDING.jpeg');
    background-position: center;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    
 }
 
 
 
 
 
 
 
 form {
 display: flex;
 flex-direction: column;
 padding:3rem 0;
 
 
 }
 
 .form-control {
     width: 25rem;
    
     font-size: 1.5rem;
     outline: none;
     border: none;
     box-shadow: 0 0 0.4rem rgb(63, 62, 61);
     border-radius: 0.2rem;
     
     padding: 0.5rem 0;
     padding-left: 0.5rem;
     color:rgb(146, 81, 7);
 }
 
 .submit{
     border:none;
     background-color: rgb(146, 81, 7);
     color:rgb(255, 255, 255);
     padding: 0.8rem 0;
     border:0.2rem solid rgb(146, 81, 7);
     font-size: 1.3rem;
     transition: 0.5s all;
     
 }
 
 .submit:hover {
     border:0.2rem solid rgb(146, 81, 7);
     color: rgb(146, 81, 7);
     background-color: transparent; 
 }
 
 @media screen and (max-width:507px){
     .form-control {
         width: 100%;
        
     }
 
     form {
         padding-left:0.5rem;
         padding-right:0.5rem;
     }
 
 }
 
 
 
 /*.contact-h3 {
     color:rgb(5, 85, 5);
     letter-spacing: 0.1rem;
 }
 .contact-p {
     margin-top: 1rem;
     font-size: 1.2rem;
     color:rgb(117, 76, 9);
     line-height: 1.5rem;
 }*/
 /*
 .contact-detail {
    width: 22rem;
    background-color: rgba(253, 186, 63, 0.548);
    margin:0.5rem;
    padding:1rem;
    box-shadow: 0 0 0.3rem rgb(129, 82, 7);
 }*/
 
 /******Services******/
 .services-page{
    background-color: rgb(219, 219, 250);
 }


 .services {
     padding:3rem 0;
     width: 85%;
     margin: 0 auto;
     text-align: center;
    
 }

 .service, .service2  {
     display: flex;
     
     align-items: center;
     justify-content: center;
     flex-wrap: wrap;
     padding:1rem 0;
 }

.service-photo, .service-info {
    flex: 1 20rem;
}

.service-info {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;    
}

.service-h3 {
    letter-spacing: 0.1rem;
    color:#060a4d;
    font-size: 1.5rem;
}


 .service-image {
     width: 100%;
     box-shadow:0 0 0.8rem #030524  ;
     border-radius: 0.2rem;
 }

 .services-link, .team-link{
     display: inline-block;
     text-decoration: none;
     color:#060a4d;
     padding: 0.5rem 1rem;
     border: 0.2rem solid #060a4d;
     margin-top: 2rem;
     font-size: 1.2rem; 
     transition: 0.5s;  
 }

 .services-link:hover, .team-link:hover {
     background-color: #060a4d ;
     color:white;
 }

 @media screen and (min-width:752px){
    .service2 {
        flex-direction: row-reverse;
    }
 }


 @media screen and (max-width:760px){

    .services-link {
        margin-bottom: 2rem;
        margin-top: -4rem;
    }


   .service-h3 {
       margin-top: 1rem;
       margin-bottom: 2rem;
   }

   .service-photo {
       max-width: 30rem;
       text-align: center;
   }

   .services {
       padding-bottom: 0;
       
   }
 }


 /*********************/
/*--------TEAM-------**/
/*********************/
.our-team {
    padding: 3rem 0;
    background-color: #d5d6f1;
    text-align: center;
}

.team-members{
   
    width: 85%;
    margin: 0 auto;
    display: flex;
    justify-content:center;
   align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.team-member{
    flex: 1 20rem;
    margin: 0.5rem;
    background-color: white;
    box-shadow: 0 0 0.3rem rgb(84, 84, 148);
    max-width: 25rem;
   
}

.team-info {
    padding: 1rem 0.5rem;
}


.team-photo{
    width: 100%;
    height: 29rem;
    object-fit: cover;   
}


.team-name {
    text-transform: uppercase;
    color:rgb(10, 10, 71);
    letter-spacing: 0.1rem;
}

.team-title {
    font-size: 1.2rem;
    color: rgb(0, 98, 255);
    padding:0.5rem 0 ;
    font-style: italic;
}

.team-contact {
    font-size: 1.1rem;
    color:rgb(10, 10, 71);
}




/*******COMPLETED WORKS*******/

.completed-works {
    padding: 3rem 0;
    background-color: #f1f1fa;
   
    text-align: center; 
}

.works-table2 th {
    font-size: 1.1rem;
}

.works-table2 td {
    text-align: left;
}

.works-table2{
    margin-bottom: 1.5rem;
}

#value{
    min-width:10rem;
}

.university-works-h3{
margin-bottom: 1.5rem;
}

.bottom-links{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.services-link {
   width: 13rem;
   margin-top: 0.5rem;
}

/***CONSRUCTION PROJECTS***/

.construction-section{
    background-color: #eff5fd;
    padding: 3rem 0;
   
}

.project {
    width: 90%;
    margin: 3rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.project-images, .project-title {
    flex: 1 25rem;
    margin: 0.5rem;
    text-align: center;
    max-width: 35rem;
}

.project-image{
    border-radius: 0.3rem;
    object-fit: cover;
    
}

.projects-h3 {
    font-size: 1.5rem;
    color:#0f5792;
    letter-spacing: 0.1rem;
}

.project-photo {
    width: 100%;
    border-radius: 0.2rem;
}

/**Projects Slider Start**/
 .project-images {
     overflow: hidden;
     box-shadow: 0 0 0.6rem rgb(21, 42, 83);
 }

 .slider {
     display: flex;
     width:500%;
     position: relative;
     margin:0;
     left:0;
     animation: myslider 20s infinite;
    
 }

 .slider2 {
    display: flex;
    width:800%;
    position: relative;
    margin:0;
    left:0;
    animation: myslider2 30s infinite;
    
   
}

 .slider-photo{
     width:20% ;
   
 }

 .slider2-photo{
    width:12.5% ;
  
}



 @keyframes myslider {

0%{
left:0%;
}


10%{
left:0%;

}

20% {
left:-100%;
}

40%{
left:-100%;
}


50%{
left:-200%;
}


70% {
    left:-200%;


}

80%{
    left:-300%;

}


95%{
    left:-300%;

}


100%{
    left:-400%;

}

 }


 @keyframes myslider2 {

    0%{
    left:0%;
    }
    
    5% {
        left: 0%;
    }
    
    10%{
    left:-100%;

    }
    
    15% {
    left:-100%;
    }
    
    20%{
    left:-200%;
    }
    
    
    25%{
    left:-200%;
    }
    
    
    30% {
        left:-300%;
    
    
    }
    
    35%{
        left:-300%;
    
    }
    
    
    40%{
        left:-400%;
    
    }
    
    
    45%{
        left:-400%;
    
    }


    50%{
        left:-500%;
    
    }
    
    
    55%{
        left:-500%;
    
    }

    60%{
        left:-600%;
    
    }
    
    
    80%{
        left:-600%;
    
    }


    95%{
        left:-600%;
    
    }
    
    
    100%{
        left:-700%;
    
    }





    
     }
    


/**Projects Slider End**/

/*FINANCIAL SERVICES*/

.loan-link{
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 0.2rem solid rgb(32, 32, 85);
    color:rgb(32, 32, 85);
    text-decoration: none;
    transition: 0.5s;
    font-weight: 600;
}

.loan-link:hover{
    
    border: 0.2rem solid rgb(32, 32, 85);
    color:rgb(255, 255, 255);
    background-color: rgb(32, 32, 85);
    
}


.homeslides .d-block{

height: 100vh;

}

.slide-h1{
    color:#1f57c7;
    background-color: #ffffffa2;
    padding-bottom: 0.5rem;
}
