nav{
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    background-color: rgb(20 30 44);
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 3vh 7vw;
    z-index: 100;
}
#heading1{
    font-weight: bolder;
    font-size: 3.5rem;

}
#icon{
    color: white;
    font-size: 4rem;
    display: none;
}

#heading2{
    display: flex;
    font-size: 1.75rem;
}


/*
.indi:hover, .indi1{
    color: aqua;

}
*/

.indi {
    padding-left: 5.5vw;
    font-size: 1.6rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.indi:hover {
  color: aqua;
}

.indi.active {
  color: aqua; /* Same as hover */
}


*{
    padding: 0;
    border: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
   scroll-behavior: smooth;
    color: white;
    text-decoration: none;
    
    
  }

  html,body{
    font-size: 72%;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    background-color: rgb(20, 30, 44);
  }
/* section-1*/ 
#intro{
    display: flex;
    justify-content: center;

    flex-direction: column;
}

#section-1{
   scroll-margin-top: 80px;
    display: flex;
    padding: 7.5vh 7vw;
    width: 100%;
    justify-content: center;
    align-items: center;
}
#section-1 h1{
    font-size: 4rem;
    margin-top: 1vh;
}
#section-1 h3{
    font-size: 2.6rem;
    margin-top: 0.7vh;
}
#section-1 p{
    font-size: 1.6rem;
    margin-top: 2vh;
}

#section-1 div{
    margin-top: 3vh;
    font-size: 1.6rem;
    
}
#section-1 a button{
    margin-top: 3.5vh;
    height: 5vh;
    width: 12vw;
    border-radius: 10px;
    color: rgb(30, 48, 188);
    background-color: aqua;
    font-size: 1.6rem;
} 

#section-1 div a i{
    border: 0.3vmin solid aqua;
    border-radius: 50%;
    padding: 0.5vmin;
    transform: scale(1.4);
    margin-right: 2vw;
    font-size: 1.5rem;
    color: aqua;
}

#section-1 div a i:hover{
    background-color: aqua;
    color: white;
}

#section-1 img{
    height: 57vh;
    width: 41vw;
     border-radius: 2rem;
 /* box-shadow: 0 0 1rem aqua;*/
   box-shadow: 0 0 4rem rgb(0, 225, 255);
   border: 4.3px solid rgb(0, 225, 255);
     margin: 4vh 7vw;
    animation: animate 4s linear 0s infinite normal;
}

#section-1 h3 span{
    color: aqua;
}
#cv:hover{
    transform: scale(1.05);
    transition: 0.7s ease;
    color: white;
}


@keyframes animate {
  
    25%{
        transform: translateY(0.9vh);
    }
    50%{
        transform: translateY(-0.45vh);
    }
    75%{
        transform: translateY(-0.9vh);
    }
    100%{
        transform: translateY(0.45vh);
    }
}
/*section-2*/
/*
#section-2{
   scroll-margin-top: 80px;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 7.5vh 7vw;
    width: 100%;
    background-color: rgb(6, 35, 53);
}

#section-2 div{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#section-2 h1 span{
    color: aqua;
}


#section-2 div h1{
    font-size: 4rem;
    margin-top: 1vh;
}
#section-2 div h3{
    font-size: 2.6rem;
    margin-top: 0.7vh;
}
#section-2 div p{
    font-size: 1.6rem;
    margin-top: 4vh;
}

#section-2 div a button{
    margin-top: 4vh;
    height: 5vh;
    width: 12vw;
    border-radius: 10px;
    color: rgb(30, 48, 188);
    background-color: aqua;
    font-size: 1.6rem;
} 

#cv1:hover{
    transform: scale(1.05);
    transition: 0.7s ease;
    color: white;
}

#section-2 img{
    margin: 4vh 7vw;
    animation: animate 4s linear 0s infinite normal;
    height: 67vh;
    width: 61vw;
    box-shadow: 0 0 1rem aqua;
}*/
/*edu*/
.education-section {
  background-color: rgb(6, 35, 53);
  color: white;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#section-2 {
  scroll-margin-top: 80px;
    background-color: rgb(6, 35, 53);
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#section-2 h1 span{
    color: aqua;
}
#section-2 h1{
  text-align: center;
    margin-top: 1vh;
    font-size: 4rem;
}
.education-content {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  width: 100%;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.edu-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.edu-video {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  
  box-shadow: 0 0 1rem aqua;
   
    animation: animate 4s linear 0s infinite normal;
}

.edu-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.edu-logo {
  width: 570px;
  height: 80px;
  margin-bottom: 20px;
}

.edu-right h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.edu-right p {
  font-size: 18px;
  margin: 5px 0;
}
.edu-right p strong{
  color: aqua;
}
/*projects*/
#projects {
  background-color: rgb(20, 30, 44);
  padding: 60px 30px;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
   scroll-margin-top: 20px;
}
/*
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #fff;
}*/
#projects h1 span{
    color: aqua;
}
#projects h1{
  text-align: center;
    margin-top: 1vh;
    font-size: 4rem;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 40px;
  justify-items: center;
}

.project-card {
   border: 2px solid aqua;
   box-shadow: 0 0 1rem aqua;
  background-color: rgb(30, 45, 60);
  border-radius: 20px;
  display: flex;
  padding: 20px;
  gap: 20px;
  align-items: flex-start;
  /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  */transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
 
}

.project-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #00bcd4;
}

.project-details {
  flex: 1;
}

.project-details h3 {
  margin: 0 0 10px;
  font-size: 27px;
  color: #00bcd4;
}

.tech-stack {
  margin: 0 0 15px;
  font-style: italic;
  color: #ccc;
   font-size: 14px;
}

.description {
  font-size: 17px;
  margin-bottom: 14px;
  line-height: 1.5;
  color: #ddd;
}

.project-links {
  display: flex;
  gap: 15px;
}

.btn {
   font-size: 11px;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn.github {
  background-color: #24292e;
  color: white;
}

.btn.demo {
  background-color: #00bcd4;
  color: black;
}

.btn:hover {
  opacity: 0.8;
}

/*section-3*/
#section-3{
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 7.5vh 7vw;
    width: 100%;
     scroll-margin-top: 65px;
    flex-direction: column;
    background-color: rgb(20 30 44);
}

#section-3 div{
  display: flex;
    justify-content: center;
    align-items: center;
}

#section-3 div div{
    background-color: rgb(19, 45, 57);
    display: flex;
    justify-content: center;
    align-items: center;
   flex-direction: column;
   border-radius: 10px;
   border: 2px solid blue;
   transition: 2s ease;
   box-shadow: 0 0 1rem blue;
}
#section-3 div div:hover{
    transform: scale(1.05);
}

#section-3 h1 span{
    color: aqua;
}
#section-3 h1{
    margin-top: 1vh;
    font-size: 4rem;
}


#section-3 div div i{
   margin-top: 0.7vh;
    padding: 0.5vmin;
    transform: scale(1.4);
    margin-right: 2vw;
    font-size: 3rem;
    color: aqua;
}


#section-3 div div h3{
    margin-top: 2vh;
 font-size: 2.6rem;
}
#section-3 div div p{
    text-align: center;
font-size: 1.6rem;
margin-top: 4vh;
}

#section-3 div div a button{
    margin-top: 4vh;
    height: 5vh;
    width: 12vw;
    border-radius: 10px;
    color: rgb(30, 48, 188);
    background-color: aqua;
    font-size: 1.6rem;
} 
#section-3 div div a button:hover{
    transform: scale(1.05);
    transition: 0.7s ease;
    color: white;
}
#section-3 div div{
    border-radius: 10px;
    margin: 10vh 1vw;
    padding: 7vh 3vw;
}




/*commentend section-4*/

#section-4 div  {
    display: grid;
   row-gap: 3vh;
   column-gap: 3vw;
 grid-template-rows: repeat(2, 30vh);  
 grid-template-columns: repeat(3, 25vw); 
 position: relative;
 
}


#section-4 div div img{
    height: 30vh;
    width: 25vw;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 1rem black;
}

#section-4 div div div{
    position: absolute;    
    bottom: 0;
    left: 0;
    padding: 3vh 2vw;
    height: 30vh;
    width: 25vw;
    background-image: linear-gradient(rgba(255,255,255,0.1),rgb(0, 208, 255));
   box-shadow: 0 0 1rem 2.5px white;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   transition: 1s ease;
   overflow: hidden;
  
}
#section-4{
 scroll-margin-top: 80px;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 7.5vh 7vw;
    width: 100%;
    flex-direction: column;
    background-color: rgb(6, 35, 53);
}

#section-4 div div div a button{
    background-color: white;
    height: 5vh;
    width: 5vh;
   
    border-radius: 50%;
    box-shadow: 0 0 1rem white;
}

#section-4 div div div h3{
    font-size: 3rem;
}
#section-4 div div div p{
    font-size: 1.6rem;
    text-align: center;
}

#section-4 div div div a button i{
    font-size: 3.1rem;
    color: rgb(45, 60, 188);
    margin-top: 0.3vh;
}
#section-4 div div div a button:hover{
transform: scale(1.1);
transition: 0.7s ease;
background-color: aqua;
}
#section-4 h1{
    font-size: 3rem;
    padding-top: 3vh;
    padding-bottom: 1vh;
}
#section-4 h1 span{
    color: aqua;
}
#section-4 div div:hover div{
   
}
#section-4 div div{
    
}


/*section-4*/
#skills {
   background-color: rgb(6, 35, 53);
  padding: 60px 5vw;
  color: #fff;
  text-align: center;
   scroll-margin-top: 40px;
}

.skills-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
  row-gap: 40px;
  justify-items: center;
}

.skill {
    background-color: rgb(30, 45, 60);
     width: 100px;
     justify-content: center; /* vertical alignment */
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.6rem;
  border-radius: 50%;
   /*  box-shadow: 0 0 2.7rem rgb(0, 225, 255);
*/
   box-shadow: 0 0 2.4rem rgb(0, 225, 255);
   border: 2px solid rgb(0, 225, 255);
  padding: 10px; /* Add padding to ensure content fits */
}

.skill i {
  font-size: 44px;
  margin-bottom: 7px;

}

.skill span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Fixing GitHub icon color */
.white-icon {
  color: white !important;
}
.express-fix {
  color: white !important;
} 

.skill:hover {
  border: 2px solid white;
  transform: translateY(-5px);
   box-shadow: 0 0 2.4rem 5px white;
}

/* Optional: Keep it max 5 per row on large screens */
@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

#skills h1 span{
    color: aqua;
}
#skills h1{
    margin-top: 1vh;
    font-size: 4rem;
}

/*section-5*/
#contact h1 span, #s{
    color: aqua;
}
#contact h1{
    margin-top: 1vh;
    font-size: 3.5rem;
    text-align: center;
}

#contact {
  background-color: rgb(20, 30, 44);
  color: #fff;
  padding: 80px 7vw;
  font-family: 'Poppins', sans-serif;
}


.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.contact-left {
  flex: 0 0 auto;
  margin-left: auto;
}

.contact-right {
  flex: 0 0 auto;
  margin-right: auto;
  min-width: 320px;
  text-align: left;
}




.profile-wrapper {
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bcd4, #2196f3);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.profile-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgb(20, 30, 44);
}



.contact-name {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-desc {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #cfd8dc;
  margin-bottom: 30px;
  max-width: 600px;
}

.contact-icons {
  margin-bottom: 25px;
}

.contact-icons a {
  margin-right: 20px;
  font-size: 2.4rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a i{
    border: 0.3vmin solid aqua;
    border-radius: 50%;
    padding: 0.5vmin;
    transform: scale(1.4);
    margin-right: 1vw;
    font-size: 1.5rem;
    color: aqua;
}


.contact-icons a i:hover {
  transform: scale(1.5);
   background-color: aqua;
    color: white;
}

.resume-btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1.4rem;
  background-color: #00bcd4;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  /*
    margin-top: 3.5vh;
    height: 5vh;
    width: 12vw;
    border-radius: 10px;
    color: rgb(30, 48, 188);
    background-color: aqua;
    font-size: 1.6rem;
 */

}

.resume-btn i {
  margin-right: 8px;
}

.resume-btn:hover {
   background-color: aqua;
    color: rgb(255, 255, 255);
  /*background-color: #0097a7;
  */transform: translateY(-3px);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-right {
    text-align: center;
  }

  .contact-icons a {
    margin: 10px;
  }
}

/* Keep your existing styles unchanged above */

/* ------------------------------
   Responsive adjustments
   ------------------------------ */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 2vh 5vw;
  }

  #icon {
    display: block;
    font-size: 3rem;
    cursor: pointer;
  }

  #heading2 {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgb(20 30 44);
    text-align: center;
    padding: 2vh 0;
  }

  #heading2.show {
    display: flex;
  }

  .indi {
    padding: 1.2rem 0;
    font-size: 1.8rem;
  }

  /* Section-1 */
  #section-1 {
    flex-direction: column;
    text-align: center;
  }

  #section-1 img {
    width: 80%;
    height: auto;
    margin: 3vh auto;
  }

  /* Education */
  .education-content {
    flex-direction: column;
    text-align: center;
  }

  .edu-left, .edu-right {
    width: 100%;
  }

  .edu-logo {
    width: 90%;
    height: auto;
  }

  /* Projects */
  .projects-container {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .project-image img {
    margin-bottom: 15px;
  }

  /* Skills */
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  /* Contact */
  .contact-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .contact-right {
    margin: 20px 0;
  }

  .profile-photo {
    width: 180px;
    height: 180px;
  }
}
