body {
  background-color: #f2f2f2;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Section */
.freelance-section {
  background-color: #cccccc;
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: #222;
}

.section-title h3 span {
  color: #009966;
}

/* Slider Container */
.slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Employee Cards */
.employee-card {
  display: flex;
  align-items: center;
  background-color: transparent;
  color: #333;
  padding: 0px 70px;
  border-radius: 12px;
  max-width: 1100px;
  gap: 60px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s ease;
  position: absolute;
}

.employee-card.active {
  opacity: 1;
  transform: translateX(0);
}

.employee-card.exit-left {
  transform: translateX(-100%);
  opacity: 0;
}

.employee-photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.employee-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.employee-info .name {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: #222;
}

.employee-info .role {
  font-size: 15px;
  text-transform: uppercase;
  color: #555;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.contact-info p {
  margin: 6px 0;
  font-size: 17px;
  color: #444;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #009966;
  margin-right: 10px;
  font-size: 18px;
}

/* Navigation Buttons */
.nav-btn {
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s ease;
  z-index: 10;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.left-btn {
  left: 20px;
}

.right-btn {
  right: 20px;
}

.nav-btn i {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .employee-card {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .employee-photo img {
    width: 180px;
    height: 180px;
  }

  .employee-info {
    align-items: center;
  }

  .employee-info .name {
    font-size: 24px;
  }

  .contact-info p {
    justify-content: center;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
  }
}
.employee-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
