* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: "Outfit", sans-serif;
}

body {
    font-family: 'Segoe UI', sans-serif;
    /* line-height: 1.6; */
    flex-direction: column;
    height: fit-content;
    width: 100%;
    color: white;
    background: #020024;
    background: linear-gradient(182deg, rgb(2, 0, 36) 0%, rgba(7, 7, 40, 0.888) 100%);;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
}

nav {
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 100%;
    /* background-color: rgb(73, 184, 184); */
    display: flex;
    gap: 50%;
    font-size: 18px;
    font-weight: 500;
}

.nav1 li {
    font-size: 23px;
}

.nav2 ul {
    display: flex;
    gap: 20px;
}

.home {
    height: 500px;
    /* background-color: rgb(135, 222, 205); */
    display: flex;
    gap: 70px;
}

.hometext {
    width: 47%;
    height: 80%;
    /* background-color: darkcyan; */
    flex-direction: column;
    align-items: normal;
}

.homeimg {
    width: 20%;
    height: 80%;
    box-shadow: 0 8px 20px rgba(127, 204, 234, 0.5); /* soft sky-blue shadow */
    border-radius: 30px;
    overflow: hidden;
    animation: floatImage 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homeimg:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(135, 206, 250, 0.7);
}

.homeimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05);
    transition: filter 0.3s ease;
}

.homeimg:hover img {
    filter: brightness(1.15);
}

/* Floating animation */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


.hometext h1 {
    font-size: 40px;
}

.hometext h3 {
    font-size: 21px;
    color: rgb(68, 202, 255);
    margin-bottom: 20px;
}

.hometext p {
    font-weight: 400;
    margin-bottom: 40px;
}

.contactbtn {
    
    width: 95px;
    background-color: rgb(68, 202, 255);
    color: black;
    font-size: 22px;
    font-weight: 600;
    border-radius: 10px;
    margin-bottom: 70px;
}

.contactbtn button {
    background: none;
    height: 35px;
    border: none;
    font-size: 12px;
    font-weight: 600;
}

.homeicon {
    height: 70px;
    /* background-color: bisque; */
    display: flex;
    gap: 10px;
    font-size: 25px;
    color: rgb(68, 202, 255);
}

.icon {
    height: 50px;
    width: 50px;
    /* font-weight: 800; */
    border: 2px solid rgb(68, 202, 255);
    /* background-color:rgb(68, 202, 255) ; */
    border-radius: 50%;
}

.about {
    /* margin-top: 60px; */
    height: 350px;
    /* background: #01000e;
    background: linear-gradient(182deg, rgb(23, 35, 69) 0%, rgba(7, 7, 40, 0.888) 100%); */
}

.about {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about p {
    margin-top: 40px;
    text-align: center;
    font-weight: 500;
}

.education {
    margin-top: 70px;
    height: 850px;
    padding: 40px;
    background-color: rgb(10 11 11 / 0%);
    flex-direction: column;
    justify-content: start;
    gap: 50px;

}

.edu1 {
    padding: 15px;
    height: 200px;
    width: 80%;
    gap: 10px;
    /* background-color: burlywood; */
    border-radius: 20px;
    border: 1px solid rgb(68, 202, 255);
}

.edu1 p {
    margin-top: 10px;
}
.projects{
    height: 800px;
    width: 80%;
    gap: 70px;
    flex-direction: column;
   
}
.projects .project1{
    width: 100%;
   gap: 20px;
   display: flex;
   flex-direction: column;
    font-size: 20px;
 /* background-color: brown; */
}
.project1 video{
    width: 100%;
    height: 400px;
}
.project1 p{
    font-size: 17px;
    margin-top: 15px;
    margin-bottom: 25px;
}
.certificates{
    margin-top: 80px;
    height: fit-content;
    width: 70%;
    gap: 70px;
    flex-direction: column;
    /* background-color: brown; */
}
.certificate1{
   font-size: 24px;
   font-weight: 600;
    width: 100%;
    gap: 30px;
    
    flex-direction: column;
}
.certificate1 p{
    text-align: left;
    font-size: 27px;
}
.certificate1 img{
    width: 80%;
    /* height: 600px; */
}
.contact{
    width: 100%;
    height: 700px;
    /* background-color: darkcyan; */
    flex-direction: column;
    gap: 40px;
}
form{
    width: 60%;
     flex-direction: column;
      color: rgb(255, 255, 255);
      /* background-color: blue; */
      display: flex; 
       flex-wrap: wrap;
}
input{
    margin: 5px;
    padding: 10px;
    height: 45px;
    /* width: 40%; */
    margin-left: 20px;
      font-size: 14px;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    background: none;
     border: 1px solid rgb(68, 202, 255);
}
.txt{
  height: 130px;
}
button{
     height: 45px;
      border-radius: 10px;
     color: black;
     font-weight: 600;
     background-color: rgb(68, 202, 255);
}
li a , .icon a{
text-decoration: none;
color: white;
}
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #44caff; /* Sky blue color */

}


 @media (max-width: 1024px) {
      .home {
        flex-direction: column;
        height: auto;
        gap: 30px;
        padding: 20px;
      }

      .hometext, .homeimg {
        width: 90%;
      }

      nav {
        /* flex-direction: column; */
        gap: 90px;
        height: auto;
        padding: 10px 0;
      }

      .nav2 ul {
        /* flex-direction: column; */
        align-items: center;
        gap: 10px;
      }

      .education, .projects, .certificates, .contact, .about {
        width: 100%;
        padding: 20px;
      }

      .education {
        height: auto;
      }

      .edu1 {
        width: 100%;
        height: auto;
      }

      .projects {
        height: auto;
      }

      .project1 video {
        height: auto;
      }

      .certificate1 img {
        width: 100%;
      }

      form {
        width: 90%;
        margin: auto;
      }

      input, .txt, button {
        width: 100%;
        margin-left: 0;
      }
    }

.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #44caff;
 
}





.nav1 li {
  font-size: 1.5rem;
  font-weight: bold;
  list-style: none;
}



.nav2 ul {
  display: flex;
  gap: 1rem;
}

.nav2 ul li a {
  text-decoration: none;
  font-weight: 500;
  /* color: #333; */
}

/* Responsive: Mobile styles */
@media (max-width: 500px) {
    nav{
        flex-direction: row;
    justify-content: space-between;
    padding-left: 5px;
    padding-right: 5px;
    /* padding: 10px; */
        display: flex;
        /* width: 100%; */
        /* background: rgb(211, 46, 46); */
    }

  .nav2 ul {
    display: none;
    flex-direction: column;
    background-color: rgb(0, 148, 206);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    padding: 1rem;
  }
.nav2 ul li {
     color: #020024;

}
  .nav2 ul.show {
    display: flex;
  }

  .menu-icon {
    color: white;
/* background-color: aqua; */
    display: block;
  }

  .hometext{
    gap: 10px;
  }
  .hometext h3{
   font-size: 22px;
  }
  .about{
    height: fit-content;
    /* background-color: aquamarine; */
  }
  .about p{
font-size: 20px;
  }
 
}
