*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
    scroll-behavior: smooth;
    
}

.main__container{
    overflow-x: hidden;
}

.navbar{
    background: #061d41;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    overflow-x: visible;
}

.navbar__container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar__logo{
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.navbar__menu{
    display: flex;
    align-items: center;
    list-style: none;

}


.navbar__item{
    height: 80px;
}

.navbar__links{
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    text-decoration: none;
    height: 100%;
    transition: all 0.3s ease;
}

.navbar__btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}


.button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    outline: none;
    border-radius: 4px;
    background: #f0112b;
   
    
    color: #fff;
    transition: all 0.3s ease;
}

.navbar__links:hover{
    color: #f0112b;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px){ 
    .navbar__container{
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu{
        display: grid;
        grid-column: auto;
        width: 100%;
        position: absolute;
        top: -1000px; 
        opacity: 1;
        transition: all 0.5s ease;
        z-index: -1;
        background: #061d41;
    }

    .navbar__menu.active{
        background: #061d41;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 60vh;
        font-size: 1.6rem;
    }

    #navbar__logo{
        padding: 25px;
    }
    .navbar-logo{
        margin-left: 0.8rem;
    }

    .navbar__toggle .bar{
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;

    }

    .navbar__item{
        width: 100%;
    }

    .navbar__links{
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    .navbar__btn{
        padding-bottom: 2rem;
    }

    .button{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    #mobile-menu{
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translateY(5%, 20%);

    }

    .navbar__toggle .bar{
        display: block;
        cursor: pointer;
    }

    .navbar__toggle{
        padding-top: 10px;
    }


    #mobile-menu.is-active .bar:nth-child(2){
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

}


/* Hero Section*/

.hero{
    background: url('img/Hero.jpg') no-repeat center/cover;
    
    width: 100%;
    height: 100%;
    padding: 200px 0;
    position: relative;
    z-index: 11;
}


.hero::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #061d41;
    opacity: 0.5;
}

.hero__container{
    position: relative;
    z-index: 12;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 90%;
    text-align: center;
    padding: 30px;
}


.hero__heading {
    font-size: 100px;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: 2px;
}

.hero__heading span{
    background: #061d41;  /* fallback for old browsers */
 
    background-size: 100%;
   
}


.hero__description{
    font-size: 60px;
    color: #fff;  
    letter-spacing: 1px;
    
}



@media screen and (max-width:768px) {
    .hero__heading{
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero__description{
        font-size: 2rem;
        margin-bottom: 0.2rem;
    }

}

.main__btn{
    font-size: 1.8rem;
    background: #061d41;
  
    padding: 20px 60px;
    border-radius: 1rem;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
    border: transparent;
    margin-top: 5rem;
}

.main__btn a{
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.main__btn:after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #f0112b;
    transition: all 0.35s;
    border-radius: 4px;

}

.main__btn:hover{
    color: #fff;
}

.main__btn:hover:after{
    width: 100%;
    
}


.about{
    background: #fff;
    height: 100%;
    padding: 10rem 0;
}

.about h1{
    color: #495057;
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3rem;
}


.about__wrapper{
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr;
    margin: 0rem 5rem;

}


.about__card{
    margin: 10px;
   
   
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(150, 150, 150, 0.3);
    color: #495057;
    background-color: #fff;
    
}


.about__card-content{
    padding: 2rem;
}

.about__card-image{
    background: url('img/Makgonthe-Logo.png') no-repeat center/cover;
    height: 100%;
    width: 100%;
}



.about h2{
    text-align: left;
    margin-top: 1rem;
}

.about p{
    text-align: left;
    margin-top: 24px;
    font-size: 20px;
}

.about__card-content ul{
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 1.5;
}



.about__card:hover{  
    transition: 0.3s ease;
}

@media screen and (max-width:1300px){
    .about__wrapper{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:768px){
    .about__wrapper{
        grid-template-columns: 1fr;
    }

    .about__card-content{
        padding: 1.5rem;
    }

    .about{
        padding: 5rem 0;
    }

    .about__wrapper{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        margin: 0rem 2rem;
    
    }

    .about h1{
        font-size: 2.5rem;
        margin-bottom: 2rem;
        
    }
}




.services{
    background: #d9d9d9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 5rem 0;
}

.services h1{
    color: #495057;
    margin-bottom: 3rem;
    font-size: 3rem;
}


.services__wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;

}


.services__card{
    margin: 10px;
    height: auto;
    width: 320px;
    border-radius: 10px;
    background-color: #fff;
    color: #131313;
    box-shadow: 5px 5px 10px rgba(150, 150, 150, 0.3);
    overflow: hidden;
    
}


.services__card-image{
    height: 360px;
    width: 320px;
    overflow: hidden;
    position: relative;
    z-index: 21;
    
}
.services__card-image::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: #000;
    opacity: 0.5;
}

.services__card-image-1{
    background: url('img/Service-1.jpg') no-repeat center/cover;
}
.services__card-image-2{
    background: url('img/Service-2.png') no-repeat center/cover;
}

.services__card-image-3{
    background: url('img/Service-3.jpg') no-repeat center/cover;
}


.services__card-content{
    padding: 16px;
}

.services__card-content h3{
    color: #495057;;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.services__card-content p{
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: left;
}


.services h2{
    text-align: center;
}



.services__card:hover{
    transform: scale(1.01);
    transition: 0.3s ease-in;
    cursor: pointer;
}

@media screen and (max-width:1300px){
    .services__wrapper{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:768px){
    .services__wrapper{
        grid-template-columns: 1fr;
    }

    .services h1{
        color: #495057;
        margin-bottom: 3rem;
        font-size: 2.5rem;
    }

}




.contact{
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10rem 0;
    
}

.fa-square-phone, .fa-envelope, .fa-location-dot{
    overflow-x: visible;
}




.contact h1{
    color: #495057;
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3rem;
}


.contact__wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;

}


.contact__card{
    margin: 10px;
    height: auto;
    padding: 2rem;
    border-radius: 1rem;
    
    box-shadow: 5px 5px 10px rgba(150, 150, 150, 0.3);
    color: #495057;
    background-color: #fff;
    
}



.contact h2{
    text-align: left;
}

.contact p{
    text-align: left;
    margin-top: 24px;
    font-size: 20px;
}

.contact__btn{
    display: flex;
    justify-content: center;
    margin-top: 16px;
}


.contact__card button{
    color: #fff;
    padding: 14px 24px;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #131313;
    font-size: 1rem;
}

.contact__card button:hover{
    cursor: pointer;
}

.contact__card i, h2{
    margin-right: .5rem;
    color: #061d41;

}
.contact__card:hover{
    box-shadow: 5px 5px 10px rgba(150, 150, 150, 0.3);
    color: #fff;
    transition: 0.3s ease-in;
    background-color: #061d41;
  
}
.contact__card:hover i{
    color: #fff;

    transition: 0.3s ease-in;
}
.contact__card:hover h2{
    transition: 0.3s ease-in;
    color: #fff;
}


@media screen and (max-width:1300px){
    .contact__wrapper{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:768px){
    .contact__wrapper{
        grid-template-columns: 1fr;
    }

    .contact h1{
       
        margin-bottom: 2rem;
        font-size: 2.5rem;
    }

    .contact{
        padding: 5rem 0;
        
    }
}

/* footer */


.footer__wrapper{
    background-color: #131313;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    
}


.footer__logo{
    background: url('img/Footer-Logo.png') no-repeat center/contain;
    height: 70%;
    width: 70%;
}



.footer__card a{
    color: #b4b4b4;
    text-decoration: none;
    line-height: 1.5;
}

.footer__card h2{
    color: #f3f3f3;
    margin-bottom: 0.5rem;

}



.footer__links--wrapper{
    display: flex;
}



.website__rights{
    color: #b4b4b4;
    background-color: #131313;
    text-align: center;
    padding: 2rem;
}


@media screen and (max-width:768px){

    .footer__wrapper{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

}
