* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}
html {
  font-size: 60%;
  overflow-x: hidden;
}
:root {
  --bg-color: #080808;
  --second-bg-color: #001005;
  --text-color: #fff;
  --main-color: #c0e730;
}
body{
  background: var(--bg-color);
  color: var(--text-color);
}
.favIcon{
  color: var(--main-color);
  background-color: var(--bg-color);
}

/* -------Header--------- */

.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 2rem 8%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
#menu-icon{
  font-size: 3.6;
  color: var(--main-color);
  display: none;
}
.logo{
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}
.logo:hover{
  transform: scale(1.1);
}
span{
  color: var(--main-color);
  font-weight: 700;
}
.navbar a{
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease;
}
.navbar a:hover{
  border-bottom: 3px solid var(--main-color);
  color: var(--main-color);
}

/* --------Home-------- */

 section{
  min-height: 100vh;
  padding: 10rem 12%;
  background-color: #000;
 }
 .home{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15rem;
 }
 .home-content{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: left;
 }
 .home-content h1{
  font-size: 8rem;
  font-weight: 700;
  margin-top: 1.5rem;
  line-height: 1;
 }
 .home-content h3{
  font-size: 3.5rem;
  margin: 1rem 0;
 }
 .home-content p{
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.8;
 }
 .home-img img{
  width: 32vw;
  border-radius: 75%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.4s ease-in-out;
 }
 .home-img img:hover{
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color),
              0 0 100px var(--main-color);
 }
 .social-icons a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 0.5rem;
  transition: 0.3s ease;
 }
 .social-icons a:hover{
  color: var(--text-color);
  background-color: var(--main-color);
  transform: scale(1.2)translateY(-5px);
  box-shadow: 0 0 25px var(--main-color);
 }
 .btn-group{
  display: flex;
  gap: 1.5rem;
 }
 .btn{
  color: black;
  background-color: var(--main-color);
  display: inline-block;
  padding: 1rem 3rem;
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.3s ease-in-out;
 }
 .btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color);
 }
 .btn-group a:nth-of-type(2), .view-btn{
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25x transparent;
 }
 .btn-group a:nth-of-type(2):hover, .view-btn:hover{
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: black;
 }

 /* --------About--------- */

 .about{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  background-color: var(--second-bg-color);
 }
 .about img{
  width: 32vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.4s ease-in-out;
 }
 .about img:hover{
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color),
              0 0 100px var(--main-color);
 }
 .about-content h2{
  font-size: 7rem;
  text-align: left;
 }
 .about-content p{
  font-size: 1.8rem;
 }
 .about-content .btn{
  margin: 3rem 0;
 }
 ::-webkit-scrollbar{
  width: 10px;
 }
 ::-webkit-scrollbar-thumb{
  background-color: var(--main-color);
  /* border-radius: 50% 100% 50% 100%; */
 }
 ::-webkit-scrollbar-track{
  background-color: var(--bg-color);
 }

 /* -----Services----- */

 .heading{
  text-align: center;
  font-size: 7rem;
  margin: 5rem 0;
  transition: 0.3s ease-in-out;
 }
 .heading:hover{
  transform: scale(1.2)translateY(-5px);
 }
 .services{
  background-color: var(--bg-color);
  color: black;
  justify-content: center;
  align-items: center;
  text-align: center;
 }
 .services h2{
 color: var(--text-color);
 }
 .services-container{
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax
  (300px, 1fr));
  align-items: center;
  gap: 2.5rem;
 }
.services-container1{
margin-top: 2rem;
 }
 .service-box{
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--main-color);
  height: 518px;
  width: 33.4%;
  border-radius: 3rem;
  cursor: pointer;
  border: 5px solid transparent;
  transition: 0.4s ease-in-out;
 }
 .service-box:hover{
  background-color: var(--second-bg-color);
  color: var(--main-color);
  border: 5px solid var(--main-color);
  transform: scale(1.03);
 }
 .service-info{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
 }
 .service-info i{
  font-size: 8rem;
 }
 .service-info span.material-symbols-outlined {
    font-size: 7rem;
    color: #000; 
    transition: 0.3s ease;
    display: inline-block; 
}
.service-box:hover .service-info span.material-symbols-outlined {
    color: var(--main-color);
}
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
}
 .service-info h4{
  font-size: 3rem;
  margin: 2rem 0;
  font-weight: 800;
 }
 .service-info p{
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.7;
 }

 /* -----Skills----- */

 .skills{
  background-color: var(--second-bg-color);
  color: black;
  justify-content: center;
  align-items: center;
 }
 .skills h3{
  color: var(--text-color);
  text-align: center;
  font-size: 6rem;
  margin: 5rem 0;
  }
  .bar{
    display: flex;
    justify-content: left;
    text-align: center;
    z-index: 100;
    width: 30%;
    height: 23%;
  }
  .label{
    margin: -3.2rem 20rem 0rem 0rem !important;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    text-align: center;
  }
  .skills-heading{
    color: var(--text-color);
    font-size: 3rem;
    font-weight: 800;
    /* cursor: pointer; */
    transition: 0.3s ease;
  }
  .skills-heading:hover{
    transform: scale(1.1)translateY(1px);
  }
  .icons{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 10%;
    font-size: 8rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 100%;
    color: var(--main-color);
    margin: -8rem 0rem 0rem 69rem !important;
    transition: 0.3s ease;
   }
   .icons:hover{
    color: var(--text-color);
    background-color: var(--main-color);
    transform: scale(1.2)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
   }

   /* ----Projects---- */
   .projects{
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--bg-color);
    color: black;
   }
   .pr-heading{
    color: var(--text-color);
    font-weight: 700;
    text-align: center;
    height: 6vw;
    font-size: 7rem;
    margin: 0 0 2rem 0;
    transition: 0.3s ease-in-out;
   }
   .pr-heading:hover{
    transform: scale(1.2)translateY(-5px);
   }
   .exp-content{
    display: inline-flex;
    justify-content: center;
    align-items: left;
    text-align: center;
    font-size: 5rem;
   }
   .view-btn{
      color: black;
      background-color: var(--main-color);
      display: inline-block;
      padding: 1rem 3rem;
      box-shadow: 0 0 25px var(--main-color);
      border-radius: 3rem;
      font-size: 1.8rem;
      margin: 3rem 0;
      border: 1px solid var(--bg-color);
      font-weight: 600;
      transition: 0.3s ease-in-out;
     }
   /* .box-modified:hover{
    background-image: url(../src/components/About/Mypic.jpg);
    
   } */

   /* -----Contact---- */
   .contact{
    background-color: var(--second-bg-color);
   }
   .contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);
   }
   .contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    margin: 5rem 0;
   }
   .contact form .input-box input,
   .contact form textarea {
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
   }

   /* ----Footer---- */
   .footer{
    background-color: var(--bg-color);
    padding: 50px 0;
   }
   .footer .social-icons {
    text-align: center;
   }
   .footer ul{
    text-align: center;
    font-size: 1.8rem;
   }
   .footer ul li{
    display: inline-block;
    margin-left: 20px;
   }
   .footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
   }
   .footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
   }
   .footer .copyright{
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
   }

   /* ----Media Queries---- */

   @media (max-width: 1024px) {
    #menu-icon{
      display: block;
    }
    .navbar{
      position: absolute;
      top: 100%;
      right: 0;
      width: 50%;
      padding: 1rem 3rem;
      background-color: rgba(0, 0, 0, 0.8);
      border-left: 2px solid var(--main-color);
      border-bottom: 2px solid var(--main-color);
      border-bottom-left-radius: 2rem;
      display: none;
    }
    .navbar a{
      display: block;
      font-size: 2rem;
      margin: 3rem 0;
      color: var(--text-color);
    }
    .navbar .active{
      display: block;
    }
    .home{
      flex-direction: column-reverse;
      margin: 5rem 0;
      gap: 5rem;
    }
    .home-content{
      align-items: center;
      text-align: center;
    }
    .home-img img{
      width: 52vw;
    }
    .about{
      flex-direction: column-reverse;
      text-align: center;
    }
    .about h2{
      text-align: center;
      margin: 2rem 0;
    }
    .about img{
      width: 52vw;
    }
    .contact form, .services-container{
      flex-direction: column;
    }
    .service-box{
      flex-direction: column;
      width: 65%;
    }
    .bar{
      flex-direction: column;
      width: auto;
    }
    .icons, .label{
      display: none;
    }
    .pr-heading{
      display: contents;
    }
   }