/* Ensure the section itself is relative */
.enterprise-section {
  position: relative;
  overflow: visible; /* so leaves aren’t clipped */
}

/* Floating leaves */
.leaf {
  position: absolute;
  width: 60px;
  height: 60px;
  background: url('/assets/images/leaf.png') no-repeat center/contain;
  opacity: 0.45;
  animation: floatLeaf 7s ease-in-out infinite;
  z-index: 10; /* above other content */
  pointer-events: none; /* leaves won’t block clicks */
}

/* Specific positions */
.enterprise-leaf-left-1 {
  top: 20%;   /* adjust here */
  left: 25%;   /* adjust here */
  animation-delay: 0s;
}

.enterprise-leaf-left-2{
  top: 85%;
  left: 82%;
  animation-delay: 2s;
}

@keyframes floatLeaf {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(12deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* CONTAINER */
.enterprise-container {
  display: flex;
  align-items: center;
  padding: 100px 20px;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* LEFT */
.enterprise-content {
  flex: 1;
  max-width: 420px;
}

.enterprise-tag {
  font-size: 12px;
  color: #2f5a3f;
  background: #dff3e7;
  padding: 6px 12px;
  border-radius: 20px;
}

.enterprise-title {
  font-size: 30px;
  margin: 15px 0 20px;
  color: #1f3a2c;
  font-family: 'Playfair Display', serif;
}

.enterprise-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #2f5a3f;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.enterprise-btn:hover {
  background: #1f3a2c;
}

/* RIGHT SIDE - HORIZONTAL */
.enterprise-visual {
  flex: 1.5;
  display: flex;
  gap: 20px;
}

/* CARD */
.enterprise-card {
  position: relative;
  flex: 1;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.4s ease;
}

/* IMAGE */
.enterprise-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* OVERLAY */
.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.card-overlay h3 {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

/* HOVER EFFECT */
.enterprise-card:hover img {
  transform: scale(1.08);
}

.enterprise-card:hover {
  transform: translateY(-6px);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .enterprise-container {
    flex-direction: column;
  }

  .enterprise-visual {
    width: 100%;
  }

  .enterprise-card {
    height: 180px;
  }
}