*
{
    color: white;
    box-sizing: border-box;
 padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}
html {
    scroll-behavior: smooth;
  }
  
body 
{
 
    background: #151312;

}
/* #map {
  height: 400px;
  border-radius: 10px;
  margin-top: 20px;
  background:#090909  ;
  background-size: cover;
width: 30%;

}
.mapBox
{
  flex-direction: column;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
} */
.input3
{
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  max-width: 95%;
}
#navTools
{
  scroll-margin-top: 1000px;
}
#navHome::before,
#navTools::before,
#navProject::before,
#navContact::before {
  position: absolute;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 20px;
  padding: 3px;
  border-radius: 10px;
  transition: 0.2s ease;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  text-align: center;
  padding-bottom: 5px;
}
.projbox {
      display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 800px;
    max-width: 90%;
    border-radius: 20px;
    margin-top: 20px;
    height: 200px;
    background: rgba(255, 255, 255, 0.014);
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
  transition: all 0.5s ease;
}


/* Both boxes stacked on top of each other */

.featuresbox {
  position: absolute;
  top: 15%;
 right: 27%;
  transition: all 0.6s ease;
  opacity: 1;
}
.textbox {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 60%;
  max-height: 90%;
  top: 20%; 
  right: 20px;
  transition: all 0.6s ease;
  opacity: 1;

}
.featuresbox h3 
{
  color: white;

}
/* Default states */
.featuresbox {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}
.featuresbox ul li 
{
  margin-top: 10px;
  list-style:none;
}
.projbox:hover .textbox {
  opacity: 0;
  transform: translateY(-30px);
}

.projbox:hover .featuresbox {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#navHome::before {
  content: "Home";
  top: 40px;
  right: 50px;

}
#navTools::before {
  content: "Tools";
  top: 110px;
  right: 45px;
}
#navProject::before {
  content: "Projects";
  top: 180px;
  right: 45px;
}
#navContact::before {
  content: "Contact";
  top: 250px;
  right: 45px;
}

#navHome:hover::before,
#navTools:hover::before,
#navProject:hover::before,
#navContact:hover::before {
  opacity: 1;
  transform: translateX(0);
}
#contact
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.container
{
      background: #151312;
    position: relative;
    height: 435vh; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
}
.left
{

    position:sticky;
    height: 100%;
    width: 40%;

}
.right
{

    padding-left: 50px; 
   height: 100%;
    width: 60%;
    /* overflow-y: auto; */
}
#contactform
{

display: flex;
justify-content: center;
align-items: start;
flex-direction: column;
height: max-content;
width: max-content;
flex-wrap: wrap;
max-width: 90%;
padding-bottom: 30px;
}
#message {
  width: 650px;
  height: 200px;
  border-radius: 10px;
  background: #353334;
  border: none;
  margin-top: 10px;
  max-width: 90%;
  /* ✅ Ensure content starts top-left */
  padding: 10px;
  text-align: left;

  /* ✅ Text wraps to next line */
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;

  /* Optional enhancements */
  color: white;
  font-size: 16px;
  resize: none; /* Prevent resizing if not needed */
}

#message::placeholder {
  text-align: left;
  color: #aaa;
}

.formRow
{
  display: block;
  width: 100%;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
}
.formRow2
{
  margin-top: 30px;
  flex-wrap: wrap;
}
#name,#email
{
  margin-top: 10px;
  background: #353334;
  border: none;
  outline: none;
  height: 40px;
  width: 338px;
  max-width: 70%;
  border-radius: 10px;
  padding: 10px;
  color: #7a7a7a;
}
.myNav
{
  box-shadow: inset 0px 0px 5px rgba(255, 255, 255, 0.096), 0px 0px 10px rgba(0, 0, 0, 0.219);

  position: relative;
  position: fixed;
  display: flex;
  padding: 3px;
  justify-content: space-evenly;
  align-items: center;
flex-direction: column;
  top: 40%;
  right: 2%;
  height: 320px;
  width: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  z-index: 111;
  border: 0.5px solid rgba(255, 255, 255, 0.082);
}
.navIcons
{
  height: 25px;
  margin-top: 5px;
}
section 
{
    margin-top: 200px;
}
.profileCard {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    position: sticky;
    top: 23%;
    width: 320px; /* or fixed like 300px */
    left: 18%;
    height: max-content; /* or a fixed height if needed */
    background: white;
    padding: 20px;
    border-radius: 10px;
    background: #ffffe4;
    background-size: cover;
    background-repeat: no-repeat;
}
.profileCard h2 
{
    color: rgba(0, 0, 0, 0.9);
    font-size: 30px;
    
}

.about
{
  margin-top: 200px;
}
.about h1
{
    font-size:110px;
    padding-left: 20px;
   width: fit-content;
   max-width: 90%;
}
.fadeText
{
    position: relative;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.2);
}
.about h4
{
    position: relative;
    bottom: 10px;
    width: 550px;
    color: rgba(255, 255, 255, 0.637);
    padding-left: 30px;
    font-size: 20px;
    font-weight: 300;
}
.links .socialIcons 
{
    height: 40px;
    width: 40px;
    padding: 5px;
    opacity: 0.8;
    transition: 0.1s ease-in;
}

.links .socialIcons:hover 
{
  scale: 1.1;
}
.numbers 
{
    width: 460px;
    display: flex;  
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}
.numbers span h1 
{
    font-size: 60px;
    padding: 0;
  
}
.numbers span 
{
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

/* From Uiverse.io by alexmaracinaru */ 
.cta {
  position: relative;
 margin-top: 20px;
  padding: 12px 18px;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
  width: 150px;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50px;
  background: red;
  width: 50%;
  height: 45px;
  transition: all 0.3s ease;
}

.cta span {
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: white;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #234567;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.cta:hover:before {
  width: 100%;
  background: rgb(119, 0, 255);
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active {
  transform: scale(0.95);
}

.contacth1
{
  font-size: 100px;
  width: 100%;

}
.contacth2
{
font-size: 100px;
}
.numbers span h5 
{
    font-weight: 400;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.63);
}
.animated-button span
{
  display: flex;
  justify-content: center;
  align-items: center;
}
.animated-button {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: #ffffff40;
  box-shadow: 0 0 0 2px #ffffff20;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.animated-button span:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #2196F3;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.animated-button span:first-child {
  position: relative;
  z-index: 1;
}

.animated-button:hover {
  box-shadow: 0 0 0 5px #2195f360;
  color: #ffffff;
}

.animated-button:active {
  scale: 0.95;
}
.projbox h2
{
  font-size: 20px;
  color: white;
}
.animated-button:hover span:last-child {
  width: 250px;
  height: 250px;
  opacity: 1;
}
.projbox h4 
{
  font-family: poppins;
  font-weight: 100;
}
.projbox1
{
height: 90%;
width: 220px;
border-radius: 20px;
margin-left: 10px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
border: 2px solid white;
transition: 0.3s ease;
box-shadow: inset 0px 0px 10px rgb(255, 255, 255);
}
.projbox1:hover
{
scale: 1.05;
}
.projbox2
{
height: 90%;
width: 230px;
border-radius: 20px;
margin-left: 10px;
background: url(projectImg.png);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.336);
}


.projbox .textbox
{
  max-width: 60%; 
  margin-left: 30px;
}
.projbox .textbox h4
{
  font-size: 17px;
  color: rgba(255, 255, 255, 0.658);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#download1 
{
    margin-top: 50px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    
}
.profileCard img 
{
    width: 240px;
    height: 284px;
    border-radius: 30px;

}

.profileCard h4 
{
    color: rgba(0, 0, 0, 0.637);
    width: 100%;
    text-align: center;

}
#linkedin
{
    height: 50px;
    width: 50px;
position: relative;
top: 5px;
}
#insta
{
    height: 45px;
    width: 45px;
    position: relative;
    top: 3px;
}

.skills-section {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
  }
  
  .skills-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin-top: 20px;
    padding: 20px;
  }
  
  .skill {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px; 
    background: #ffffffef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
  }
  
  .skill:hover {
    transform: translateY(-5px);
  }
  
  .skill img {
    width: 30px;
    height: 30px;
   padding-right: 10px;
  }
  
  .skill span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
  }
  .statsLanguages h1 
  {
    font-size: 110px;
  }
  .statsLanguages h2 
  {
    margin-top: 40px;
  }
.projectSec h1
  {
    font-size: 110px;
  }

  .statsgraph 
  {
   display: flex;
    justify-content: flex-start;
     align-items: center;

  }
.input1
{
  margin-bottom: 20px;
}
  @media(max-width:1443px)
  {
 .projbox1 
 {
  width: 180px;
  position: relative;
  right: 8%;
 }
    .textbox 
    {
    top: 0%;
    right: 2%;
    height: 90%;
    justify-content: center;
    width: 55%;
    }
   .projbox .textbox h4
   {
    font-size: 15px;
   }
    .myNav
    {
      left: 96%;
    }
    .statsLanguages h1,.about h1,.projectSec h1
    {
          font-size: 80px;
    }
    .statsgraph 
    {
 flex-direction: column;
 align-items: flex-start;
 justify-content: center;
       
    }
    .skills-grid
{
  min-width: 90%;
  max-width: 90%;
}
    #stats2 
    {

   padding: 0;
margin-top: 20px;
position: relative;
right: 5px;
max-width: 359.2px;
    }
  }
  @media(max-width:1000px)
  {
     .projectSec
    {
  
      display: flex;
      flex-direction: column;
      width: 100%;
      align-items: center;
      justify-content: center;

    }
    .featuresbox
    {
      display: none;
    }
    .textbox
    {
      height: 90%;
      width: 60%;
    
    }
    .projbox1
    {
      width: 180px;
    }
   .projbox .textbox h4 
    {
      font-size: 15px;
      margin-top: 10px;
    }
    .projbox .textbox h2
    {
      font-size: 20px;
    }
    #contact
    {
      align-items: center;
    }
    .formRow
    {
      flex-direction: column;
    width: 100%;
    }
  
     #contactform h4
     {
      margin-top: 10px;
     }

#message
{
  width: 100%;
}
    .myNav
    {
      display: none;
    }
.container 
{
  height: 500vh;
  justify-content: start;
  align-items: center;
  flex-direction: column;
}
#contactform
{
  height: max-content;
  width: 90%;
}
.input3
{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content:center ;
}
.skills-grid
{
  min-width: 99%;
  max-width: 90%;
}
.right 
{
  width: 100%;
  text-align: center;
  overflow-y: visible;
  margin: 0;
  padding: 0;
  height: 300vh;
}
.left
{
  margin-top: 50px;
  height: max-content;
  position: relative;
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
}
.profileCard 
{
 position: none;
 width: 400px;


}
.about
{
  margin: 0;
}
.statsgraph 
{
  align-items: center;
}

.about 
{
  align-items: center;
  justify-content: center;
  text-align: center;
}
#software,.fadeText
{
  min-width: 100%;
  padding: 0;
}
.about h4 
{
  width: 100%;
}
.numbers 
{
  width: 100%;
}
#download1 
{
  width: 100%;
}
.about h4 
{
  padding: 0;
}

  }

  @media(max-width:625px)
  {
.projbox
{
  display: flex;
    flex-direction: column;
    height: max-content;
    background: transparent;
    max-width: none;
    min-width: 100%;
}
 .projbox .textbox
 {
  position: unset;
  height: max-content;
 width: 100%;
 max-width: none;
 margin: 0;

 }
 .projbox .textbox h4
 {
 font-size: 15px;
 }
 .projbox .textbox h2 
 {
  margin-top: 10px;
  font-size: 20px;
  color: white;

 }
.projbox1
{
  position: unset;
  width: 300px;
  height: 170px;
}

  #tools h4
    {
      font-size: 40px;
    }
    section 
    {
      margin-top: 100px;
    }
    .contacth1
    {
      font-size: 55px;
    }
     .contacth2
    {
      font-size: 55px;
    }
    .cta {
  position: relative;
 margin-top: 20px;
  padding: 12px 18px;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50px;
  background: #234567;
  width: 100%;
  height: 45px;
  transition: all 0.3s ease;
}

.cta span {
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: white;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #ff0000;
  stroke-width: 2;
  transform: translateX(0px);
  transition: all 0.3s ease;
}

    .right
{

    height: 300vh;
}
    .about h4 
    {
      max-width: 98%;
      max-width: 98%;
    }
        .left
    {
     height: max-content;
     margin-top: 30px;
     display: flex;
     flex-direction: column;
      align-items: center;
      justify-content: start;
      
  
    }
    .container
    {
      height: 420vh;
    }
    #contactform
    {
      height: max-content;
    }
    .profileCard
    {
      position:unset;
   height: 500px;
   max-width: 80%;
   left: 0;
    }
    .profileCard img 
    {
      height: 40%;
    max-width: 90%;
height: auto;
    }
    .profileCard h4 
    {
      /* position: relative; */
      /* bottom: 10%; */
      font-size: 17px;
    }
    .profileCard h2 
    {
      font-size: 25px;
    }
    .links
    {
      /* position: relative;
      bottom: 10%;  */
    }

  .numbers .numbers2
  {
    font-size: 40px;
  }
      .about h1,.statsLanguages h1,.projectSec h1 
      {
        font-size: 55px;
      }
      .projbox 
      {
          max-width: 90%;
          
      }
    
   
    .about #engineer
    {
     padding: 0;
    }
 /* Removes tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* for some browsers */
}

/* Also prevent outline on focus/click if needed */
*:focus {
  outline: none;
}
#stats1,#stats2
{
  max-width: 90%;
}
  .skill
  {
    width: 100px;
  }
 .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin-top: 20px;
    padding: 20px;
  }
    .featuresbox
    {
      display: none;
    }
.input1,.input2,.input3
    {
      max-width: 90%;
    }

  }
  @media(max-width:300px)
  {
    .projbox1
    {
      max-width: 90%;
    }
      .featuresbox
    {
      display: none;
    }
    .about h1,.projectSec h1 
    {
      font-size: 20px;
      
    }
.statsLanguages h1
{
  font-size: 20px;

}
.fadeText
{
  margin-top: 20px
}
    .links
    {
      display: none;
    }
    .numbers .numbers2
    {
      font-size: 20px;
    }
    .profileCard
    {
      height: 550px;
    }
    .profileCard h2
    {
      font-size: 15px;
    }
    .profileCard img
    {
      max-width: 90%;
    }
    .numbers
    {
      height: 400px;
      display: flex;
      flex-direction: column;
    }
    .input1,.input2,.input3
    {
      max-width: 90%;
    }
    .contacth1,.contacth2
    {
      font-size: 30px;
    }
  }