@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box ;
}

header{
   position:fixed;
   width: 100%;
   top: 0;
   left: 0;
   background: #333;
   z-index: 100;
}

html{
   scroll-behavior: smooth;
}

body{
   background: #f2f2f2;
}
 
.flex{
   display: flex;
   align-items: center;
}

.container{
   max-width: 1200px;
   width: 100%;
   margin: 0 auto;
}

.navbar{
   justify-content: space-between;
}


.navbar a{
   display: inline-block;
   color: #fff;
   text-decoration: none;
   text-transform:capitalize;
   padding: 20px 0;
   transition: 0.2s;
}

.navbar a:hover {
   color: #ddd;
}
.nav-links{
   gap: 20px;
   list-style: none;
}

/* Home Page */
.homepage{
   height: 100vh;
   width: 100%;
   background: url(images/home-bg.jpg);
   background-position: center;
   background-size: cover;
   position: relative;
}

.homepage::before{
   content: "";
   position: absolute;
   height: 100%;
   width: 100%;
   top: 0;
   left: 0;
   background: rgba(0, 0, 0, 0.2);
}
.homepage .content{
   position: relative;
   height: 85%;
   justify-content: center;
   flex-direction: column;
}

.homepage .text{
   color: #fff;
   text-align: center;
   margin-bottom: 50px;
}

.homepage .text h1{
   font-size: 60px;
   font-weight: 700;
   margin-bottom: 10px;
}

.homepage a{
   color: #333;
   border: 2px solid #fff;
   background: #fff;
   text-decoration: none;
   padding: 10px 30px;
   border-radius: 5px;
   font-size: 18px;
   box-shadow: rgba(0, 0, 0, 0.3);
   transition: 0.3s;
}

.homepage a:hover{
background: rgba(255, 255, 255, 0.3);
}

section{
   padding-top: 80px;
   
}

.section-title{
   text-align: center;
   
}

section h2{
   font-size: 2rem;
}

section .cards{
   margin-top: 50px;
   flex-wrap: wrap;
   justify-content: space-between;
}

section .card{
   width: calc(100% / 3 - 30px);
   text-align: center;
   list-style:none;
   background-color: #fff;
   padding: 40px 10px;
   border-radius: 5px;
   box-shadow: 0 5px 10px rgba(0, 0, 0, 0.04);
   margin-bottom: 40px;
}

section .card img{
   border-radius: 50%;
   height: 120px;
   width: 120px;
   margin-bottom: 20px;
   
}

section .card p{
   margin-top: 5px;
}

.portfolio .card{
   padding: 0 0 20px;
}

.portfolio .card img{
   width: 100%;
   height: 200px;
   border-radius: 8px 8px 0 0;
}

.about .company-info{
   margin-top: 30px;
}

.about .row{
  padding: 0 10px;
}

.about h3{
   margin: 30px 0 10px;
}

.about ul{
   padding-left: 20px;
}

.contact .row{
   margin: 60px 0px 90px;
   justify-content:space-between;
}

.contact .row .col{
   padding: 0 10px;
   width: calc(100% / 2 - 50px);
   
}

.contact .row .col p{
   color: #7a7a7a;
   margin-bottom: 10px;
}

.contact .row .col p i{
margin-left: 10px;
}

.contact form input{
   width: 100%;
   height: 45px;
   margin-bottom: 20px;
   padding: 0 15px;
   border: 1px solid #bfbfbf;
   outline: none;
}

.contact form textarea{
   padding: 15px;
   width: 100%;
   height: 150px;
   border: 1px solid #bfbfbf;
   outline: none;
   resize: none;
}

.contact form button{
   background: #333;
   border-radius: 6px;
   padding: 10px 20px;
   color: #fff;
   border: none;
   margin-top: 10px;
   outline: none;
   font-size: 17px;
   cursor: pointer;
   transition: 0.2s;
}

.contact form button:hover{
   background: #525252;
}

.footer{
   background: #333;
   padding: 20px 0;
   text-align: center;
}

.footer span{
   color: #fff;
}

#menu-toggler, #hamburger-btn{
   display: none;
}

/*Responsive Design */

@media (width < 860px) {

   .navbar .nav-links{
      position: fixed;
      display: block;
      left: -100%;
      top: 65px;
      height: 100%;
      padding-top: 30px;
      padding-left: 20px;
      width: 300px;
      background: #333;
      transition: all 0.4s ease;
   }
   
   .nav-links li{
      font-size: 18px;
   }
   
   #hamburger-btn{
      display: block;
      color: #fff;
      font-size: 22px;
      cursor: pointer;
   } 
   
   #menu-toggler:checked ~ .nav-links{
      left: 0;
   }

   section .cards.card{
      width: calc(100% / 2 - 15px);
   }
   
   .contact .row{
      flex-direction: column;
   }

   .contact .row .col{
      width: 100%;
   }

   .contact .row .col:last-child{
      margin-top: 40px;
   }

}

@media(width < 560px) {
   section .cards .card{
      width: 100%;
   }

   .homepage .text h1{
      font-size: 30px;
   }

   section h2{
      font-size: 1.5rem;
   }
}

