*{
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
scroll-behavior: smooth;
font-family: 'poppins';
}
:root{
    --background:rgb(24,24,24);
    --second-background:rgb(21,21,21);
}
body{
    min-height: 100vh;
    background-color: var(--background);
}
nav{
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2em 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(15,15,15,0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
ul{
    display: flex;
    align-items: center;
    gap: 3em; 
}
nav ul a{
    color: white;
    opacity: 0.7;
    transition: 0.2s ease-in-out;
}
nav ul a:hover{
    opacity: 1;
}
.logo{
    font-size:2em ;
    color: white;
    font-weight: 800;
    opacity: 0.8;
    transition: 0.2s ease-in-out;
}
.logo:hover{
    opacity: 1;
}
.btn{
    padding: 0.5em 1em;
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 0.5em;
    font-size: 1.1em;
    border:2px solid white;
    cursor: pointer;
    transition:0.3s ease-in-out ;
}
.btn:hover{
    background-color: white;
    color: var(--background);
}
span{
    background: linear-gradient(to right,#6cff52,#3ec5ff);
    background-clip: text;
    color: transparent;
}
#menu{
    color: white;
    font-size: 3em;
    display: none;
}
section{
    min-height: 100vh;
    padding: 5% 15%;
}
#home{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    color: white;
}
#home img{
    width:18vw ;
    border-radius: 50%;
    margin-top: 3em;
}
.info-box{
    display:flex ;
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
    max-width: 600px;
}
.info-box h1{
    font-size: 5em;
    font-weight: 500;
}
.info-box h3{
    font-size: 2em;
    font-weight: 400;
}
.info-box p{
    opacity: 0.7;
}
.btn-box{
    display: flex;
    gap: 1em;
}
.btn-box .btn:nth-of-type(2){
    background: white;
    color: var(--background);
}
.btn-box .btn:nth-of-type(2):hover{
    background-color: var(--background);
    color: white;
}
::-webkit-scrollbar{
    width: 20px;
    background-color: var(--background);
}
::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom,#6cff52,#3ec5ff);
}
#about{
    background-color: var(--second-background);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5em;
}
#about img{
    width: 25vw;
    border-radius: 2em;
}
.about-box{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.about-box h1{
    font-size: 5em;
}
.about-box p{
    color: white;
    opacity: 0.8;
}
#skills {
  color: white;
  margin-top: 2em;
}

.skill-heading {
  font-size: 2em;
  color: #00ffae;
  margin-bottom: 1em;
}

/* Grid for 3 skills per row */
.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  max-width: 700px;
}

.skill-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
  padding: 1em;
  font-size: 1.1em;
  color: #00d4ff;
  transition: all 0.3s ease;
}

.skill-box:hover {
  color: #00ffae;
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 255, 174, 0.3);
}

/* Responsive — becomes 2 per row on tablet, 1 on phone */
@media (max-width: 768px) {
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .skills-container {
    grid-template-columns: 1fr;
  }
}

.about-box h2{
    font-size: 2.5em;
}

#Experience {
  background-color: var(--background);
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3em 2em;
}

.header {
  position: absolute;
  top: 2rem;
  left: 3rem;
  font-size: 4em;
  color: white;
  margin: 0;
  font-weight: 600;
}

/* Center box container */
.Experience-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Box styling */
.box {
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  padding: 2.5em;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 150, 0.1);
  transition: all 0.3s ease-in-out;
}

.box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0, 255, 150, 0.3);
}

.box h1 {
  color: var(--primary-color, #00ffae);
  font-size: 2em;
  margin-bottom: 0.5em;
}

.box p {
  opacity: 0.8;
  line-height: 1.6;
  max-width: 600px;
}

.box img {
  width: 100%;
  max-width: 500px;
  border-radius: 0.5em;
  margin-top: 1em;
  transition: transform 0.3s ease;
}

.box img:hover {
  transform: scale(1.05);
}

/* ✅ Updated Contact Section */
#contact {
  background-color: var(--second-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4em 2em;
}

#contact h1 {
  font-size: 4em;
  font-weight: 700;
  margin-bottom: 1.5em;
  background: linear-gradient(to right, #6cff52, #3ec5ff);
  -webkit-text-fill-color: transparent;
  text-align: center;
}

/* Center the form */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
  width: 100%;
  max-width: 500px;
}

/* Label section */
.input-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5em;
}

.input-box span {
  font-size: 1.2em;
  font-weight: 500;
  color: #00ffae;
}

/* Input + textarea */
form input,
form textarea {
  width: 100%;
  font-size: 1.1em;
  padding: 1em;
  border-radius: 0.5em;
  border: none;
  outline: none;
  background-color: #fff;
  color: #000;
  transition: all 0.3s ease;
}

form input::placeholder,
form textarea::placeholder {
  color: #777;
}

form input:focus,
form textarea:focus {
  background-color: #f0f0f0;
  box-shadow: 0 0 5px #00ffae;
}

/* Textarea resizing and height */
form textarea {
  resize: none;
  height: 150px;
}

/* Submit button */
form button {
  background-color: #fff;
  color: var(--background);
  font-size: 1.1em;
  font-weight: 600;
  padding: 0.8em 2em;
  border-radius: 0.5em;
  border: 2px solid white;
  cursor: pointer;
  transition: 0.3s ease;
}

form button:hover {
  background-color: var(--background);
  color: white;
  box-shadow: 0 0 10px rgba(108, 255, 82, 0.6);
}

footer{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10em;
  bottom: 0;
  background-color: var(--background);
  width:100% ;
  padding: 5em 15%;
}
.col-left{
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.col-box{
  display: flex;
  align-items: center;
  gap: 1em
}
.col-box i {
  font-size:1.2em
}
.col-right{
  display: flex;
  flex-direction: column;
  gap: 1em;
  color: white;
  max-width: 500px;
}
.col-right span{
  font-size: 1.3em;
}
.col-right-icons{
  display: flex;
  align-items: baseline;
  justify-content: left;
  gap: 1em;
}
.col-right .social-icons i {
  font-size: 2em;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
.social-icons i:hover{
  color: white;
}

@media(max-width:968px){
  section{
    padding: 8em 15%;
  }
  nav.btn{
    display: none;
  }
  #menu{
    display: block;
  }
  .links{
    position: absolute;
    top: 100%;
    right: 0;
    padding: 1em 3em;
    color: white;
    flex-direction: column;
    text-align: center;
    background: rgba(0,0,0,0.9);
  }
  .links a{
    margin: 2em 0;
    display: block;
    font-size: 1.5em;
    color: white;
  }
  .links.active{
    display: block;
  }
  #home h1{
    font-size: 4em;
  }
  #home h3{
    font-size: 2em;
  }
  #home img{
    width: 24vw;
  }
  #about{
    flex-direction: column;
  }
  #about img{
    width: 32vw;
  }
  #about h1{
    font-size: 3em;
  }
  #about ul{
    font-size: 1em;
  }
}
@media(max-width:768px){
  #home h1{
    font-size: 2.5em;
  }
  #home h3{
    font-size: 1.5em;
  }
  #home img{
    width: 32vw;
  }
  #about .skills{
    gap:3em
  }
  #services.header{
    font-size: 3em;
  }
  #contact.header{
    font-size: 3em;
  }
  #contact.input-box span{
    font-size: 1.2em;
  }
  .input-box input{
    padding: 0.5em 1em;
  }
  footer{
    flex-direction: column;
    gap: 5em;
    align-items: baseline;
  }
}
