section {
  width: 90%;
  max-width: 900px;
  margin: 4vh auto;
  padding: 3.8vh;
  height: auto !important; 
  min-height: auto !important;
  overflow: visible;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 137, 121);
  box-shadow: 0 10px 20px rgba(255, 132, 115, 0.4);
  border-radius: 1.5vh;
  transition: 0.6s ease-in-out;
}

.section:hover {
  transform: scale(1.1);
  box-shadow:  10px 20px rgba(255, 132, 115, 0.4);
}

.bio p {
  color: #D9B99B;
  line-height: 1.6;
  font-size: 1.1rem;
  margin: 20px 0; 
  text-align: center; 
}

.bio {
  display: block; 
  height: auto;
  width: 100%;
}

.bio h3 {
  justify-self: center;
  color: rgb(217, 185, 155);
  transition: 0.6s ease-in-out;
}

.bio:hover h3 {
  transform: scale(1.1); 
}

.bio-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.bio-images img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  width: 20vh;
  height: 20vh;
  object-fit: cover;
  border-radius: 1vh;
  transition: 0.3s;
  border: 2px solid rgba(148, 137, 121);
}

.bio-images img:hover {
  transform: scale(1.05);
  box-shadow: 0px 5px 12px rgba(223, 208, 184, 0.3)
}

.experience h3 {
  margin-bottom: 4vh;
  justify-self: center;
  color : #D9B99B;
}

.experience {
  width: 100%;
  max-width: 900px;  
  margin: 0 auto;   
  padding: 20px;
}

.carousel-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px; 
  width: 100%;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 150px;
  overflow: visible;
}

.skill-message {
  justify-self: center;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(217, 185, 155, 0.3);
  border-radius: 10px;
  color: #D9B99B;
  min-height: 50px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(10px)
}

.carousel-img {
  cursor: pointer;
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  filter: grayscale(100%) opacity(0.4);
  transform: scale(0.8);
  flex-shrink: 0;
}

.carousel-img.active {
  filter: grayscale(0%) opacity(1) brightness(1.2);
  width: 100px; 
  height: 100px;
  filter: grayscale(0%) opacity(1);
  transform: scale(1.3);
  z-index: 10;
  filter: drop-shadow(0 0 15px rgba(255, 132, 115, 0.6)); 
}

.nav-btn {
  background: rgba(34, 40, 49, 0.8);
  color: #D9B99B;
  border: 1px solid rgba(217, 185, 155, 0.2);
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}

.nav-btn:hover {
  background: #FF8473;
  color: white;
}

.carousel-img.prev-neighbor,
.carousel-img.next-neighbor {
  transform: scale(0.9);
  filter: brightness(0.6);
}

@media (max-width: 768px) {
  .section:hover {
    transform: none;
  }

  .experience{
    margin-left: 10px;
    margin-right: 10px;
    width: auto;
  }

  .bio-images img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  .bio-images {
    flex-direction: column;
    align-items: center;
  }

    
  .carousel-main {
    flex-direction: column;
    gap: 20px;
  }

  .carousel-track {
    flex-wrap: wrap;
    height: auto;
  }

  .carousel-img {
    width: 40px;
    height: 40px;
  }

  .carousel-img.active {
    width: 70px;
    height: 70px;
    transform: scale(1.1);
  }

}




