/* About Section */
#about {
  background: linear-gradient(90deg, #50535b, #333535, black);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; 
  gap: 40px;
  padding: 30px 20px;
  color: white;
  min-height: 100vh; 
}

/* Profile image */
.herosection img {
  height: 250px;
  width: 250px;
  border-radius: 50%;

  object-fit: cover;
  flex-shrink: 0;
}

/* Text container */
.herotext {
  max-width: 600px;
  flex: 1 1 300px;
  min-width: 280px;
}

.typing {
  color: hotpink;
  font-size: 30px;
}
.intro {
  font-size: 2rem;
  white-space: nowrap;
  overflow: hidden;
  color:#20b2aa;
  width: 0;
  animation:
    typing 4s steps(22, end) infinite,   
    blink 0.7s step-end infinite;
  max-width: 90vw;
  box-sizing: content-box;
  padding-bottom: 4px;
  margin-bottom: 15px;
  display: inline-block;
}@keyframes typing {
  0% {
    width: 0;
  }
  50% {
    width: 21ch; 
  }
  100% {
    width: 0;
  }
}


.infotext1 {
  font-size: 1.3rem;
  margin: 10px 0;
  line-height: 1.6;
  color: white;
}

.bio {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: white;
}

.bio .html {
  color: orange;
  font-weight: 600;
}

.bio .css {
  color:blue;
  font-weight: 600;
}

.bio .js {
  color: #ffd700;
  font-weight: 600;
}

.bio .tailwind {
  color:skyblue;
  font-weight: 600;
}
.bio .react{
  color: #20b2aa;
  font-weight: 600;
}

.bio .node {
  color: #32cd32;
  font-weight: 600;
}

.bio .MongoDB {
  color: rgb(128, 68, 26);
  font-weight: 600;
}

.herotext a {
  display: inline-block;
  text-decoration: none;
  color: rgb(247, 243, 246);
  border: 2px solid rgb(23, 23, 23);
  padding: 10px 25px;
  border-radius: 20px;
  transition: all 0.4s ease-in-out;
  margin-top: 15px;
}
.cta a{
  display: inline-block;
  background-color: #32cd32;
  color:black;
  font-size: 18px;
}
.herotext a:hover {

  background-color: hotpink;
  
  color: white;
  border-color: hotpink;
  box-shadow: 0 0 20px hotpink;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #about {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .herosection img {
    height: 200px;
    width: 200px;
  }

  .herotext {
    max-width: 100%;
    text-align: center;
  }
}
