
body, html{
  height:100%;
  margin:0;
  font-size:16px;
  font-family:"Lato", sans-serif;
  font-weight:400;
  line-height:1.8em;
  color:#666;
}
.hero{
    height: 530px;
    width: 100%;
    background-image: url("technew.png");
    background-size: cover;
    background-position: center;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-left: 8%;
    padding-right: 8%;
}
.logo{
color: white;
font-size: 35px;
letter-spacing: 1px;
cursor: pointer;
} 
span{
color: #f9004d;
}
nav ul li{
list-style-type: none;
display: inline-block;
padding: 10px 25px;
}
nav ul li a{
color: white;
text-decoration: none;
font-weight: bold;
text-transform: capitalize;
}
nav ul li a:hover{
color: #f9004d;
transition: 1s;
}
.btn{
background-color: #f9004d;
color: white;
text-decoration: none;
border: 2px solid transparent;
font-weight: bold;
padding: 10px 25px;
border-radius: 30px;
transition: transform .1s;
}
.btn:hover{
transform: scale(1.2);
}
.content{
 position: absolute;
 top: 50%;
 left: 8%;
 transform: translateY(-50%);
}
h1{
color: white;
margin: 20px 0px 20px;
font-size: 75px;
}
h3{
 color: white;
 font-size: 25px;
 margin-bottom: 50px;
}
h4{
color: white;
letter-spacing: 2px;
font-size: 20px;
}
.newsletter form{
width: 260px;
max-width: 100%;
position: relative;
}
.newsletter form input:first-child{
display: inline-block; 
width: 180px;
padding: 14px 130px 14px 15px;
border: 2px solid #f9004d;  
outline: none;
border-radius: 30px;
}
.newsletter form input:last-child{
position: absolute;
display: inline-block;
outline: none;
border: none;
padding: 10px 30px; 
border-radius: 30px;
background-color: #f9004d;
color: white;
box-shadow: 0px 0px 5px #000, 0px 0px 15px #858585;
top: 6px;
right: -60px;
}
.about{
width: auto;
padding: 15px 0px;
background-color: #191919;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns with equal width */
  grid-auto-rows: auto; /* Automatically adjust row height based on content */
  gap: 20px; /* Spacing between items */
  justify-content: center; /* Center items horizontally */
}
.item {
  background-color:transparent;
  padding: 10px;
  text-align: center; /* Center text horizontally */
}
.about img{
height: auto;
width: 400px;
}
.about-text{
width: auto;
}
.about-text p {
  display: flex;
}
#main{
width: 1130px;
max-width: 95%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-around;
}
.about-text h2{
color: white;
font-size: 40px;
text-transform: capitalize;
margin-bottom: 15px;
}
.about-text h5{
 color: white;
 letter-spacing: 2px;
 font-size: 22px;
 margin-bottom: 15px;
 text-transform: capitalize;
}
.about-text p{
color: #fcfc;
letter-spacing: 1px;
line-height: 28px;
font-size: 18px;
margin-bottom: 25px;
}
button{
background-color: #f9004d;
color: white;
text-decoration: none;
border: 2px solid transparent;
font-weight: bold;
padding: 13px 30px;
border-radius: 30px;
transition: .4s;
}
button:hover{
background-color: transparent;
border: 2px solid #f9004d;
cursor: pointer;
}
#services{
background: #101010;
width: auto;
padding: 20px 0px;
}
.title h2{
color: white;
font-size: 40px;
width: auto;
margin: 30px auto;
text-align: center;
}
.box{
justify-content: center;
align-items: center;
min-height: 400px;
display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 columns with equal width */
  grid-auto-rows: auto; /* Automatically adjust row height based on content */
  gap: 20px; /* Spacing between items */
  justify-content: center; 
}
.card{
height: auto;
width: auto;
padding: 20px 35px;
background: #191919;
border-radius: 20px;
margin: 15px;
position: relative;
overflow: hidden;
text-align: center;
}
.card i{
font-size: 50px;
display: block;
text-align: center;
margin: 25px 0px;
color: #f9004d;
}
h5{
color: white;
font-size: 23px;
margin-bottom: 15px;
}
.pra p{
color: #fcfc;
font-size: 16px;
line-height: 27px;
margin-bottom: 25px;
}
.card .button{
background-color: #f9004d;
color: white;
text-decoration: none;
border: 2px solid transparent;
font-weight: bold;
padding: 9px 22px;
border-radius: 30px;
transition: .4s;
}
.card .button:hover{
background-color: transparent;
border: 2px solid #f9004d;
cursor: pointer
}
#contact{
width: 100%;
height: 290px;
background: #191919;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
#contact p{
color: white;
font-size: 30px;
font-weight: bold;
margin-bottom: 25px;
}
#contact .button-two{
background-color: #f9004d;
color: white;
text-decoration: none;
border: 2px solid transparent;
font-weight: bold;
padding: 9px 22px;
border-radius: 30px;
transition: .4s;
}
#contact .button-two:hover{
background-color: transparent;
border: 2px solid #f9004d;
cursor: pointer
}
footer{
position: relative;
width: auto;
height: 400px;
background: #101010;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
footer p:nth-child(1){
font-size: 30px;
color: white;
margin-bottom: 20px;
font-weight: bold;
}
footer p:nth-child(2){
color: white;
font-size: 17px;
width: 500px;
text-align: center;
line-height: 26px;
}
#social{
display: flex;


}
#social a{
  display: flex;
  align-items: center; /* Center the icon vertically */
  justify-content: center;
  width: 52px; /* Set width of each button */
  height: 52px; /* Set height of each button */
  border-radius: 50%; /* Make the buttons circular */
  margin: 0 10px; /* Adjust the spacing between buttons */
  font-size: 30px;
}
#social a:nth-child(1) {
  background-color: #3b5998; 
  color: white;/* Set background color for Facebook */
}

#social a:nth-child(2) {
  background: linear-gradient(45deg, #E4405F, #EF629F, #FDDC4F); 
  color: white;/* Set background color for Instagram */
}

#social a:nth-child(3) {
  background-color: #25d366;
  color: white; /* Set background color for WhatsApp */
}
#social a:hover{
transform: scale(1.1);
transition: .3s;
}
.end{
position: absolute;
color: #ffff;
bottom: 35px;
font-size: 14px;
}
#skills-container {
  display: flex;
  flex-direction: column;
  width: auto;
  background-color: #101010;
  background-size: cover;
  background-position: center;
  
}

.skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 5%;
  padding-right: 50%;
}

h1{
  text-align: center;
  padding-top: 2%;
  font-size: 40px;
}

.skills-list li {
  width: auto;
  margin: 20px 0;
}

.skill-name {
  margin-bottom: 5px;
  font-weight: bold;
  color: white;
}

.skill-level {
  background-color: #f5f5f5;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.skill-level-bar {
  height: 100%;
  background-color: #448f07;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  transition: width 0.5s ease-in-out;
}



/* Hamburger Menu Icon */
.menu-icon {
    display: none; /* Initially hide for larger screens */
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

/* Responsive Menu */
@media only screen and (max-width: 767px) {
    .List {
      color: white;
        display: none;
    }

    .menu-icon {
        display: block; /* Show the hamburger menu icon for smaller screens */
        cursor: pointer;
    }

    .menu.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 6px);
    }

    .menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-4px, -6px);
    }

    .menu {
        display: none;
    }

    .List.active {
        display: block;
        position: absolute;
        
         /* Position below the navigation bar */
          right: 20px;
          top: 60px;
          padding: 10px; 
          background-color: rgba(0, 0, 0, 0.2); /* Background color of the menu */
          
       
    }

    .List.active li {
        display: block;
        text-align: center;
        padding: 10px;
    }


    .content {
        position: static; /* Adjust positioning for smaller screens */
        transform: none;
        text-align: center; /* Center align content */
    }
    .about{
      grid-template-columns: repeat(1, 1fr);
    }
    .box {
      grid-template-columns: repeat(1, 1fr);
    }
    .skills-list {
      padding-right: 10%; 
    }
    .hero {
      height: 450px;
    }
  .about img {
      width: 350px;
    }
}
