
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: Arial;
  
}
body {
  background-image: url("../image/1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
}
html{
  scroll-behavior: smooth;
}
header{
  display: flex;
  justify-content: space-between;
  position: sticky;
  top : 0;
  align-items: center;
  width:100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 10px 30px;
}

.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
}

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

.nav-links a{
  text-decoration: none;
  color: whitesmoke;
}

.hamburger{
  display: none;
  font-size: 30px;
  cursor: pointer;
}

.right-side{
  display: flex;
  align-items: center;
  font-size: 17px;
}

.left-side{
  color: gainsboro;
  white-space: nowrap;
  font-weight: bold;  
  font-size: 30px;
}
.right-side ul {
  list-style: none;
  display: flex;
  color: gainsboro;
  gap : 25px;
}
.right-side ul li{
  position: relative;
  cursor: pointer;
}
.right-side ul li::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: gainsboro;
  transition: 0.3s;
}

.right-side ul li:hover::after{
  width: 100%;
}
.hero{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 150px 60px;
  color: whitesmoke;
  width: 100%;
}
.hero-left{
  width: 60%;
  
}
.hero-right{
  width: 40%;
  display: flex;
  justify-content: center;
}

.hero-left h1{
  font-size: 54px;
}

.hero-left h2{
  margin: 20px 0;
  font-size: 32px;
}
.profile-circle{
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid grey;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-circle{
  transition: 0.4s ease;
}

.profile-circle:hover{
  transform: scale(1.05) rotate(1deg);
}
.project-item{
  transition: 0.4s;
}

.project-item:hover{
  transform: translateY(-8px);
}
#role{
  transition: 0.3s;
  font-weight: bold;
  color: gray;
}
#role{
  transition: opacity 0.4s ease;
}
.buttons{
  margin-top: 20px;
  padding-top: 20px;
}

.btn{
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  margin-right: 15px;
  transition: 0.3s;
  font-weight: bold;
}

.download{
  background: gainsboro;
  color: black;
}

.hire{
  border: 2px solid gainsboro;
  color: gainsboro;
  text-align: center;
}

.btn:hover{
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.about-section{
  padding: 100px 80px;
  color: whitesmoke;
  font-size: 1.8rem;
}

.about-container{
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.about-heading{
  font-size: 3rem;
  text-align: center;
  margin-bottom: 10px;
  color: whitesmoke;
}

.underline{
  width: 80px;
  height: 3px;
  background: whitesmoke;
  margin: 15px auto 30px auto;
}

.about-text{
  font-size: 16px;
  line-height: 1.8;
  color: whitesmoke;
}

.education-section{
  padding: 120px 80px;  
  color: whitesmoke;
  font-size: 16px;
}

.education-heading{
  text-align: center;
  font-size: 3rem;
  margin-bottom: 10px;
  
}

.education-intro{
  text-align: center;
  margin-bottom: 50px;
  color: whitesmoke;
  line-height: 1.8;
}

.edu-item ul{
  margin-top: 15px;      
  padding-left: 20px;
}

.edu-item ul li{
  margin-bottom: 15px;  
  line-height: 1.7;
}

.education-content{
  margin-top: 40px;
}

.education-content h3{
  margin-top: 40px;   
  margin-bottom: 10px;
  font-size: 25px;
}

.education-content p{
  margin-bottom: 25px; 
  line-height: 1.7;
  color: whitesmoke;
}
.edu-item ul{
  list-style: disc;
}
.skills-section{
  padding: 100px 80px;
  color: whitesmoke;
  text-align: center;
}

.skills-heading{
  font-size: 3rem;
}

.skills-underline{
  width: 100px;
  height: 3px;
  background: grey;
  margin: 15px auto 50px auto;
}
.skill-intro{
  text-align: center;
  color: whitesmoke;
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  
}
.skills-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.skill-card{
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.4s;
}

.skill-card:hover{
  transform: translateY(-10px);
  background: rgba(255,255,255,0.15);
}
.skill-card:hover .icon{
  transform: scale(1.2);
  transition: 0.3s;
}
.icon{
  font-size: 50px;
  margin-bottom: 20px;
}
.skill-card .icon{
  font-size: 2.rem;
  margin-bottom: 15px;
}

.skill-card h3{
  margin-bottom: 10px;
  font-size: 32px;
}

.skill-card p{
  font-size: 16px;
  color: #ddd;
}
.project-section{
  padding: 120px 40px;
  color: whitesmoke;
}

.project-container{
  max-width: 800px;
  margin: auto;
}

.project-heading{
  text-align: center;
  font-size: 40px;
}


.project-intro{
  text-align: center;
  margin-bottom: 50px;
  color: whitesmoke;
  line-height: 1.8;
  font-size: 16px;
}

.project-item{
  margin-bottom: 50px;
}

.project-item h3{
  margin-bottom: 12px;
  font-size: 25px;
}

.project-item p{
  line-height: 1.7;
  color: whitesmoke;
  font-size: 16px;
}
.link{
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  padding: 8px 18px;
  border: 2px solid grey;
  border-radius: 20px;
  color: white;
  transition: 0.3s;
}

.link:hover{
  background: grey;
  color: black;
}

.contact-section{
  padding: 120px 80px;
  color: white;
}

.contact-container{
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.contact-heading{
  font-size: 40px;
  color: whitesmoke;
}

.contact-intro{
  margin-bottom: 50px;
  color: whitesmoke;
  line-height: 1.8;
  font-size: 16px;
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea{
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: whitesmoke;
  font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: gainsboro;
}

.contact-form button{
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: grey;
  color: whitesmoke;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover{
  background: whitesmoke;
  color: black;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border: 1px solid white;
  transform: scale(1.02);
  transition: 0.3s;
}
.footer{
  padding: 40px 20px;
  background: transparent;
  text-align: center;
  margin-top: 60px;
}

.social-links{
  margin-bottom: 30px;
}

.social-links a{
  margin: 0 15px;
  text-decoration: none;
  font-size: 35px;
  color: whitesmoke;
  transition: 0.3s;
}

.social-links a:hover{
  color: gray;
  transform: scale(1.2);

}

.copyright {
        text-align: center;
        padding-top: 15px;
        margin-top: 15px;
        border-top: 2px solid black;
        color: whitesmoke;
        font-size: 16px;
}

/*Responesive Element*/

@media (max-width: 768px){
  .about-section,
  .education-section,
  .skills-section,
  .project-section,
  .contact-section{
    padding: 80px 20px;
  }

  .nav-links{
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 10px;

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav-links.active{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger{
    display: block;
    color: whitesmoke;
  }
  .right-side{
  font-size: 16px;
  }

  .left-side{
  font-size: 18px;
  }
  .hero{
    padding: 100px 20px;
  }

  .hero-left{
    width: 70%;
  }

  .hero-right{
    width: 30%;
  }

  .hero-left h1{
    font-size: 28px;
  }

  .hero-left h2{
    font-size: 18px;
  }

  .profile-circle{
    width: 140px;
    height: 140px;
  }
  
  .profile-circle{
    width: 200px;
    height: 200px;
  }
  .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .btn {
    width: 135px;
    margin-right: 0;
  }
}

  

