@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header{
    background-color: #f0f0f0;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px; /*1em=16px; 1em=16px*/ 
    /*padding: 0.625em 12.5em;*/
}

.logo{
    color: #3a6cf4;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.8em;
    font-weight: 700;
    transition: 0.7s ease;
 }
 .logo:hover{
    color: #fff;
    transform: scale(1.1);
    
    background-color: yellowgreen;
    padding: 0px 5px;
    border-radius: 15px;
 }

 .navigation a{
    color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px ; /*30px = 1.875em, 1em=16;*/
 }

 .navigation a:hover{
    color: #6ea009;
 }

 section {
    padding: 100px 200px; /* top-bott=100 , left-right=200*/
 }

 .main{
    background-color: yellowgreen;
    width: 100%;
    height: 100vh; /* 100% of view screen*/
    display: flex;
    align-items: center;
    background-image: url(Images/Nageeb-Back-green.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
 }

 .main h2{
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
 }

 .main h2 span{
    display: inline-block;
    margin-top: 10px;
    color: #0a49f6;
    font-size: 3em;
    font-weight: 600;
 }

 .main h3{
    margin-top: 10px;
    margin-bottom: 30px;
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
 }

 .main-btn{
    display: inline-block;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    background-color: #3a6cf4;
    text-decoration: none;
    letter-spacing: 1px;;
    padding: 0.9375em 2.1875em; /* 15px 35px*/
    border-radius: 15px; /*0.9em;*/
    margin-bottom: 40px; /*4opx= 2.5em;*/
    transition: 0.7s ease;
 }
 
 .main-btn:hover{
    background-color: #0a49f6;
    transform: scale(1.1);
 }

 .social-icons a{
    color: #fff;
    font-size: 1.7em;
    padding-right: 30px;
 }



 .title{
    display: flex;
    justify-content: center;
    color: #3a6cf4;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
 }

 .content{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
 }
 .card {
    width: 21.25em; /* 21.5em =340px */
    background-color: #fff;
    box-shadow:0px 5px 25px rgba(1, 1, 1,15%); /* top/bottom, left/right,blure,color*/
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
 }

 .card:hover {
    transform: scale(1.1);
 }

 .info {
    text-align: center;
 }
 .icon {
    color: #3a6cf4;
    font-size: 8em;
    text-align: center;
 }

 .info h3{
    color: #3a6cf4;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px
 }

 .projects{
    background-color: yellowgreen;
 }

 .projects .content{
    margin-top: 30px;
 }

 .project-card{
    width: 23em; /* 21.5em =340px */
    min-height: 14em; /*14*16= 224px*/
    background-color: #fff;
    border: 1px solid #0a49f6;
    border-radius: 10px;
    margin: 20px;
    overflow: hidden;
    transition: 0.7s ease;
 }

 .project-card:hover{
    transform: scale(1.1);
 }
/*to add brighness while hove for image*/
 .project-card:hover .project-image{
    opacity: 0.9;
 }
 
 .project-image img{
    width:100%;
 }

 .project-info{
    padding:1em;
 }

 .project-category{
    font-size: 0.8em;
    color: #000;
 }

 .project-title{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
 }

 .more-details {
    text-decoration: none;
    color: #3a6cf4;
 }

 .more-details:hover{
    color: yellowgreen;
 }

 .contact .icon{
    font-size: 4.2em;
 }

 .contact .info h3{
    color: #000;
 }

 .contact .info a{
    font-size: 1.5em;
    text-decoration: none;
 }
 
 .footer{
    background-color: #000016;
    color: #fff;
    padding:2em;
    display: flex;
    justify-content: space-between;
    background-image: url(images/MyName-green.jpg);
    background-repeat: no-repeat;
    background-size:contain;
    background-position: center;
   
    
 }

 .footer-title {
    font-size: 1.3em;
    font-weight: 600;
 }

 
 .footer-title span{
    color: #3a6cf4;
 }

 .footer .social-icons a{
    font-size: 1.3em;
 }
