html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('../image/bg.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  flex-direction: column;
  min-height: 100vh;
  overscroll-behavior: none;
}



.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* Sales.css */
.sales-content {
  padding: 80px 20px 40px;
  max-width: 1200px;
  margin: auto ;
  margin-bottom: 3rem;
}

.profile-header {
  margin-top: 4.5rem;
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  opacity: 1; /* Tambahkan ini */
}

.sales-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #007bff;
  animation: float 4s ease-in-out infinite;
}

.profile-info h2 {
  color: #FFD700;
  font-size: 2.2em;
  margin-bottom: 10px;
  position: relative;
}

.position {
  color: #FFD700;
  font-weight: 600;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: white;
}

.social-links {
  margin-top: 10px;
  display: flex;
  gap: 4rem;
}

.social-links a {
  color: #007bff;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #FFD700;
}

.sales-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 30px;
  color: white;
}

.experience-item {
  background: #464E2E;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #FFD700;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Animasi yang benar */
.experience-item.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.expertise ul {
  list-style: none;
  padding-left: 20px;
}

.expertise li {
  position: relative;
  padding-left: 25px;
  margin: 15px 0;
}

.expertise li:before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #007bff;
}

/* Keyframes untuk animasi */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Efek hover */
.experience-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.profile-info h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #3498db;
  transition: width 0.6s ease;
}

.profile-info h2:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .sales-details {
    grid-template-columns: 1fr;
  }
  
  .sales-photo {
    width: 200px;
    height: 200px;
  }
  
  .experience-item {
    margin: 15px 0;
    padding: 15px;
  }

  .sales-content {
    margin-bottom: 3rem;
  }
}

/* Pastikan animasi hanya bekerja ketika diperlukan */
@media (prefers-reduced-motion: no-preference) {
  .experience-item {
    transition: all 0.6s ease-out;
  }
}