* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}
.invert{
  filter: invert(1);
}
.typing {
  display: inline-block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  border-right: 4px solid #fdf8f8; /* blinking cursor */
  animation: typing 2s steps(90, end) forwards, blink 1s step-end 7;
 }

/* typing animation */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* cursor blink */
@keyframes blink {
  10% { border-color: transparent; }
 
}

body{
  /* background-color: #0f101a ; */
  background-color: black;
  color: white;
}

nav {
  font-family: "Poppins", "sans-serif";
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  height: 72px;
  background-color: #0f101a;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.name {
  font-weight: bold;
  font-size: 28px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 50px;
}

nav ul li {
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  
}

nav ul li:hover{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #a855f7);
}
nav ul li:active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #a855f7;
}
/* line */
.line{
  border: 2px solid white;
  height: fit-content;
  margin-top: 7px;
  margin-bottom: 20px;
  position: sticky;
  top: 72px;
  z-index: 1001;
  }
/* headersection */
header {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}
header .left {
  font-size: 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
  margin-left: 50px;
}

header .right img {
  border-radius: 999px;
  height: 550px;
  margin-right: 185px;
  margin-top: -90px;
}
/* hire me download cv buuton */
.button{
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: 150px;
  padding-bottom: 20px;
  margin-top: -100px;
  margin-bottom: 70px;
  font-family: 'Poppins', sans-serif;
}
.bts{
  color: white;
  border-radius: 10px;
  padding:9px;
  border: none;
  width: 110px;
  height: 40px;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.hire{
  background-color: #bf00ffda;
  cursor: pointer;
  
}
.hire:hover {
  background-color: #D100FF; /* slightly brighter on hover */
  transform: translateY(-2px);
}
.cv{
  background-color: #6a0dadb8;
  cursor: pointer;
}
.cv:hover {
  background-color: #7C1ECF; /* lighter shade on hover */
  transform: translateY(-2px);
}

/* about me section */
.about-me {
  background-color: #1A1B2D; /* subtle dark card */
  padding: 40px 50px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 900px;
  color: #E0E0E0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.about-me h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
  color: #BF00FF; /* accent color */
}

.about-me p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

/* skill-section */
.skill-logo{
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 28px;
  margin-left: 45px;
  margin-top: 20px;
}
.skils{
  display: flex;
  flex-direction: row;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 28px;
  gap: 20px;
  margin-left: 45px;
  margin-top: 40px;
}
.skil-section{
  border: none;
  border-radius: 10px;
  padding: 40px;
  background-color: #1A1B2D;
  height: auto;
  max-height: 500px;
  width: 350px;
  margin-right: 40px;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skil-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}
.icon{
  margin-top: 20px;
  display: flex;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.icon img{
  height: 50px;
  width: auto; 
  max-width: 75px; 
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.3s ease;
 }
 .icon img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #a855f7);
}
