.experiencia {
  padding: 4rem 1rem;
  /* background-color: #0a0a0a; */
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  color: #fff;
}

.underline {
  width: 100px;
  height: 4px;
  background-color: #f90000;
  margin: 0 auto 2rem;
  border-radius: 10px;
}

.experiencia-item {
  display: flex;
  gap: 2rem;
  background: #1a1a1a;
  border-left: 5px solid #f90000;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(249, 0, 0, 0.1);
  transition: transform 0.3s ease;
  align-items: flex-start;
  text-align: left;
}

.experiencia-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(249, 0, 0, 0.4);
}

.exp-logo img {
  width: 190px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background-color: #000000;
  padding: 2.5rem;
  height: 150px;
}

.exp-content {
  flex: 1;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.exp-header h3 {
  font-size: 1.5rem;
  color: #f90000;
  margin: 0;
}

.exp-tiempo {
  font-weight: 600;
  color: #ccc;
  font-size: 0.95rem;
}

.exp-cargo {
  font-size: 1.2rem;
  color: #fff;
  margin: 1rem 0 1rem;
}

.exp-content p {
  font-size: 1rem;
  text-align: justify;
  color: #ddd;
  margin-bottom: 1rem;
}

.exp-content ul {
  padding-left: 1.2rem;
  color: #bbb;
  list-style: disc;
}

.exp-content ul li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .experiencia-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .exp-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .exp-logo img {
    width: 175px;
    margin-bottom: 1rem;
    
  }


  .exp-content {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .exp-content ul {
    padding-left: 1rem;
  }

  .exp-cargo {
    font-size: 1rem;
  }
}
