
*{
    padding:0px;
    margin:0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: sans-serif;
}



/*Navigation*/
.navbar{
    background-color: #E3DBAF;
    
   
}
.collapse{
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}

.nav-container{
    display: flex;
    width:80%;
    justify-content:center;
    align-content:flex-start ;
    margin-right: 20px;
    padding-left: 0px !important;
    gap:30px;
    
}

.icons-container{
    display: flex;
    padding-left: 5px;
    padding-right: 5px;
    gap: 15px;
    width:100px;
    align-items: flex-start !important;
}

.nav-item{
    list-style:none;
}

.nav-link{
    color: #5B0C0A !important;
}


li#home {
    
    color: #5B0C0A !important;
    font-weight: 600 !important;
   display: inline-block !important;
   position: relative !important;
}
li#home:hover{
    color:#5B0C0A !important;
}

.change{
    color: #5B0C0A !important;
}

li#home:hover::before, li#home .change::before{
    visibility: visible !important;
  -webkit-transform: scaleX(1) !important;
  transform: scaleX(1) !important;
}
li#home::before, .change::before{
    content: "" !important;
    position: absolute !important;
    width: 100% !important;
    height: 3px !important;
    bottom: -8px !important;
    left: 0 !important;
    background-color: #EC7F07 !important;
    visibility: hidden !important;
    -webkit-transform: scaleX(0) !important;
    transform: scaleX(0) !important;
    -webkit-transition: all 0.15s ease-in-out 0s !important;
    transition: all 0.15s ease-in-out 0s !important;

}

.dropdown-menu{
    /* color: #575757 !important;
    text-align: center !important;
    width: 250px !important;*/
    border-radius: 0px !important;
    padding:0px !important;
    
}

.dropdown-divider{
    margin:0px !important;
}

.dropdown-item:hover{
    background-color: #5B0C0A !important;
    color: #EC7F07 !important;  
}

.dropdown-item{
    height: 45px !important;
    text-align: center !important;
    padding:0px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

li.divisions{
    width: 250px !important;
}

.dropdown-menu li{
    color: #EC7F07 !important;
    text-align: center !important;
    width: 250px;
    border-radius: 0px !important;
    border-bottom: #aaaaaa solid 1px;
}

.dropdown-menu li:hover{
    background-color: #5B0C0A !important;
    color: #EC7F07 !important; 
}

.fa-brands, .fa-solid{
    font-size: larger;
    color: black !important;
}


/*backgound image*/

.gallery-back-container{
    height: 500px;
}
.gallery-back{
    width: 100%;
    height: 100%;
   
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/gallery2.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

} 

.style{
    width: 100%;
    height: 240px;
}

.gallery-back-h{
    color: white;
}

.ml2 {
  
  color: white;
}

.ml2 .letter {
 
}

.service-h-container{
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
   
}
.service-h{
    font-family:'Times New Roman', Times, serif;
    text-align: center;
}

.service-h-container p{
    
    text-align: justify;
    width: 65%;
    margin-bottom: 0px !important;
}


/*division section*/

.buttons-container{
    padding-left: 30px;
    padding-right: 30px;
}
.divisions-container{
   
    width: 100%;
    height: 30px;
    margin-top: 30px;
    margin-bottom: 10px;
}
.division-p{
    font-size: 13px;
    width:130px;
    
    padding-left:5px;
    padding-right:5px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #E3DBAF;
    color: #5B0C0A;
    border: none;

}

.division-p:hover{
    border: #5B0C0A solid 1px;
    color: #EC7F07;
    transition: ease-in-out 0.1s;
}

/*Portfolio*/
.gallery-container{
    padding-left: 10px;
    padding-right: 10px;
}

.gallery-image{
    width:300px;
    height: 250px;

}

.gallery-img-container{
    
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   column-gap: 15px;
   row-gap: 15px;
  margin-bottom: 30px;
   

}

.category{
    border-radius: 10px;
}
.gallery-img{
    
    transition: ease-in 0.5s;
    padding:10px;
    background-color: #E3DBAF;
   
    display: flex;
    flex-direction: column;
    justify-content: center;

    
}

.tittle{
    text-align: center;
    padding-top: 10px;
    color: #EC7F07;
}

.img-discription{
    border: #5B0C0A solid 2px;
}

.division-p.focus{
    background-color: #5B0C0A;
    color: #EC7F07;
}

.effect{
    display: none;
}


/*Portfolio2*/

.gallery-section{
    display: flex;
}
#myBtnContainer{
    padding-top: 30px;
    padding-left: 5.5%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.row {
    margin: 0 !important;
    padding-left: 5% !important;
    width: 90%;
    
}

/* Add padding BETWEEN each column (if you want) */
.row, .row > .column {
padding: 8px;
}

.content h6{
    display: none;
}



.content p{
    display: none;
}

/* Create three equal columns that floats next to each other */
.column {
    float: left;
    width: 33.33% !important;
   
    
}

.column div img{
    border-radius: 10px;
    
}

.column:hover div h6{
    color:#E3DBAF;
    transition: ease 0.5s;
}

.column:hover div p{
    color: #5B0C0A;
    transition: ease 0.5s;
}
.modal{
    cursor:auto;
    
}

/* Clear floats after rows */
.row:after {
content: "";
display: table;
clear: both;
}

/* Content */
.content {
    border-radius: 10px;

}

.modal .modal-body .carousel-inner .carousel-item img{
    opacity: 1 !important;
}

.content h6{
    color: #EC7F07;
    margin-top: 10px;
}

.content p{
    color: #5B0C0A;
    text-align: center;
    background-color: #E3DBAF;
    padding:5px;
    font-weight: 600;
    margin-bottom: 0px;

}

/* Style the buttons */
.btn1 {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: #5B0C0A;
    cursor: pointer;
    color: #EC7F07;
}

/* Add a grey background color on mouse-over */
.btn1:hover {
    background-color: #E3DBAF;
}

/* Add a dark background color to the active button */
.btn1.active1 {
background-color: #E3DBAF;
color: #EC7F07;
border-bottom: #5B0C0A solid 2px;
}






/*footer section*/
.page-footer{
    background-color: #E3DBAF;
    display: flex;
    padding:20px;
    gap:20px;
}

.home-footer{
    width: 30%;
}
.footer-logo{
    width:250px;
    margin-bottom: 30px;
}

.footer-h-container{
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 12px;
   
}

.footer-contact-heading{
    color: #5B0C0A;
}

.footer-contact-h{
    color: #5B0C0A;
    margin-bottom:20px;
}

.head-office-p, .galashwe-p, .Hartswater-p{
    color: #5B0C0A;
    font-size: larger;
    font-weight: 600;
    margin-bottom: 0px !important;
}
.head-office-text, .galashwe-text, .Hartswater-text{
    display: flex;
    gap:10px;
    
}



.footer-home{
    width:45%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: flex-start;
    padding-left: 7%;
}

.tell-fax, .cell, .thusho, .simon, .mail{
    display: flex;
    justify-content: flex-start;
}
.footer-contact{
    width:25%;
    display: flex;
    flex-direction: column;
   
}

.tell-fax p{
    margin-left: 20px;
}

.cell p{
    margin-left: 20px;
    margin-bottom: 0px !important;
}

.thusho-text{
    font-weight:  bold;
}

.simon-text{
   font-weight: bold;
}

.simon-number{
    margin-left:35px;
}

.thusho-number{
    margin-left:35px;
    margin-bottom: 0px !important;
}

.mail p{
    margin-left: 15px;
}

/*copy rights*/
.Copyrights-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5B0C0A;
    height: 25px;
}

.Copyrights-container p{
    margin-bottom: 0px !important;
    font-size: small;
    color: #E3DBAF;
    font-weight: 600;
}

.kwenzo-link{
    text-decoration: none;
    color: #E3DBAF;
}

.kwenzo-link:hover{
    color: #E3DBAF;
}

@keyframes fadein{
    from{
        opacity: 0;
    }

    50%{
        opacity: 0.5;
    }

    to{
        opacity: 1;
    }
}

@keyframes move{
    from{
        font-size:small;
    }

    50%{
        font-size:medium;
    }

    to{
        font-size:large;
    }
}

@media (max-width:768px){

    /*Navigation*/
    .nav-container{
        flex-direction: column;
    }

    .collapse{
        display: block;
        padding-left: 0px;
    }

    li#home::before, .change::before{
        width:14% !important;
    }

    .content h6{
        font-size: 8px;
         
    }

    .content p{
        font-size: 6px;
    }

    .gallery-section{
        flex-direction:column;
        align-items: center;
    }

    #myBtnContainer{
        width:100%;
        align-items: center;
        padding-left: 0px;
    }

    

    .service-h-container{
        margin-bottom: 0px;
    }

    .service-h-container p{
        font-size: small;
    }


    .btn1{
        padding: 15px 8px;
        font-size: 15px;
        width: 78%;
        font-weight: 600;
        margin-left:17px;

    }

    .style{
        height: 69px !important;
        width:100%;
    }


    .column{
       
    }

        /*footer*/
        .page-footer{
            flex-direction: column;
            padding-bottom: 0px;
        }
    
        .home-footer{
            width:100%;
        }
    
        .footer-home{
            width: 100%;
            padding-left: 0%;
        }
    
        .footer-contact{
            width: 100%;
        }
    
        .simon-number span{
            margin-left: 2px;
        }
    
        .tell-fax p{
            margin-left: 19px;
        }
    
        /*copyrights*/
        .Copyrights-container p{
            font-size: x-small;
        }
    

}