body{
    margin: 0;
    padding: 0;
    
}
a{
    text-decoration: none;
}


.top-bar{
    margin-bottom: 20px;
    width: 100%;
    height: 60px;
    position: fixed;
    background-color: rgb(37, 37, 36);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-bar ul{
  
    width: 80%;
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    font-weight: 900;
    color: aliceblue;
}
.top-bar a{
    color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    width: 90px;
    border-radius: 5px;
    
}
.top-bar a:nth-child(3){
    background-color: orange;
}
.top-bar a:hover{
    background-color: orange;
}
.header{
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(to right,rgba(21, 255, 0, 0.322),rgba(11, 207, 11, 0.788));
    background-position: center;
    background-size: cover;
    position: relative;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
    
}
.header .container{
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: 75%;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(to right,rgba(194, 29, 29, 0.575),rgba(207, 73, 11, 0.514)),url(pics/services-bg.png );
    display: flex;
    flex-direction: column;
    align-items: center;
    column-gap: 4%;
    justify-content: center;
}
.container h1{
    font-size: 70px;
    color: aliceblue;
}

.container p{
    font-size: 25px;
    color: aliceblue;
    font-weight: 900;
    background-color: rgba(0, 0, 0, 0.521);
    padding: 10px;
    width: 98%;
    border-radius: 10px;
    border: 1px solid orange;
    
}
.container img{
    height: 110px;
    width: 110px;
    margin-bottom: 20px;
    box-shadow: 0 0 5px rgb(9, 240, 9),
    0 0 25px, 0 0 50px orange;
}

/*middle sections*/
.midle{
    height: fit-content;
    width: 100%;
    background-image: linear-gradient(to right,rgba(131, 161, 128, 0.322),rgba(167, 197, 167, 0.788));
    background-position: center;
    background-size: cover;
    position: relative;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   padding-bottom: 20px;
}
.midle .main-cont{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    column-gap: 3%;
    justify-content: center;
    align-items: center;
}
.midle .cont{
    width: 20%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right,rgba(0, 0, 0, 0.932),rgba(0, 128, 0, 0.836),rgba(0, 0, 0, 0.938)),url(pics/speech.png);
    padding: 10px;
    border-radius: 20px;
    color: rgb(236, 155, 48);
}
.midle .cont:hover{
    transition: 1s;
    transform: rotateY(30deg);
    box-shadow: 0 0 5px rgb(9, 240, 9),
    0 0 25px, 0 0 50px rgb(17, 207, 17);
}

.midle .cont img{
    height: 200px;
    width: 95%;
    border-radius: 20px;
}
.midle .cont:nth-child(4){
    background-image: linear-gradient(to right,rgba(0, 0, 0, 0.822),rgba(6, 92, 6, 0.877),rgba(0, 0, 0, 0.623)),url(pics/speech.png);
    background-size: cover;
    background-position: center;
}
.midle .cont p{
    color: aliceblue;
    font-weight: 900;
}


/*footer*/

.footer{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(to right,rgba(38, 46, 38, 0.959),rgba(29, 28, 27, 0.925)),url(pics/logo.png);
    background-size: contain;
    background-position: center;
    display: flex;
    flex-direction: column;
    row-gap: 20%;
    align-items: center;
    justify-content: center;
}

.footer .contacts{
    width: 40%;
    height: 80%;
    display: flex;
    align-items: flex-end;
    justify-content: center;

}
.footer ul{
    background-color: #70b9761a;
    height: 80%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    justify-content: center;
    list-style: none;
    text-align: center;
    border-radius: 20PX;
    font-size: 20px;
    color: aliceblue;
    padding-left: 10px;
}
.footer ul a{
    color: blue;
}

.footer .copy{
    width: 100%;
    height: 10%;
    background-color: rgba(199, 228, 218, 0.575);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}
/* media query*/

@media only screen and (max-width: 767px){
    .header .container h1{
        
        font-size: 20px;
    
    }
    .top-bar ul{
        
        justify-content: flex-start;
        font-size: 11px;
        column-gap: 15px;
    }
    .top-bar a{
        width: 150px;
        padding: 2px;
    }
    .header .container{
        flex-direction: column;
        width: 95%;
        height: 90%;
        padding-bottom: 30px;
      
    }
    .header .container .logo{
        width: 100%;
        height: 60%;
        border-style: none;
    }
    .header .container .intro{
        width: 100%;
        height: 40%;
        justify-content: flex-start;
        padding-bottom: 30px;
    }
    
    .header .container .logo img{
        height: 80px;
        width: 80px;
    }

    .header .container .intro p{
        font-size: 15px;
        
    }
    .midle .main-cont{
        flex-direction: column;
        height: fit-content;
        width: 100%;
        row-gap: 10px;
    }
    .midle .main-cont .cont{
        width: 90%;

    }
    .main-cont .cont p{
        font-size: 17px;
    }
    .container h1{
       margin-top: 20px;
    }
    .container p{
        font-size: 17px;
        width: 90%;
    }
    .container img{
        height: 90px;
        width: 90px;
    }
    

    .footer .contacts{
        width: 70%;
    }

}
