/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0A192F;
  color: #8892B0;
}

/* NAVBAR */
.navbar {
  background-color: #112240;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  position: relative;
  text-decoration: none; /* remove default underline */
  color: white;
  padding-bottom: 4px; /* space for underline */
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px; /* underline thickness */
  background:radial-gradient(rgb(72, 157, 176),rgb(221, 99, 203),rgb(228, 228, 126)); /* underline color */
  transition: width 0.5s ease;
 
}

.nav-links li a:hover {
  color:rgb(88, 247, 215);
 /* optional: change text color */
}

.nav-links li a:hover::after {
  width: 100%; /* underline expands */
}



.brand {
  font-size: 22px;
  
  color: #64FFDA;
  font-style: italic;
}


.nav-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
}

 .nav-links .close-btn {
    display: none;
  }
  .created{
    display: flex;
    justify-content: center;
  }

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color:radial-gradient(rgb(107, 225, 232),rgb(229, 115, 233),rgb(129, 222, 207));
}

/* MOBILE NAVIGATION */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    gap: 0;
    right: -100%;
    width: 70%;
    height: fit-content;
    background-color: #112240;
    padding-top: 0px;
    transition: right 0.3s ease-in-out;
  }


  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    padding: 15px;
    text-align: center;
  }

  .nav-links .close-btn {
    font-size: 28px;
    color: #64FFDA;
    display: block;
    text-align: right;
    padding: 10px 20px;
    cursor: pointer;
  }
}

/* HOME SECTION */
.home {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.name {
  text-align: center;
  color: white;
}
#hi{
  margin-top: 100px;
}

#hi,
#venkat {
  font-size: 70px;
  
}

#venkat {
  color: #64FFDA;
}

#work {
  font-size: 24px;
  color: #8892B0;
}

/* COMMON SECTION HEADING */
.about,
.contact,
.projects,
.skills {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  flex-direction: column;
  align-items: center;
  
}

.heading {
  font-size: 36px;
  color: #64FFDA;
  margin-bottom: 10px;
  text-align: center;
  margin-top: 50px;
}

.heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #64FFDA;
  margin: 10px auto;
  border-radius: 2px;
}

/* ABOUT SECTION */
.myself {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px;
  gap: 40px;
}
.photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(rgb(0, 238, 255), rgb(203, 115, 200)); /* gradient border */
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* The actual image inside */
.photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.photo:hover {
  transform: scale(1.2);
  background: linear-gradient(rgb(29, 146, 179),rgb(193, 220, 77),rgb(206, 100, 155));
  transition: 2s;
}


.aboutme {
  max-width: 400px;
  color: #ccd6f6;
  margin-left: 100px;
}



#venky {
  color: #64FFDA;
  font-size: 22px;
  margin-bottom: 10px;
}

#stu {
  color: #FF6F61;
}

#edu {
  color: #64FFDA;
  margin-top: 20px;
}

.studies li {
  margin-bottom: 15px;
}

/* SKILLS SECTION */
.boddering{
   border: 2px solid rgba(78, 77, 77, 0.364);
   border-radius: 50px;
    margin-top:  100px;
     margin-left: 15px;
  margin-right: 15px;
   padding: 0px;
   padding-top: 2px;
   background: linear-gradient(to right top,rgb(80, 78, 78), rgb(36, 50, 46),rgb(13, 17, 35));

}
.part {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 200px;
  padding: 40px;
}


.skillstotal {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-left: 130px;
}

.dev {
  font-size: 20px;
  color: #64FFDA;
  margin-bottom: 10px;
}
.dev:hover{
  transform: scale(1.2);
  color: rgb(198, 88, 148);
  transition: 2s;

}

.skillsknown {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.lang {
  background-color: #112240;
  padding: 10px 15px;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.lang:hover {
  
color:black;
  transform: scale(1.2);
  background: rgb(174, 238, 241);
  transition: 2s;



}

.skilling {
  width: 300px;
  height: 200px;
  margin-top: 120px;
 
  object-fit: contain;
   border-radius: 10%;
  padding: 1px;
  background: linear-gradient(rgb(0, 238, 255), rgb(203, 115, 200)); /* gradient border */
  object-fit: cover;
  transition: transform 0.3s ease;
   
 
}
.skilling:hover{
  padding: 5px;
    transform: scale(1.2);
  background: linear-gradient(rgb(29, 146, 179),rgb(193, 220, 77),rgb(206, 100, 155));
  transition: 2s;
}

/* PROJECTS */


/* pseudo element for animated overlay */
.project::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: rgb(183, 181, 181); /* hover color */
  transition: height 2s ease;
  z-index: 0;
}

.project:hover::before {
  height: 100%; /* fills from bottom to top */
}

.titles,
.aboutproject {
  position: relative;
  z-index: 1; /* keep text above overlay */
  transition: color 0.6s ease;
}

.project:hover .titles,
.project:hover .aboutproject {
  color: rgb(74, 73, 73); /* text color changes on hover */
}

.project {
  position: relative;
  margin-top: 30px;
  color: rgb(58, 54, 54);
  background: linear-gradient(to bottom, rgb(217, 213, 213), rgb(29, 28, 28));
 /* take most of the screen width */
  max-width: 400px; /* don’t get too wide on large screens */
  height: 250px;
  border-radius: 12px;
  padding-top: 90px;
  margin: 30px auto; /* centers automatically */
  overflow: hidden;
  transition: height 0.6s ease, background 0.6s ease;
}




  .titles {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
  }

  .aboutproject {
    font-size: 18px;
    text-align: center;
  }


/* CONTACT SECTION */
.totalinformation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px;
}

.mail {
  font-size: 20px;
  color: #64FFDA;
  margin-top: 15px;
}

.nounderline {
  color: white;
  text-decoration: none;
}

.resume {
  margin-top: 20px;
}

.resum_button {
  background-color: #64FFDA;
  color: #0A192F;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.resum_button:hover {
  background-color: #52e0c4;
}

.space {
  padding: 10px;
  width: 100%;
  border: 1px solid #8892B0;
  background-color: transparent;
  color: white;
  margin-bottom: 10px;
  border-radius: 4px;
}

.box {
  width: 100%;
  height: 150px;
  border-radius: 4px;
  border: 1px solid #8892B0;
  background-color: transparent;
  color: white;
  padding: 10px;
}

.submit {
  font-size: 18px;
  padding: 10px;
  margin-top: 10px;
  background-color: #64FFDA;
  color: #0A192F;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* FOOTER */
.foot {
  background-color: #112240;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.year,
.foote {
  color: #ccd6f6;
  font-size: 18px;
}

/* MOBILE RESPONSIVENESS */
@media screen and (max-width: 768px) {
  #hi,
  #venkat {
    font-size: 40px;
    margin-top: 60px;
  }

  #work {
    font-size: 18px;
  }

  .space,
  .box {
    width: 90%;
  }

  .form,
  .information {
    width: 100%;
    padding: 0 20px;
  }

  .photo,
  .skilling {
    margin: 0 auto;
   
  }

  .myself,
  .studies,
  .part,
  .totalinformation {
    padding: 20px;
  }

  .navbar {
    padding: 10px 15px;
  }

  .nav-links li a {
    font-size: 18px;
  }
 .project {
    width: 95%;
    padding-top: 60px;
    height: auto; /* adjust height naturally */
  }
}

